1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-24 19:18:12 -05:00
A mirror of the OpenDiablo2 project
Go to file
ndechiara 46a60398d4 Load Objects.txt (#68)
* Missiles Parsing

* Missiles.txt lookup table and  fixes

* lost work

* Replaced old repo path with org path.

* Added editorconfig. Fixed line endings to LF.

* Fixed travis build badge path

* Added level warp data

* Added object type data load

* Load objects.txt

New Common class, Objects.go will load all of the object records in objects.txt
2019-11-03 11:04:58 -05:00
.github/ISSUE_TEMPLATE Update issue templates 2018-11-22 10:55:19 -05:00
Common Load Objects.txt (#68) 2019-11-03 11:04:58 -05:00
Compression Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
Core Load Objects.txt (#68) 2019-11-03 11:04:58 -05:00
docs Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
Map Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
MPQ Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
PaletteDefs Minor changes to get map rendering started. 2019-11-01 14:12:23 -04:00
ResourcePaths Load Objects.txt (#68) 2019-11-03 11:04:58 -05:00
Scenes Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
Sound Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
UI Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
Video Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
.editorconfig Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
.gitignore Moved files around to allow running from root path 2019-10-26 17:30:00 -04:00
.travis.yml Final modification for builds 2019-11-02 16:25:24 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-11-22 10:54:08 -05:00
config.json More build updates. Added build info to game. 2019-11-02 16:15:16 -04:00
d2logo.ico More build updates. Added build info to game. 2019-11-02 16:15:16 -04:00
d2logo.png More build updates. Added build info to game. 2019-11-02 16:15:16 -04:00
go.mod Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
go.sum Big fixes. Added start of video decode. Enhanced MPQ error messages. 2019-10-31 21:17:13 -04:00
LICENSE Create LICENSE 2019-10-25 18:47:19 -04:00
main.go Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
OpenDiablo2.exe Load Objects.txt (#68) 2019-11-03 11:04:58 -05:00
README.md Changes necessary for migration to org account (#67) 2019-11-02 17:38:39 -04:00
rh.exe Final modification for builds 2019-11-02 16:25:24 -04:00
tagdev.bat CI release updates 2019-11-02 13:41:03 -04:00

OpenDiablo2 Build Status

Join us on Discord!
Development Live stream

Logo

About this project

OpenDiablo2 is an ARPG game engine in the same vein of the 2000's games, and supports playing Diablo 2. The engine is written in golang and is cross platform. However, please note that this project does not ship with the assets or content required to play Diablo 2. You must have a legally purchased copy of Diablo 2 and its expansion Lord of Destruction installed on your computer in order to run that game on this engine. If you have an original copy of the disks, those files should work fine as well.

Currently we are working on features necessary to play Diablo 2 in its entireity, but will then expand with tools and plugin support to allow modding, as well as writing completely new games with the engine.

Please note that this game is neither developed by, nor endorsed by Blizzard or its parent company Activision.

Diablo 2 and its content is ©2000 Blizzard Entertainment, Inc. All rights reserved. Diablo and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.

ALL OTHER TRADEMARKS ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS.

Building

To pull the project down, run go get https://github.com/OpenDiablo2/OpenDiablo2

On windows this folder will most likely be in C:\users\(you)\go\src\github.com\essial\OpenDiablo2

In the root folder, run go get -d to pull down all dependencies.

To run the project, run go run . from the root folder.

You can also open the root folder in VSCode. Make sure you have the ms-vscode.go plugin installed.

Contributing

The imports for this project utilize github.com/OpenDiablo2/OpenDiablo2. This means that even if you clone the repo, changes will not be taken as it will still pull from the main repo's files. In order to use your local version, add the following to go.mod in the base folder:

    replace github.com/OpenDiablo2/OpenDiablo2 => /your/forked/import/path

This will tell go to use your local path instead of the official repo. Be sure to exclude this change from your pull requests!

If you find something you'd like to fix thats obviously broken, create a branch, commit your code, and submit a pull request. If it's a new or missing feature you'd like to see, add an issue, and be descriptive!

If you'd like to help out and are not quite sure how, you can look through any open issues and tasks, or ask for tasks on our discord server.

VS Code Extensions

The following extensions are recommended for working with this project:

  • ms-vscode.go
  • defaltd.go-coverage-viewer

You can get to it by going to settings Ctrl+,, expanding Extensions and selecting Go configuration, then clicking on Edit in settings.json. Just paste that section where appropriate.

Configuration

The engine is configured via the config.json file. By default, the configuration assumes that you have installed Diablo 2 and the expansion via the official Blizzard Diablo2 installers using the default file paths. If you are not on Windows, or have installed the game in a different location, the base path may have to be adjusted.

Screenshots

Main Menu

Select Hero

Additional Credits