Coder Social home page Coder Social logo

Comments (10)

mnhauke avatar mnhauke commented on April 29, 2024 9

Extract DIABDAT.MPQ from the GoG installer

  1. First download the offlineinstaller of the GoG.

  2. Install the latest git snapshot of innoextract

git clone https://github.com/dscharrer/innoextract.git
cd innoextract/cmake/
cmake ..
make
sudo make install
  1. Check innoextract version (must be > 1.7)
$ innoextract --version
innoextract 1.8-dev + 38ae68f
Extracts installers created by Inno Setup 1.2.10 to 6.0.0
  1. Get some info about the installer
$ innoextract --info 'setup_diablo_1.09_v2_(27882).exe'
Inspecting "Diablo" - setup data version 5.6.2 (unicode)

Languages:
 - en-US

GOG.com game ID is 1412601690

Setup is not passworded!
  1. Extract DIABDAT.MPQ from the installer
$ innoextract --include DIABDAT.MPQ --lowercase 'setup_diablo_1.09_v2_(27882).exe'
Extracting "Diablo" - setup data version 5.6.2 (unicode)
 - "diabdat.mpq" [en-US]
Done.
  1. have fun :-)

from devilutionx.

llcool avatar llcool commented on April 29, 2024 3

Great work.

I installed the libs
$ sudo apt install libsdl2-2.0:i386 libsdl2-ttf-2.0:i386 libsdl2-mixer-2.0:i386

Installed steam
$ sudo apt install steam

And downloaded your prebuild file:
devilutionx

I also bought a copy of GOG Diablo 1 Which I had to install on Windows, then copied the diablo directory onto my Linux machine.

Copy devilutionx file to the diablo directory and run.
$ LD_LIBRARY_PATH=~/.steam/bin32/ ./devilutionx ๐Ÿ‘

from devilutionx.

ctrl-meta-f avatar ctrl-meta-f commented on April 29, 2024 2

This is a known sdl2 bug in Ubuntu 18.04

https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1775067

Another workaround is to run the game like this:

DBUS_FATAL_WARNINGS=0 ./devilutionx

from devilutionx.

DCsunset avatar DCsunset commented on April 29, 2024 1

Oh, I got it.
libsdl2-ttf-2.0:i386 and libsdl2-mixer-2.0:i386 are not buggy, and installing through apt is OK.

After installing them, the game runs normally, thanks!

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

Thanks.

Good point about having to install the GoG version in Windows. I will ask my friend if he can document how he extracted the files from the GoG setup file.

Stick around, the next release should be fairly exciting ๐Ÿ˜ˆ

from devilutionx.

DCsunset avatar DCsunset commented on April 29, 2024

Hi,

After installing steam, there is only libSDL2-2.0.so.0 in ~/.steam/bin32.
libSDL2_ttf-2.0.so.0 and libSDL2_mixer-2.0.so.0 are still not found.

Is there any idea how to get the missing libraries?
Thanks.

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

@DCsunset did you try installing them threw normal means?
sudo apt install libsdl2-ttf-2.0:i386 libsdl2-mixer-2.0:i386

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

@DCsunset thanks for confirming the solution.

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

Thanks that's a simpler solution.

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

Closing this as we now support native 64bit builds in stead.

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.