Homebrew Emulation [Release] DOSBox-SVN port for 3DS

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
Wow. Cannot wait to try this out. Thanks MrHuu! Have you tested it with any games yet?
In my experience, performance is about on par with the DOSBox-SVN libretro core.

Older games like Wolfenstein3D or Stunts (4D driving?) run just about perfect, while newer games like TerminalVelocity run at a very low framerate.
Windows 3.11 / 95 both run slowly, and downscaling higher resolutions doesn't have a very nice result at the moment.

It's hard to say how various games perform, since some games benefit from enabling the dynamic core while others don't.
For some a fixed cycle rate or frameskip is required, while others benefit from adjusting automatically.

I haven't looked into fine-tuning settings for specific games as i'm currently working on the button remapping.

If you do get to running some games, please let me know which ones and how they perform.
 

Wavy

Splatana Stamper Enjoyer
Member
Joined
Aug 24, 2020
Messages
303
Trophies
0
Location
MAP13: Downtown
XP
1,576
Country
Australia
Saw this release a few days ago but I haven't had the time to try it. And I must say, great work! I've honestly been waiting for a standalone DOSBox port ever since I hacked my 3DS a little less than 2 years ago.
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
Hi @MrHuu
I installed v0.0.2 on my N2DS. The app boot but don't generate dosbox-SVN.conf file.

I'm not really sure why this would fail. I'm unable to replicate on my end.
Case sensitivity isn't an issue. The location of the .3dsx doesn't affect this. Even the 'dosbox' folder is created automatically if not found.

When you save the controller button binds, does it create a 'mapper-SVN.map' file inside the 'dosbox' folder?

I could add some checks during file creation, but not being able to replicate doesn't really help figuring out what the issue would be or what to look for.
 

Tebra

Well-Known Member
Member
Joined
May 18, 2016
Messages
109
Trophies
0
XP
2,173
Country
Belgium
This is screenshot of bottom screen when starting dosbox.
I don't get any keyboard and dosbox-svn.conf isn't generated.
How to save the controller button binds with that bottom screen GUI ?
 

Attachments

  • 2022-06-01_13-57-17.912_bot.bmp
    225.1 KB · Views: 199
  • 2022-06-01_13-57-55.915_bot.bmp
    225.1 KB · Views: 150

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
Is there a guide how MS DOS works on 3ds?
There should be plenty of guides available how dosbox works. 3DS isn't much different.

Just mount a folder on your SD, and run a executable:
Code:
MOUNT C sdmc:/DOS/*somegame*
C:
SOMEGAME.EXE

Also check out the DOSBox wiki: https://www.dosbox.com/wiki

This is screenshot of bottom screen when starting dosbox.
I don't get any keyboard and dosbox-svn.conf isn't generated.
How to save the controller button binds with that bottom screen GUI ?

The error message indicates no mapper file is found, it needs to be saved first to generate one. This message was mainly there during developing, and is subject to change to be less verbose.

The other is a button, try holding it for a sec. Again this is subject to change as my main focus has been on other functionality.

Otherwise, after trying out on multiple 3/2ds's, every time the 'dosbox-SVN.conf' file gets generated.
The only thing i can think of at this moment is to try and delete the '/3ds/dosbox' folder, and run the .3dsx from anywhere to have both the folder and configuration generate.

Did anyone else also encounter this by any chance? Every bit of feedback would be appreciated.
 

Tebra

Well-Known Member
Member
Joined
May 18, 2016
Messages
109
Trophies
0
XP
2,173
Country
Belgium
There should be plenty of guides available how dosbox works. 3DS isn't much different.

Just mount a folder on your SD, and run a executable:
Code:
MOUNT C sdmc:/DOS/*somegame*
C:
SOMEGAME.EXE

Also check out the DOSBox wiki: https://www.dosbox.com/wiki



The error message indicates no mapper file is found, it needs to be saved first to generate one. This message was mainly there during developing, and is subject to change to be less verbose.

The other is a button, try holding it for a sec. Again this is subject to change as my main focus has been on other functionality.

Otherwise, after trying out on multiple 3/2ds's, every time the 'dosbox-SVN.conf' file gets generated.
The only thing i can think of at this moment is to try and delete the '/3ds/dosbox' folder, and run the .3dsx from anywhere to have both the folder and configuration generate.

Did anyone else also encounter this by any chance? Every bit of feedback would be appreciated.
OK, I don't know why but now the dosbox-SVN.conf' file gets generated. Sorry for lose your time
 
  • Like
Reactions: MrHuu

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
OK, I don't know why but now the dosbox-SVN.conf' file gets generated. Sorry for lose your time

No problem! Glad it's working. Feel free to ask any question when desired.

I do like to give a few hints on finding the right settings for various applications:

* By default 'cycles' is set to 'auto', which in most cases sets it to a fixed 3000 cycles
Older games generally like less cycles, later games require a higher amount.

When using a custom .conf file, you can set 'cycles = fixed 2100' for example.

* Try different CPU 'core' settings: auto, dynamic, normal, simple
In my experience so far, setting this to 'dynamic' usually runs the fastest.

Required setting may vary greatly between applications, make sure to try out various settings to have the most optimal experience.

Good luck and have fun!
 

Tebra

Well-Known Member
Member
Joined
May 18, 2016
Messages
109
Trophies
0
XP
2,173
Country
Belgium
Now I understand how to create mapping config. Nice GUI for that.
I try « alone in the dark ». Works good with default config. Just some slow during loading between screens.
 

placebo_yue

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
739
Trophies
0
Age
33
XP
1,264
Country
Argentina
I didn't manage to make the retroarch core run before. Is this any easier? I do have experience setting it up on PC, but since now we have an extra layer of retroarch in the middle, and it's on 3DS so i can't just open console or create bat files and run those... i'm a bit lost.
Also, anyone tested on O3DS? how's the performance? i'd like to play games like commander keen 1, jazz jackrabbit.. nothing too fancy
 

MarioKartFan

Well-Known Member
Member
Joined
Aug 27, 2019
Messages
596
Trophies
0
XP
2,319
Country
Algeria
@MrHuu You are a genius! Warcraft: Orcs & Humans works! Seems fullspeed, with fully working sound, music and digital effects. Wow.

It is sort of difficult to double click using your UI (which is awesome). An ability to adjust sensitivity would be helpful. A better alternative might be to map mouse controls to the C-stick and map the Left and Right Mouse click to buttons.
 
  • Like
Reactions: ThorMode9 and Zense

EvilJagaGenius

Well-Known Member
Member
Joined
May 27, 2020
Messages
112
Trophies
0
XP
345
Country
United States
Cool stuff! I hope I can play around with this soon.
Also, anyone tested on O3DS? how's the performance? i'd like to play games like commander keen 1, jazz jackrabbit.. nothing too fancy
I am also curious about this, and curious if it'd be feasible to run Win95 on an O3DS. Would love to play Civilization 2 on mine. And there's also the eternal question of whether or not it can run Doom...
 

Nemios

Member
Newcomer
Joined
Apr 24, 2015
Messages
9
Trophies
0
XP
87
Country
Italy
I'm getting this error on launch: "Can't allocate main memory of 16MB".

The system is an O2DS. It DOES create a dosbox-SVN.conf file.

[Edit]
After that, I edited the .conf file, changing "memsize" value from 16 to 8 or 12. That error is gone, but dosbox closes without any error message nor any log.
 
Last edited by Nemios,
  • Like
Reactions: dudeguy2022

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...