1
0
Fork 0

Merge pull request #6 from mewpull/install

Add extended installation instructions for Linux and Windows
pull/10/head
galaxyhaxz 2018-06-09 03:16:52 -05:00 committed by GitHub
commit 4482de4f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 0 deletions

30
INSTALL_linux.md Normal file
View File

@ -0,0 +1,30 @@
# Installation
## Dependencies
Arch Linux:
```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
```

27
INSTALL_windows.md Normal file
View File

@ -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/
```

View File

@ -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.
For further installation and run instructions, refer to the respective documentation:
* [Linux installation](INSTALL_linux.md)
* [Windows installation](INSTALL_windows.md)
# 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:
- Battle.snp: code for battle.net, outdated protocol and not worth the time.