1. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
    [​IMG]
    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, Oct 31, 2019
  2. puerkobi

    puerkobi Member
    Newcomer

    Joined:
    Aug 1, 2019
    Messages:
    16
    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?
     
    MrHuu likes this.
  3. Flame

    Flame Me > You
    Moderator

    Joined:
    Jul 15, 2008
    Messages:
    5,371
    Thanks mate. always nice seeing new homebrew in the 3DS section and one that is great like openBOR!

    :)
     
    MrHuu likes this.
  4. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
    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.
     
    Tarmfot, puerkobi and Dodain47 like this.
  5. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
    hmm.. anyone willing to test this build for me? You will be rewarded!

    Thanks @30yoDoomer !
     
    Last edited by MrHuu, Aug 28, 2019
  6. 30yoDoomer

    30yoDoomer Member
    Newcomer

    Joined:
    Apr 29, 2019
    Messages:
    21
    Country:
    United States
    Nicely done! Sound works on my o3ds XL.
    Crashed on exit to home; with a pak loaded and without one loaded.
     

    Attached Files:

    MrHuu likes this.
  7. Rahkeesh

    Rahkeesh GBAtemp Advanced Maniac
    Member

    Joined:
    Apr 3, 2018
    Messages:
    1,720
    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.
     
  8. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
    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.

    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, Aug 28, 2019
  9. 30yoDoomer

    30yoDoomer Member
    Newcomer

    Joined:
    Apr 29, 2019
    Messages:
    21
    Country:
    United States
    Here's the openBOR log. The crash happens with the home button as well as powering down from in game.
     

    Attached Files:

    MrHuu likes this.
  10. SuperDan

    SuperDan Im Aware ... Im Unaware
    Member

    Joined:
    Aug 17, 2016
    Messages:
    2,366
    Country:
    United States
    Never Heard of this game before ... but count me in !!!!!!!
     
  11. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    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.
     
  12. Tuduce2

    Tuduce2 Newbie
    Newcomer

    Joined:
    Sep 2, 2019
    Messages:
    3
    Country:
    United States
    This is awesome. Thank you for making Openbor happen on the 3ds.
     
    MrHuu likes this.
  13. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    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.
     
    Tuduce2 likes this.
  14. Tuduce2

    Tuduce2 Newbie
    Newcomer

    Joined:
    Sep 2, 2019
    Messages:
    3
    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.
     
    cvskid and MrHuu like this.
  15. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    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!
     
  16. cvskid

    cvskid GBAtemp Addict
    Member

    Joined:
    Apr 13, 2014
    Messages:
    2,539
    Country:
    United States
    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
     
    MrHuu likes this.
  17. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
    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.
     
  18. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    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, Sep 8, 2019
    Dodain47, rommy667 and cvskid like this.
  19. MrHuu

    OP MrHuu GBAtemp Fan
    Member

    Joined:
    Sep 19, 2015
    Messages:
    414
    Country:
    Netherlands
  20. Dodain47

    Dodain47 GBAtemp Psycho!
    Member

    Joined:
    Jan 1, 2017
    Messages:
    3,045
    Country:
    Austria
    MrHuu likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [Release], OpenBOR,