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

Diablo can not read required data #145

Closed
cdcseacave opened this issue Jul 3, 2019 · 28 comments
Closed

Diablo can not read required data #145

cdcseacave opened this issue Jul 3, 2019 · 28 comments

Comments

@cdcseacave
Copy link

image

on windows 10 with the latest release here, I get this error no matter from where I get the mpq file (tried both GOG release and original ISO)

@AJenbo
Copy link
Member

AJenbo commented Jul 3, 2019

Where did you put the devilution.exe and diabdat.mpq? Do you have write access to diabdat.mpq?

@cdcseacave
Copy link
Author

both are in D:\Games\Diablo, just a normal SSD, me being admin

@cdcseacave
Copy link
Author

exact same error no matter if there is the diabdat.mpq file or not, it simply does not see it

just curious, since when is a file cases sensitive on windows?

@AJenbo
Copy link
Member

AJenbo commented Jul 3, 2019

The message is the same for all platforms. But some programs on Windows actually are case sensitive (Evil Islands is one such example)

@AJenbo
Copy link
Member

AJenbo commented Jul 3, 2019

What is the MD5 value of your diabdat.mpq?

@cdcseacave
Copy link
Author

68f049866b44688a7af65ba766bef75a the original
011bc6518e6166206231080a4440b373 GOG

@cdcseacave
Copy link
Author

it works on a different PC, so I guess it all has to do with windows version or something

@cdcseacave
Copy link
Author

I found the problem, it simply does not like that particular drive, if I move the game on C or E it works

@AJenbo
Copy link
Member

AJenbo commented Jul 4, 2019

Do you know what file system that drive uses?

@cdcseacave
Copy link
Author

all drives use NTFS

an other issue: short into the game, the mouse starts to move extremely hard (slow, blocked) and a beep is playing relatively often

@AJenbo
Copy link
Member

AJenbo commented Jul 4, 2019

Check if your computer is overheating and has throttled the CPU to something low.

@SirGouki
Copy link

SirGouki commented Jul 4, 2019

Just so you know, on versions of windows newer than XP (the ones using changes from Vista forward) being on an administrator account does NOT give the program the rights to run as an administrator. You still have to either set the compatibility to always run as admin, or right click and run as admin.

@cdcseacave
Copy link
Author

sure, but I wouldn't expect a game to need administrator permission to run

@AJenbo
Copy link
Member

AJenbo commented Jul 4, 2019

It dosent, it needs write access to the file, so if that requires admin rights then that is the problem.

@cdcseacave
Copy link
Author

it does not need admin writes to read or write to any file on D:

@ghost
Copy link

ghost commented Jul 6, 2019

There's a bug in stormlib that needs to always have right access even when only reading, it's also case sensitive. I got it working on windows 7 by fixing both these issues.

@sirnacnud
Copy link

I'm also running in to this issue on High Serria with the original mpq file. I have diabdat.mpq both in the same directory as the executable and named in all lower case.

@AJenbo
Copy link
Member

AJenbo commented Jul 6, 2019

@sirnacnud what permissions does the file have if you list the directory with ls in a terminal?

@sirnacnud
Copy link

@AJenbo Here are the permissions:
-rwxrwxrwx@ 1 duncan staff 517501242 Dec 27 1996 diabdat.mpq

@Effeevee
Copy link

Effeevee commented Jul 8, 2019

@sirnacnud
I put the diabdat.mpq file with read/write permisssions and lowercase in the same folder as the devilutionX.app and then it worked for me.

@and31
Copy link

and31 commented Jul 10, 2019

I am facing the same problem on Ubuntu 19.04. Compiled from sources, moved diabdat.mpq to the same directory where devilutionx is and used chmod +777 diabdat.mpq. Still having this same issue. Any more troubleshooting instructions?

@AJenbo
Copy link
Member

AJenbo commented Jul 10, 2019

What do you get in the console as the game is starting?

@and31
Copy link

and31 commented Jul 10, 2019

What do you get in the console as the game is starting?
https://pastebin.com/dNwgKnr5

@AJenbo
Copy link
Member

AJenbo commented Jul 10, 2019

@and31 what do you get with this command?
ls -lh /home/andre/devilution/*.mpq

What file system are you running?

@and31
Copy link

and31 commented Jul 11, 2019

@and31 what do you get with this command?
ls -lh /home/andre/devilution/*.mpq

What file system are you running?

The command results in:
-rwxrwxrwx 1 andre andre 436M jul 10 19:52 /home/andre/devilution/diabdat.mpq
Everything was compiled in ntfs, but didn't run. /home/andre/devilution/ is ext. If you want I can try doing everything in ext and get back to you.

EDIT: Compiled everything on ext4 and still getting the same error message.

@AJenbo
Copy link
Member

AJenbo commented Jul 11, 2019

@and31 your mpq appears to be the wrong size and also has an incorrect time stamp.

Please verify it against the know versions:
Original US md5: 68f049866b44688a7af65ba766bef75a
EU/Mac/GoG md5: 011bc6518e6166206231080a4440b373

@sirnacnud
Copy link

I ended up getting it to work now. I made the silly mistake of first putting devilutionX.app in the Applications directory, then tried to move it out in Finder. Turns out that created a shortcut rather than actually moving it, so diabdat.mpq was in the wrong location.

@ghost
Copy link

ghost commented Aug 4, 2019

I think this is solved because of the changes made in #220

@qndel qndel closed this as completed Aug 4, 2019
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

No branches or pull requests

7 participants