Add extended installation instructions for Linux and Windows
parent
0da84fd997
commit
05577684c4
|
@ -0,0 +1,29 @@
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pacman -Sy mingw-w64-gcc mingw-w64-binutils
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/galaxyhaxz/devilution
|
||||||
|
cd devilution
|
||||||
|
cp /path/to/diablo_game_dir/diabloui.dll .
|
||||||
|
cp /path/to/diablo_game_dir/storm.dll .
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cp devilution.exe /path/to/diablo_game_dir/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wine devilution.exe
|
||||||
|
```
|
|
@ -0,0 +1,27 @@
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
* Install [MSYS2](https://www.msys2.org/)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Start the *MSYS2 MinGW 32-bit* terminal.
|
||||||
|
pacman -Sy git make mingw-w64-i686-gcc mingw-w64-i686-binutils
|
||||||
|
ln -s /mingw32/i686-w64-mingw32/bin/dlltool.exe /usr/bin/i686-w64-mingw32-dlltool.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/galaxyhaxz/devilution
|
||||||
|
cd devilution
|
||||||
|
cp /path/to/diablo_game_dir/diabloui.dll .
|
||||||
|
cp /path/to/diablo_game_dir/storm.dll .
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cp devilution.exe /path/to/diablo_game_dir/
|
||||||
|
```
|
|
@ -28,6 +28,11 @@ There are two configurations: Debug and Release. The Debug version will compile
|
||||||
|
|
||||||
There are currently three options defined in types.h. You can compile without copy protection, compile with debugger support, and compile with CPU throttling. The last option will sleep the main program loop to keep Diablo from using 100% CPU on modern computers.
|
There are currently three options defined in types.h. You can compile without copy protection, compile with debugger support, and compile with CPU throttling. The last option will sleep the main program loop to keep Diablo from using 100% CPU on modern computers.
|
||||||
|
|
||||||
|
For further installation and run instructions, refer to the respective documentation:
|
||||||
|
|
||||||
|
* [Linux installation](INSTALL_linux.md)
|
||||||
|
* [Windows installation](INSTALL_windows.md)
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
Currently there are a few issues with the decompiled code. Most of them are outlined in the TODO file. If you wish to contribute, small changes to help fix as many issues possible until everything is perfect and identical to the original game. Currently only Diablo.exe has been reversed, I have not yet started on the other files. Those are:
|
Currently there are a few issues with the decompiled code. Most of them are outlined in the TODO file. If you wish to contribute, small changes to help fix as many issues possible until everything is perfect and identical to the original game. Currently only Diablo.exe has been reversed, I have not yet started on the other files. Those are:
|
||||||
- Battle.snp: code for battle.net, outdated protocol and not worth the time.
|
- Battle.snp: code for battle.net, outdated protocol and not worth the time.
|
||||||
|
|
Loading…
Reference in New Issue