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 184.0k 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.
    • 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
                  • ExarKunIvE
                    ExarKunIv @darknior
                    last edited by

                    @darknior

                    cool thx. ill give it a shot.

                    it is odd.
                    i have never got the extract.sh to ever show up for me. even back with 4.0 Retropie load.

                    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 1
                    • darkniorD
                      darknior @ExarKunIv
                      last edited by

                      @exarkuniv Cool if i help you :)
                      If you want better speak about openBOR and mods, write me on the Chronocrash official forum ;)
                      I wish you will found a solution to port the last LINUX version to our PI :p

                      Life is game, just play it !

                      1 Reply Last reply Reply Quote 0
                      • M
                        maxwell
                        last edited by

                        @darknior I want to thank you for your post on OpenBor. I was able to get everything loaded on my RetroPie system. While testing I was only able to get a couple of the old games to load withing any issues. I was wondering if you tried any of the new games to see if they would launch at at all? I was pretty shocked to see that OpenBor worked on my raspberry pi. I was also wondering if you could share the links where you found some of the OpenBor games you listed in your post. It seems like they are all scattered all over the place. Thank you again for creating your post. It came in handy for me.

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

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

                          While testing I was only able to get a couple of the old games to load withing any issues.

                          Yes they works fine ...

                          I was wondering if you tried any of the new games to see if they would launch at at all? I was pretty shocked to see that OpenBor worked on my raspberry pi.

                          It is an old OpenBOR because nobody port the new one on PI, you can only use old games made 2 3 years ago. the new games will use new scripts this old OpenBOR not understand :(

                          I was also wondering if you could share the links where you found some of the OpenBor games you listed in your post. It seems like they are all scattered all over the place.

                          No file share here sorry, you must search around the web ...

                          I stand a friend take time to work on PI, maybe next year he or an other dev, will port the last OpenBOR to PI.
                          It's possible because OB works fine on Linux.

                          Life is game, just play it !

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            maxwell @darknior
                            last edited by

                            @darknior Hi darknior, I have managed to stumble across all the old OpenBOR mods. I have been testing as much as I possibly can. I was also curious to know how you were able to compile the OpenBOR code. I have been trying all night with my Raspberry Pi 3. Are you able to compile using your Raspberry Pi or are you using another version of Linux? I am hoping to at least have one successful execution of the OpenBOR source code. Thank you again.

                            1 Reply Last reply Reply Quote 0
                            • X
                              xMarcello
                              last edited by

                              I can not replace the files.
                              How do I do?

                              1 Reply Last reply Reply Quote 0
                              • O
                                ozanozgul96
                                last edited by

                                @darknior Thank you for the tutorial. Thanks to you I can enjoy the Openbor goodness on my retropie. :D I'm just wondering if you guys were able to fix the save game issue, I tried different methods but I just can't get it to work.

                                1 Reply Last reply Reply Quote 0
                                • BiZzAr721B
                                  BiZzAr721
                                  last edited by

                                  Thank you for your post and work on openBOR! Am I installing from the experimental section, and still replacing openBOR with your file?

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

                                    @bizzar721 Yes it is.

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

                                    @darknior Thank you for the tutorial. Thanks to you I can enjoy the Openbor goodness on my retropie. :D I'm just wondering if you guys were able to fix the save game issue, I tried different methods but I just can't get it to work.

                                    Yes i have the same problem :(
                                    I think we must found some one that want to help us with C code.
                                    To fix this old OpenBOR or port the last version.
                                    I think it is not so complicate to fix, but i'm not a real C coder :(

                                    Life is game, just play it !

                                    1 Reply Last reply Reply Quote 1
                                    • BiZzAr721B
                                      BiZzAr721
                                      last edited by

                                      After replacing OpenBOR file with darknior's, I receive this error:

                                      [[Ash: 1: ./OpenBOR: Permission denied

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kactius
                                        last edited by

                                        @bizzar721 give permission "sudo chmod +x /opt/retropie/ports/openbor/OpenBOR" or "sudo chmod 755 /opt/retropie/ports/openbor/OpenBOR"

                                        1 Reply Last reply Reply Quote 1
                                        • BiZzAr721B
                                          BiZzAr721
                                          last edited by BiZzAr721

                                          Thank you. After changing permissions, I know it works. I got splatterhouse to work, but everything else:
                                          Simpson's Tree House of Horror
                                          He-Man
                                          Rocko's Modern Life
                                          TMNT Rescue Palooza
                                          TMNT Shell Shocked
                                          all do not work. I can see it start toload, but cannot see the command line error because it spits me back out to ES too quick. How can I launch from command line to be able to review the error? Also, maybe all the games I want to play are too new for this version. Is there a way to check that?

                                          EDIT: I managed to take a video on my phone and replayed the message:
                                          /home/pi/retropie/roms/ports/openbor/he-man.bor//data/videopc.txt:no such file or directory
                                          reading video settings from 'data/video.txt'.
                                          Warning: couldn't load OpenGL library (no dynamic GL support in video diver)sucDone!e or directoryy
                                          OpenBoR v3.0 Build 3016, Compile Date: Oct 31 2017

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

                                            @bizzar721 It's normal, you only try games from 2017 / 2018 !!!
                                            I've write it's an old OpenBOR engine. You only can play old games.

                                            Life is game, just play it !

                                            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.