RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Openbor on usb

    Scheduled Pinned Locked Moved Help and Support
    retropie openbo
    25 Posts 3 Posters 878 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
      last edited by

      You can use this script here to extract your PAKs

      W 1 Reply Last reply Reply Quote 0
      • W
        wsamael @mitu
        last edited by

        @mitu said in Openbor on usb:

        @wsamael The extract script is created by the install script in /opt/retropie/ports/openbor/extract.sh. You copy your .pak files in the ports/openbor folder and then execute it - it will create a folder for each .pak gamefile.

        ok but if I use the extract script it's work but only to sd card if I change roms directory in extract script to add my usb directory i've an error to unpack.sh

        1 Reply Last reply Reply Quote 0
        • W
          wsamael @cyperghost
          last edited by wsamael

          @cyperghost said in Openbor on usb:

          You can use this script here to extract your PAKs

          i've see this script but how do i use it ? do i lunch it by
          wget "https://raw.githubusercontent.com/crcerror/RetroPie-OpenBOR-scripts/master/extract.sh ?

          ( this script is the v0.67 is it better ? ) and if I wanna make my rom in /media/usb/roms/ports/openbors where do I make the directory ?

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

            @wsamael No you lunch usually no scripts

            you download it with the wget command and and then you excute with bash

            W 1 Reply Last reply Reply Quote 0
            • W
              wsamael @cyperghost
              last edited by wsamael

              @cyperghost ok Thanks :) I 'll try this as soon as I can :)

              ps: just one last question ( I hope ^^ ) where do I change the files directory to put mine (/media/usb/roms/ ports/openbor ) ?
              I must change this line
              " BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor" "

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

                @wsamael Yes the script looks for your *.pak files in the directory you mentioned, so change the path here.

                1 Reply Last reply Reply Quote 0
                • W
                  wsamael
                  last edited by wsamael

                  it doesn' twork :( the game has created in th efolder, it's not appear in openbor. that work with

                  BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor"

                  but it's not with

                  BORROM_DIR="/media/usb0/roms/ports/openbor" work with

                  in the both of them, that extract the game but in "usb" i can't launch it

                  ps sorry about my english i hope you understand me ;)

                  1 Reply Last reply Reply Quote 0
                  • W
                    wsamael
                    last edited by wsamael

                    script ok

                    #!/bin/bash
                    # PAK EXTRACT v0.67
                    #
                    # by cyperghost for retropie.org.uk
                    # 1. PLACE  BARE PAK FILES to /home/pi/RetroPie/roms/ports/openbor/pak
                    # 2. RUN THE SCRIPT (with user pi!)
                    # 3. Data will be extracted to ./openbor/gamename.bor/data
                    # 4. pak files will be backuped from gamename.pak to gamename.pak.original
                    # Change pathes as you like!
                    
                    EXTRACT_BOREXE="/opt/retropie/ports/openbor/borpak"
                    BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor"
                    BORPAK_DIR="$BORROM_DIR/pak"
                    
                    if [[ -f $EXTRACT_BOREXE ]]; then
                    
                        mkdir -p "$BORPAK_DIR"
                        cd "$BORPAK_DIR"
                    
                        for i in *.[Pp][Aa][Kk]; do
                    
                            FILE="${i%%.*}"
                            if [[ $FILE == '*' ]]; then
                                echo "Aborting... No files to extract in $BORPAK_DIR!"
                                exit
                            fi
                    
                            mkdir -p "$BORROM_DIR/$FILE.bor"
                            echo "Extracting file: $i"
                            echo "to dir: $BORROM_DIR/$FILE.bor"
                            sleep 3
                            "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i"
                            echo "-------- Done Extracting: $i ---------"
                            echo "-- Backup $i >> $i.original --"
                            mv "$i" "$i.original"
                            sleep 5
                            
                        done
                    
                        echo "Extraction done without errors!"
                    
                    else
                    
                        echo "borpak executive file not found in $EXTRACT_BOREXE"
                        echo "Exit now...."
                    
                    fi
                    
                    sleep 5
                    
                    
                    script not ok ```
                    #!/bin/bash
                    # PAK EXTRACT v0.67
                    #
                    # by cyperghost for retropie.org.uk
                    # 1. PLACE  BARE PAK FILES to /home/pi/RetroPie/roms/ports/openbor/pak
                    # 2. RUN THE SCRIPT (with user pi!)
                    # 3. Data will be extracted to ./openbor/gamename.bor/data
                    # 4. pak files will be backuped from gamename.pak to gamename.pak.original
                    # Change pathes as you like!
                    
                    EXTRACT_BOREXE="/opt/retropie/ports/openbor/borpak"
                    BORROM_DIR="/media/usb0/roms/ports/openbor"
                    BORPAK_DIR="$BORROM_DIR/pak"
                    
                    if [[ -f $EXTRACT_BOREXE ]]; then
                    
                        mkdir -p "$BORPAK_DIR"
                        cd "$BORPAK_DIR"
                    
                        for i in *.[Pp][Aa][Kk]; do
                    
                            FILE="${i%%.*}"
                            if [[ $FILE == '*' ]]; then
                                echo "Aborting... No files to extract in $BORPAK_DIR!"
                                exit
                            fi
                    
                            mkdir -p "$BORROM_DIR/$FILE.bor"
                            echo "Extracting file: $i"
                            echo "to dir: $BORROM_DIR/$FILE.bor"
                            sleep 3
                            "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i"
                            echo "-------- Done Extracting: $i ---------"
                            echo "-- Backup $i >> $i.original --"
                            mv "$i" "$i.original"
                            sleep 5
                            
                        done
                    
                        echo "Extraction done without errors!"
                    
                    else
                    
                        echo "borpak executive file not found in $EXTRACT_BOREXE"
                        echo "Exit now...."
                    
                    fi
                    
                    sleep 5
                    
                    1 Reply Last reply Reply Quote 0
                    • W
                      wsamael
                      last edited by wsamael

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • W
                        wsamael
                        last edited by

                        oups je viens de voir que j'ai raté mon message

                        alors le script qui marche

                        #!/bin/bash
                        # PAK EXTRACT v0.67
                        #
                        # by cyperghost for retropie.org.uk
                        # 1. PLACE  BARE PAK FILES to /home/pi/RetroPie/roms/ports/openbor/pak
                        # 2. RUN THE SCRIPT (with user pi!)
                        # 3. Data will be extracted to ./openbor/gamename.bor/data
                        # 4. pak files will be backuped from gamename.pak to gamename.pak.original
                        # Change pathes as you like!
                        
                        EXTRACT_BOREXE="/opt/retropie/ports/openbor/borpak"
                        BORROM_DIR="/home/pi/RetroPie/roms/ports/openbor"
                        BORPAK_DIR="$BORROM_DIR/pak"
                        
                        if [[ -f $EXTRACT_BOREXE ]]; then
                        
                            mkdir -p "$BORPAK_DIR"
                            cd "$BORPAK_DIR"
                        
                            for i in *.[Pp][Aa][Kk]; do
                        
                                FILE="${i%%.*}"
                                if [[ $FILE == '*' ]]; then
                                    echo "Aborting... No files to extract in $BORPAK_DIR!"
                                    exit
                                fi
                        
                                mkdir -p "$BORROM_DIR/$FILE.bor"
                                echo "Extracting file: $i"
                                echo "to dir: $BORROM_DIR/$FILE.bor"
                                sleep 3
                                "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i"
                                echo "-------- Done Extracting: $i ---------"
                                echo "-- Backup $i >> $i.original --"
                                mv "$i" "$i.original"
                                sleep 5
                                
                            done
                        
                            echo "Extraction done without errors!"
                        
                        else
                        
                            echo "borpak executive file not found in $EXTRACT_BOREXE"
                            echo "Exit now...."
                        
                        fi
                        
                        sleep 5
                        

                        et celui qui ne passe pas

                        #!/bin/bash
                        # PAK EXTRACT v0.67
                        #
                        # by cyperghost for retropie.org.uk
                        # 1. PLACE  BARE PAK FILES to /home/pi/RetroPie/roms/ports/openbor/pak
                        # 2. RUN THE SCRIPT (with user pi!)
                        # 3. Data will be extracted to ./openbor/gamename.bor/data
                        # 4. pak files will be backuped from gamename.pak to gamename.pak.original
                        # Change pathes as you like!
                        
                        EXTRACT_BOREXE="/opt/retropie/ports/openbor/borpak"
                        BORROM_DIR="/media/usb0/roms/ports/openbor"
                        BORPAK_DIR="$BORROM_DIR/pak"
                        
                        if [[ -f $EXTRACT_BOREXE ]]; then
                        
                            mkdir -p "$BORPAK_DIR"
                            cd "$BORPAK_DIR"
                        
                            for i in *.[Pp][Aa][Kk]; do
                        
                                FILE="${i%%.*}"
                                if [[ $FILE == '*' ]]; then
                                    echo "Aborting... No files to extract in $BORPAK_DIR!"
                                    exit
                                fi
                        
                                mkdir -p "$BORROM_DIR/$FILE.bor"
                                echo "Extracting file: $i"
                                echo "to dir: $BORROM_DIR/$FILE.bor"
                                sleep 3
                                "$EXTRACT_BOREXE" -d "$BORROM_DIR/$FILE.bor" "$i"
                                echo "-------- Done Extracting: $i ---------"
                                echo "-- Backup $i >> $i.original --"
                                mv "$i" "$i.original"
                                sleep 5
                                
                            done
                        
                            echo "Extraction done without errors!"
                        
                        else
                        
                            echo "borpak executive file not found in $EXTRACT_BOREXE"
                            echo "Exit now...."
                        
                        fi
                        
                        sleep 5
                        

                        donc au final je me demande si le soucis n'est pas dans les reglage d'openbor car c'est lui qui ne les voit pas mais je ne voit pas ou le modifier .

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

                          @wsamael Is there any error during extraction?
                          How do you launch the OpenBOR?

                          1 Reply Last reply Reply Quote 0
                          • W
                            wsamael
                            last edited by

                            I think is no error during extraction

                            Capture.JPG

                            And I try to launch OPB with the ES Menu (like another system ) or I try to launch in ports menu an Ports menu but that dosn't work

                            port-menu.jpg es-menu.jpg

                            i saw it in es menu but if I launch it that launch opb menu and may rom dosn't appear

                            1 Reply Last reply Reply Quote 0
                            • W
                              wsamael
                              last edited by

                              asterix it's ok (on sd card) but street fighter ( on usb key) dosn't work . If I launch it, that launch opb and not Street fighter

                              ( I hope you understand what i mean )

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

                                @wsamael The OpenBOR engine you are using is very old. That may be the reason that Asterix (also an old BOR title) works and Street Fighter maybe not. Did you try to extract Asterix on USB key, too?

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  wsamael @cyperghost
                                  last edited by

                                  @cyperghost
                                  No Astérix is extract on sd card with your script in/home/pi/RetroPie/.... and it's work good

                                  How can i update openbor ? I've install it bye retropie-setup ?

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    wsamael @wsamael
                                    last edited by

                                    sorry , yes I try to extract asterix on usb ans it's not ok, but if I extract street fighter on sd , it's work good

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

                                      @wsamael Please post following

                                      data of /opt/retropie/configs/ports/openbor/emulators.cfg

                                      There should be this entry (The %ROM% is vital)

                                      openbor= "pushd /opt/retropie/ports/openbor; /opt/retropie/ports/openbor/OpenBOR %ROM%; popd"
                                      default = "openbor"
                                      

                                      And your es_system.cfg should contain the following part

                                      <name>openbor</name>
                                          <fullname>OpenBOR</fullname>
                                          <path>/home/pi/RetroPie/roms/ports/openbor</path>
                                          <extension>.bor .BOR</extension>
                                          <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _PORT_ openbor %ROM%</command>
                                          <platform>pc</platform>
                                          <theme>openbor</theme>
                                      

                                      Can you check?

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

                                        Tutorial how to install OpenBOR 3400 is here

                                        W 1 Reply Last reply Reply Quote 0
                                        • W
                                          wsamael @cyperghost
                                          last edited by

                                          @cyperghost
                                          ok so I've delete the old version, and I've installed the 6xxx ( thanks you for the advice) and it's work. So, this version don't need to extract the .pak ?

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

                                            @wsamael Yes the 6xxx version does not need to extract PAKs and and ir offers much more games available to play. It's only the specific OpenBOR version here for RetroPie that makes a need to extract pack files.

                                            I just want to avoid confusion because the 6xxx port is not official supported here.

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