Win98 compatibility
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Weird... What exactly is the error message?
Win98 fix created, testing binary attached.
Win98 fix created, testing binary attached.
- Attachments
-
- warzone2100.exe.7z
- (861.58 KiB) Downloaded 1221 times
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Could someone please test this???
If it is untested till the 2.0.6 release, I fear I must take it out again as I can't tell if it broke anything or works at all...
If it is untested till the 2.0.6 release, I fear I must take it out again as I can't tell if it broke anything or works at all...
-
- Trained
- Posts: 84
- Joined: 26 Aug 2006, 21:05
Re: Win98 compatibility
Loaded a campaign save game that I had stopped playing due to some bug. It played alright for about 5-7 minutes but then seg.faulted. Think it's the old bug still spooking.
Skirmish next up...
Skirmish next up...
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
karma: You are on Win98?
The only thing that was changed is the way the userdir is searched, so if it starts at all it is ok.
That "old bug": Do you have a backtrace or any other information?
The only thing that was changed is the way the userdir is searched, so if it starts at all it is ok.
That "old bug": Do you have a backtrace or any other information?
Re: Win98 compatibility
No time atm, sry for this; will try laterDevUrandom wrote: Could someone please test this???
If it is untested till the 2.0.6 release, I fear I must take it out again as I can't tell if it broke anything or works at all...
-
- Trained
- Posts: 84
- Joined: 26 Aug 2006, 21:05
Re: Win98 compatibility
Ah, ok. I'm not on Win98 and it started alrightDevUrandom wrote: karma: You are on Win98?
The only thing that was changed is the way the userdir is searched, so if it starts at all it is ok.
DevUrandom wrote: That "old bug": Do you have a backtrace or any other information?
Code: Select all
(gdb) run
Starting program: /usr/local/bin/warzone2100
[Thread debugging using libthread_db enabled]
[New Thread -1216247616 (LWP 15842)]
libGL warning: 3D driver claims to not support visual 0x4b
[New Thread -1302705248 (LWP 15847)]
*********************************WARN_ONCE*********************************
File r300_vertexprog.c function t_dst_index line 184
Unknown output 3
***************************************************************************
*********************************WARN_ONCE*********************************
File r300_state.c function r300Enable line 475
TODO - double side stencil !
***************************************************************************
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216247616 (LWP 15842)]
0x0812a5e9 in proj_Direct ()
(gdb) bt
#0 0x0812a5e9 in proj_Direct ()
#1 0x080d6f64 in scrStructTargetMask ()
#2 0x080d5399 in scrTargetInArea ()
#3 0x00000001 in ?? ()
#4 0x0ac3f200 in ?? ()
#5 0x00000001 in ?? ()
#6 0xbfd430e8 in ?? ()
#7 0x00000006 in ?? ()
#8 0xbfd430b8 in ?? ()
#9 0x080d6ec0 in scrDroidTargetMask ()
Previous frame inner to this frame (corrupt stack?)
(gdb)
Last edited by karmazilla on 13 Jan 2007, 21:00, edited 1 time in total.
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Debug binary, so you can provide a better backtrace with "bt full".
- Attachments
-
- warzone2100.exe.7z
- (1.77 MiB) Downloaded 1103 times
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Well, you'd just have to download the exe, extract it into your Warzone folder (perhaps backup the older exe) and try to start it. If it starts, fine, tell me. If it doesn't, not so fine, but tell me, too.Kreuvf wrote: No time atm, sry for this; will try later
Re: Win98 compatibility
Just to keep you up-to-date: Will test it tomorrow or on saturday.
Report #1
Same problem as before with attached binary.
It's a German win-version, so the message is in German
It's a German win-version, so the message is in German
says "missing export shell32.dll:shgetfolderpatha"Die Datei WARZONE2100.EXE ist verknüpft mit dem fehlenden Export-SHELL32.DLL:SHGetFolderPathA.
says "this exe doesnt work"D:\Spiele\warzone\2.0.5\warzone2100.exe
Ein an das System angeschlossenes Gerät funktioniert nicht.
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Weird... the exe shouldn't use that function if it is not present... I need to create a new exe which just outputs the versionnumber of your shell32.dll... (Remind me again if I didn't do that next week. )
Re: Win98 compatibility
Did it manually, it's: 4.72.3110.6DevUrandom wrote: Weird... the exe shouldn't use that function if it is not present... I need to create a new exe which just outputs the versionnumber of your shell32.dll... (Remind me again if I didn't do that next week. )
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Win98 compatibility
Another attempt...
This time I removed the custom fallback code again and instead linked against shfolder.
A problem might be that MSDN talks about a "redistributable" shfolder.dll, which I don't have atm. (Maybe it comes with MSVC, have to check that later.) I simply linked against that lib, but don't yet know if linking againt shell32 is also required and in which order I need to specify them.
This time I removed the custom fallback code again and instead linked against shfolder.
A problem might be that MSDN talks about a "redistributable" shfolder.dll, which I don't have atm. (Maybe it comes with MSVC, have to check that later.) I simply linked against that lib, but don't yet know if linking againt shell32 is also required and in which order I need to specify them.
MSDN about SHGetFolderPath wrote: This function is a superset of SHGetSpecialFolderPath, included with earlier versions of the Shell. On systems preceeding those including Shell32.dll version 5.0 (Windows Millennium Edition (Windows Me) and Windows 2000), SHGetFolderPath was obtained through SHFolder.dll, distributed with Microsoft Internet Explorer 4.0 and later versions. SHFolder.dll always calls the current platform's version of this function. If that fails, it will try to simulate the appropriate behavior. SHFolder.dll continues to be included for backward compatibility, though the function is now implemented in Shell32.dll.
- Attachments
-
- warzone2100.exe.7z
- (1.77 MiB) Downloaded 1080 times
Re: Win98 compatibility
This problem has been solved.
So, how about moving to fixed bugs-board?
So, how about moving to fixed bugs-board?
Re: Win98 compatibility
Hi !
Yes it will be great if win 98 is supported because i have it and i like warzone 2100 !
thanx !
Yes it will be great if win 98 is supported because i have it and i like warzone 2100 !
thanx !