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 201.1k 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.
    • Z
      zanac @zanac
      last edited by

      I think that new version is slow for SDL2.0 usage.... I compiled the new one using:
      make BUILD_PANDORA=1 -j 3

      I don't know if it's slow also on rpi, as i said i use allwinner chipset that for rendering use a mali-mp400, maybe the video card of rpi work better!
      Just try to compile by yourself using that command... and of course install sdl-2.0-dev headers: trust me it compile fine and run!

      1 Reply Last reply Reply Quote 2
      • cyperghostC
        cyperghost
        last edited by cyperghost

        @zanac Thank you. Can you share the binary? I think this would speedup progress.

        AFAIK the GPU of the Pie is not very powerful ... Sorry I can not test yet

        For speeding up SDL2

        https://choccyhobnob.com/raspberry-pi/sdl2-2-0-8-on-raspberry-pi/

        Z 1 Reply Last reply Reply Quote 1
        • Z
          zanac @cyperghost
          last edited by

          here you are two binary, but i compiled with cortex-a9 (for allwinner), if it don't run i must recompile for generic arm... let me know! The first one is without GL, the second with GL, try both!

          https://drive.google.com/open?id=1w1g2twe294LnhZHue69xGOliRs4-R_zM
          https://drive.google.com/open?id=1FuJ7PJNQ3fCnk4Rx_tqdWG2uwpMsxno_

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

          @zanac Thank you. Can you share the binary? I think this would speedup progress.

          1 Reply Last reply Reply Quote 1
          • cyperghostC
            cyperghost
            last edited by

            @zanac Thank you
            Here are some SDL2 prebuilds with stripped down dependencies. This should speedup

            https://github.com/dotsha747/libsdl2-rpifb

            Z 1 Reply Last reply Reply Quote 1
            • Z
              zanac @cyperghost
              last edited by

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

              @zanac Thank you
              Here are some SDL2 prebuilds with stripped down dependencies. This should speedup

              https://github.com/dotsha747/libsdl2-rpifb

              Sorry, i cannot use sdl prebuilds for rpi, i must use patched version of libsdl2 for mali... ;)
              i already patched sdl2 with this patch https://github.com/recalbox/recalbox-buildroot/blob/master/board/recalbox/xu4/patches/sdl2/sdl2-0003-mali.patch

              but this is another story, i don't use rpi as i said ;)

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

                @zanac I think RetroPie is installed by default with SDL2 maybe some admin @mediamogul can confirm?

                So indeed if someone will rebuild OpenBOR chances are high for a good speedup

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  zanac @cyperghost
                  last edited by

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

                  @zanac I think RetroPie is installed by default with SDL2 maybe some admin @mediamogul can confirm?

                  So indeed if someone will rebuild OpenBOR chances are high for a good speedup

                  Yes but if you are Lucky bin that i linked work also in Your rasb! Just try

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zanac
                    last edited by

                    I can officialy confirm that GL version using SDL-2 patched is very fast!!!
                    So you can just use a GL version on RPI and you will enjoy a new version of openbor also o RPI!!!

                    cyperghostC 1 Reply Last reply Reply Quote 2
                    • cyperghostC
                      cyperghost @zanac
                      last edited by

                      @zanac you made my day. How did you patch SDL? And which rev number is the openbor engine now?

                      Z 1 Reply Last reply Reply Quote 1
                      • Z
                        zanac @cyperghost
                        last edited by

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

                        @zanac you made my day. How did you patch SDL? And which rev number is the openbor engine now?

                        I built 6412!
                        I attached the binary some post ago, Just try it, you dont need to patch sdl2 on retropie, i had to patch sdl2 cause i use the mali gpu as i said.
                        Maybe the only thing needed for rasb is the sdl2gfx lib..
                        I m sure that also on rasb is possible to make it work like on allwinner Board, trust me! We have arm both and very similar chipset.

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

                          @zanac This is great news. Thank you!

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

                            @bizzar721 @darknior Seems to be your turn .... I'm still on journeyh

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

                              I quickly created & setup a new image, installed OpenBOR from retropie setup. I switched out the Binaries & set permissions to 0755. It wouldn't load. Just goes back to ES. I'm sure it's something simple but that's beyond my skill.

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

                                @bizzar721 Can you post output of runcommand log?

                                please try this
                                sudo apt-get install -y libsdl-gfx1.2-5

                                This is the sdl-gfx for Rpi fixed

                                After that you can try to install SDL2 as @zanac mentioned with
                                sudo apt-get install libsdl2-dev

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

                                  I will do. Are you saying this binary is compiled to accept launching command (as in how it's currently set up)? Or should I use the "vanilla" openbor I set up? I also tested with .PAK and .bor folders.

                                  EDIT
                                  Using OpenBOR with game selection script here is the runcommand log:

                                  Parameters: 
                                  Executing: pushd /opt/retropie/ports/openbor; /opt/retropie/ports/openbor/OpenBOR "/home/pi/RetroPie/roms/ports/openbor/Battletoads & Double Dragon IV - The Return of the Dark Forces.bor"; popd
                                  /opt/retropie/ports/openbor ~/RetroPie/roms/ports/openbor
                                  /opt/retropie/ports/openbor/OpenBOR: error while loading shared libraries: libSDL2_gfx-1.0.so.0: cannot open shared object file: No such file or directory
                                  ~/RetroPie/roms/ports/openbor
                                  
                                  cyperghostC 1 Reply Last reply Reply Quote 1
                                  • cyperghostC
                                    cyperghost @BiZzAr721
                                    last edited by

                                    @bizzar721 I assume this binary is vanilla. So it will accept PAKs only via its own launching menu. But if the menu is up it will run every game. The CLI can be patched later. I think it would help if you post content of error log.

                                    If you have used the first fix you can try to run the pikiss openbor binary, too
                                    I have saved it for later use. It is downloadable from here

                                    https://github.com/crcerror/RetroPie-OpenBOR-scripts/tree/master/binary

                                    You can also Google for pikiss openbor then you see the install script which installs sdlgfx fix

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      zanac @cyperghost
                                      last edited by

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

                                      @bizzar721 Can you post output of runcommand log?

                                      please try this
                                      sudo apt-get install -y libsdl-gfx1.2-5

                                      This is the sdl-gfx for Rpi fixed

                                      After that you can try to install SDL2 as @zanac mentioned with
                                      sudo apt-get install libsdl2-dev

                                      You must install gfx of sdl2 that command is gfx sdl1

                                      cyperghostC 1 Reply Last reply Reply Quote 2
                                      • cyperghostC
                                        cyperghost @zanac
                                        last edited by cyperghost

                                        @zanac so it is
                                        sudo apt-get install libsdl2-gfx
                                        Or
                                        sudo apt-get install libsdl2-gfx-1.0-0
                                        And
                                        sudo apt-get install libsdl2-gfx-dev

                                        Can you please correct my commands and tell @BiZzAr721 how to do?

                                        1 Reply Last reply Reply Quote 0
                                        • hansolo77H
                                          hansolo77
                                          last edited by

                                          Didn't know you guys were working on building an updated OpenBOR engine. Exciting news! I was going through and installing games while updating my spreadsheet for compatibility earlier today. Got up to "C". Maybe I'll wait and re-do it to see if the broken games work.

                                          Who's Scruffy Looking?

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

                                            @hansolo77 yes and we hope it will work. The error output of @BiZzAr721 seems that we are hopefully on the right track. Sadly I do not have access to my Pie till end of next week so I just do guessing here. @zanac is the most asked man in this thread now.

                                            @BiZzAr721 as we are using a precompiled method there is no need for sdl2-dev (IMHO)

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