Homebrew [Release] OpenBOR for 3DS

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
uIZL3RT.png

OpenBOR for 3DS

Info


This is Open Beats of Rage (OpenBOR) for 3DS.
OpenBOR is a royalty free sprite based side scrolling gaming engine.

More info here: http://www.chronocrash.com/forum/index.php
Please, don't go there for 3DS related issues regarding this port.

It uses SDL 1.2 for 3DS by @nop90


Features:


- No Sound *fixed
- No Animated GIF's *fixed
- Only single Multiple .pak support *fixed
- Probably some crashes *definitely not fixed
- Slowdowns on Old3DS
- No .cia build


Additional info:


- .pak selection menu is working, with previews disabled.
- depending how many .pak files you have available, it can take a while to boot OpenBOR.


Build instructions:


- From the 'engine' folder:

make BUILD_CTR=1
or
make BUILD_CTR=1 clean


Installation instructions:


Download: https://github.com/MrHuu/openbor-3ds/releases

- Create a folder 'OpenBOR' on your SD, here: 'sdmc:/3ds/OpenBOR/'
- Create a 'Paks' folder, in the 'OpenBOR' folder
- Copy your .pak's here
- Run with the Homebrew launcher
- Or install and run .cia
- ???
- Profit!


Screenshots




Sources:


OpenBOR:
https://github.com/MrHuu/openbor-3ds
https://github.com/DCurrent/openbor

SDL 1.2:
https://gbatemp.net/threads/release-sdl-3ds-1-2-15-simple-directmedia-layer-for-3ds.459291/
 
Last edited by MrHuu,

puerkobi

Member
Newcomer
Joined
Aug 1, 2019
Messages
16
Trophies
0
Age
40
XP
246
Country
Austria
Thanks MrHuu! Its' always rewarding find new homebrews for the ds family, and openbor has some fun games! Do you will implement the sound in the future? And out of curiosity, Do you think that other ports that use sdl 1.2 are possible? Like openXcom or openTTd?
 
  • Like
Reactions: MrHuu

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
Thanks MrHuu! Its' always rewarding find new homebrews for the ds family, and openbor has some fun games! Do you will implement the sound in the future? And out of curiosity, Do you think that other ports that use sdl 1.2 are possible? Like openXcom or openTTd?

I will most definitely try to get the sound working, and try to fix the other ..features.

The official builds of OpenBOR uses SDL2 and supports AUDIOS16SYS / AUDIOU8. While the SDL 1.2 version for 3ds only supports AUDIOS16 / AUDIOS8, correct me if i'm wrong. Somehow this conversion needs to be done.

These terms probably mean nothing to you. Well.. to be honest, me neither. Not being a developer in real life doesn't help either.. it's a hobby.

I still have a LOT of learning to do about c, c++, SDL 1.2 in general, the *incomplete SDL 1.2 lib for the 3DS with it's undocumented, incomplete or modified functions. (and MasterFeizz's PicaGL.. residualvm for 3ds.. someday..!)

On an other topic, wasn't OpenTTd also ported to the regular DS?
On my previous attempt to port OpenTTd i got strangled in the net code.. gave up, lost the code and moved on.
I'm absolutely positive those ports are within the scope of SDL1.2 for 3DS. But i won't be looking into them before i'm capable to fix OpenBOR and OpenJazz, if no one beats me to it.
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,248
Country
United States
Slightly OT but was there ever a decent version of Streets of Rage Remake ported to OpenBOR? That would be the thing to get me to download this.
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
Nicely done! Sound works on my o3ds XL.
Crashed on exit to home; with a pak loaded and without one loaded.

There should also be a logfile in the 'OpenBOR/Logs' folder. Could you sent that one, one created after a crash?
I have a real hard time reading those ARM crashlogs.

Does it crash when you exit though the game menu?
I think the audio doesn't get shutdown properly when exiting with the home button. I have a lot to figure out on that part.

I also have the menu working, waay to slow for now, but fully functional.
Will be included in the next builds.

Slightly OT but was there ever a decent version of Streets of Rage Remake ported to OpenBOR? That would be the thing to get me to download this.

I only have a few old mods, which i used on my xbox (classic). Thats just for testing.
I still have to dig in, but there are some really good mods available aside from SOR.
But i think a remake ported to OpenBOR is unlikely. But i could be wrong, hopefully!
 
Last edited by MrHuu,

30yoDoomer

Member
Newcomer
Joined
Apr 29, 2019
Messages
21
Trophies
0
Age
38
XP
95
Country
United States
Here's the openBOR log. The crash happens with the home button as well as powering down from in game.
 

Attachments

  • OpenBorLog.txt
    7.5 KB · Views: 199
  • Like
Reactions: MrHuu

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
I've updated the OP.

A new build with the .pak selection menu enabled is added.
Previews are disabled and the BGM player selection is really slow when NOT playing music.
Also logging is disabled in this build.

Thanks @30yoDoomer ,
I'll see if i can find the issues causing the crashes. And hopefully get some better fps on old3ds.
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
A small update:

I've been playing around with different .pak files.
I focused on a few which got my interest.

One of them is Vermillion.. wow.. This game is just awesome. Depending on how many sprites are updated each frame, most levels are playable on a new3DS.

However, somehow the scripting engine seems to have some issues.

Most noticed on multiple games, is the AI getting stuck. On some basic games this isn't an issue. But the games which utilize a lot of custom scripts may not behave the way they should.

I'm looking into this issue.. but since OpenBOR runs without crashing or obvious issues for me, this will be hard for me to pinpoint the exact issue.

