We should make wiki page for how to handle the GoG version with out the need of Windows. See the link below for a first draft:
https://github.com/diasurgical/devilutionX/issues/20#issuecomment-471043336
Lutris has innoextract baked in, maybe after the next release someone will make an installer. I actually talked to some Lutris people on their discord and they said they'll look into it. https://lutris.net/games/diablo/
Oh, it would be nice if the listed it :)
https://lutris.net/games/diablo/ I created an installer that asks for the GOG exe and takes care of the rest. At the moment the installer is still unpublished, but I'm sure someone will approve it sooner or later. :)
nice
@predator8bit Great work! The installer is published now I think. https://lutris.net/api/installers/diablo-gog-devilutionx-win3?format=json
Would you mind updating it to work with the latest DevilutionX (i.e. release 0.4.0)?
@AJenbo, even with the installer script in Lutris, we should probably add the MPQ extraction instructions as a Wiki page for users who do not want to use the full Lutris installer, but just the extraction tool. What do you think?
Edit: Also, @predator8bit, do you think any updates are needed for the install script now that Hellfire is bundled with the setup? The latest setup file from GoG is setup_diablo_1.09_hellfire_v2_(30038).exe (as of the 8th of June, 2019).
Yeah a guide should definitely be written on the wiki page, that's why the issue is still open :)
I will update it asap!
8 Jun 2019, 05:18 by [email protected]:
>
@predator8bit https://github.com/predator8bit> Great work! The installer is published now I think. > https://lutris.net/api/installers/diablo-gog-devilutionx-win3?format=json https://lutris.net/api/installers/diablo-gog-devilutionx-win3?format=json
Would you mind updating it to work with the latest DevilutionX (i.e. > release 0.4.0 https://github.com/diasurgical/devilutionX/releases/tag/0.4.0> )?
@AJenbo https://github.com/AJenbo> , even with the installer script in Lutris, we should probably add the MPQ extraction instructions as a Wiki page for users who do not want to use the full Lutris installer, but just the extraction tool. What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, > view it on GitHub https://github.com/diasurgical/devilutionX/issues/33?email_source=notifications&email_token=AGQW6GTERNCDGSSI2XJHAJTPZMQHJA5CNFSM4G4YMDG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHMGFA#issuecomment-500089620> , or > mute the thread https://github.com/notifications/unsubscribe-auth/AGQW6GSOCZLQAIVXXTIS3G3PZMQHJANCNFSM4G4YMDGQ> .
The installer you linked @mewmew wasn't the one I originally submitted, someone deleted that. So I forked it into a new native one.
The hellfire gog installer doesn't work, innoextract throws 1error and 1 warning, looking at the files it managed to successfully extract the DIABDAT.MPQ is only "19.9Â MiB (20,889,600 bytes)" instead of "493.5Â MiB (517,501,282 bytes)" what you get from the standalone diablo installer.
EDIT: The new installer will have to go through moderation for it to appear.
Using current innoextract-git (from Arch AUR) works fine. So a new official release of innoextract is needed (newer than 1.7) or compile it yourself from git.
File extracted successfully running "innoextract -I DIABDAT.MPQ setup_diablo_1.09_hellfire_v2_(30038).exe"
Did a quick test with a fresh 32-bit build and it works, although it seems that DIABDAT.MPQ name is case sensitive and needs to be lowercase.
Hello,
I could update the Wiki page if you want. I don't seem to have edit permissions right now though...
Scratch that, I can see how to clone the wiki now.
Thanks,
Matthew
Thanks that would be helpful.
Hello AJenbo,
I created a local branch of the wiki devilutionX-issue-33 and was then going to create a wiki PR (somehow, UI seems to be missing for this). Unfortunately on push I am getting remote: Permission to diasurgical/devilutionX.wiki.git denied to matthewrkarlsen. I have a complete document, I just need to be able to get it to CR.
Code below, perhaps someone else can add it:
From the innoextract official install instructions the stated dependencies are (taken verbatim and then edited):
These dependencies can be installed on an Ubuntu system with the following command (as detailed on the innoextract official install instructions page:
sudo apt-get install build-essential cmake libboost-all-dev liblzma-dev
Please consult your operating system's documentation and related texts for information on how to install the required dependencies.
On Linux systems, and other similar systems, issue the following commands in your terminal:
git clone https://github.com/dscharrer/innoextract.git
cd innoextract/cmake/
cmake ..
make
sudo make install
Please note that this requires that git be installed on your system.
The innoextract version must be >= 1.8 for it to be able to extract the MPQ from the GOG Diablo installer.
innoextract --version
Should return something similar to the following:
innoextract 1.8-dev + 08b1ee8
Extracts installers created by Inno Setup 1.2.10 to 6.0.2
In a terminal, run the following command: innoextract --info 'setup_diablo_1.09_hellfire_v2_(30038).exe' (adjust file name as appropriate)
This should return:
Inspecting "Diablo + Hellfire" - setup data version 5.6.2 (unicode)
Languages:
- en-US
GOG.com game ID is 1412601690
Setup is not passworded!
innoextract --include DIABDAT.MPQ --lowercase 'setup_diablo_1.09_hellfire_v2_(30038).exe'
Note that we need the file to have a lowercase file name, thus the --lowercase in the above command.
Inspecting "Diablo + Hellfire" - setup data version 5.6.2 (unicode)
- "diabdat.mpq" [en-US]
Done.
cp /some/path/diabdat.mpq /some/new/path/diabdat.mpq
mnhaukeThanks,
Matthew
Thanks I posted it on the wiki:
https://github.com/diasurgical/devilutionX/wiki/Extracting-the-DIABDAT.MPQ-from-the-GoG-installer
Closing this issue, but we should probably promote the guide on the main page or such.
Most helpful comment
Using current innoextract-git (from Arch AUR) works fine. So a new official release of innoextract is needed (newer than 1.7) or compile it yourself from git.
File extracted successfully running "innoextract -I DIABDAT.MPQ setup_diablo_1.09_hellfire_v2_(30038).exe"
Did a quick test with a fresh 32-bit build and it works, although it seems that DIABDAT.MPQ name is case sensitive and needs to be lowercase.