diasurgical / devilutionX

Diablo build for modern operating systems
Other
7.98k stars 781 forks source link

Diablo can not read required data #145

Closed cdcseacave closed 5 years ago

cdcseacave commented 5 years ago

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 commented 5 years ago

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

cdcseacave commented 5 years ago

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

cdcseacave commented 5 years ago

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 commented 5 years ago

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

AJenbo commented 5 years ago

What is the MD5 value of your diabdat.mpq?

cdcseacave commented 5 years ago

68f049866b44688a7af65ba766bef75a the original 011bc6518e6166206231080a4440b373 GOG

cdcseacave commented 5 years ago

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

cdcseacave commented 5 years ago

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

AJenbo commented 5 years ago

Do you know what file system that drive uses?

cdcseacave commented 5 years ago

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 commented 5 years ago

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

SirGouki commented 5 years ago

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 commented 5 years ago

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

AJenbo commented 5 years ago

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

cdcseacave commented 5 years ago

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

ghost commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

sirnacnud commented 5 years ago

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

Effeevee commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

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

and31 commented 5 years ago

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

AJenbo commented 5 years ago

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

What file system are you running?

and31 commented 5 years ago

@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 commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

I think this is solved because of the changes made in https://github.com/diasurgical/devilutionX/pull/220