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 270.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.
    • VoljegaV
      Voljega
      last edited by Voljega

      Hi everyone, and especially @cyperghost

      Sorry for what I guess is a stupid question, but I would like to try to port your OpenBor version to Recalbox, or at least start preliminary work on it (I have never done such work yet), so I wanted to start from a binary, and go from there before going through the compilation process.

      I saw the link for binaries in first post but they just seem to link to further posts in the thread, themselves leading to first post in the thread ?
      I am missing something and how to get binaries ?

      Thank you for you help

      EDIT : Hmm ok I suppose it's there : https://github.com/crcerror/RetroPie-OpenBOR-scripts/tree/master/binary

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

        @Voljega yes that is the binary archive but it works only for Jessie and Stretch builds of Raspbian. You need additional libraries to get OpenBOR working. The possibilities of installing additional software is very limited on Recalbox and Bactocera builds.
        I asked for help on RB and BC forums - no response ... So I would be glad if you can make some effort in porting this engine to other OSes.
        Good luck

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

          @cyperghost Been a while! I just received an 8bitDo SN30Pro controller as a gift, so I decided to make some more joypad configs as well as update the older since [gamename].bor.cfg configurations weren't compatible with the latest OpenBOR.

          8bitDo has different modes so I created profiles for them all (wired & Bluetooth)

          • 8bitDo (Switch Pro Controller BT).cfg
          • 8bitDo (android wired).cfg
          • 8bitDo (android BT).cfg
          • 8bitDo (macOS wired).cfg
          • 8bitDo (X-input wired & BT).cfg
          • PS3 (Wired).cfg
          • PS3 (Wireless).cfg
          • SNES Clone (tata).cfg

          By the way, your OpenBOR-3400 failed to compile. I didn't spend any time looking into it, but here is the log I snagged in case your curious.

          I'll keep those configs up for a while for whoever could use them. Standard config, w/ keyboard set to Player 2.

          cyperghostC C 2 Replies Last reply Reply Quote 3
          • cyperghostC
            cyperghost @BiZzAr721
            last edited by

            @BiZzAr721 Thx for the control set. I will include them
            About the scriptmodule - I removed the tools packages. This caused the errors. Maybe you can reinstall und report?

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

              I tried with your updated script and still did not complete. The error when it exits back to RetroPie-Setup is:

              Could not successfully build openbor-3400 - OpenBOR - Beat 'em Up Game Engine v3400 (unsupported!)
              (/home/pi/RetroPie-Setup/tmp/build/openbor-3400/OpenBOR not found)
              

              Here is the log

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

                @BiZzAr721 It seems to be a failure in compiling. Can not look at it now but you can try to download ready compiled binary from here
                The error causes this is

                Makefile:240: recipe for target 'openbor.o' failed
                

                Missing dependencies?

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

                  No worries. My main intent on re installing it was to check if the new controller configs work with the updated 3400.

                  1 Reply Last reply Reply Quote 0
                  • 2Play2
                    2Play @cyperghost
                    last edited by 2Play

                    @cyperghost
                    I got this error but creates a working binary... Compiled on Stretch
                    Linux 4.14.79-v7+ armv7l GNU/Linux
                    Raspbian GNU/Linux 9.6 (stretch)

                    "
                    patch -p0 -i latest_build.diff
                    patching file sdl/opengl.c
                    Hunk #1 succeeded at 223 (offset -2 lines).
                    Hunk #2 succeeded at 234 (offset -2 lines).
                    patching file sdl/sdlport.c
                    patching file Makefile
                    Hunk #4 FAILED at 572.
                    1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
                    "

                    And the Makefile.rej

                    --- Makefile Fri Aug 10 10:15:18 2018
                    +++ Makefile Thu Sep 27 17:16:22 2018
                    @@ -572,7 +578,7 @@
                    ifeq ($(findstring DGE, $(SDKPATH)), DGE)
                    LIBS += -lSDL -lSDL_gfx -lts
                    else
                    -LIBS += -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx
                    +LIBS += -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx -lGL
                    endif
                    endif

                    Your friend,
                    2Play!

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

                      @2Play That's okay so far. Did you download the latest version from OpenBOR or did you use my branch?

                      2Play2 1 Reply Last reply Reply Quote 0
                      • 2Play2
                        2Play @cyperghost
                        last edited by

                        @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                        @2Play That's okay so far. Did you download the latest version from OpenBOR or did you use my branch?

                        The one from you

                        cyperghost 26 Oct 2018, 14:50
                        @darknior @BiZzAr721

                        How to compile
                        Download OpenBOR from here https://github.com/DCurrent/openbor
                        Go to folder "engine"
                        Now get patch by using wget -q --show-progress "http://raw.githubusercontent.com/crcerror/OpenBOR-Raspberry/master/patch/latest_build.diff"
                        Apply patch with patch -p0 -i latest_build.diff
                        Compile with make BUILD_PANDORA=1
                        Place your GLlib next to OpenBOR binary!

                        Your friend,
                        2Play!

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

                          @2Play Haha ... The patch was prepared by me but you were able to compile the newest dev branch from version 6510. Congratulations! Maybe you want to share created binary?

                          B 1 Reply Last reply Reply Quote 2
                          • W
                            Winklepicker
                            last edited by

                            I was wondering can someone tell me the best version of OpenBOR to use for Raspberry pi?

                            Also how would I go about installing that onto the PI, if anyone can point me in the right direction would be much appreciated.

                            Any chance the newest/best version of OpenBOR will eventually be made officially into Retropie for easy install?

                            thanks

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

                              @cyperghost
                              When I do the patch -p0 -i latest_build.diff I get this error:

                              patching file sdl/opengl.c
                              Hunk #1 succeeded at 223 (offset -2 lines).
                              Hunk #2 succeeded at 234 (offset -2 lines).
                              patching file sdl/sdlport.c
                              patching file Makefile
                              Hunk #4 FAILED at 572.
                              1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
                              

                              And here is what's in my Makefile.rej:

                              --- Makefile    Fri Aug 10 10:15:18 2018
                              +++ Makefile    Thu Sep 27 17:16:22 2018
                              @@ -572,7 +578,7 @@
                               ifeq ($(findstring DGE, $(SDKPATH)), DGE)
                               LIBS           += -lSDL -lSDL_gfx -lts
                               else
                              -LIBS           += -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx
                              +LIBS           += -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx -lGL
                               endif
                               endif
                              
                              cyperghostC 1 Reply Last reply Reply Quote 1
                              • cyperghostC
                                cyperghost @Winklepicker
                                last edited by cyperghost

                                @Winklepicker The way to install is all written in first topic. I don't know what is the BEST verison for you. But I can assure you that all version beyond the RetroPie standard version is always better ....

                                v3400 (RetroPie) is an old decrapted version you need to unpack the addon files (I don't recommend this)
                                v3400 in this thread is also old and unsupported but uses PAK files for input
                                v6315 was the first verions build with patched files
                                The newest branch is dev-6510 if you compile on yourself

                                @backstander Can you post please Makefile.rej there seems an error with compile flag settings but all in all you can build and compile OpenBOR.
                                Nice to see you back in action ;)

                                Located the error
                                Please use nano and edit the patchfile and remove

                                -= -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx
                                += -Wl,-rpath,$(LIBRARIES) -lSDL2 -lSDL2_gfx -lGL
                                
                                exchange to
                                
                                
                                -= -Wl,-rpath,$(LIBRARIES) -lSDL2
                                += -Wl,-rpath,$(LIBRARIES) -lSDL2  -lGL
                                

                                Anyway it should run with the resulted binary.
                                The OpenBOR devs seem to have changed the makefile. Thanks for feedback...
                                It's line 100+ in patchfile ;) Thanks for reporting....

                                Can you please give a feedback if the newest version will run on your system?

                                B 1 Reply Last reply Reply Quote 2
                                • B
                                  backstander @cyperghost
                                  last edited by backstander

                                  @cyperghost
                                  Thanks for looking into this!

                                  BTW: I just redownloaded the OpenBOR source to make sure I've got a fresh copy before patching again.

                                  I made the changes on line 100 and 101 in latest_build.diff but I think I'm getting the same error:

                                  $ patch -p0 -i latest_build.diff

                                   patching file sdl/opengl.c
                                  Hunk #1 succeeded at 223 (offset -2 lines).
                                  Hunk #2 succeeded at 234 (offset -2 lines).
                                  patching file sdl/sdlport.c
                                  patching file Makefile
                                  Hunk #4 FAILED at 572.
                                  1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
                                  

                                  Makefile.rej

                                  --- Makefile    Fri Aug 10 10:15:18 2018
                                  +++ Makefile    Thu Sep 27 17:16:22 2018
                                  @@ -572,7 +578,7 @@
                                   ifeq ($(findstring DGE, $(SDKPATH)), DGE)
                                   LIBS           += -lSDL -lSDL_gfx -lts
                                   else
                                  -LIBS           -= -Wl,-rpath,$(LIBRARIES) -lSDL2
                                  +LIBS           += -Wl,-rpath,$(LIBRARIES) -lSDL2  -lGL
                                   endif
                                   endif
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    backstander
                                    last edited by

                                    Oh, I should note that this is off of my older RetroPie running Raspbian Jessie. I've been working on building a new 3B+ with Stretch but haven't got everything up and running like I want yet ;)

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

                                      @backstander yes saw annother error
                                      Plesse change line LIBS += -lSDL -lSDL_gfx -lts by removing lSDL_gfx

                                      I am also still in on Jessie
                                      Edit: thankfully I can say I am not a native speaker

                                      B 1 Reply Last reply Reply Quote 1
                                      • B
                                        backstander @cyperghost
                                        last edited by

                                        @cyperghost

                                        I am also still in on Jessie
                                        Edit: thankfully I can say I am not a native speaker

                                        Personally I think either would work but you wouldn't want to upset the Grammar "Autocratics".

                                        I think I edit that correctly but still getting error Hunk #4 FAILED at 572.

                                        --- Makefile    Fri Aug 10 10:15:18 2018
                                        +++ Makefile    Thu Sep 27 17:16:22 2018
                                        @@ -572,7 +578,7 @@
                                         ifeq ($(findstring DGE, $(SDKPATH)), DGE)
                                         LIBS           += -lSDL -lts
                                         else
                                        -LIBS           -= -Wl,-rpath,$(LIBRARIES) -lSDL2
                                        +LIBS           += -Wl,-rpath,$(LIBRARIES) -lSDL2  -lGL
                                         endif
                                         endif
                                        
                                        cyperghostC 1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost @backstander
                                          last edited by

                                          @backstander arghh well I have no PC to go deeper into that issue - Just tablet. So Iwould add just the -lGL switch to line 572 in makefile and compile the whole thing. Please add dependencies according to script module or the openbeta script before compiling

                                          B 1 Reply Last reply Reply Quote 1
                                          • B
                                            backstander @cyperghost
                                            last edited by

                                            @cyperghost

                                            Please add dependencies according to script module or the openbeta script before compiling

                                            Oh that could be an issue. I hadn't gotten that far because I was still stuck on the patching haha

                                            1 Reply Last reply Reply Quote 1
                                            • 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.