maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   New Port: Duke Nukem 3D (https://talk.maemo.org/showthread.php?t=17315)

ukki 2008-03-02 12:04

Re: New Port: Duke Nukem 3D
 
Sharing the buildengine with Shadow Warrior made me release this change for Duke first. Made the aiming with stylus a whole lot easier. Get it from the first post while it's hot.

Pushwall 2008-03-02 15:20

Re: New Port: Duke Nukem 3D
 
Using relative mouse positioning is much better. Thank you ukki! This game rocks! :cool:

Any chance you can get music working using timidity like the Metaview Palm port? No biggie, but since you're now deep in the code just thought I'd ask.

tobiasj 2008-03-02 18:46

Re: New Port: Duke Nukem 3D
 
Is anyone else having a problem with the latest version having the sound out of sync with the 'action' ? I didn't have a problem till I installed 1.5-3 now the sounds are all about .5 second after the animation it should sync with and multiple gun shots register as one..

Maybe it's just me... ;)

-John

ukki 2008-03-02 19:01

Re: New Port: Duke Nukem 3D
 
Quote:

Originally Posted by tobiasj (Post 150146)
Is anyone else having a problem with the latest version having the sound out of sync with the 'action' ? I didn't have a problem till I installed 1.5-3 now the sounds are all about .5 second after the animation it should sync with and multiple gun shots register as one..

Maybe it's just me... ;)

-John

Maybe it's the lower MixRate, try setting MixRate = 44100 in the config and see if that helps. If it does, I'll change it in the package and update.

Also I think lowering the resolution down to something like 640x400 makes the game a bit smoother and nicer to aim.

tobiasj 2008-03-02 20:46

Re: New Port: Duke Nukem 3D
 
Quote:

Originally Posted by ukki (Post 150154)
Maybe it's the lower MixRate, try setting MixRate = 44100 in the config and see if that helps. If it does, I'll change it in the package and update.

Also I think lowering the resolution down to something like 640x400 makes the game a bit smoother and nicer to aim.

That does seem to have taken care of it, at least for me. Thanks for the tip.

-John

icebox 2008-03-03 16:29

Re: New Port: Duke Nukem 3D
 
thank you very much ...

now, how do I type dnkroz on my n800 ? :D

Pushwall 2008-03-03 16:49

Re: New Port: Duke Nukem 3D
 
Quote:

Originally Posted by icebox (Post 150404)
thank you very much ...

now, how do I type dnkroz on my n800 ? :D

Haha you've got to pay for that privilege...it's called iGo! ;)

ArnimS 2008-03-04 09:01

Re: New Port: Duke Nukem 3D
 
Quote:

Originally Posted by ukki (Post 150154)
Maybe it's the lower MixRate, try setting MixRate = 44100 in the config and see if that helps. If it does, I'll change it in the package and update.

If a game uses a sound buffer of N samples, and plays back with frequency M Hertz, then the sound delay D in seconds will be given by
D = N / M. So if the game doesn't scale buffersize by the mixer frequency (and looking at the code, i don't think it does), halving the MixRate will double the sound delay. I expect that changing this

multivc.h:#define MixBufferSize 256

to something liike

multivc.h:#define MixBufferSize (int)(256 * MixRate / 44100)

would solve the problem.

ukki 2008-03-04 21:43

Re: New Port: Duke Nukem 3D
 
Enabled pixel doubling for 400x240 resolution, but it's not enabled on default. If you want it, just change to that resolution in your config. Gives better fullscreen framerate.

Pushwall 2008-03-05 02:07

Re: New Port: Duke Nukem 3D
 
Well you know I like this change. Great stuff! Now we need that "3rd menu" like Shadow Warrior. ;)


All times are GMT. The time now is 07:56.

vBulletin® Version 3.8.8