Coder Social home page Coder Social logo

Comments (11)

NeonLightning avatar NeonLightning commented on April 28, 2024 3

would being able to type in ./devilutionx /path/to/diabdat.mpq be doable?

from devilutionx.

predator8bit avatar predator8bit commented on April 28, 2024 2

Currently you can work around this with:

ln -s /wherever/your/data/is/DIABDAT.MPQ /wherever/devilutionx/exists/diabdat.mpq

from devilutionx.

cjsthompson avatar cjsthompson commented on April 28, 2024 2

I've tried ln -s from an NFS4 share, so diabdat.mpq is shared between several machines. I usually do that for other games such as Doom or Quake. But it seems devilutionX can't find diabdat.mpq when it's a symlink. Or it has problems with NFS which would be surprising.

Save for this minor problem, DevilutionX works wonders on Linux/x86_64 so far. I had been wanting for years to play Diablo on Linux without the need for emulation or WINE and the 32bits deps that come with it. Truly a dream come true. I now consider this year to be the year of the Linux desktop. A desktop OS without Diablo is no desktop OS. :) Thanks for the efforts in making this possible!

from devilutionx.

 avatar commented on April 28, 2024

Now diabdat.mpq might be located in ~/.local/share/diasurgical/devilution/ .

from devilutionx.

AJenbo avatar AJenbo commented on April 28, 2024

The original game already has a diablo.ini, we have expanded it to also hold all the settings that where normally saved to the registry + some additional values #44.
~/.local/share/diasurgical/devilution/diablo.ini
This path is controlled by SDL.

I believe the game already looks for the mpq file in ~/.local/share/diasurgical/devilution/, we are currently trying to avoid modifying the original code and only build the surrounding parts that it needs to run, this is for one thin to avoid merge conflicts when pulling in new cleanups from upstream, but also allows us to faithfully recreate the game behavior before doing any refactoring. This currently prevents us from specifying the path directly, but we might be able to ad the "CD" path as an option to the config.

from devilutionx.

legluondunet avatar legluondunet commented on April 28, 2024

Thank you @predator8bit for the workaround but that is not the final objective of this issue: precise the name and the path to the file in a config file. Then you could store your diabdat.mpq where you want, uppercase or lowercase.

from devilutionx.

predator8bit avatar predator8bit commented on April 28, 2024

That seems like the way to go, but for now symlinks work, thugh I only tried on the same machine.

from devilutionx.

legluondunet avatar legluondunet commented on April 28, 2024

I confirm symlink workaround works (ext4 filesystem)

from devilutionx.

AJenbo avatar AJenbo commented on April 28, 2024

yeah that's probably a much better solution

from devilutionx.

NeonLightning avatar NeonLightning commented on April 28, 2024

it would make things easier for those of us on rockpro64 and raspberry pi running thera or retropie.

from devilutionx.

AJenbo avatar AJenbo commented on April 28, 2024

You can now specify the MPQ path:
https://www.youtube.com/watch?v=fk9GwVIhOGc

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.