PDA

View Full Version : Duke Nukem 3D on the N900 working


cddiede
2009-12-06, 10:20
Just got Duke Nukem 3D working on my N900. :D

I'm using the non-sw version of the .deb package (since the share ware version had more errors) with my own duke3d.grp from the game disc. But you can use the duke3d.grp file from the 3Drealms Share Ware distro of the game as well.

Here's a copy of the SW grp file (just unzip first):

http://drolyag.tripod.com/duke3d.zip

Be sure to put duke3d.grp file in your memory card's /share/duke3d directory. (keep it all lowercase)

Download and install the .deb file from:

http://repository.maemo.org/extras/pool/diablo/free/d/duke3d/duke3d_1.5.8-0maemo2_armel.deb


Before running the game the first time, edit the following file:

/usr/share/duke3d/duke3d.cfg

Change the screen size to 800x480

If you run the game before editing this file, you'll need to edit the copy that's created at first run time. That's in:

$HOME/.duke3d/duke3d.cfg

You can also customize your controls in this file if you like, but it's easier to do this in the game settings itself to whatever is most comfortable for you.

Remember, in the game toggle on the Mouse look button and you can then look and aim with the N900's touch screen!

Biggest gripe is that the N900 has no ESC key and you can't bind that function to anything else in the config file. So if you want to navigate the game's menus to save/load, customize controls, or cleanly exit the game you must use a bluetooth keyboard or keyboard input over a VNC server.

Of course if you just want to quit the game, you can just tap the power button and click "end current task".

Here we go. It's no screencast, but I think I got a decent focus length in this video.

Duke Nukem 3D on the N900:

http://www.youtube.com/watch?v=PsWVfLF79Cg

timoph
2009-12-06, 10:47
The method above requires root access and unexperienced users might mess up their device.

Wouldn't it be easier for everyone if the package's maintainer repackaged the game for fremantle and uploaded it to fremantle repos? That way people woudn't need to manually install packages.

Other than that nice to know that duke3d works also in n900.

tangs
2009-12-06, 11:16
I agrre, i would like to know if an easier way to instal this legend is possible ? :) nice work by the way ! a video would be very appreciate ! :)

Cinderella17
2009-12-06, 11:25
yeahhhhhh please

MrWeasel
2009-12-06, 11:38
Did you get the music working? I know that it doesn't on N8xx, but it would be great!

ukki
2009-12-06, 11:50
Now that we have OpenGL it would be nicer if someone would do a proper port of something like http://www.eduke32.com/.

MrGrim
2009-12-06, 11:57
The method above requires root access and unexperienced users might mess up their device.

Wouldn't it be easier for everyone if the package's maintainer repackaged the game for fremantle and uploaded it to fremantle repos? That way people woudn't need to manually install packages.

Other than that nice to know that duke3d works also in n900.

If anybody bothered to repackage, it would still end up in extras-testing or devel and stay there for some time. Then users would have to enable those, which might turn out even more dangerous

codeMonkey
2009-12-06, 13:00
Have tripod killed the zip file?

Queb
2009-12-06, 14:45
Have tripod killed the zip file?

No just cut and paste the link rather than clicking it :)

g0dzilla
2009-12-06, 16:30
Just got Duke Nukem 3D working on my N900. :D
Make YouTube video?:p

les_garten
2009-12-06, 17:03
Just got Duke Nukem 3D working on my N900. :D

I'm using the non-sw version of the .deb package (since the share ware version had more errors) with my own duke3d.grp from the game disc. But you can use the duke3d.grp file from the 3Drealms Share Ware distro of the game as well.

Here's a copy of the SW grp file (just unzip first):

http://drolyag.tripod.com/duke3d.zip

Be sure to put duke3d.grp file in your memory card's /share/duke3d directory. (keep it all lowercase)

Download and install the .deb file from:

http://repository.maemo.org/extras/pool/diablo/free/d/duke3d/duke3d_1.5.8-0maemo2_armel.deb


Before running the game the first time, edit the following file:

/usr/share/duke3d/duke3d.cfg

Change the screen size to 800x480

If you run the game before editing this file, you'll need to edit the copy that's created at first run time. That's in:

$HOME/.duke3d/duke3d.cfg

You can also customize your controls in this file if you like, but it's easier to do this in the game settings itself to whatever is most comfortable for you.

Remember, in the game toggle on the Mouse look button and you can then look and aim with the N900's touch screen!

Biggest gripe is that the N900 has no ESC key and you can't bind that function to anything else in the config file. So if you want to navigate the game's menus to save/load, customize controls, or cleanly exit the game you must use a bluetooth keyboard or keyboard input over a VNC server.

Of course if you just want to quit the game, you can just tap the power button and click "end current task".

It seems there are some Libraries/dependencies missing. Can you go over the process here? I think you left something out.

