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

Tebra

Well-Known Member
Member
Joined
May 18, 2016
Messages
109
Trophies
0
XP
2,172
Country
Belgium
Prince of Persia 2 and Zeliard also works good. But the music is sometimes not so good.
For your information I can’t find « : » key on virtual keyboard.
Can you tell me how to map key combination like Ctr+q ?
Edit: in fact alt and ctrl keys don’t works at all. So it is not possible to control the character in prince of Persia 2
 
Last edited by Tebra,

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
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.
The mouse input is very sensitive at the moment. The same code has been used from the retroarch bottom screen input i've been working on, which behaved a bit differently. I'll still have to optimize for this port.
For example; Using the 'right button' is a real challenge, double tap and hold without moving more than a pixel.
While this works great with PCSX-rearmed playing Red Alert, it's nearly impossible to do with this port.

The exact reason the c-stick isn't available for button mapping is me wanting to use it as a dedicated mouse. It's one of the many things on my todo list. As well as binding mouse buttons to the controller.

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.
It's simply running out of memory. To be exact; it can't allocate the memory blocks required for the dynamic core.
The project can be build without supporting the dynamic core, which should make it run. However, it will probably be way to slow to be usable.

Prince of Persia 2 and Zeliard also works good. But the music is sometimes not so good.
For your information I can’t find « : » key on virtual keyboard.
Can you tell me how to map key combination like Ctr+q ?
Edit: in fact alt and ctrl keys don’t works at all. So it is not possible to control the character in prince of Persia 2
Prince of Persia requires a higher amount of cycles. Around 4000 seems to be right for me.

The controls not being functional is because prince (both 1 and 2) defaults to joystick controls when a joystick is found.
Joystick input isn't supported yet. You can disable it in the .conf if you want to.

For prince of persia (both 1 and 2), the shortcut to switch to keyboard controls is 'ALT-K'.
By default 'ALT' is mapped to the Y button, hold it and press 'K' on the keyboard.

ALT and CONTROL on the bottom screen are currently only registered as a single keypress. Even tho the gui indicates it's pressed (held), it's not.
I haven't got to adding those yet. They will be on the next release.

As for binding key combo's to a single controller button, this will be added in a later stage as it's low priority.
I really want to fix some other issues first.
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
How come I didn't see this great work before! Good job! I'll have a look at running some games at this like King's Bounty, Heroes of Might and Magic etc.. Nice to see that Warcraft works.
 

Nemios

Member
Newcomer
Joined
Apr 24, 2015
Messages
9
Trophies
0
XP
87
Country
Italy
It's simply running out of memory. To be exact; it can't allocate the memory blocks required for the dynamic core.
The project can be build without supporting the dynamic core, which should make it run. However, it will probably be way to slow to be usable.
How sad. But if you are willing to make another build with simple/normal core, I'll gladly try it.
 

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
737
Trophies
0
Age
41
XP
2,867
Country
France
Just tested and I have the same problem as Tebra : no mapper file found, Touch screen is black with a grey square. However the config file is created. How to generate the mapper file ??
 

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
737
Trophies
0
Age
41
XP
2,867
Country
France
Long press on central grey button
Thanks ! It worked.
I do not know if I missed something in the instructions but I did not see that info.

EDIT : Ok saw it in MrHuu replies, but not in first post or github. I tested few games and it is already working great. I dreamed about this emu for long time, I needed to use DS(2)X86 until now. Thanks MrHuu for this present.
 
Last edited by CrashMidnick,
  • Like
Reactions: Garcimak

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
563
Trophies
0
Age
37
XP
1,618
Country
Netherlands
Thanks ! It worked.
I do not know if I missed something in the instructions but I did not see that info.

EDIT : Ok saw it in MrHuu replies, but not in first post or github. I tested few games and it is already working great. I dreamed about this emu for long time, I needed to use DS(2)X86 until now. Thanks MrHuu for this present.

Sorry, with the next release it should be more self explanatory.

On another note, getting networking supported was surprisingly easy.
So, that will be included as well. yay
 

Attachments

  • ipxnet.jpg
    ipxnet.jpg
    2.8 MB · Views: 134

fciq

Member
Newcomer
Joined
Dec 18, 2009
Messages
19
Trophies
1
XP
47
Country
Switzerland
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.
change machine = vgaonly can fix this error
 

Nemios

Member
Newcomer
Joined
Apr 24, 2015
Messages
9
Trophies
0
XP
87
Country
Italy
change machine = vgaonly can fix this error
It worked, thanks.

But after that, I got a new problem.
When I try to mount a path, it crashes and return to the homebrew launcher.
I put these commands in the [autoexec] section of the .conf file
Code:
mount c .
c:
 
Last edited by Nemios,

fciq

Member
Newcomer
Joined
Dec 18, 2009
Messages
19
Trophies
1
XP
47
Country
Switzerland
It worked, thanks.

But after that, I got a new problem.
When I try to mount a path, it crashes and return to the homebrew launcher.
I put these commands in the [autoexec] section of the .conf file
Code:
mount c .
c:
This is mine, It works fine. Must be full path

mount c sdmc:/dos/
c:/
cd girl
play.bat
 

Nemios

Member
Newcomer
Joined
Apr 24, 2015
Messages
9
Trophies
0
XP
87
Country
Italy
Ok it worked, but the problem was still the "memsize".
With a value of 12 it was crashing.
With a value of 10, like yours, finally worked.

XWING did launch, but it's too slow.
 

Asaki

Well-Known Member
Newcomer
Joined
Mar 17, 2007
Messages
55
Trophies
1
XP
439
Country
United States
Oh, awesome! I just happened to think to search for DOSBox and here it is :)

I love DSx86, but the DS's smaller screen tends to get in the way at times, and it doesn't look like his 3DS port is going to happen.

Hmm, I can't get the resolutions where I want them, though...main DOS prompt is obviously too high res at 640x480. I found a font replacement that makes it slightly easier to read, but it would probably be a lot better if I could get it into 640x400 mode, at least. mode.com doesn't help too much, either. https://www.vogons.org/viewtopic.php?t=66883
I'm sure CGA mode would help, but then I'd only be able to play CGA games.
320x200 resolution games seem to stretch to fill the entire 3DS screen, regardless of what I set in the config.

Other than that, working pretty well so far from the few games I've tested. I wasn't expecting it to be this fast, DOSBox on the PocketGo was pretty abysmal.

Might I suggest a "restart" option? Would be handy for older games that don't have an option to quit to DOS.
 
Last edited by Asaki,

Gertius

New Member
Newbie
Joined
Jul 11, 2022
Messages
1
Trophies
0
Age
45
Location
Germany
XP
24
Country
Germany
Great job MrHUU and thanks for your work! I have tried out running Ultima Underworld on a New2DS and it works quite decently. I have recorded a short video demo here:
Some audio drops during the intro. Bit of input lag. I have mapped the movement buttons to the D-pad. I couldn't figure out how to do a right mouse click with the touchscreen controls. Probably it would work well with the C-stick mouse control scheme that you mentioned above. Cheers!
 
  • Like
Reactions: CrashMidnick

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • 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
  • 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.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...