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

Tebra

Well-Known Member
Member
Joined
May 18, 2016
Messages
109
Trophies
0
XP
2,179
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,619
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,335
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,877
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,877
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,619
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: 136

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.
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    Xdqwerty @ Xdqwerty: :sad: