Win98 compatibility

Bugs that have been fixed for or in a later version

Do you want Warzone to be Windows 98 compatible?

Yes
3
23%
No
3
23%
Doesn't matter to me
7
54%
 
Total votes: 13

User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post by DevUrandom »

Weird... What exactly is the error message?

Win98 fix created, testing binary attached.
Attachments
warzone2100.exe.7z
(861.58 KiB) Downloaded 1152 times
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post 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...
karmazilla
Trained
Trained
Posts: 84
Joined: 26 Aug 2006, 21:05

Re: Win98 compatibility

Post 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...
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post 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?
User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Re: Win98 compatibility

Post 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
karmazilla
Trained
Trained
Posts: 84
Joined: 26 Aug 2006, 21:05

Re: Win98 compatibility

Post 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)
Last edited by karmazilla on 13 Jan 2007, 21:00, edited 1 time in total.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post by DevUrandom »

Debug binary, so you can provide a better backtrace with "bt full".
Attachments
warzone2100.exe.7z
(1.77 MiB) Downloaded 1025 times
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post 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.
User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Re: Win98 compatibility

Post by Kreuvf »

Just to keep you up-to-date: Will test it tomorrow or on saturday.
User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Report #1

Post 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"
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post 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. ;) )
User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Re: Win98 compatibility

Post 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
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Win98 compatibility

Post 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.
Attachments
warzone2100.exe.7z
(1.77 MiB) Downloaded 1001 times
User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Re: Win98 compatibility

Post by Kreuvf »

This problem has been solved.

So, how about moving to fixed bugs-board?
User avatar
rip-e
New user
Posts: 4
Joined: 26 Mar 2007, 10:03
Location: FRANCE

Re: Win98 compatibility

Post by rip-e »

Hi !
Yes it will be great if win 98 is supported because i have it and i like warzone 2100 !
thanx !
Locked