D2X-W32: Bar HUD rendering issues, dual joystick support
D2X-W32: Bar HUD rendering issues, dual joystick support
I have fixed the bar HUD rendering issues (AB gauge, fuel gauge, ship not drawn) and added dual joystick support. For the latter I'd need a "lab rat", i.e. somebody testing it. I think Ferno would be exactly the right person.
EDIT: hold the phone.... let me try something..
nope, still no good.
D2X-w32 gives me this:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Also, for reference:
Warning: sdl-joystick: found 24 buttons, only 16 supported. Game may be unstable. <--this would be my USB throttle.
This is on a clean install, with no player files.
nope, still no good.
D2X-w32 gives me this:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Also, for reference:
Warning: sdl-joystick: found 24 buttons, only 16 supported. Game may be unstable. <--this would be my USB throttle.
This is on a clean install, with no player files.
- Aus-RED-5
- DBB Friend
- Posts: 1604
- Joined: Fri Apr 23, 2004 7:27 am
- Location: Adelaide, South Australia
- Contact:
Diedel,
Can I please make a small suggestion?
I know that you're a busy man and all. But is it possible to add a BUILD number in the menu of D2x-w32? http://img130.exs.cx/my.php?loc=img130& ... ild5yp.jpg Also if its not asking to much. Renaming the d2x-w32.zip to add the BUILD number in as well? (d2x-w32_buildxxxx.zip)It would help to keep track of all the builds you make so every one knows whats the latest build to download. Plus it would help when posting a prob you'll be able to ask what build that person has. They can even tell you what build it is when posting the prob.
Cheers!
Aus-RED-5
Can I please make a small suggestion?
I know that you're a busy man and all. But is it possible to add a BUILD number in the menu of D2x-w32? http://img130.exs.cx/my.php?loc=img130& ... ild5yp.jpg Also if its not asking to much. Renaming the d2x-w32.zip to add the BUILD number in as well? (d2x-w32_buildxxxx.zip)It would help to keep track of all the builds you make so every one knows whats the latest build to download. Plus it would help when posting a prob you'll be able to ask what build that person has. They can even tell you what build it is when posting the prob.
Cheers!
Aus-RED-5
Thats a good idea. I wouldn't recommend that too many people download at this time as it would seem that D2x-w32 is really in debug/beta testing stages. Course, I would imagine the more feedback the better, but it would be best if people didn't come off with the impression that this application is already "ready to use" and then get turned away from it if something goes wrong.
Perhaps I'm looking too far into things, considering the state of the community and all, it probably isn't really that big of a deal.
Perhaps I'm looking too far into things, considering the state of the community and all, it probably isn't really that big of a deal.
- Aus-RED-5
- DBB Friend
- Posts: 1604
- Joined: Fri Apr 23, 2004 7:27 am
- Location: Adelaide, South Australia
- Contact:
Got some feedback for ya Diedel.
Over the weekend had those wepons and animation bugs in last week version of d2x-w32.
Did a clean install of everything encluding new player profile and using same version of d2x-w32 on both pcs. I Did a lan game to test that version and got those bugs. http://img113.exs.cx/my.php?loc=img113& ... 5053be.jpg (2/26/05)
This week version (3-01-05) seems to be working better for me. No bugs to report sofar. Even did a lan game to test it. http://img101.exs.cx/my.php?loc=img101& ... 1056in.jpg Wepons and animation are normal again. Don't know why everybody else is having probs? On my end all work smooth.
So as for me. Good work Diedel! Keep it up!
Cheers!
NOTE: I'll have to try a lan game or kali game using this week version of d2x-w32 (winXP Pro) with D2 3dfx v1.06b (win98se). I have both versions. Will let you know later.
UPDATE: Did the Kali net game option. Works great! No wepons or animation bugs.
Over the weekend had those wepons and animation bugs in last week version of d2x-w32.
Did a clean install of everything encluding new player profile and using same version of d2x-w32 on both pcs. I Did a lan game to test that version and got those bugs. http://img113.exs.cx/my.php?loc=img113& ... 5053be.jpg (2/26/05)
This week version (3-01-05) seems to be working better for me. No bugs to report sofar. Even did a lan game to test it. http://img101.exs.cx/my.php?loc=img101& ... 1056in.jpg Wepons and animation are normal again. Don't know why everybody else is having probs? On my end all work smooth.
So as for me. Good work Diedel! Keep it up!
Cheers!
NOTE: I'll have to try a lan game or kali game using this week version of d2x-w32 (winXP Pro) with D2 3dfx v1.06b (win98se). I have both versions. Will let you know later.
UPDATE: Did the Kali net game option. Works great! No wepons or animation bugs.
uh...the "Create Kali Netgame" and "Join Kali Netgame" multiplayer menu options were removed several releases ago after Diedel figured out what was causing the error in the networking code. You don't need those options when IPX is working how it should.
That would explain why you're not getting any crashes because I believe you're behind on the latest builds The last D2x-w32 version I remember working correctly was the one released shortly after Diedel fixed the IPX/Kali issue.
That would explain why you're not getting any crashes because I believe you're behind on the latest builds The last D2x-w32 version I remember working correctly was the one released shortly after Diedel fixed the IPX/Kali issue.
It looks like the crash is caused somewhere in the menu code. Every menu can have a title and a subtitle, and the crash is caused when d2x-w32 reaches that spot. Ironically enough, both title and subtitle are empty at that occasion and are not accessed. tsk.
Update:
The crash seems to be caused by some floating point to integer conversion and not the title processing. Weird.
Update 2:
Menu crash bug solved. It was indeed caused by some floating point issue. Very strange. Blame the compiler. The versions of d2x-w32 created last year had all been built with MSVC 6 SP 5. Maybe MSVC .NET screws floating point stuff up somehow. If nothing else helps I will compile d2x-w32 with MSVC 6 and see whether that cures all problems.
Update 3:
Compiling with MSVC 6 cures the crash bug when starting a game, too. Microcrap software, grrrr. Unfortunately, SDL 1.2.8 doesn't compile with MSVC 6. So either I can upload a working d2x-w32 version with SDL 1.2.7, or I will need somebody to assist me in tracking down the crash bug when starting a game.
Update:
The crash seems to be caused by some floating point to integer conversion and not the title processing. Weird.
Update 2:
Menu crash bug solved. It was indeed caused by some floating point issue. Very strange. Blame the compiler. The versions of d2x-w32 created last year had all been built with MSVC 6 SP 5. Maybe MSVC .NET screws floating point stuff up somehow. If nothing else helps I will compile d2x-w32 with MSVC 6 and see whether that cures all problems.
Update 3:
Compiling with MSVC 6 cures the crash bug when starting a game, too. Microcrap software, grrrr. Unfortunately, SDL 1.2.8 doesn't compile with MSVC 6. So either I can upload a working d2x-w32 version with SDL 1.2.7, or I will need somebody to assist me in tracking down the crash bug when starting a game.
Exactly. I know I can trust MSVC, at least v6 (using it for years professionally). I am sure I will find out what goes wrong with d2x-w32 on certain machines when compiled with MSVC .NET (crashs only occur with the optimized release version, so the optimizer must do something to the code).
MSVC v6 doesn't know the (Windows) function GetAncestor() and its parameters - that's the only reason I cannot currently compile SDL 1.2.8 with MSVC 6. d2x-w32 seems to work well with SDL 1.2.7 though.
Sirius,
I have sent you another e-mail. I am currently in the process of preparing a new d2x-w32 (.NET) with more log output and will let you know when it's available.
MSVC v6 doesn't know the (Windows) function GetAncestor() and its parameters - that's the only reason I cannot currently compile SDL 1.2.8 with MSVC 6. d2x-w32 seems to work well with SDL 1.2.7 though.
Sirius,
I have sent you another e-mail. I am currently in the process of preparing a new d2x-w32 (.NET) with more log output and will let you know when it's available.
You might want to update your copies of VS and the Platform SDK.Diedel wrote:MSVC v6 doesn't know the (Windows) function GetAncestor() and its parameters - that's the only reason I cannot currently compile SDL 1.2.8 with MSVC 6. d2x-w32 seems to work well with SDL 1.2.7
GetAncestor() Has been around since win98.
I know that it's a Windows function - it's just not in my MSVC 6 SDK, although I have SP 5. Thanks for the links.
Update:
I have installed both VS6SP6 and the XPSP2 PSDK, but still get an error on GetAncestor. This is due to WINVER being set to 0x0400. If I define it as 0x0500, I get a warning that at the time when my copy of VS6 had been published, that Windows versions were in beta state and I can only create a beta application.
So basically I don't know where to put the SDK Update so that VS6 properly processes it.
Update 2:
Well ... this "beta" stuff obviously is rather a warning. d2x-w32 works well when compiled with WINVER 0x0500.
Anyway I'd love to know how to install the SDK update properly. Currently it sits in its own folder in "C:\Program files\Microsoft Platform SDK for Windows XP SP2".
Update:
I have installed both VS6SP6 and the XPSP2 PSDK, but still get an error on GetAncestor. This is due to WINVER being set to 0x0400. If I define it as 0x0500, I get a warning that at the time when my copy of VS6 had been published, that Windows versions were in beta state and I can only create a beta application.
So basically I don't know where to put the SDK Update so that VS6 properly processes it.
Update 2:
Well ... this "beta" stuff obviously is rather a warning. d2x-w32 works well when compiled with WINVER 0x0500.
Anyway I'd love to know how to install the SDK update properly. Currently it sits in its own folder in "C:\Program files\Microsoft Platform SDK for Windows XP SP2".