Page 1 of 1

D2X-W32: Fixed slow keyboard pitch/bank, added 1600x1200 res

Posted: Sat Mar 05, 2005 5:10 pm
by Diedel
Moved here.

Posted: Sat Mar 05, 2005 5:46 pm
by Sirius
Just wondering, what's up with the numbers showing up every time you... I think pick up a powerup?

In addition, it seems there's some logging of some sort going on since the sound is pretty slow again. But I'm not sure what?

Maybe I'm just unlucky enough to have picked up a debug version... :)

Posted: Sat Mar 05, 2005 6:04 pm
by Sapphire Wolf
Image
Looks like we found a bug

Posted: Sat Mar 05, 2005 6:58 pm
by Diedel
Eeek, that was debug output. Will fix it right away.

Posted: Sat Mar 05, 2005 7:31 pm
by Skyalmian
I want to thank you. You've done an excellent job on D2x. 8) :D

-----
Now for the bad news...

1. Weird...the 1600x1200 actually changes the resolution to 1280x960.

2. The bank keys (w, bank left; r, bank right) are still slow.

As for the cube render error I mentioned...that vanished. I did clear out / add command lines from my d2x.ini file earlier:
d2x.ini wrote:-automap1600x1200
-cockpit 3
-fps
-fullscreen
-gl_16bittextures
-gl_alttexmerge
-gl_reticle 0
-gl_stdtexmerge
-hud 0
-ini d2x.ini
-maxfps 30.0
-missiondir missions
-pingstats
-playermessages
-pps 9
-msgcolorlevel 3
-nomusic
-nojoystick
-notitles
-nocdrom
-nofades
-noredundancy
-shortpackets
-sound22k
-subtitles
-tmap fp
-legacyinput
-legacymouse
-legacyrender

Posted: Sun Mar 06, 2005 3:11 am
by Diedel
Rendering errors

-legacyrender was the problem. It switches back to D2's original rendering code and hidden surface detection, which does not work well for complicated level structures.

Generally, you should disable all -legacysomething switches. They all disable advanced features I have built into D2X-W32, reverting to original D2/D2X 0.2.6 style features, and are mainly meant for debugging. My recommended d2x.ini settings are as follows:
d2x.ini wrote:-fullscreen
-sound22k
-nocdrom
-gl_trilinear
-gl_alttexmerge
-playermessages
-noredundancy
-grabmouse
-player <add your personal player profile here>
-nomovies
-gl_reticle 1
Screen Res

I will look into the screen res issue.

Pitch/Bank w/ Keyboard

I am using some num pad keys for pitch/bank, and have no problems with them now. Pitch/bank work fine on my machine (about 2 secs for a full loop/roll, no slow-mo).

Posted: Sun Mar 06, 2005 4:04 am
by Skyalmian
Diedel wrote:have no problems with them now. Pitch/bank work fine on my machine (about 2 secs for a full loop/roll, no slow-mo).
Very well. Quick demo. Don't know if you need to know this, but my framerate is capped at 30.

Posted: Sun Mar 06, 2005 7:00 am
by Diedel
Screen res: solved
pitch/bank speed: solved

Your frame cap was revealing a problem in my input device sample rate limitation code. As you can have "natural" frame cap caused by slow hardware, this had to be fixed, which I have done. New program version online.