Duke Nukem 3D Atomic

Viewing 15 posts - 1 through 15 (of 49 total)
  • Author
  • #5890

    Hi People,

    I created this layout for people who like to play Duke3D on touchscreen. I created icons quickly with Magic Icons Designer (if you like my work, you can support me and send ideas for new icons :D). This is attempt to play Duke3D like a modern shooter on touchscreen.

    Requirements :

    • Duke Nukem Atomic version
    • Magic Dosbox v63+ (in the time of writing this is out version 62)


    • version 1 – initial layout
    • version 2 – added support for inventory

    DukeNukem3D mgc file

    Run SETUP.EXE and “Sound Setup” should be :

    • Current Sound FX Card (Sound Blaster)
    • Current Music Card (Sound Blaster)
    • Sound FX Volume [220]
    • Music Volume [220]

    Controller Setup should be : Controller Setup->Choose Controller Type->Keyboard and Mouse
    Setup Mouse should be :
    Single Clicked Mouse Buttons:

    • Left Button (Fire)
    • Middle Button – does not matter what you set here
    • Right Button – Mouse_Aiming

    In Mouse Aiming Mode set momentary button and enable “Invert Mouse Aiming up and down”

    How to use it

    Main idea is : Finger on left hand controls joystick (forward/backward/strafe). Finger on right hand controls turning to left/right with relative mouse and buttons for fire etc. Mouse sensitivity can be adjusted on several places – in duke options and in magic dosbox as well.


    Layout starts like is seen on picture above. One-two seconds runs two automatic macros which sets “mouse aim” button(10) and “run” button(2). After this action they will be disabled. During gameplay enable “mouse aim”. Disable mouse aim when in menu, else menu wont react (because I set mouse aim to right mouse button). Disable/enable run by your needs. Remember, loading states can breaks these buttons states. In mouse option is disabled mouse clicking, it only does movement (due unwanted fire). If you experience strange behaviors try re-push buttons for aim and run.



    • 1 – Fire – Enabled flag “Non Blocking” which allows fire and aim at once
    • 2 – Run – Enable/Disable togger
    • 3 – Use/Open/Manipulate
    • 4 – Kick
    • 5 – Jump
    • 6 – Next/Previous weapon
    • 7 – Crouch
    • 8 – Joystick, strafe left/right, move forward/backward
    • 9 – Secondary fire. Sometimes I need precise aim and fire (with rpg)
    • 10 – Enable/Disable mouse aim
    • 11 – Pause/Play game
    • 12 – Map/Jetpack/Night vision
    • 13 – Menu – save/load states


    Tips at the end

    • Play at 320×200, it is fast
    • If you need better performance use always Sound Blaster 2.0 in setup
    • If you need yet more performance, you must use expert settings and set cycles=max 120%. In this case I recommend scroll down to “Main Program”. On right side is button “GET”. Here generate all to clipboard. Now open expert settings and replace old content with newly generated config in clipboard

    Tested !

    So far so good ! It works very good on the MDB beta build, its so much more confortable than my own design without mouse aiming. Definetly a step in the right direction. Tested in duke 3d and tweaked it for blood ( same engine ) and works quite nice too.

    Next step: add the option in the virtual dpad to have combined keypresses for 1 direction (up+left, up+right, dow+left, down+right )… thats the final step I think to make the controls perfect.

    Love this, mad props dev 😀

    edit: ok forguet about the diagonal thing… its toggleable in the dpad options XD Contros are a-ok. LOVE EM.


    Seems to be a very great job !!!


    It works great, except he doesn’t move when I move the joystick. How can I move? Thanks.


    Hi, It’s all about setup. I set movement to keyboard arrows. You can check it if you enter design mode and press twice at joystick. Scroll down and you should see arrows. If you can’t move then run SETUP.EXE and follow instructions posted in main post about SETUP.EXE and check controller options. There should be arrows for keyboard.


    Thanks. Turns out, the controls were set to modern (wasd to move, e to enter, space to jump, etc), hence why I had issues. All is well now. Now if I could get my gamepad to work, that’d be even better!


    You can get it work, mDosbox supports it. On my youtube channel is video guide, for other games, but it surely help


    Link to your YT channel, please? Also, good looking out and I appreciate your help.


    Link to youtube guides is in main menu 🙂

    The Game Foxx

    If i can suggest an addition. Perhaps instead of a couple item hotkeys, use item select and use buttons to allow use of all items. I suggest this because there’s no buttons for steroids, holoduke, or medkit.


    Hi, in version 2 I added “inventory” icon. If I remember well, it opens inventory and allows loop over items

    The Game Foxx

    Ok im not sure what im doing wrong, but the mouse aiming button doesnt work. I set mouse aiming to momentary and mouse aim is set to right click


    Hard to say. Do you have atomic version? And which button do you mean? Because you aim with dragging over screen if aim button is pushed down.


    Is this currently the best way possible to play Duke3d? im just asking if its the most updated layout. Also when I press the mouse am button (10) player just starts walking. I can’t make the player look up and down.

    Comparing this to the Delta Touch approach (the best android port for Doom) the left controls in your setup are like pressing keys. On the Delta Touch layour the left controls are like moving with a mouse, so it’s not either running very fast or nothing at all (binary). Could you try setting this up? like this:

    Btw, 800×600 is so slow and im using a galaxy s7… can I make it smooth?

    Al ex

    800×600 is extremely taxing. Beloko’s ports are interpreters, similar to ScummVM, so there’s no emulation involved.
    I’d suggest you use 640×400, and maybe an upscaling filter (normal2x).

Viewing 15 posts - 1 through 15 (of 49 total)
  • You must be logged in to reply to this topic.