You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
660 B
50 lines
660 B
|
8 years ago
|
# Installation
|
||
|
|
|
||
|
|
## Dependencies
|
||
|
|
|
||
|
8 years ago
|
Ubuntu
|
||
|
|
```bash
|
||
|
|
sudo apt install g++-mingw-w64-i686
|
||
|
|
```
|
||
|
|
|
||
|
8 years ago
|
Arch Linux
|
||
|
8 years ago
|
```bash
|
||
|
8 years ago
|
pacman -S mingw-w64-gcc mingw-w64-binutils
|
||
|
8 years ago
|
```
|
||
|
|
|
||
|
8 years ago
|
Fedora 28:
|
||
|
|
```bash
|
||
|
|
sudo dnf install mingw32-gcc-c++ wine
|
||
|
|
```
|
||
|
|
|
||
|
|
elementary OS:
|
||
|
|
```bash
|
||
|
|
sudo apt install mingw-w64 wine
|
||
|
|
```
|
||
|
|
|
||
|
|
|
||
|
8 years ago
|
## 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
|
||
|
|
```
|
||
|
|
|
||
|
8 years ago
|
On a 32-bit host, `$ make MINGW32=mingw32` should be used, to specify the 32-bit
|
||
|
|
toolchain.
|
||
|
|
|
||
|
8 years ago
|
## Install
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cp devilution.exe /path/to/diablo_game_dir/
|
||
|
|
```
|
||
|
|
|
||
|
|
## Run
|
||
|
|
|
||
|
|
```bash
|
||
|
|
wine devilution.exe
|
||
|
|
```
|