Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: M0nk3m4n on March 28, 2018, 02:14:36 PM

Title: Duke Nukem (like the 1990 one!)
Post by: M0nk3m4n on March 28, 2018, 02:14:36 PM
Doom on Rockbox is playable even on lower-end devices, it can be very fun despite limited controls.
I even see talk of Duke Nukem 3D ports so why has nobody considered the more-fitting Duke 1?
(https://i.imgur.com/1la11Co.gif)(https://i.imgur.com/aZuzazV.png)
Hell, the game only has Left, Right, Up, Down, CTRL & ALT for controls to start with! Seems like it'd
be a much easier endeavor, and considering it can play smoothly on my toaster-speed 8MHz 286,
I would suspect it can probably play on just about anything in regards to processing power.
If nobody is particularly interested, could someone point me to the best source of information for
creating such a plugin for Rockbox? My only device for RB is an iPod Nano 2nd Gen 8gb, which runs
Doom beautifully and Rockboy halfway decently...lol. Thanks for checking out the post, folks.
Title: Re: Duke Nukem (like the 1990 one!)
Post by: saratoga on March 28, 2018, 05:56:21 PM
I even see talk of Duke Nukem 3D ports so why has nobody considered the more-fitting Duke 1?

I could be wrong, but after a minute on Google I don't think source code is available for Duke 1.
Title: Re: Duke Nukem (like the 1990 one!)
Post by: M0nk3m4n on March 28, 2018, 09:06:45 PM
I even see talk of Duke Nukem 3D ports so why has nobody considered the more-fitting Duke 1?

I could be wrong, but after a minute on Google I don't think source code is available for Duke 1.

Holy crap, that's surprising. I wonder if it'd be possible to get it released considering its age...
If it was possible to get Dosbox running, I expect such lightweight games would work that way.
Title: Re: Duke Nukem (like the 1990 one!)
Post by: __builtin on March 29, 2018, 03:55:33 PM
User890104 got an x86 emulator running Alley Cat recently. You could look into that and see if it'll run Duke Nukem.
Title: Re: Duke Nukem (like the 1990 one!)
Post by: M0nk3m4n on April 02, 2018, 05:58:14 PM
User890104 got an x86 emulator running Alley Cat recently. You could look into that and see if it'll run Duke Nukem.

Whoa, that's good news! Thanks very much. How...exactly do I search for that user's work? Haha...
Title: Re: Duke Nukem (like the 1990 one!)
Post by: __builtin on April 02, 2018, 09:58:50 PM
https://github.com/user890104/rockbox/tree/fake86_v1?files=1

Be warned that it seems to be in a very early state of development.
Title: Re: Duke Nukem (like the 1990 one!)
Post by: user890104 on April 05, 2018, 05:32:50 AM
Hello M0nk3m4n,

Please keep in mind that I'm going to completely redo the way this emulator works, so it uses __builtin's SDL runtime. The current version includes some dirty hacks like modifying the plugin buffer, and a hardcoded screen resolution to match iPod Classic.
Feel free to modify, compile and run the code in that branch, but do not put any significant effort in it, since I started doing it wrong from the beginning :)

Vencislav