Page 2 of 2

Re: Win98 compatibility

Posted: 11 Jan 2007, 00:54
by DevUrandom
Weird... What exactly is the error message?

Win98 fix created, testing binary attached.

Re: Win98 compatibility

Posted: 13 Jan 2007, 15:15
by DevUrandom
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...

Re: Win98 compatibility

Posted: 13 Jan 2007, 18:00
by karmazilla
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...

Re: Win98 compatibility

Posted: 13 Jan 2007, 18:15
by DevUrandom
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?

Re: Win98 compatibility

Posted: 13 Jan 2007, 18:18
by Kreuvf
DevUrandom 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...
No time atm, sry for this; will try later

Re: Win98 compatibility

Posted: 13 Jan 2007, 20:27
by karmazilla
DevUrandom 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.
Ah, ok. I'm not on Win98 and it started alright :)
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)

Re: Win98 compatibility

Posted: 13 Jan 2007, 23:20
by DevUrandom
Debug binary, so you can provide a better backtrace with "bt full".

Re: Win98 compatibility

Posted: 14 Jan 2007, 04:15
by DevUrandom
Kreuvf wrote: No time atm, sry for this; will try later
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.

Re: Win98 compatibility

Posted: 18 Jan 2007, 21:33
by Kreuvf
Just to keep you up-to-date: Will test it tomorrow or on saturday.

Report #1

Posted: 20 Jan 2007, 11:22
by Kreuvf
Same problem as before with attached binary.

It's a German win-version, so the message is in German ;)
Die Datei WARZONE2100.EXE ist verknüpft mit dem fehlenden Export-SHELL32.DLL:SHGetFolderPathA.
says "missing export shell32.dll:shgetfolderpatha"
D:\Spiele\warzone\2.0.5\warzone2100.exe

Ein an das System angeschlossenes Gerät funktioniert nicht.
says "this exe doesnt work"

Re: Win98 compatibility

Posted: 21 Jan 2007, 03:43
by DevUrandom
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

Posted: 21 Jan 2007, 14:39
by Kreuvf
DevUrandom 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. ;) )
Did it manually, it's: 4.72.3110.6

Re: Win98 compatibility

Posted: 21 Jan 2007, 19:55
by DevUrandom
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.
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.

Re: Win98 compatibility

Posted: 24 Jan 2007, 19:41
by Kreuvf
This problem has been solved.

So, how about moving to fixed bugs-board?

Re: Win98 compatibility

Posted: 26 Mar 2007, 10:10
by rip-e
Hi !
Yes it will be great if win 98 is supported because i have it and i like warzone 2100 !
thanx !