[Bug 1000] MSFlightSim2002 : Resource Info function Problems

Wine Bugs wine-bugs at winehq.com
Sun Jun 22 07:28:23 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1000





------- Additional Comments From z_god at wanadoo.nl  2003-22-06 07:28 -------
Bug comments restored from Gmane.org: 
 
This bug is a part of Efforts to port Microsoft Flight Simulator to Linux via Wine 
--------------------------------------------------------------------------- 
Assumes: 
Read Bug 997 and all of its dependencies 
 
 
Shell Command 
$ wine fs2002.exe 
 
X11 output attached. 
 
Other Comments: 
 
Microsoft seems to have placed a function call in software since 1995 to make 
sure it is running on the Correct Windows version. This call seems to be 
misinterpreted with wine 
 
System: 
NVIDIA RIVA TNT 
RedHat Linux 7.0  
Glibc 2.2-12 
20GB HD: 
2 GB /usr/local (formerly Windows C:) ext2 raid 
10 GB /mnt/win_d (formerly Windows D:, use to be 16GB, rest split up as /, 
location of fs2002) vfat  
1 GB /mnt/win_e (formerly Windows E:). vfat. Configured as Wine TEMPDIR 
2 GB /usr ext2 
2 GB / ext2 
32MB swap swap 
32MB 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-08-29 03:50 
------- 
Created an attachment (id=280)
 --> (http://bugs.winehq.com/attachment.cgi?id=280&action=view) 
Screenshot 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-08-29 03:58 
------- 
More debugging shows that: 
 
RtlAllocateHeap  
 
is known. But needs somemore programming.  
Debug output: 
084c1018:trace:heap:RtlAllocateHeap (40350000,00000002,00000018): returning 
403505f0 
 
I have reason to belive this is used by Windows programs, particularly ones by 
Microsoft to check if there is enough diskspace.  
 
Microsoft must be the only one using it, as I have searched through Unoffical 
and Office implementations of the Platform SDK to no avail. 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-08-29 04:48 
------- 
Others: 
64MB Ram 
800MHz Duron 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-09-03 02:42 
------- 
A related function: 
 
<code>RtlFreeHeap</code> 
 
Returns TRUE when asked for. 
 
But RtlAllocateHeap doesn't. 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-09-03 02:44 
------- 
I've noticed that Wine does not pass on swap, but only the memory free. Perhaps 
we should create a "ForceRAM" option in the wine config file in the future to 
force programs to belive that there is a certain amount of ram 
 
 
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de  2002-09-03 04:12 
------- 
Well, of course RtlAllocateHeap doesn't return TRUE. 
It's supposed to return an LPVOID, the address of the buffer allocated 
(like all heap alloc function do !). 
 
Having said that, I really don't think the error is due to RtlAllocateHeap. 
An "out of disk space" error might be caused by all sorts of other errors, 
too. 
RtlAllocateHeap is probably rather perfect. (it doesn't even have a single FIXME 
either) 
 
 
Attaching a --debugmsg +relay,+file,+dosfs log file of the error might be a good 
idea... 
 
A RAM size fake option would be a good idea, yes. 
(some games have a swap partition check, for example, and they fail to run 
if you don't have enough free swap space, so such an option would be good) 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-09-04 01:58 
------- 
Created an attachment (id=284)
 --> (http://bugs.winehq.com/attachment.cgi?id=284&action=view) 
bzip'ed Debug output 
 
 
------- Additional Comments From mcbridematt <at> hotmail.com  2002-09-04 01:59 
------- 
I've also noticed this in other M$ apps: 
 
Microsoft Works 4.0, Microsoft Money for Win95 
 
 
------- Additional Comments From kyethespy <at> liquid2k.com  2002-10-05 20:38 
------- 
I can confirm this bug exists - and what's this about efforts to port fs to  
linux? 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list