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

Re: Win98 compatibility

Postby DevUrandom » 11 Jan 2007, 00:54

Weird... What exactly is the error message?

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

Re: Win98 compatibility

Postby DevUrandom » 13 Jan 2007, 15:15

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

Re: Win98 compatibility

Postby karmazilla » 13 Jan 2007, 18:00

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

Re: Win98 compatibility

Postby DevUrandom » 13 Jan 2007, 18:15

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

Re: Win98 compatibility

Postby Kreuvf » 13 Jan 2007, 18:18

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
Do not contact me via PM, can take lots of time for me to answer. Use e-mail and, if possible, encrypt it with Kreuvf's public key.
User avatar
Kreuvf
Global Moderator
Global Moderator
 
Posts: 243
Joined: 22 Sep 2006, 20:56

Re: Win98 compatibility

Postby karmazilla » 13 Jan 2007, 20:27

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

Re: Win98 compatibility

Postby DevUrandom » 13 Jan 2007, 23:20

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

Re: Win98 compatibility

Postby DevUrandom » 14 Jan 2007, 04:15

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

Re: Win98 compatibility

Postby Kreuvf » 18 Jan 2007, 21:33

Just to keep you up-to-date: Will test it tomorrow or on saturday.
Do not contact me via PM, can take lots of time for me to answer. Use e-mail and, if possible, encrypt it with Kreuvf's public key.
User avatar
Kreuvf
Global Moderator
Global Moderator
 
Posts: 243
Joined: 22 Sep 2006, 20:56

Report #1

Postby Kreuvf » 20 Jan 2007, 11:22

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"
Do not contact me via PM, can take lots of time for me to answer. Use e-mail and, if possible, encrypt it with Kreuvf's public key.
User avatar
Kreuvf
Global Moderator
Global Moderator
 
Posts: 243
Joined: 22 Sep 2006, 20:56

Re: Win98 compatibility

Postby DevUrandom » 21 Jan 2007, 03:43

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

Re: Win98 compatibility

Postby Kreuvf » 21 Jan 2007, 14:39

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
Do not contact me via PM, can take lots of time for me to answer. Use e-mail and, if possible, encrypt it with Kreuvf's public key.
User avatar
Kreuvf
Global Moderator
Global Moderator
 
Posts: 243
Joined: 22 Sep 2006, 20:56

Re: Win98 compatibility

Postby DevUrandom » 21 Jan 2007, 19:55

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

Re: Win98 compatibility

Postby Kreuvf » 24 Jan 2007, 19:41

This problem has been solved.

So, how about moving to fixed bugs-board?
Do not contact me via PM, can take lots of time for me to answer. Use e-mail and, if possible, encrypt it with Kreuvf's public key.
User avatar
Kreuvf
Global Moderator
Global Moderator
 
Posts: 243
Joined: 22 Sep 2006, 20:56

Re: Win98 compatibility

Postby rip-e » 26 Mar 2007, 10:10

Hi !
Yes it will be great if win 98 is supported because i have it and i like warzone 2100 !
thanx !
User avatar
rip-e
New user
 
Posts: 4
Joined: 26 Mar 2007, 10:03
Location: FRANCE

Previous

Return to Fixed bugs