I DL'd the deb and tried installing and it was missing dependencies. I tried to get it out of the repository thru the app manager and it failed due to dependencies as well.

cddiede
2009-12-06, 21:12
It seems there are some Libraries/dependencies missing. Can you go over the process here? I think you left something out.

I DL'd the deb and tried installing and it was missing dependencies. I tried to get it out of the repository thru the app manager and it failed due to dependencies as well.

The dependency errors you are seeing are due to the fact that this deb was packaged for Diablo OS2008. They are harmless errors, but this is why I recommended installing this game from the .deb file and not through the app manager.

cddiede
2009-12-06, 21:42
Make YouTube video?:p

Sorry. Can't capture it until someone fixes screencast.

https://bugs.maemo.org/show_bug.cgi?id=5780

les_garten
2009-12-06, 22:31
The dependency errors you are seeing are due to the fact that this deb was packaged for Diablo OS2008. They are harmless errors, but this is why I recommended installing this game from the .deb file and not through the app manager.

OK, I put the grp file in /usr/share/duke3d /share/duke3d and /home/user/MyDocs/share/duke3d

No matter where it's at, the loader complains it can't find the grp file. Clues? The error file has duke3d.grp in all caps?

cddiede
2009-12-06, 22:44
I agrre, i would like to know if an easier way to instal this legend is possible ? :) nice work by the way ! a video would be very appreciate ! :)

Here we go. It's no screencast, but I think I got a decent focus length in this video.

Duke Nukem 3D on the N900:

http://www.youtube.com/watch?v=PsWVfLF79Cg

cddiede
2009-12-06, 23:11
OK, I put the grp file in /usr/share/duke3d /share/duke3d and /home/user/MyDocs/share/duke3d

No matter where it's at, the loader complains it can't find the grp file. Clues? The error file has duke3d.grp in all caps?

Okay, everything must be in lowercase:

/media/mmc1/share/duke3d/duke3d.grp

Don't bother putting it in MyDocs since it'll never look there and it wastes internal drive space.

les_garten
2009-12-06, 23:46
I'm close. Now it just tries to load and runs the "hourglass" for about 20 secs and falls back to the desktop. It's obviously finding the grp file now. I didn't see any errors logged in /var. I ran the binary in an xterm but it just hung after asking if I wanted to use the defaults. Any ideas where else to look?

cddiede
2009-12-07, 00:31
I'm close. Now it just tries to load and runs the "hourglass" for about 20 secs and falls back to the desktop. It's obviously finding the grp file now. I didn't see any errors logged in /var. I ran the binary in an xterm but it just hung after asking if I wanted to use the defaults. Any ideas where else to look?

Okay, did you install the full CD version of the Duke3D .deb file or the SW (share ware) version?

This is only tested on the full CD version that I quoted in the first post:

http://repository.maemo.org/extras/pool/diablo/free/d/duke3d/duke3d_1.5.8-0maemo2_armel.deb

How did you install the deb file? I used (as root ~beware~) the command:

dpkg -i duke3d_1.5.8-0maemo2_armel.deb

Ignore the hildon-home dependency error.

Like I said, your data file should be like this:

/media/mmc1/share/duke3d/duke3d.grp
(no other files should be in this directory at the start.)

Try deleting the following file to reset the game parameters:

rm -Rf /home/user/.duke3d

Then re-launch it from the apps menu.

les_garten
2009-12-07, 01:10
I had installed mine the same way, then got the error and installed from the repository.

Here's the screenshot of the dpkg install:

http://www.turbonet.biz/misc/N900/Screenshot-20091206-195628.png

mrdelgibbons
2009-12-07, 01:16
erm, I take it this gets installed into root, right...in which case I'll leave it :D

until I learn basic commands on X-terminal properly...

joshua.maverick
2009-12-07, 02:58
"shake it baby!"

cddiede
2009-12-07, 03:15
I had installed mine the same way, then got the error and installed from the repository.

Here's the screenshot of the dpkg install:

http://www.turbonet.biz/misc/N900/Screenshot-20091206-195628.png

Yeah, That's Not A Critical Error. i Get The Same thing. If You Game Isn't Starting, Then It's Not Due To This Error, It's Something Else. Usually A Typo Or Uppercase Character In The Installed Path To Your .grp Game Data File.

les_garten
2009-12-07, 03:28
Yeah, That's Not A Critical Error. i Get The Same thing. If You Game Isn't Starting, Then It's Not Due To This Error, It's Something Else. Usually A Typo Or Uppercase Character In The Installed Path To Your .grp Game Data File.

I don't think that's it, because it doesn't complain about anything. The spinning hourglass spins like it's loading for like 15 secs and then the window collapses back to the desktop

mikkov
2009-12-07, 03:32
duke3d doesn't have any GUI to display startup errors. Start it from command line and you are likely to see error message.

les_garten
2009-12-07, 03:36
duke3d doesn't have any GUI to display startup errors. Start it from command line and you are likely to see error message.I did that too but it didn't help much, I'll run that and post it.

les_garten
2009-12-07, 03:46
duke3d doesn't have any GUI to display startup errors. Start it from command line and you are likely to see error message.


Here ya go, it asks a question, I answer Y and it hangs.


http://www.turbonet.biz/misc/N900/Screenshot-20091206-223833.png

mikkov
2009-12-07, 03:49
are you using cd or sw game data?

cddiede
2009-12-07, 03:54
Here ya go, it asks a question, I answer Y and it hangs.


http://www.turbonet.biz/misc/N900/Screenshot-20091206-223833.png

okay, your game con file is being generated badly. Strange but easy enough to deal with.

Install this to your /media/mmc1/share/duke3d directory (accpt the over wright):

http://www.besh.com/~chad/game.con

les_garten
2009-12-07, 04:07
okay, your game con file is being generated badly. Strange but easy enough to deal with.

Install this to your /media/mmc1/share/duke3d directory (accpt the over wright):

http://www.besh.com/~chad/game.con

Overwrote the file, still get the same error?

ukki
2009-12-07, 06:40
Overwrote the file, still get the same error?

Until there's a proper port available, you can use this (http://nakkiboso.com/duke3d_1.5.8-0maemo2_armel.deb).
It expects to find the duke3d.grp of the full game from /home/user/MyDocs/duke3d. Use the power button -> end current task to close it. I take no responsibility if it messes up your phone.

cddiede
2009-12-07, 06:44
Overwrote the file, still get the same error?

Okay, so maybe there's some corruption on one of the install files. Clean it out to start anew. From xterm as root: (and for the love of god be careful with these recursive purge commands as root)

