From 2be2763d1c89fe003265438afada6b4fc67afa0b Mon Sep 17 00:00:00 2001 From: Trihedraf Date: Mon, 5 Apr 2021 15:34:43 -0700 Subject: [PATCH] :memo: move install instructions to docs\installing.md (#1372) --- README.md | 11 +++---- docs/installing.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 7 deletions(-) create mode 100644 docs/installing.md diff --git a/README.md b/README.md index d6e0f1758..a5565aa6b 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,11 @@ DevilutionX is a source port of Hellfire/Diablo that strives to make it simple t For a full list of changes see our [changelog](docs/CHANGELOG.md). - # How To Install: - - Download [the latest DevilutionX release](https://github.com/diasurgical/devilutionX/releases), or build from source - -> Wow, does this mean I can download and play Diablo for free now? - -No, you'll need access to the data from the original game. If you don't have an original CD then you can [buy Diablo from GoG.com](https://www.gog.com/game/diablo). Alternately you can use `spawn.mpq` from the [shareware](http://ftp.blizzard.com/pub/demos/diablosw.exe) version to play the shareware portion of the game. +Download the latest [DevilutionX release](https://github.com/diasurgical/devilutionX/releases) and extract the contents to a location of your choosing. - - Copy diabdat.mpq from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-DIABDAT.MPQ-from-the-GoG-installer)) to the DevilutionX install folder or data folder. The DevilutionX install folder is the one that contains the DevilutionX executable. +For more detailed instructions: [Installation Instructions](./docs/installing.md) # Contributing @@ -48,12 +43,14 @@ We hope to provide a good starting points for mods, in addition to the full Devi Want to compile the program by yourself, great! Simply follow the [build instructions](./docs/building.md); # Credits + - The original Devilution project [Devilution](https://github.com/diasurgical/devilution#credits) - [Everyone](https://github.com/diasurgical/devilutionX/graphs/contributors) who worked on Devilution/DevilutionX - [Nikolay Popov](https://www.instagram.com/nikolaypopovz/) who provided new backgrounds and icons. - And a thanks to all who support the project, report bugs and help spread the word <3 # Legal + DevilutionX is released to the Public Domain. The documentation and functionality provided by DevilutionX may only be utilized with assets provided by ownership of Diablo. The source code in this repository is for non-commerical use only. If you use the source code you may not charge others for access to it or any derivative work thereof. diff --git a/docs/installing.md b/docs/installing.md new file mode 100644 index 000000000..aeac7fc63 --- /dev/null +++ b/docs/installing.md @@ -0,0 +1,76 @@ +# Installing + +Download the latest [DevilutionX release](https://github.com/diasurgical/devilutionX/releases), or [build from source](./docs/building.md), and extract the contents to a location of your choosing. + +
Windows + +- Copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to the folder containing the DevilutionX executable or to the data folder. The data folder path may differ, but will normally be `%AppData%\diasurgical\devilution` +- To run the Hellfire expansion of Diablo you will need to put `hellfire.mpq`, `hfmonk.mpq`, `hfmusic.mpq`, `hfvoice.mpq` into the same location as diabdat.mpq. +- Run `.\devilutionx.exe` + +
+ +
Linux + +- Copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to the folder containing the DevilutionX executable or to the data folder. The data folder path may differ depending on distro, version and security settings, but will normally be `~/.local/share/diasurgical/devilution/` +- To run the Hellfire expansion of Diablo you will need to put `hellfire.mpq`, `hfmonk.mpq`, `hfmusic.mpq`, `hfvoice.mpq` into the same location as diabdat.mpq. +- Install [SDL2](https://www.libsdl.org/download-2.0.php), [SDL2_mixer](https://www.libsdl.org/projects/SDL_mixer/) and [SDL2_ttf](https://www.libsdl.org/projects/SDL_ttf/): + - Ubuntu/Debian/Rasbian `sudo apt install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-mixer-2.0-0` + - Fedora `sudo dnf install SDL2 SDL2_ttf SDL2_mixer` +- Run `./devilutionx` + +
+ +
Ubuntu PPA + +- Add [DevilutionX stable](https://launchpad.net/~devilutionx/+archive/ubuntu/stable) or [DevilutionX git](https://launchpad.net/~devilutionx/+archive/ubuntu/dev) PPA repository + +```bash +sudo add-apt-repository ppa:devilutionx/stable +sudo add-apt-repository ppa:devilutionx/dev +``` + +- Install DeviliutionX + +```bash +sudo apt update +sudo apt install devilutionx +``` + +- Copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to `~/.local/share/diasurgical/devilution/` +- To run the Hellfire expansion of Diablo you will need to put `hellfire.mpq`, `hfmonk.mpq`, `hfmusic.mpq`, `hfvoice.mpq` into the same location as diabdat.mpq. + +- Run DevilutionX or DevilutionX Hellfire from menu to start game + +
+ +
MacOS X + +- Copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to the folder containing the DevilutionX executable or to the data folder. The data folder path may differ, but will normally be `~/Library/Application Support/diasurgical/devilution` +- To run the Hellfire expansion of Diablo you will need to put `hellfire.mpq`, `hfmonk.mpq`, `hfmusic.mpq`, `hfvoice.mpq` into the same location as diabdat.mpq. +- Run `./devilutionx` + +
+ +
Nintendo Switch + +- Put `devilutionx.nro` and `CharisSILB.ttf` in into `/switch/devilutionx` +- Copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to `/switch/devilutionx`. + - Launch `devilutionx.nro`. Hold R on any installed game and launch it. Do not use album to launch, if you use album, the homebrew will only have a small amount memory available, and the touch keyboard won't work. This is true for all homebrew, not just DevilutionX. + +
+ +
ClockworkPi GameShell + +- Copy the `__init__.py` to a newly created folder under /home/cpi/apps/Menu and run it from the menu. The folder then symbolizes the devilutionX icon. +- From this menu, you can press 'X' to clone the git repository for devilutionX and compile the code. Dependencies are installed automatically (cmake and SDL development packages). +- Once installed, 'X' pulls the updated code and does the compiling. Note that any changes made locally to the source are reverted before pulling. +- When the compile is finished, copy `diabdat.mpq` from your CD or GoG installation (or [extract it from the GoG installer](https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer)) to `/home/cpi/.local/share/diasurgical/devilution/` +- To run the Hellfire expansion of Diablo you will need to put `hellfire.mpq`, `hfmonk.mpq`, `hfmusic.mpq`, `hfvoice.mpq` into the same location as diabdat.mpq. +- You can now play the game from the same icon. + +
+ +## Optional + +For better widescreen support you can copy [devilutionx.mpq](https://github.com/diasurgical/devilutionX/raw/master/Packaging/resources/devilutionx.mpq) to the same location as `diabdat.mpq`