Once i'm able to fix it, expect a build with widescreen and hi-res games (downscaled) supported.
 
  • Like
Reactions: Tuduce2

Tuduce2

New Member
Newbie
Joined
Sep 2, 2019
Messages
3
Trophies
0
Age
34
XP
131
Country
United States
I've tested Night Slashers X and it seems to be glitching a lot. You can't play that game normally, your character would always be jumping and getting stuck. I've also tested a few other beat em up games like Final Fight Apocalypse and it seems to run fine but after your first two normal attacks, your character would always perform its specialty.
 
  • Like
Reactions: cvskid and MrHuu

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
Yeah.. that's actually the game that made me look into the issue. Tried different revisions, different results.
Unfortunatly, it does seems to work properly on the pc build of OpenBOR. So i have high hopes i'm should be able to fix it.

Truly awesome game!
 

cvskid

Well-Known Member
Member
Joined
Apr 13, 2014
Messages
2,807
Trophies
1
XP
3,354
Country
United States
Yeah.. that's actually the game that made me look into the issue. Tried different revisions, different results.
Unfortunatly, it does seems to work properly on the pc build of OpenBOR. So i have high hopes i'm should be able to fix it.

Truly awesome game!
Glad that nightslashers x is being worked on. Tried teenage mutant ninja turtles rescue palooza and it actually works on the 3ds version of openbor. It crashes on the vita version of openbor. Had a couple of questions. I saw that there is no .cia for now but will there be one later on? Sound is working but it's really low, even with the volume all the way up on the 3ds system and the volume turned up ingame. Power rangers beats of power special edition crashes openbor on 3ds.

thanks for openbor on 3ds

Using a n3dsxl model
 
  • Like
Reactions: MrHuu

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
Glad that nightslashers x is being worked on. Tried teenage mutant ninja turtles rescue palooza and it actually works on the 3ds version of openbor. It crashes on the vita version of openbor. Had a couple of questions. I saw that there is no .cia for now but will there be one later on? Sound is working but it's really low, even with the volume all the way up on the 3ds system and the volume turned up ingame. Power rangers beats of power special edition crashes openbor on 3ds.

thanks for openbor on 3ds

Using a n3dsxl model

The highest priority is trying to fix the most game breaking bugs.
I did notice the sound being quite low with some games. I still have to properly implement the sound code, i'll see if the volume can be changed while at it.


I've been looking into the scripting issues, as a result i decided to rebase to the latest stable release (Sep 19, 2018 build 6412).
This does fix the custom script issues, but a few others reappeared (which were fixed in the latest source).
And it broke widescreen / hi-res, again..

I've included a .cia build, but it has less compatibility with larger mods atm. so the .3dsx is recommended for now.
Cia works fine for smaller games tho.

On Citra the .3dsx build is fully capable to run NightSlashers X, but on real hardware it crashes early in-game at some point.
Most other mods should be running fine now, with their custom scripts.

Other bugs mentioned in the OP still remain.


- To use these builds, DELETE all existing .cfg files in your OpenBOR/saves folder!
Else you will encounter sound issues.

- The folder structure MUST be: 'sdmc:/3ds/OpenBOR', for both .cia and .3dsx builds.
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
Here's a small fix. It addresses the crashing of NightSlashers X on real hardware. I've been able to play through the first few levels without issues on my new3DS.

Download has been added to the OP.

Have fun, yay!
 
Last edited by MrHuu,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • A @ anotherthing:
    Online was free on the 3DS as well, and it worked well.
    +1
  • S @ salazarcosplay:
    I can't help but think nintendo switch online is the reason we did not get a gameboy/n64/gamecube
    mini classic edition
    +1
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, i think it would have been impossible to see anything in a gameboy mini
  • S @ salazarcosplay:
    well I meant that as a figure of speech
  • S @ salazarcosplay:
    they could just rerelease a modern gameboy
  • S @ salazarcosplay:
    like the pocket analogue
  • S @ salazarcosplay:
    but nintendo licensed
  • LeoTCK @ LeoTCK:
    dammit that thread got moved from offtopic to edge, well since that happened
  • Xdqwerty @ Xdqwerty:
    @LeoTCK, atleast it's still avaliable
  • LeoTCK @ LeoTCK:
    yes but it wasn't meant to be a comedy thread
  • LeoTCK @ LeoTCK:
    and edge of the forum is mostly comedy and games
  • LeoTCK @ LeoTCK:
    so I don't get why it got moved at all
  • Xdqwerty @ Xdqwerty:
    @LeoTCK, mods are probably hating you
  • LeoTCK @ LeoTCK:
    on most sites mods hated me, sooner or later, but usually over time I get either banned or the mods get used to me
  • LeoTCK @ LeoTCK:
    sometimes to the point of thanking me for my quick actions etc against spam and other stuff, but yea...its either they come to respect me or outright hate me
    +1
  • BigOnYa @ BigOnYa:
    If it's not game related, it will be moved to the Egde of the forum. Mods have moved a few of my threads also.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, it was in the off topic chat forum
  • BigOnYa @ BigOnYa:
    Well atleast they didn't delete it completely.
  • LeoTCK @ LeoTCK:
    hmm
  • Xdqwerty @ Xdqwerty:
    uoiea
  • LeoTCK @ LeoTCK:
    huh?
  • Xdqwerty @ Xdqwerty:
    Aeiou backwards
    Xdqwerty @ Xdqwerty: Aeiou backwards