Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevilutionX complains at start on Haiku #96

Closed
extrowerk opened this issue May 2, 2019 · 2 comments · Fixed by #105
Closed

DevilutionX complains at start on Haiku #96

extrowerk opened this issue May 2, 2019 · 2 comments · Fixed by #105

Comments

@extrowerk
Copy link
Contributor

Somewhere between 29. 04 and today a commit added some kind of check or something, now it complains:
"Diablo cannot read a required data file.\nYour diabdat.mpq may not be in the Devilution folder or it's read only.\nPlease ensure that the filename is in all lower case and try again.\n %s"

I put the diabdat.mpq to the "/boot/home/config/settings/diasurgical/devilution" folder, this is the folder where devilutionx automatically saves the "diablo.ini" file, so this is, where it would search for it, and my old checkout finds it correctly, while the current just complains.

I assume it stat() the path and finds the Haiku's own packaged virtual file-system.
On Haiku the folder-structure is partially RO, and it is not possible to change it.
The folder, where the mpq resides is writeable, but the "/boot/home/config" folder not.

I can't seem to find the problematic commit, but this problem doesn't allows to run the game on Haiku.

@AJenbo
Copy link
Member

AJenbo commented May 2, 2019

The game first looks in the same folder as the executable.

The game shouldn't require write access to the MPQ, this is currently a known but in DeviltuionX, see #45

@extrowerk
Copy link
Contributor Author

I think this is something else, as i told the checkout from 29.04 works ok, while the one from today not.
I'll try to bisect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants