Homebrew Who wants Duke Nukem 3D (JFDuke?) on the DSi?

Would you like to play Duke Nukem 3D on DSi, in a version with good quality graphics and sound?

  • Yes, certainly, I have always dreamed of it and I can't wait!

    Votes: 36 90.0%
  • No. I don't care. Duke is too vulgar and violent. And it's too difficult for me. I'm not up to it.

    Votes: 4 10.0%

  • Total voters
    40

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
You will all know that it is the only one of the early ms-dos FPS games that has not been ported worthily to DS/DSi (not taking into consideration the version ported from GP2x which is unplayable: it runs jerky and with horrible sound).
Sadly even the 3ds version has problems: the original one doesn't even start and MrHuu's modified one can't save/load. I don't think eDuke32 is possible on DSi, but maybe JFDuke would be, with also the possibility to play the various user episodes available.
So if anyone is strongly interested, like yours truly, please get in touch and post a message here. Please come forward and show that you would be very pleased and look forward to trying it out. If we are lucky enough some developer, caught by pity and a spirit of altruism, will step forward to undertake this challenging and commendable task, in exchange for nothing but gratitude, fame and everlasting glory. 😉
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
Getting this to run on a dsi would be a big challenge. Starting from eduke32 would be easiest but this port is really geared towards modern systems or at least systems with more memory than the dsi. The static data structures alone makes this a challenge - as this is about 8mb before dynamic allocations and code are factored in. Starting from the original code would be even worse. There is a reason there are not a lot of duke nukem 3D ports compared to doom. It was not designed with portability in mind.
 

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
@elhobbs Thank you for participating in this thread. JFDuke has been successfully ported to PSP, and works perfectly on early models (32mb RAM), and allows you to play custom maps from the game menu. Wouldn't it be possible, and easier to port JFD engine rather than eDuke32?

If anything, couldn't the version already ported from GP2x on DS be tweaked so that it takes advantage of the DSi's greater RAM, especially improving the sound effects and frame rate?
 
Last edited by Nikokaro,
  • Like
Reactions: Tarmfot

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
@elhobbs Thank you for participating in this thread. JFDuke has been successfully ported to PSP, and works perfectly on early models (32mb RAM), and allows you to play custom maps from the game menu. Wouldn't it be possible, and easier to port JFD engine rather than eDuke32?

If anything, couldn't the version already ported from GP2x on DS be tweaked so that it takes advantage of the DSi's greater RAM, especially improving the sound effects and frame rate?
Can you point me to the ds version? I could not find it.
 

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
Last edited by Nikokaro,
  • Like
Reactions: Tarmfot

mrparrot2

Well-Known Member
Member
Joined
Nov 29, 2021
Messages
110
Trophies
0
Age
29
Location
SP, Brazil
XP
584
Country
Brazil
It would be awesome to have a 3D capable source port of Duke3D in DSi. Duke3DS runs pretty bad on DS mode and doesn't even boot on DSi mode.

I am not familiar with JFDuke3D sourcecode, but I have successfully ported Command & Conquer: Tiberian Dawn and I am working on a port of Red Alert for the DSi. If more devs want to take a shot porting JFDuke3D to DSi I would gladly help.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
It would be awesome to have a 3D capable source port of Duke3D in DSi. Duke3DS runs pretty bad on DS mode and doesn't even boot on DSi mode.

I am not familiar with JFDuke3D sourcecode, but I have successfully ported Command & Conquer: Tiberian Dawn and I am working on a port of Red Alert for the DSi. If more devs want to take a shot porting JFDuke3D to DSi I would gladly help.
I was able to get the source building with current tools last night and it does run in dsi mode. Sound is disabled and some other issues. I will post the updated source and a test build later today. I have done very little testing aside from a minute or two in the first level.
 

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
I will post the updated source and a test build later today.
I have no words to express my, or rather, our gratitude. Yet another priceless intervention by you (it was what I expected, after all 😁). As to say, a closing of the circle, the icing on the cake of your series of excellent ports on DS/DSi. 🤩
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
I have no words to express my, or rather, our gratitude. Yet another priceless intervention by you (it was what I expected, after all 😁). As to say, a closing of the circle, the icing on the cake of your series of excellent ports on DS/DSi. 🤩
I did not create the port I just made some minor changes to get it to compile. there are changes that need to be made - for instance there is no sound and the text console does not show on the bottom screen. so it will look like it is not working for a bit after launch - but if you are patient the logo should eventually show.
https://github.com/elhobbs/duke3d
I added a compiled duke3d.nds file directly in the repository. I only did minimal testing - launching the first level and playing for about 30-60 seconds.
 

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
I added a compiled duke3d.nds file directly in the repository
I downloaded the .NDS file, but I can't download the .cfg and .con files. It opens them with notepad or similar, but it doesn't download them. Couldn't you provide them zipped somewhere else, If possible? Thanks.

Edit: I have downloaded from the archives on this site those files contained in the original sourcecode, hoping they are identical to yours.
 
Last edited by Nikokaro,

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
I downloaded the .NDS file, but I can't download the .cfg and .con files. It opens them with notepad or similar, but it doesn't download them. Couldn't you provide them zipped somewhere else, If possible? Thanks.

Edit: I have downloaded from the archives on this site those files contained in the original sourcecode, hoping they are identical to yours.
I did not make any changes to those files - not intentionally anyway.
 

Nikokaro

Lost philosopher... searching for a way out...
OP
Member
Joined
Feb 3, 2020
Messages
2,202
Trophies
1
Location
Nautilus (under) Lake Como, Italy 🇮🇹
XP
6,857
Country
Italy
@elhobbs First quick test from SD slot of DSi.
The game starts, also quickly, pretty fast and smooth graphics. No sound, as already specified.
The touch screen does not work, and with the Dpad I can only strafe left/right.
From the TwilightMenu++ menu if I press Y on the duke3d.nds icon to change settings the menu soft-resets for some reason: It can not read the file.

Edit:The controls should be changed to the classic ones of your other FPS ports, with the touch screen as additional possibility, but not essential.

For now I don't feel like trying to save until I am sure there is no risk of corrupting the SD card: I don't have any other empty ones to do these tests.

Edit 2: I set the controls "on the fly" by editing the .cfg file with DSOrganize.
Now everything is perfect. I hope you will be able to put the automap on the lower screen.

Late edit 3: I just now realized that you can change the controls directly in the Duke3d menu. And it works...However, they are not saved. LOL.

Only once the game froze in the first screen, still on the roof.
Then In the first map of the third episode, the game froze when I threw a bomb at a cracked wall.
Otherwise it sometimes goes a little jerky if the screen is crowded, but it's still okay.
Unfortunately, the 4th episode (Atomic Edition) is not working!!!

I recommend in the final version to disable the music completely but leave the sound effects, ambience sounds and Duke's talk, maybe in 11025Hz if possible: this is to gain in performance.
You could keep only the mythical "grabbag" theme in the home menu.

Making it run discreetly and smoothly with complete sound effects will be a difficult challenge to overcome, but I hope you succeed in this task as well.

Now I have to go to sleep, like all ordinary mortals.
😎: "Hail to the king, baby!"😎
 
Last edited by Nikokaro,
  • Like
Reactions: Tarmfot

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
@elhobbs First quick test from SD slot of DSi.
The game starts, also quickly, pretty fast and smooth graphics. No sound, as already specified.
The touch screen does not work, and with the Dpad I can only strafe left/right.
From the TwilightMenu++ menu if I press Y on the duke3d.nds icon to change settings the menu soft-resets for some reason: It can not read the file.

Edit:The controls should be changed to the classic ones of your other FPS ports, with the touch screen as additional possibility, but not essential.

For now I don't feel like trying to save until I am sure there is no risk of corrupting the SD card: I don't have any other empty ones to do these tests.

Edit 2: I set the controls "on the fly" by editing the .cfg file with DSOrganize.
Now everything is perfect. I hope you will be able to put the automap on the lower screen.

Late edit 3: I just now realized that you can change the controls directly in the Duke3d menu. And it works...However, they are not saved. LOL.

Only once the game froze in the first screen, still on the roof.
Then In the first map of the third episode, the game froze when I threw a bomb at a cracked wall.
Otherwise it sometimes goes a little jerky if the screen is crowded, but it's still okay.
Unfortunately, the 4th episode (Atomic Edition) is not working!!!

I recommend in the final version to disable the music completely but leave the sound effects, ambience sounds and Duke's talk, maybe in 11025Hz if possible: this is to gain in performance.
You could keep only the mythical "grabbag" theme in the home menu.

Making it run discreetly and smoothly with complete sound effects will be a difficult challenge to overcome, but I hope you succeed in this task as well.

Now I have to go to sleep, like all ordinary mortals.
😎: "Hail to the king, baby!"😎
I think settings are only saved when you exit through the game menu.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=EtapU5nI6G4 +1