Comments (13)
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. :)
from devilutionx.
from devilutionx.
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.
from devilutionx.
@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).
from devilutionx.
Yeah a guide should definitely be written on the wiki page, that's why the issue is still open :)
from devilutionx.
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.
from devilutionx.
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/
from devilutionx.
Oh, it would be nice if the listed it :)
from devilutionx.
nice
from devilutionx.
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
from devilutionx.
Thanks that would be helpful.
from devilutionx.
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:
Extracting the DIABDAT.MPQ from the GoG installer
Download GoG's Diablo offline installer
Install required dependencies for innoextract compilation
innoextract requirements
From the innoextract official install instructions the stated dependencies are (taken verbatim and then edited):
- a C++ compiler
- CMake >= 2.8 or newer
- Boost >= 1.37 (including development headers)
- liblzma (from xz-utils, including development headers)
- iconv (optional, via glibc, uClibc, or a separate libiconv)
Ubuntu
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
Other Operating Systems
Please consult your operating system's documentation and related texts for information on how to install the required dependencies.
Install the latest git snapshot of innoextract
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.
Check innoextract version
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
Get information about the GOG Diablo installer
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!
Extract DIABDAT.MPQ from the installer
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.
Copy the extracted diabdat.mpq to the required location
cp /some/path/diabdat.mpq /some/new/path/diabdat.mpq
Authors and Credits
- Install information for innoextract was adapted from the innoextract install page
- The original text was based on this comment by
mnhauke
Thanks,
Matthew
from devilutionx.
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.
from devilutionx.
Related Issues (20)
- [Issue Report]: New entrances/exits to the Labyrinth open in the city before they are discovered HOT 1
- [Feature Request]: Editing the interface on touch devices HOT 8
- [Issue Report]: Small errors in the operation of the map [1.6.0-dev-debug] HOT 3
- [Issue Report]: Lazarus starting sequence issues HOT 16
- [Issue Report]: Inventory problems HOT 1
- [Issue Report]: Inventory bug [1.6.0-dev] HOT 2
- [Issue Report]: Changing Item Parameters [1.6.0-dev] HOT 3
- [Issue Report]: Full screen option on Nintendo Switch HOT 5
- [Feature Request]: Shrine effect suggestion HOT 1
- [Issue Report]: Vipers / Drakes sometimes missing their lunge and slamming into walls or disappearing into the distance HOT 11
- [Issue Report]: Google Android TV - unable to acess data folder, nothing helps HOT 4
- [Feature Request]: Several proposals for innovations HOT 2
- [Issue Report]: Enabling Integer Scaling would yield lua\user.lua error HOT 5
- [Issue Report]: game crash with SDL_audiolib segfault HOT 5
- [Issue Report]: Broken enemy movement HOT 3
- Shared XP and gold for multiplayer. HOT 2
- [Issue Report]: Char Level And XP info in Panel repeats HOT 1
- [Issue Report]: Devilution crashes and closes silently when trying to load a Diablo 1 save into Hellfire HOT 9
- [Issue Report]: hover information for dead monster HOT 4
- [Issue Report]: Stash corruption when starting new hellfire game from diablo save HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devilutionx.