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

    OpenBOR 6xxx OpenBeta Testphase

    Scheduled Pinned Locked Moved Ideas and Development
    betaopenbor
    520 Posts 54 Posters 294.6k 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.
    • J
      julenvitoria Banned @janderclander14
      last edited by julenvitoria

      @janderclander14 You must compile the libGL.so.1 file for your raspberry pi 4, otherwise it will return to ES because it is compiled for rpi 3 / 3B +... Clone this repo to your rpi 4 and compile it following the instructions for raspberry. After compiling it you will find that it still doesn't work ... well, if you take a look at issue 129 you will see that you need to do make with -j4. The code to like in RPi 4 should be like this:

      mkdir build; cd build; cmake ..; make -j4
      

      I have also tried this other

      mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
      

      Both work but I need to do more checks to know which one works better or what affects not having the flag -DBCMHOST=1 (I'm a little noob...). Now the problem is that pak games run well but on a very small portion of the screen and I am not able to run them fullscreen. @cyperghost @mitu Sorry to bother you but ... could you tell me how to run them full screen? (Or anyone here ...) Really I don't have much idea if it can be possible either but I hope so...

      Sorry for my english but it's not my language...

      J 3 Replies Last reply Reply Quote 1
      • J
        julenvitoria Banned @shavecat
        last edited by julenvitoria

        @shavecat Yes!!! Openbor 6xxx... The script is the one that created cypherghost. The steps should be the following:

        wget http://raw.githubusercontent.com/crcerror/OpenBOR-63xx-RetroPie-openbeta/master/scriptmodules/openbor-6xxx.sh -O- | tr -d '\r' > /home/pi/RetroPie-Setup/scriptmodules/ports/openbor-6xxx.sh
        
        nano ~/RetroPie-Setup/scriptmodules/ports/openbor-6xxx.sh
        

        and remove the !Kms flag in

        rp_module_flags = "!Mali !X11 !Kms"
        

        The result would be the following:

        rp_module_flags = "!Mali !X11"
        

        Save & exit with ctrl-x, run retropie setup again and go experimental packages ;)

        shavecatS 1 Reply Last reply Reply Quote 3
        • shavecatS
          shavecat @julenvitoria
          last edited by

          @julenvitoria
          Thanks a lot :)

          1 Reply Last reply Reply Quote 0
          • J
            julenvitoria Banned @julenvitoria
            last edited by

            @julenvitoria said in OpenBOR 6xxx OpenBeta Testphase:

            @janderclander14 You must compile the libGL.so.1 file for your raspberry pi 4, otherwise it will return to ES because it is compiled for rpi 3 / 3B +... Clone this repo to your rpi 4 and compile it following the instructions for raspberry. After compiling it you will find that it still doesn't work ... well, if you take a look at issue 129 you will see that you need to do make with -j4. The code to like in RPi 4 should be like this:

            mkdir build; cd build; cmake ..; make -j4
            

            I have also tried this other

            mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
            

            Both work but I need to do more checks to know which one works better or what affects not having the flag -DBCMHOST=1 (I'm a little noob...). Now the problem is that pak games run well but on a very small portion of the screen and I am not able to run them fullscreen. @cyperghost @mitu Sorry to bother you but ... could you tell me how to run them full screen? (Or anyone here ...) Really I don't have much idea if it can be possible either but I hope so...

            Sorry for my english but it's not my language...

            Because I am stupid I did not take into account that openbor games can be configured from VIDEO OPTIONS to run full screen ... LOL
            photo_2020-05-09_18-55-29.jpg photo_2020-05-09_18-55-23.jpg photo_2020-05-09_18-55-16.jpg

            J 1 Reply Last reply Reply Quote 1
            • J
              janderclander14 @julenvitoria
              last edited by janderclander14

              @julenvitoria Thanks a lot for the tips. I was able to build the gl4es lib for the RPI4 and this made OpenBor run. However, I tried Streets of Rage 2X and the game crashes just after the "start" screen. This is the runcommand log, if it is of any help

              LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIALIZED), default to none
              LIBGL: Initialising gl4es
              LIBGL: v1.1.3 built on May  9 2020 23:34:30
              LIBGL: Using GLES 2.0 backend
              LIBGL: loaded: libGLESv2.so
              LIBGL: loaded: libEGL.so
              LIBGL: Using GLES 2.0 backend
              LIBGL: Targeting OpenGL 2.1
              LIBGL: WARNING, No Limited or Full NPOT support in hardware, Forcing NPOT have no effect!
              LIBGL: Not trying to batch small subsequent glDrawXXXX
              LIBGL: try to use VBO
              LIBGL: glX Will try to recycle EGL Surface
              LIBGL: Current folder is:/opt/retropie/ports/openbor-6xxx
              LIBGL: Shuting down
              
              J 1 Reply Last reply Reply Quote 0
              • J
                julenvitoria Banned @janderclander14
                last edited by

                @janderclander14 Hi!!! I downloaded Street Of Rage 2x from here (download android PAK, inside the zip you'll found it) and it works fine for me ;)
                Could you tell me the size of your libGL.so.1 file? Mine is 1595 kb and works fine on my pi 4

                J 1 Reply Last reply Reply Quote 1
                • J
                  janderclander14 @julenvitoria
                  last edited by

                  @julenvitoria Thanks, that worked! I was using the latest version of the mod (1.9.3) and for some reason it crashes. Version 1.7 works fine.

                  1 Reply Last reply Reply Quote 0
                  • shavecatS
                    shavecat
                    last edited by

                    So i install the openbor and openbor6xxx
                    and trying to play it straight from the folder (ports/openbor)with *.pak file,
                    and it goes back to the emulitonstaion .
                    and from the openbor selector ports same...
                    any help plz?

                    1 Reply Last reply Reply Quote 0
                    • J
                      julenvitoria Banned @julenvitoria
                      last edited by

                      @julenvitoria said in OpenBOR 6xxx OpenBeta Testphase:

                      @janderclander14 You must compile the libGL.so.1 file for your raspberry pi 4, otherwise it will return to ES because it is compiled for rpi 3 / 3B +... Clone this repo to your rpi 4 and compile it following the instructions for raspberry. After compiling it you will find that it still doesn't work ... well, if you take a look at issue 129 you will see that you need to do make with -j4. The code to like in RPi 4 should be like this:

                      mkdir build; cd build; cmake ..; make -j4
                      

                      I have also tried this other

                      mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
                      

                      Both work but I need to do more checks to know which one works better or what affects not having the flag -DBCMHOST=1 (I'm a little noob...)

                      @shavecat You must compile the libGL.so.1 file for your raspberry pi 4, follow this instructions ;)

                      shavecatS 1 Reply Last reply Reply Quote 0
                      • roslofR
                        roslof
                        last edited by roslof

                        EDIT: [SOLVED] User error. For my configuration, I needed to move the active directory to opt/retropie/configs/ports/openbor

                        @julenvitoria , like others, I'm very excited about this.

                        I followed the instructions for Raspberry Pi4B. No trouble compiling libGL.so.1 as described with the -j4 switch. Moved the compiled file from ./lib to the /opt/retropie/ports/openbor-6xxx folder (renamed the old one first).

                        When running the openbor-6xxx emulator, it fails for me. Viewing dev/shm/runcommand.log shows "failed to add service - already in use?"

                        Example trying to launch He-Man.pak

                        Parameters: 
                        Executing: pushd /opt/retropie/ports/openbor-6xxx; /opt/retropie/ports/openbor-6xxx/OpenBOR "/home/pi/RetroPie/roms/openbor/He-Man.pak"; popd
                        /opt/retropie/ports/openbor-6xxx ~
                        * failed to add service - already in use?
                        LIBGL: Initialising gl4es
                        LIBGL: v1.1.3 built on May 10 2020 20:10:23
                        LIBGL: Using GLES 2.0 backend
                        LIBGL: loaded: libGLESv2.so
                        LIBGL: loaded: libEGL.so
                        LIBGL: Using GLES 2.0 backend
                        

                        Running from the command-line works just fine. Issue occurs only when launching via ES.

                        EDIT: [SOLVED] User error. For my configuration, I needed to move the active directory to opt/retropie/configs/ports/openbor

                        C 1 Reply Last reply Reply Quote 0
                        • shavecatS
                          shavecat @julenvitoria
                          last edited by shavecat

                          @julenvitoria said in OpenBOR 6xxx OpenBeta Testphase:

                          mkdir build; cd build; cmake ..; make -j4

                          So im trying your bulid code both of them
                          but it gives me that -

                          
                          pi@retropie:~ $ mkdir build; cd build; cmake ..; make -j4
                          CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
                          Specify --help for usage, or press the help button on the CMake GUI.
                          make: *** No targets specified and no makefile found.  Stop.
                          pi@retropie:~/build $ mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
                          CMake Error: The source directory "/home/pi/build" does not appear to contain CMakeLists.txt.
                          Specify --help for usage, or press the help button on the CMake GUI.
                          make: *** No targets specified and no makefile found.  Stop.
                          pi@retropie:~/build/build $
                          
                          

                          Does the roms going to the same place like pi3b+ in the ports openbor folder (then paks files there )
                          Or is it going to rom/openbor folder ...

                          1 Reply Last reply Reply Quote 0
                          • J
                            julenvitoria Banned @julenvitoria
                            last edited by

                            @julenvitoria said in OpenBOR 6xxx OpenBeta Testphase:

                            mkdir build; cd build; cmake ..; make -j4
                            

                            I have also tried this other

                            mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
                            

                            Both work but I need to do more checks to know which one works better or what affects not having the flag -DBCMHOST=1 (I'm a little noob...).

                            @shavecat You must first change to the directory where you cloned the gl4es repo, then run the commands...

                            git clone https://github.com/ptitSeb/gl4es
                            
                            cd gl4es
                            
                            mkdir build; cd build; cmake ..; make -j4
                            

                            It will be compiled... then you must copy libGL.so.1 to the openbor-6xxx directory

                            cd lib; sudo cp libGL.so.1 /opt/retropie/ports/openbor-6xxx
                            

                            also you can try the repo that I created ... it is a fork of the cypherghost repo but I changed the routes because I included ligbGL.so.1 for raspberry pi zero and raspberry pi 4. The structure of the repo is very different and I didn't know very well how to do it (I'm a little noob...)

                            shavecatS 1 Reply Last reply Reply Quote 1
                            • shavecatS
                              shavecat @julenvitoria
                              last edited by shavecat

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • shavecatS
                                shavecat
                                last edited by

                                @julenvitoria
                                thanks a lot
                                how can i make it work from the emulitionsation like 3b+
                                i use to have that on my es_system but not it not working .

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

                                1 Reply Last reply Reply Quote 0
                                • J
                                  julenvitoria Banned @SinisterSpatula
                                  last edited by

                                  @SinisterSpatula said in OpenBOR 6xxx OpenBeta Testphase:

                                  And my /etc/emulationstation/es_systems.cfg

                                    <system>
                                      <name>openbor</name>
                                      <fullname>OpenBOR</fullname>
                                      <path>/home/pi/RetroPie/roms/ports/openbor</path>
                                      <extension>.bor .BOR .Bor .PAK .pak .Pak .PAk .paK .pAk</extension>
                                      <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ openbor %ROM%</command>
                                      <platform>openbor</platform>
                                      <theme>openbor</theme>
                                    </system>
                                  

                                  Hi @shavecat , try with this in es_systems.cfg and reboot, it should appear as one more system ;)

                                  shavecatS 1 Reply Last reply Reply Quote 0
                                  • shavecatS
                                    shavecat @julenvitoria
                                    last edited by shavecat

                                    GOT IT
                                    THANKSSSSS !!!!! <33333

                                    1 Reply Last reply Reply Quote 0
                                    • shavecatS
                                      shavecat
                                      last edited by shavecat

                                      Is there a way to config all the CFG files saves games with the gamepad's config and video all at once??? :)

                                      Got it just copy the filename to another filename game after u already save the config in the game

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        julenvitoria Banned @shavecat
                                        last edited by

                                        @shavecat Hi!! There is some game that allows saving the options as default (for all games). One of them is Asterix and Caesar’s Challenge. You can also try to run a game, the configuration of that game will be generated automatically when changing some configuration parameter (for example fullscreen). Then go to /opt/retropie/configs/ports/openbor/Saves and rename the file as default.cfg . Run another game and tell us the result, please :)

                                        shavecatS cyperghostC J 3 Replies Last reply Reply Quote 2
                                        • shavecatS
                                          shavecat @julenvitoria
                                          last edited by

                                          @julenvitoria
                                          Thanks but already copy the names files of the games ;)

                                          1 Reply Last reply Reply Quote 0
                                          • cyperghostC
                                            cyperghost @julenvitoria
                                            last edited by cyperghost

                                            @julenvitoria A big thank you to you for setting up the script modules for RPi0/1 RPi3 and RPi4 ... You can follow instructions here

                                            J 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.