OpenDiablo2/README.md

75 lines
3.8 KiB
Markdown
Raw Normal View History

# OpenDiablo2 [![Build Status](https://travis-ci.org/OpenDiablo2/OpenDiablo2.svg?branch=master)](https://travis-ci.org/OpenDiablo2/OpenDiablo2)
2018-11-27 03:42:22 +00:00
2018-11-23 18:33:23 +00:00
[Join us on Discord!](https://discord.gg/pRy8tdc)\
[Development Live stream](https://www.twitch.tv/essial/)
2018-11-22 05:21:05 +00:00
![Logo](d2logo.png)
2019-10-26 16:55:36 +00:00
2018-11-22 06:12:58 +00:00
## About this project
2019-10-24 13:38:57 +00:00
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](https://us.shop.battle.net/en-us/product/diablo-ii) and its expansion [Lord of Destruction](https://us.shop.battle.net/en-us/product/diablo-ii-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.
2018-11-22 06:12:58 +00:00
2018-12-15 06:17:34 +00:00
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**.
2018-11-22 06:12:58 +00:00
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.
2019-10-24 13:38:57 +00:00
## Building
2018-11-23 05:55:53 +00:00
To pull the project down, run `go get https://github.com/OpenDiablo2/OpenDiablo2`
2018-11-22 06:16:32 +00:00
On windows this folder will most likely be in `C:\users\(you)\go\src\github.com\essial\OpenDiablo2`
2019-10-24 15:26:07 +00:00
In the root folder, run `go get -d` to pull down all dependencies.
To run the project, run `go run .` from the root folder.
2019-10-24 15:26:07 +00:00
You can also open the root folder in VSCode. Make sure you have the `ms-vscode.go` plugin installed.
2018-11-22 05:21:05 +00:00
2019-11-02 18:58:03 +00:00
## 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
2019-11-02 18:58:03 +00:00
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
2019-11-02 18:58:03 +00:00
```
This will tell go to use your local path instead of the official repo. Be sure to exclude this change from your pull requests!
2019-11-02 19:10:04 +00:00
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 <kbd>Ctrl+,</kbd>, expanding `Extensions` and selecting `Go configuration`,
then clicking on `Edit in settings.json`. Just paste that section where appropriate.
2019-10-24 13:38:57 +00:00
## 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](docs/MainMenuSS.png)
![Select Hero](docs/SelectHeroSS.png)
## Additional Credits
- Diablo2 Logo
- Jose Pardilla (th3-prophetman)
- DT1 File Specifications
- Paul SIRAMY (http://paul.siramy.free.fr/_divers/dt1_doc/)
- Other Specifications and general info
- Various users on [Phrozen Keep](https://d2mods.info/home.php)