[Wine] Quantasm

cda wineforum-user at winehq.org
Thu Jul 17 07:19:33 CDT 2008


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.php?sClass=application&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:
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:

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.







More information about the wine-users mailing list