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

    [Tutorial] OpenBOR - the complete guide

    Scheduled Pinned Locked Moved Ideas and Development
    openborcyperghost
    112 Posts 22 Posters 67.5k 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.
    • cyperghostC
      cyperghost @hansolo77
      last edited by

      @hansolo77 Can you make your sheet ready for puplic access?
      About the conventions.....
      RED = Game crashes, no chance
      Orange = Game is playable in some parts, but crashes sometimes (a good example is Streets of Rage Z 2 - It crashes in level selection but the "Keep Alive" part is working flawless)
      Green = No crashes reported
      Green with gamename [!] = Someone made a playthrough to the game and all went fine (= kingclass)

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

        @hansolo77 Good idea, thanks a lot

        Life is game, just play it !

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

          @cyperghost said in [Tutorial] OpenBOR - the complete guide:

          @hansolo77 Can you make your sheet ready for puplic access?
          About the conventions.....
          RED = Game crashes, no chance
          Orange = Game is playable in some parts, but crashes sometimes (a good example is Streets of Rage Z 2 - It crashes in level selection but the "Keep Alive" part is working flawless)
          Green = No crashes reported
          Green with gamename [!] = Someone made a playthrough to the game and all went fine (= kingclass)

          If I can figure out how, I have no problem sharing it. I like the idea of users being able to update it. I just fear having people go through and change stuff that's not legit. I've seen various N64 spreadsheets that people have tried to make with this same intent, just to have it get all messed up because of jerks or people not understanding what to do.

          I will also restructure the spreadsheet to allow for notes to be added, so we can have details as to what's not 100%.

          Who's Scruffy Looking?

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

            Here we go, have a look at this:
            https://docs.google.com/spreadsheets/d/1XoRi1OXgx_fJCkfINmsvZ7SM7yXVOjykg_V1zxP-j7w/edit?usp=sharing

            Who's Scruffy Looking?

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

              @hansolo77 I've entered some entries - I think @BiZzAr721 can enter a bunch ;)

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

                Awesome. Glad to hep out the community some. :)

                Who's Scruffy Looking?

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

                  Is there a way to have the screen change back to the default when returning from a game? What I mean is, every time I exit a game and go to play something else, the last screen showing from the OpenBOR system is still showing. Like it's stuck in a buffer or something. It's a problem, because it hides theruncommand menu, and blocks you from being able to access things like setting up an emulator, resolution, netplay, etc. There needs to be something to clear out that buffered screen..

                  Who's Scruffy Looking?

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

                    @hansolo77 I have no problem with a screen showing. But I don't use ES to start these games. Does this also happen if you use the selection menu from here?
                    Place this in Ports section and restart ES to let show it up.

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

                      I will test and come back. I don't really know of a good way to provide an example, unless I can set up a tripod and record a video of it happening. I remember having that same problem when I tried setting up the "loading images", to make the runcommand alert look better. It might be something specific to my setup too. I'm finding more and more that my configuration is far from the norm for some reason.

                      Who's Scruffy Looking?

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

                        I should be sleeping, but instead a learned something new and wanted to try to see if I could get this batch file complete! This is far from a perfect solution, but I created a Windows batch file that will copy your master.bor.cfg to [game name].bor.cfg and put it in a saves folder. This is useful when you got a lot of games that you need to make a game config for and don't want to enter runcommand to copy master to game config every time.
                        (for example, the 181 games I have installed from when I was creating the list of working games =P)

                        I had a test directory on my PC where I could test without ruining the actual mod installs (which I definitely would have!) When I finally got it working exactly how I wanted, I hit another wall - new Samba security measures do not allow programs to be executed on a networked drive! I was expecting it to be just drop it in the folder and run it from a pc, but the only simple work around I found is to run it from a command prompt. I use "file menu tools" to select the openbor folder and select "command prompt from here" which will automatically open to the correct drive & directory. In the script I included how to do it otherwise. Here is the bat file. Below is the contents.

                        ::Due to new security policy of samba, files cannot be executed through a shared drive. Open a command prompt,and type:
                        ::"wmic logicaldisk get name" to list drives (Usually Y:) Switch to the retropie drive eg. Y: (type dir to verify content)
                        ::Type cd ports/openbor then run the batch file from there
                        ::A Saves folder will be created with all the game configs. Move the Saves folder to /opt/retropie/configs/ports/openbor
                        
                        @echo on
                        setlocal
                        mkdir Saves
                        FOR /f "tokens=*" %%i IN ('dir /b *.bor') DO (
                        copy "master.bor.cfg" "%%i.cfg"
                        move "%%i.cfg" "Saves"
                        )
                        pause
                        

                        @cyperghost You've already outdone yourself! Maybe in the future we can have an Ultra-Mega Gamepad Setup with an option create a game config based off master.bor.cfg for all mods installed.

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

                          @BiZzAr721

                          This is useful when you got a lot of games that you need to make a game config for and don't want to enter runcommand to copy master to game config every time.

                          Therefore I changed the launch script. You can directly access the usermenu from this and configurate each game ;)

                          Your batch file is also nice and will help people with windows systems. Can you help us in getting a nice GameList for OpenBOR?

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

                            @cyperghost said in [Tutorial] OpenBOR - the complete guide:

                            Can you help us in getting a nice GameList for OpenBOR?

                            I have the spreadsheet open in my browser so I don't forget =)

                            EDIT:
                            @cyperghost said in [Tutorial] OpenBOR - the complete guide:

                            Therefore I changed the launch script. You can directly access the usermenu from this and configurate each game ;)

                            That's a big plus, except for I launch each game individually from the ports menu using individual scripts, that's why having the option to copy master config to all game configs would be massive

                            PS I had that hacked together script I created to make the individual script files, but I still had to go into each file and manually erase a blank line #3 that gets created and would cause an error launching the games. I have a script created for all 181 games I tested that works. That should be compatible with most mods, with the exception of the few that may be named slightly different (which a quick edit of the script file or game folder will take care of)

                            I will make them available in the next day or two. Maybe you would like to add them to your git to keep everything together?

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

                              @bizzar721 Wow! Thank you for the swift crosscheck of the list. Yes I can upload some configs to my github account. @darknior everything all right?

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

                                @cyperghost Added a comment on TMNT Red Sky Battle with a link to a modified models.txt

                                It lets you select Casey Jones as a playable character. Found it when I saw in @hansolo77 's list that there was a final release of the game and I was using an old demo. Reading the game post at chronocrash while getting the final version I saw a comment about using the TMNT launcher & entering secret code "outlaw hero" to unlock as well as a Red Sky 2 demo (which works).

                                Took me a while of renaming setting files, copying files back & forth, even re-extracting and copying the pak file before I found it was a simple altered text file.

                                @cyperghost Here are those individual mod launch scripts

                                Also, I just started having an issue where if I press LEFT on ANY joypad - setup or not - openBOR immediately exits! I did do some organizing/cleanup. Any ideas off hand?

                                EDIT
                                From runcommand log:

                                Loading 'jbike' from data/chars/jimmy/jbike.txt
                                Loading 'jplane' from data/chars/jimmy/jplane.txt
                                
                                Loading models...............	Done!
                                Object engine init...........	Done!
                                Input init...................	USB Gamepad  - 2 axes, 10 buttons, 0 hat(s)
                                Done!
                                
                                
                                shutdown called from leave_game
                                
                                ************ Shutting Down ************
                                
                                OpenBOR v3.0 Build 3016, Compile Date: Jul  7 2018
                                Presented by Senile Team.
                                This Version is unofficial and based on the Senile source code.
                                
                                cyperghostC 1 Reply Last reply Reply Quote 1
                                • cyperghostC
                                  cyperghost @BiZzAr721
                                  last edited by cyperghost

                                  @bizzar721 I will add the individual launch scripts to the first posting. I think that makes more sense then to add to github.

                                  About your control issues. You may delete the whole content of SAVE?

                                  EDIT:
                                  About fixing some games. There is an issue with Golden Axe classic, the dwarf is so weak (as descriped in the sheet file) I think it's just an issue with wrong setted "strength" number or a script error. That's really annoying because you need felt 100hits to kill an easy opponent.

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

                                    I will try and remove entire save directory. I tried downloading different joypad configs and even deleting the gamw configs. Even pressing left while mapping a control exits. I will try with gamepad disabled. If it still turns off then I can assume it's a bor issue.

                                    I was trying to research but couldn't find anything. From the error I was searching to see if runcommand has a mapping for game exit. I don't even know of a exit key for openbor.

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

                                      I know ESC will take you out of the game if you're on the menu, or take you TO the menu if you're in a game. If the game is existing while in a game, it sounds like pressing ALT+F4 in Windows, which immediately ends the task.

                                      Who's Scruffy Looking?

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

                                        @hansolo77 That's what it seems like to me. I'm stumped. I had openbor installed with a few mods using @darknior 's method, then when I got more involved and wanted to add 15gb of games, I made a backup and restored it to a different sd card to experiment on. Now, using my original image, I moved everything over. I don't get what's different, they started out from the same image. I think I'll try to load a game using @darknior 's method bypassing runcommand to see if I still have this issue.

                                        On another note, @cyperghost, while I loaded back up my test image, I redid all the controls from your git using your mapping, as well as updated yours with keyboard as player 2. I'll try to upload tonight.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          spud11 @BiZzAr721
                                          last edited by

                                          @bizzar721 I'm not at my Pi at the moment but does F10 exit OpenBor?

                                          I did find with SoRR that it has no exit key (unless you go through the menu). I wound up creating a bash script which "hard" exits SoRR which I invoke via xboxdrv.

                                          RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

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

                                            @spud11 said in [Tutorial] OpenBOR - the complete guide:

                                            @bizzar721 I'm not at my Pi at the moment but does F10 exit OpenBor?

                                            Yes, F10 immediately shuts down OpenBOR. Runcommand log also logs shutdown called from leave_game which I get if I exit normally or by d-pad press (so I assume it's not crashing)

                                            Here's something odd, I went to runcommand (during loading screen) to remove controller config and instead of button press selecting, buttons moved up and down! Top L button worked like select. Running out the door to work, but I will investigate further tonight. (Pie was just turned on as well, with no joypad's switched)

                                            Also, with Gamepad disabled in options, hitting LEFT still exits.

                                            One time it exited, I swore I saw a line of text flash on the screen. Is there a way to see commands on the screen behind ES? There's been many times I had info flash on the screen while configuring things that I wish I could read - hell, I even used my phone to record it to read them.

                                            @cyperghost Here are the updated Joypad configs (renamed to match your file names listed in Joypad.txt)

                                            S cyperghostC 2 Replies 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.