rm -Rf /home/user/.duke3d
rm -Rf /media/mmc1/share/duke3d/*
dpkg -r duke3d

Then re-download the .deb file and the .grp file.

Now reinstall:

dpkg -i duke3d_1.5.8-0maemo2_armel.deb

Move the newly downloaded duke3d.grp file to the /media/mmc1/share/duke3d directory and keep everything lowercase.

Try and launch the game.

les_garten
2009-12-07, 06:51
Okay, so maybe there's some corruption on one of the install files. Clean it out to start anew. From xterm as root: (and for the love of god be careful with these recursive purge commands as root)

rm -Rf /home/user/.duke3d
rm -Rf /media/mmc1/share/duke3d/*
dpkg -r duke3d

Then re-download the .deb file and the .grp file.

Now reinstall:

dpkg -i duke3d_1.5.8-0maemo2_armel.deb

Move the newly downloaded duke3d.grp file to the /media/mmc1/share/duke3d directory and keep everything lowercase.

Try and launch the game.

I had actually done all that before the last posts.

cddiede
2009-12-07, 07:14
I had actually done all that before the last posts.

Okay I found this same game.con error:

http://www.dcemu.co.uk/vbulletin/showthread.php?t=80584

Here they claim that's harmless to the game however I don't get this warning when I start the game and you can I should be using the exact same game data and .deb files so.....

Please remove your duke3d directory but DON'T uninstall the .deb file.

rm -Rf /media/mmc1/share/duke3d

Now replace it with a copy of mine:

http://www.besh.com/~chad/duke3d.tgz

Move the *.tgz file to /media/mmc1/share
then execute:

tar -zxvf duke3d.tgz

Now try and run the game.

g0dzilla
2009-12-07, 07:27
Sorry. Can't capture it until someone fixes screencast.

Tnx!!!!!:D

kevink
2009-12-07, 17:57
I got the package installed and running but can't navigate the menu, no keys seem to move the choice. How do I select "start game"?

cddiede
2009-12-07, 18:43
I got the package installed and running but can't navigate the menu, no keys seem to move the choice. How do I select "start game"?

By default with a US keyboard layout, the up and down arrow keys move through the menu options and the Enter key selects.

Like I said in the first post, there is no ESC key on the N900 to back up through the menus or bring up the in game menu so that's where a blue tooth keyboard or keyboard input over VNC would come in handy.

ArnimS
2009-12-07, 20:52
what is fps compared to ukki's build on n8x0?

cddiede
2009-12-07, 21:51
what is fps compared to ukki's build on n8x0?

I can't tell exacrly as I never ran it on my N810 but coming from the Nokia E90 Duke3D runs a bit slower because of the larger resolution of the N900 I think.

See my you tube video of the game running on the N900 to get an ideal of the speed.

ukki
2009-12-27, 17:02
WARNING: Do not enable extras-devel if you don't know what you are doing. Software there can be dangerous and force you to reflash your phone.

Duke 3D is now available for the N900 in the extras-devel. It requires the duke3d.grp from the original game. Connect your N900 to your computer, create a folder "duke3d" and copy the duke3d.grp inside the duke3d folder.

Game has accelerometers support but by default controls differ a little from quake3. Use accelerometers to move forward/backward and strafe. Place your right index finger (or thumb) on screen and use it to aim and change direction. Place your thumb on proximity sensor to shoot and use volume up/down to jump and switch weapon. Doors open with space.

This is just by default. Accelerometers are binded to keys wsad and proximity sensor to f, so you can bind them like normal keys to whatever you wish. I also added menu options for both accelerometers and proximity sensor if you want to disable them.

Esc is emulated by pressing shift-backspace.

Do not try to install the shareware-version. It depends on package that is not available for the N900 yet. Shareware version now works. Enjoy!

OptX
2009-12-27, 17:17
Accelerometers kick *ss. Needs some time to get into it, but after a while i dont want to play without it.

Thanks a lot ukki :)

ArnimS
2009-12-27, 19:03
i like the thumb look! takes a while but then i can view by shifting thumb on screen.
running controls easier with wasd for me

mthmob
2009-12-27, 19:09
thx for this release :) have really been looking forward to it. gonna test it now :)

edit: got it working with out problems.

how do i go up and down in menu? i'm on a local keyboard, so i need to use fn key to access up and down arrow key.

game it self runs smooth :)

KiRiK
2009-12-27, 19:42
Thanks for release!
One more video with Duke 3D :)
http://www.youtube.com/watch?v=ywOMq7qWexw

ukki
2009-12-27, 20:22
thx for this release :) have really been looking forward to it. gonna test it now :)

edit: got it working with out problems.

how do i go up and down in menu? i'm on a local keyboard, so i need to use fn key to access up and down arrow key.

game it self runs smooth :)

This is a problem with SDL games, you need to set your keyboard layout to english before starting the game. I'd like to know if there is some solution to this problem.

And shareware version of Duke 3D now works.

go1dfish
2009-12-27, 20:52
This is a problem with SDL games, you need to set your keyboard layout to english before starting the game. I'd like to know if there is some solution to this problem.

And shareware version of Duke 3D now works.

Are the packages you put in extras-devel optified?

ukki
2009-12-27, 20:56
Are the packages you put in extras-devel optified?

Duke and JA 2 are both optified.

go1dfish
2009-12-27, 20:59
Duke and JA 2 are both optified.

Just tried out the shareware version, works beautifully.

Kudos.

VeR
2009-12-27, 22:29
can anyone upload this file http://drolyag.tripod.com/duke3d.zip again? because i can't download it ;/

mthmob
2009-12-27, 22:36
This is a problem with SDL games, you need to set your keyboard layout to english before starting the game. I'd like to know if there is some solution to this problem.

And shareware version of Duke 3D now works.

well you could activate the fn key in duke, however i dont know if thats possible with sdl or the duke engine it self.

Another fix could be to also bind the localised keys for all localised keyboards. mines northern, and has "." instead of left arrow, left arrow instead of down arrow, "æ" instead of up arrow and "ø" instead of "."

but switching to english keyboard layout to play duke dosent bother me though. small price to pay :)

ukki
2009-12-27, 22:54
well you could activate the fn key in duke, however i dont know if thats possible with sdl or the duke engine it self.

Another fix could be to also bind the localised keys for all localised keyboards. mines northern, and has "." instead of left arrow, left arrow instead of down arrow, "æ" instead of up arrow and "ø" instead of "."

but switching to english keyboard layout to play duke dosent bother me though. small price to pay :)

fn is not detected at all, but since i'm using shift as a modifier, i could make shift-right/down work as up and left. How does that sound?

ukki
2009-12-28, 11:41
Here's a short clip of Duke 3D in the telly:
http://www.youtube.com/watch?v=L7PSBnvnyZQ

deanoman99
2009-12-28, 16:10
Playing on Tv with the wii controller running with no problems
brings back memories :)

Rushmore
2009-12-28, 19:37
I installed the game and took my duke3d.grp file and put it in a duke3d directory. Game works, but all of the colors are either inverted or mostly very dark (almost black).

Do I need to make adjustments to the cfg file? How do you access it, since programs are not visible when in storage mode (viewing through windows)?

Thanks

ukki
2009-12-28, 19:50
I installed the game and took my duke3d.grp file and put it in a duke3d directory. Game works, but all of the colors are either inverted or mostly very dark (almost black).

Do I need to make adjustments to the cfg file? How do you access it, since programs are not visible when in storage mode (viewing through windows)?

Thanks

That's odd. Try installing the shareware version and check if it has the same problems.

Rushmore
2009-12-28, 19:55
That's odd. Try installing the shareware version and check if it has the same problems.

Strange. Colors are fine on the shareware version. Are there specific versions of the full version grp that work? Mine would be fine it the colors were not inverted. Actually, it reminds me of the old DOS days when the program would read the graphics card wrong and default to 8 bit color. Similar color errors- if I recall correctly.

Rushmore
2009-12-28, 20:01
Golly jeepers Duke works great on the n900:)!!!

ukki
2009-12-28, 20:03
Strange. Colors are fine on the shareware version. Are there specific versions of the full version grp that work? Mine would be fine it the colors were not inverted. Actually, it reminds me of the old DOS days when the program would read the graphics card wrong and default to 8 bit color. Similar color errors- if I recall correctly.

It should work with the original and atomic edition. One thing you could try is to copy the .con files from your computer and replace the .con files I copy to duke3d. Usually the game fails to start with the original .con files, but try running duke3d from terminal and see if that helps. Besides that I've no idea why your grp doesn't work.

Rushmore
2009-12-28, 20:07
Great job on getting Duke to work so well on the N900! :)

Update: I replaced it with another file version I have and it works great!

Thanks!

st.janne
2009-12-29, 12:07
How about Saving game ?
I can´t save game :(

Duke Nukem 3D Atomic...
I put Duke3d folder & duke3d.grp in mass storage, is that the reason to save game problem??

Game is working great but saving not

ivgalvez
2009-12-29, 14:12
For me it's almost unplayable at this point.

First of all, the impossibility to move though menus with the spanish keyboard (FN key doesn't run).

The movement with gyroscopes is even more difficult than Quake 3. I'd prefer to aim with the the gyroscopes (analog control like mouse) and move forward/backward step left/right with keyboard.

Anyway thanks for your work and, keep on improving the port!

TA-t3
2009-12-29, 14:26
Yeah, I also found it uncomfortable to move via the accelerometers. Maybe it's possible to get used to it, but intuitively I would have thought the other way around (as ivgalvez suggests) would be better. But then again I don't know how accurate aiming would be with accelerometer.

Oh, and the good thing about getting the DDP device is that it's practically the only way to get a non-localized version! So I have the four arrow keys. :D

mthmob
2009-12-29, 14:27
For me it's almost unplayable at this point.

First of all, the impossibility to move though menus with the spanish keyboard (FN key doesn't run).

The movement with gyroscopes is even more difficult than Quake 3. I'd prefer to aim with the the gyroscopes (analog control like mouse) and move forward/backward step left/right with keyboard.

Anyway thanks for your work and, keep on improving the port!

first lf all you can set english keyboard in settings of your phone and that way emulate arrow keys with out use of fn key :)

btw, accelerometer can be disabled in options inside duke, so you can use keyboard and touch only if you want.

ukki
2009-12-29, 14:41
Like I said, you can't please everyone, but you can bind the controls to whatever you like. Just bind wsad to look up/down/right/left and you can view with the accelerometers. For some reason it doesn't detect y when loading/saving a game, but I'll fix that.

st.janne
2009-12-29, 15:22
Like I said, you can't please everyone, but you can bind the controls to whatever you like. Just bind wsad to look up/down/right/left and you can view with the accelerometers. For some reason it doesn't detect y when loading/saving a game, but I'll fix that.

Thanks.. Waiting for it. It would be nice to play at work when there is nothing to do, save and continue later :)

Lehto
2009-12-29, 22:04
Definately excellent!!! Had to go through a quite pile of rubbish to find that old Duke 3d atomic edition disc.

Now say if I want to reconfigure the accelerometers to work as "mouse look" and use the WASD keys for moving. What setting should i change in the duke3d.cfg file?

ukki
2009-12-29, 22:11
Definately excellent!!! Had to go through a quite pile of rubbish to find that old Duke 3d atomic edition disc.

Now say if I want to reconfigure the accelerometers to work as "mouse look" and use the WASD keys for moving. What setting should i change in the duke3d.cfg file?

Why is everyone so eager to edit the config? :) You can bind them in game, a and d for turn left and right, and w and s to aim up and down. I found it little troublesome because of the small deadzone. Maybe i should try to add sliders for deadzones and ability to set the default angle.

HtheB
2009-12-29, 23:35
so... no one is able to save a game yet? :P

PePPeN20
2009-12-30, 12:44
can we put the "high resolution pack" of duke3D on the n900??

http://www.youtube.com/watch?v=BHcoUsNm4zQ

HtheB
2009-12-30, 14:04
did anyone got the music working?

Rushmore
2009-12-30, 14:28
can we put the "high resolution pack" of duke3D on the n900??

http://www.youtube.com/watch?v=BHcoUsNm4zQ

I would say not practical, since that version has thousands of files in it and would probably choke on the N900. It chokes on some netbooks already.

ukki
2009-12-30, 15:43
An update should be available in extras-devel. Changes:

- Startup script switches to us keyboard layout and then reverts back when game is closed. This should make the arrow keys work in menus.
- Fixed return key not recognized when trying to save/load game.
- Added an ability to calibrate accelerometers deadzone
- Added a notice about shift-backspace working as esc key

I'm trying to figure out why music is not working, but don't hold your breath.

smolomiami
2009-12-30, 16:23
i try to instal from application manager but never work

ArnimS
2009-12-30, 16:33
An update should be available in extras-devel. Changes:

- Startup script switches to us keyboard layout and then reverts back when game is closed. This should make the arrow keys work in menus.
- Fixed return key not recognized when trying to save/load game.
- Added an ability to calibrate accelerometers deadzone
- Added a notice about shift-backspace working as esc key

I'm trying to figure out why music is not working, but don't hold your breath.

All works as advertised!

While the interest in accelerometer support is not surprising, Ukki's original carefully chosen controls are more fun than chocolate and butter on a dog. Please do try them (just disable accelerometer in controls menu))

wasd on left and well-calibrated thumb movement onscreen on right, f to fire. i map jump and crouch to O and P for right thumb. Also q and e are handy keys for map and next weapon.

ArnimS
2009-12-30, 16:38
i try to instal from application manager but never work

http://pupnik.de/details.jpg

smolomiami
2009-12-30, 16:47
http://pupnik.de/details.jpg

i don't know what is the problem

ukki
2009-12-30, 17:18
i don't know what is the problem

Are you sure you have the correct repository installed? That looks like a diablo repository, not fremantle.

makarmaemo
2009-12-30, 17:55
I am sorry for a stupid question, but my understanding was that Duke Nukem should be already available in Extras repository, but when I search for it there I get nothing. Here is the source of my info http://recombu.com/news/duke-nukem-3d-running-on-a-nokia-n900_M11275.html
Can anybody explain to me what I am missing?

st.janne
2009-12-30, 18:21
An update should be available in extras-devel. Changes:

- Startup script switches to us keyboard layout and then reverts back when game is closed. This should make the arrow keys work in menus.
- Fixed return key not recognized when trying to save/load game.
- Added an ability to calibrate accelerometers deadzone
- Added a notice about shift-backspace working as esc key

I'm trying to figure out why music is not working, but don't hold your breath.

Thanks !!

HtheB
2009-12-30, 19:12
great! save works now! thanks for the update!

I found a bug: when i try to customize the buttons, while the game isn't started yet (demo will play on the background) the game will crash and will close.
I didn't tested it exactly at what point it will crash, but just wait and see, it will crash on some place of the demo play :P (full version of the Atomic edition)

kake
2009-12-30, 20:19
I've had that bug too with Atomic version.

ukki
2009-12-30, 20:57
great! save works now! thanks for the update!

I found a bug: when i try to customize the buttons, while the game isn't started yet (demo will play on the background) the game will crash and will close.
I didn't tested it exactly at what point it will crash, but just wait and see, it will crash on some place of the demo play :P (full version of the Atomic edition)

Thanks for noticing this. I think I got it fixed, it has been running for over 20 minutes without crashing.

And good news, I managed to get music working, more on that later.

Bratag
2009-12-30, 21:35
Well I have tried repeatedly to get the non shareware version working - have copied the DUKE3D.GRP file in where it tells me - but it keeps either showing the error or crashing immediately.

Am I doing something wrong?

ukki
2009-12-30, 21:43
Well I have tried repeatedly to get the non shareware version working - have copied the DUKE3D.GRP file in where it tells me - but it keeps either showing the error or crashing immediately.

Am I doing something wrong?

Probably. Try opening terminal and run: duke3d and post the error messages.

Bratag
2009-12-30, 21:58
Probably. Try opening terminal and run: duke3d and post the error messages.

Ok looks like I had the darn thing in completely the wrong directory.

Works just fine - thanks

HtheB
2009-12-31, 01:11
Thanks for noticing this. I think I got it fixed, it has been running for over 20 minutes without crashing.

And good news, I managed to get music working, more on that later.


GREAT!!!!!!!!!!! AWESOME WORK!

when can we see it in the repo? :D (hehehe)

ukki
2009-12-31, 14:08
Music support is now available. Just refresh your application manager and you should find a duke3d-timidity package. It takes around 18 mb space, but it's optified so it won't take space from your rootfs. After installing it you should hear music in both full and shareware version. Enjoy and happy new year.

HtheB
2009-12-31, 16:12
Music support is now available. Just refresh your application manager and you should find a duke3d-timidity package. It takes around 18 mb space, but it's optified so it won't take space from your rootfs. After installing it you should hear music in both full and shareware version. Enjoy and happy new year.

Thanks for the great 'gift' just before for the new year :D
tested and it's working!

Come get some!

tangs
2009-12-31, 17:08
thanx for your work ukki !
I just have a lil probleme. I've a french keyboard (azerty) and when i started the game, it changed to qwerty as it should be, but i quited the game and my keyboard is still in qwerty :( is there any possibilty for me to come back to azerty ???
please help me, i can't use my keyboard anymore :(

qwerty12
2009-12-31, 17:11
thanx for your work ukki !
I just have a lil probleme. I've a french keyboard (azerty) and when i started the game, it changed to qwerty as it should be, but i quited the game and my keyboard is still in qwerty :( is there any possibilty for me to come back to azerty ???
please help me, i can't use my keyboard anymore :(

Just open Text Input (or the French equivalent) from Control Panel/Settings and choose Français as the hardware keyboard layout.

tangs
2009-12-31, 17:16
@ qwerty12 : you are a great man :)

Ghostface
2009-12-31, 17:16
For whatever reason it is not working for me - I installed the cd version, and copied the duke3d.gpr from my original retail CD into /media/mmc1/share/duke3d/duke3d.grp but when I run the game it tells me it can't find the game data.

Any suggestions ?

TA-t3
2009-12-31, 17:20
I copied it into /home/user/MyDocs/duke3d/
(and some .con files) and all's well.

Ghostface
2009-12-31, 17:21
ill try that then - thx for the suggestion

Ghostface
2009-12-31, 17:36
thanks - I copied everything over, but had to remove the *.con files as previously noted. It works now :)

Rushmore
2009-12-31, 21:33
Strange, all I did was create a Duke3d folder in the internal storage, put the grp in there and Duke is working fine :)

HtheB
2009-12-31, 23:56
too bad the music is in midi quality :P

for some reason, i like the SoundBlaster version more...
or even better: music from the PSX version!

:D

Cernunnos
2010-01-14, 17:22
I installed this game earlier today, the shareware version. Whenever I quit the game (using the power button due to the whole esc key thing) my N900 freezes and restarts itself.

jsomby
2010-01-15, 05:32
I installed this game earlier today, the shareware version. Whenever I quit the game (using the power button due to the whole esc key thing) my N900 freezes and restarts itself.

how about shift + backspace and then choose quit?

Cernunnos
2010-01-15, 11:06
Tried, no matter how I quit the game it freezes.

flotter
2010-01-26, 17:16
Does anyone know if its possible to get the source of this duke3d N900 build?

Also does anyone know if this is an opengl-es version of the game source?

ukki
2010-01-26, 17:38
source is in extras-devel. No opengl-es, sorry.

Andy1210
2010-01-26, 19:51
I edited /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file
// 3. row
key <AB01> { [ z, Z, sterling, sterling ] };
key <AB02> { [ x, X, dollar, dollar ] };
key <AB03> { [ c, C, EuroSign, EuroSign ] };
key <AB04> { [ v, V, slash, slash ] };
key <AB05> { [ b, B, backslash, backslash ] };
key <AB06> { [ n, N, quotedbl, quotedbl ] };
key <AB07> { [ m, M, apostrophe, apostrophe ] };
key <SPCE> { [ space, Tab, at, at ] };
key <BKSP> { [ BackSpace, Escape, Delete, Delete ] };

Shift+BackSpace = Esc :)
Fn+BackSpace = Del
Shift + Space = Tab

Glue
2010-02-07, 23:13
All working really well for me except for one minor niggle: any idea of how to get it to run in full screen? Mine appears only in a small square in the top left at the mo

Many thanks

ukki
2010-02-08, 04:18
All working really well for me except for one minor niggle: any idea of how to get it to run in full screen? Mine appears only in a small square in the top left at the mo

Many thanks

You sure you are using the correct version? That sounds like the older version for n8x0.

megaexer
2010-04-09, 10:00
I use Dualshock 3 controller with this game but the right analog stick (emulated joystick) doesn't work properly. It should be used to strafe/walk. What things to edit in the duke3d.cfg file? Can the game be played with emulated mouse -and- joystick? Mouselook works good with low sensitivity.

megaexer
2010-05-20, 15:32
I can't get the joystick emulation on the sixaxis to work. Don't know is it because of the ported game or the sixaxis support. It would be great to be able to use the analog sticks, that is, strafe/walk with the emulated joystick and aim with the emulated mouse. I tested the controller modes and here's the result...

Keyboard and joystick/thrustmaster/flightstick
the mouse maps to 4-way digital movements, walk and strafe, no deadzone so it's hard to control
the joystick maps left/right to digital strafe, no deadzone

Keyboard and external
the mouse maps to analog walk/turn or mouselook depending on the user setting, good
the joystick maps both up and down to analog walk forward, slow walking stutters (not true analog)

Keyboard and gamepad
the mouse doesn't work
the joystick maps both up and down to analog walk forward, slow walking stutters (not true analog)

Keyboard and mouse
the mouse maps to analog walk/turn or mouselook depending on the user setting, good
the joystick maps both up and down to analog walk forward, slow walking stutters (not true analog)

joystick left/right/up/down: the N900 vibrates in all of the controller modes.

Deaconclgi
2010-05-28, 00:44
Bump? :confused:

I've been playing the shareware version since february and I havent had any problems with my N900. The port appears to be safe and free of major bugs. I havent had any slowdowns or crashes with Duke. Duke Nukem 3D is a very old game so it won't push the N900 hardware to any unsafe levels on its own.

Do not take my word for it because "Individual results may vary" but now you know my experience with it and knowing is half the battle. Afterall, the N900 is a linux pc in disguise and can play pc games from a decade ago easily.

twigleaf1976
2010-07-03, 22:48
Got it working fine. kudos to the guys posting for the help.

Anyone done or thought of doing blood. came out at same time. same graphics etc. just as good but zombies instead of pigs.

BrOiler1985
2010-07-04, 09:31
The Source-Code of Blood hasnt been released. So I doubt it would be possible to port Blood :(

twigleaf1976
2010-07-04, 12:52
The Source-Code of Blood hasnt been released. So I doubt it would be possible to port Blood :(

That is a shame. Not like new sales will happen for that game. The mighty foot is good but the pitchfork rocks. :)

rainmaster
2010-07-04, 13:18
using the shareware version.........works great

rabilon
2010-08-02, 05:17
I'm trying to install Duke Nukem in a PR1.2 N900. It won't install. I get the message: Application packages missing: maemo-select-menu-location

Any idea on what is going wrong?

TiagoTiago
2010-08-16, 01:29
The deb from the first post gives me the same error, i have one from another source that installed but it won't recognize the GRP file

Spotfist
2010-08-16, 13:26
correct, it's bvasically a demo.

TiagoTiago
2010-08-25, 22:16
Why i can't make the full version recognise the GRP file?

ivgalvez
2010-08-26, 06:57
The deb from the first post gives me the same error, i have one from another source that installed but it won't recognize the GRP file

Install the game directly from the package manager (you need Extras-Devel (http://wiki.maemo.org/Extras) enabled). You can also install Duke3d Timidity for music support in the game.

ivgalvez
2010-08-26, 06:59
Would be nice to have a port from eDuke32 (http://www.eduke32.com/) with polygonal graphics, though it would require to be very skilled with OpenGL to OpenGL ES porting.

TiagoTiago
2010-08-26, 23:03
why not port jonof's port?

btw, the one that isn't recognizing the .grp file was installed with HAM :(

TiagoTiago
2010-08-27, 01:35
I've tried uninstalling and installing it again (copying the grp over again since it deleted it) and it will still say it isn't there :(

tHMZ
2010-09-06, 19:51
Sorry for reviving this thread... Help configurating the .GRP file?

FIXED: I found ukki's post and created a file in MyDocs called "duke3d" and moved the duke3d.grp file there

Thanks Ukki.

Choom
2010-12-05, 19:04
Alright, let me get a few things straight since none of the posts in this thread is very clear on the subject.

Root privileges are not required to install this, however the original game disc is, because you need to copy DUKE3D.GRP from there.

Plug in your cell phone and select "Mass storage mode". Once you are browsing your cell phone's storage, create a directory named Duke3D in the root directory and copy DUKE3D.CFG over from the game's disc. Sync and unmount the phone's storage (Safely Remove Hardware on Windows), launch an X Terminal (there should be one installed by default on Maemo 5), and type the following inside your home directory (which is where you are left by default when the terminal opens):

mkdir share && ln -s ../MyDocs/Duke3D/DUKE3D.GRP share/duke3d.grp.

At this point you should be able to run the game without any further issues (other than the configuration, that is). If you want to setup the game, the configuration file can be found in /usr/share/duke3d/duke3d.cfg, but you need root for that.

cyapalmos
2011-01-28, 00:07
got my BT keyboard and mouse hooked up. Working on getting The Duke all configured.

ROCK ON!

EDIT: Anyone know the mapping for left click and right click from a mouse? Ive got the rest of the keys working, but cannot get the left click to map to fire

Final edit: I just had to edit the /home/user/.duke3d/duke3d.cfg file
MouseButton0 = "Fire"
MouseButtonClicked0 = ""

You can make MouseButton1 and 2 do whatever you want too.

hotkolbas
2011-01-29, 10:22
bloody fantastic.
got it working with my redistributed version of duke3d. first install worked a charm. also the controls a tricky but still. hopefully i can get the mouse/keyboard to work.

many thanks to all whom got this bad boy running.

duke nukem forever