RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    OpenBOR finally working fine on RETROPIE with ES

    Scheduled Pinned Locked Moved Ideas and Development
    openbortrick
    353 Posts 32 Posters 182.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • darkniorD
      darknior
      last edited by

      @meleu said in OpenBOR finally working fine on RETROPIE with ES:

      Is there a reason to make the leading rom= string mandatory? I mean, why not just checking if argv[1] is a valid directory?

      No it's not. You think it can give me some problems ?

      I have try to change :

          <path>/home/pi/RetroPie/roms/ports/openbor</path>
          <extension>.bor .BOR</extension>
          <command>/opt/retropie/ports/openbor/OpenBOR rom=%ROM%</command>
      

      Like that i let games where there are, and only rename them with .bor like it is for Daphne with .daphne

      I see them and i can launch them :)
      But it crash ...

      0_1509391812077_20171030_133608.jpg

      0_1509391817740_20171030_202354.jpg

      I think the path is good and it found the game directory :

      But maybe something is bad because it don't found the video.txt in the game dir and crash

      Life is game, just play it !

      meleuM 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by BuZz

        @darknior Please stop continuously tagging me in your posts. I also don't have time to respond to personal emails. If I want to respond to something I will do so on the forum.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        darkniorD 1 Reply Last reply Reply Quote 0
        • meleuM
          meleu @darknior
          last edited by

          @darknior said in OpenBOR finally working fine on RETROPIE with ES:

          But maybe something is bad because it don't found the video.txt in the game dir and crash

          Doesn't it happen when you launch it with your previous approach?

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          darkniorD 1 Reply Last reply Reply Quote 0
          • darkniorD
            darknior @BuZz
            last edited by darknior

            @buzz I do it for help.
            I made some update for systems, and i wish every one can use them.
            And if i'm not tagging you, i don't know if you see them.

            • ScummVM : it's now include in the official 1.10 source, you only have to update the git url on retropie-setup.
            • PPSSPP : It's also in official source now, but you must DL the updated file alone, it's not in the EXE with a new build from source.
            • OpenBOR i'm working on it, i think i will make a FORK because the official project is dead from 4 years ... if all works fine i wish you will update the GIT url in retropie-setup.
              And maybe the es_systems.cfg ...

            I will stop to tag you here, and i will make Pull Request on Retropie-Setup GIT when i have finish an update, like that you will have the information only one time in one place.

            Life is game, just play it !

            BuZzB 1 Reply Last reply Reply Quote 0
            • darkniorD
              darknior @meleu
              last edited by

              @meleu said in OpenBOR finally working fine on RETROPIE with ES:

              Doesn't it happen when you launch it with your previous approach?

              No it's work fine with .sh

              But i found something strange with OpenBOR, if i launch it with :

              /opt/retropie/ports/openbor/OpenBOR
              

              It works but don't know really where is it and don't use the recorded settings, it don't find the .cfg files.
              If i do :

              cd /opt/retropie/ports/openbor
              ./OpenBOR
              

              It works fine because i think it is in the good directory.
              It's a bug in OpenBOR.

              Life is game, just play it !

              meleuM 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @darknior
                last edited by

                @darknior we will move to new scummvm when it's released. Previously there were too many issues to track master

                PPSSPP bins were updated the other day. From source we track bleeding edge afair

                I have a WIP open or based on latest code, but have been busy on other things.

                I just don't have the time now due to the size of the project to be involved in every discussion on the forum. I do read and keep track. Other developers can comment also. I'm not against tagging me in general, but it can be too much.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 1
                • meleuM
                  meleu @darknior
                  last edited by

                  @darknior my new suggestion for the openbor entry in es_systems:

                  <command>cd /opt/retropie/ports/openbor/; ./OpenBOR rom=%ROM%</command>
                  
                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  darkniorD 1 Reply Last reply Reply Quote 1
                  • darkniorD
                    darknior
                    last edited by

                    I learn today why OpenBOR can't read .PAK ...

                    https://github.com/rofl0r/openbor/releases/tag/pak-change

                    But i have add PAK support to command line for future ...
                    And a test to very if the MOD Directory exist before launching.

                    	// Test command line argument to launch MOD
                    	int romArg = 0;
                    	if(argc > 1) {
                    		int argl = strlen(argv[1]);
                    		if(argl > 4) {
                    			loadsettings();
                    			memcpy(packfile, argv[1], argl);
                    			if(dirExists(packfile, 0)) {
                    				if(packfile[argl-1] != '/')
                    					strcat(packfile, "/");
                    					romArg = 1;
                    			}
                    			else if(memcmp( &packfile[strlen(packfile) - 4], ".pak", 4)) {
                    				if(fileExists(packfile))
                    					romArg = 1;
                    			}
                    		}
                    	}
                    	if(!romArg)
                    		Menu();
                    

                    Link to DL : http://www.mediafire.com/file/5cb0zjcsd1qclqq/OpenBOR.rar

                    Now we can use :

                        <name>openbor</name>
                        <fullname>OpenBOR</fullname>
                        <path>/home/pi/RetroPie/roms/ports/openbor</path>
                        <extension>.bor .BOR</extension>
                        <command>cd /opt/retropie/ports/openbor/ && ./OpenBOR %ROM% > /dev/null 2>&1</command>
                        <platform>pc</platform>
                        <theme>openbor</theme>
                    

                    To launch games MOD directories :)


                    And i have write a bad info last day, because OpenBOR write : OpenBOR v3.0 Build 3016 2011-08-30

                    https://github.com/rofl0r/openbor/releases/tag/compatible-official-3400%2B

                    But if you read GIT it is better, we are compatible with v3.0 Build 3400 Mods !
                    And newer mods should work as well as now unknown commands will just be ignored.

                    I found this old version on my PC to try mods directly on Windows :D
                    I search the real v3400 if some one can help :p

                    https://www.mediafire.com/file/au9my6mp3dh0and/OpenBor PC v3.2637.rar

                    Life is game, just play it !

                    1 Reply Last reply Reply Quote 0
                    • darkniorD
                      darknior
                      last edited by

                      I have make a fork, if some one want help :

                      https://github.com/Darknior/openbor/blob/master/sdl/sdlport.c

                      Life is game, just play it !

                      1 Reply Last reply Reply Quote 0
                      • A
                        AndyEatsCheese
                        last edited by

                        Oh man I love me some openBOR!! recently I was trying to get them running on the pi by using the Dreamcast CDI versions and opening them with the DC emu.

                        Please keep up the good work on this!

                        I can't try it yet as I don't really understand this stuff, but PLEASE when you're 100% happy with the method will you write a tutorial that any noob could follow.

                        darkniorD 1 Reply Last reply Reply Quote 0
                        • darkniorD
                          darknior @AndyEatsCheese
                          last edited by

                          @andyeatscheese It's already done read before ... we can play.
                          I will try to fix some bugs now for save and gamepad if possible that's all.

                          Life is game, just play it !

                          1 Reply Last reply Reply Quote 0
                          • flopF
                            flop
                            last edited by

                            I think this post it´s a little chaotic...

                            I couldn´t see how to make Openborg work @AndyEatsCheese...

                            Keep working on it! Openborg working would be great!

                            1 Reply Last reply Reply Quote 0
                            • darkniorD
                              darknior
                              last edited by

                              @AndyEatsCheese @flop First post edited with HOW to INSTALL.

                              Life is game, just play it !

                              1 Reply Last reply Reply Quote 1
                              • flopF
                                flop
                                last edited by flop

                                @darknior what about @meleu suggestion? :/

                                1 Reply Last reply Reply Quote 0
                                • darkniorD
                                  darknior @meleu
                                  last edited by

                                  @meleu said in OpenBOR finally working fine on RETROPIE with ES:

                                  <command>cd /opt/retropie/ports/openbor/; ./OpenBOR rom=%ROM%</command>
                                  

                                  @flop I use near same if you read fine :

                                  @darknior said in OpenBOR finally working fine on RETROPIE with ES:

                                   <command>cd /opt/retropie/ports/openbor/ && ./OpenBOR %ROM% > /dev/null 2>&1</command>
                                  

                                  I replace ; by && ... like that if the CD command is not working fine (because the directory don't exist), the script will stop.

                                  But it's only for the moment, if i can fix the PATH problem on OpenBOR source code, we will only use :

                                   <command>/opt/retropie/ports/openbor/OpenBOR %ROM% > /dev/null 2>&1</command>
                                  

                                  Life is game, just play it !

                                  darkniorD 1 Reply Last reply Reply Quote 1
                                  • darkniorD
                                    darknior @darknior
                                    last edited by

                                    @darknior said in OpenBOR finally working fine on RETROPIE with ES:

                                    <command>cd /opt/retropie/ports/openbor/ && ./OpenBOR %ROM% > /dev/null 2>&1</command>

                                    Oups my command is bad for XML format, use this is better :

                                    <command>cd /opt/retropie/ports/openbor/ &amp;&amp; ./OpenBOR %ROM% &lt; /dev/null 2&lt;&amp;1</command>

                                    Life is game, just play it !

                                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                                    • ExarKunIvE
                                      ExarKunIv @darknior
                                      last edited by

                                      @darknior

                                      giving this a shot. im able to follow most of it, but when it came to this part.

                                      Unpack them with the UNPACK option in PORT

                                      i do not see that anywhere and when i try to start the OpenBOR that is in my port list it just crashes. (kinda figured)

                                      any thoughts

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      darkniorD 1 Reply Last reply Reply Quote 0
                                      • darkniorD
                                        darknior @ExarKunIv
                                        last edited by

                                        @exarkuniv Yes OpenBOR don't read the PAK file you must unpack them, the option is in your PORT ES menu, i can't help you more for this, read the RETROPIE OPENBOR doc.

                                        https://github.com/RetroPie/RetroPie-Setup/wiki/OpenBOR

                                        Life is game, just play it !

                                        ExarKunIvE 1 Reply Last reply Reply Quote 1
                                        • ExarKunIvE
                                          ExarKunIv @darknior
                                          last edited by

                                          @darknior

                                          yea the unpack option is not there for me, oh well

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          darkniorD 1 Reply Last reply Reply Quote 0
                                          • darkniorD
                                            darknior @ExarKunIv
                                            last edited by darknior

                                            @exarkuniv said in OpenBOR finally working fine on RETROPIE with ES:

                                            @darknior
                                            yea the unpack option is not there for me, oh well

                                            I don't know why retropie-setup don't add it. Maybe try to make it by hands.
                                            My file : extract.sh

                                            #!/bin/bash
                                            PORTDIR="/opt/retropie/ports/openbor"
                                            BORROMDIR="/home/pi/RetroPie/roms/ports/openbor"
                                            mkdir $BORROMDIR/original/
                                            mkdir $BORROMDIR/original/borpak/
                                            mv $BORROMDIR/*.pak $BORROMDIR/original/
                                            cp $PORTDIR/unpack.sh $BORROMDIR/original/
                                            cp $PORTDIR/borpak $BORROMDIR/original/borpak/
                                            cd $BORROMDIR/original/
                                            for i in *.pak
                                            do
                                              CURRENTFILE=`basename "$i" .pak`
                                              /opt/retropie/ports/openbor/unpack.sh "$i"
                                              mkdir "$CURRENTFILE"
                                              mv data/ "$CURRENTFILE"/
                                              mv "$CURRENTFILE"/ ../
                                            done
                                            
                                            echo "Your games are extracted and ready to be played. Your originals are stored safely in /original/ but they won't be needed anymore. Everything within it can be deleted."
                                            read var
                                            #echo $var
                                            

                                            Life is game, just play it !

                                            ExarKunIvE 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.