Quantasm

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cda
Newbie
Newbie
Posts: 3
Joined: Thu Jul 17, 2008 7:06 am

Quantasm

Post by cda »

Ok so this game was quite fun on Windows, but obviously I want to waste time at work too :wink:

http://appdb.winehq.org/objectManager.p ... n&iId=7840

What seems to be happening is that its call to msvcrt.fread() gets caught in a loop reading the data file "QUANT0.DAT"

Code: Select all

0009:Call KERNEL32.CreateFileA(00a632b0 "C:\\QUANTASM\\QUANT0.DAT",80000000,00000001,00000000,00000003,00000000,00000000) ret=00647e7c
0009:Ret  KERNEL32.CreateFileA() retval=00000010 ret=00647e7c
0009:Call KERNEL32.SetFilePointer(00000010,00000024,00000000,00000000) ret=00647e94
0009:Ret  KERNEL32.SetFilePointer() retval=00000024 ret=00647e94
A few open and seek calls later, SetFilePointer gets called to the QUANT0.DAT file (10, 24) and then all hell breaks loose

Code: Select all

0009:Call KERNEL32.SetFilePointer(00000010,00000024,00000000,00000000) ret=00648379
0009:Ret  KERNEL32.SetFilePointer() retval=00000024 ret=00648379
0009:Call KERNEL32.ReadFile(00000010,00a65fc0,00000201,00a5fb88,00000000) ret=00648393
0009:Ret  KERNEL32.ReadFile() retval=00000001 ret=00648393
0009:Call KERNEL32.GetSystemTimeAsFileTime(00657ad8) ret=006486b2
0009:Ret  KERNEL32.GetSystemTimeAsFileTime() retval=01c8e71c ret=006486b2
0009:Ret  msvcrt.fread() retval=00000201 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
0009:Ret  msvcrt.fread() retval=00000000 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
0009:Ret  msvcrt.fread() retval=00000000 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
0009:Ret  msvcrt.fread() retval=00000000 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
0009:Ret  msvcrt.fread() retval=00000000 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
0009:Ret  msvcrt.fread() retval=00000000 ret=00558c4f
0009:Call msvcrt.fread(001666f9,00000001,000001ff,001664a8) ret=00558c4f
I'm not sure what the problem is (most likely it's with this program itself), but has anyone seen this or is this a Wine bug? I guess since it actually runs fine on Windows it is a Wine bug of sorts.
cda
Newbie
Newbie
Posts: 3
Joined: Thu Jul 17, 2008 7:06 am

Post by cda »

I'm going to give winetricks a try (with vcrun6) and see if that fixes it.
cda
Newbie
Newbie
Posts: 3
Joined: Thu Jul 17, 2008 7:06 am

Post by cda »

Yeah seems winetricks fixed it.

wget http://kegel.com/wine/winetricks
sh winetricks vcrun6
msvcrt to native in winecfg.

As per mr Dan http://forum.winehq.org/viewtopic.php?t ... vcrt+fread here. Will update the app as working :)
Locked