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

    Acorn BBC Micro Emulator (current?)

    Scheduled Pinned Locked Moved Help and Support
    acorn bbc
    116 Posts 12 Posters 27.4k 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.
    • E
      Evan @Folly
      last edited by

      @Folly
      I tried again, same problem....
      I'm following instructions from "post 4" above, i.e. downloading the script. Then running the add external repositories option from retropie_setup.sh in Config/Tools.

      It seems to download quite a bit of stuff and then at the end it comes up with this: -

      /home/pi/RetroPie-Setup/scriptmodules/packages.sh: line 912: __mod_idx: bad array subscript
      /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/runcommand-archypie.sh: line 1: 404:: command not found
      Module is missing valid rp_module_id
      Module is missing valid rp_module_desc

      at this point it has exited to the command line and doesn't return to the retropie_setup.sh menu.

      And when I try now to get back into retropie_setup.sh I get this

      sudo ./retropie_setup.sh
      /home/pi/RetroPie-Setup/scriptmodules/packages.sh: line 912: __mod_idx: bad array subscript
      /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/runcommand-archypie.sh: line 1: 404:: command not found
      Module is missing valid rp_module_id
      Module is missing valid rp_module_desc

      It can't run.

      F 1 Reply Last reply Reply Quote 0
      • F
        Folly @Evan
        last edited by Folly

        @Evan

        Ok, I see.
        You have used the external repositories script.
        I will edit post 4 not to use that anymore.
        Things have changed in how stuff is downloaded from github and for some reason that script doesn't work anymore.

        To fix it remove all files in the ext/RetroPie-share folder or the whole folder RetroPie-Share.
        See if retropie-setup will run after that.
        (If it doesn't then rename your RetroPie-Setup folder to another name and clone it again from, see instructions :
        https://github.com/RetroPie/RetroPie-Setup)
        If it still works then download this file (right-click on raw and save) :
        https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scriptmodules-00/emulators/b-em-allegro4.sh
        and save it here :
        /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/b-em-allegro4.sh
        Then run retropie-setup again and look for the script in experimental packages and install it from source.

        Edit :
        ext-ext-repos.sh has been removed from github :
        https://github.com/FollyMaddy/RetroPie-Share/commit/18d01c8d5b25a7a4053c0938998f38cb7e48564d

        E P 2 Replies Last reply Reply Quote 0
        • E
          Evan @Folly
          last edited by Evan

          @Folly

          Thanks for that, I'll give it a go and let you know.

          Bingo! That worked, thank you for that.

          F 1 Reply Last reply Reply Quote 0
          • F
            Folly @Evan
            last edited by

            @Evan

            Good for you !

            Now you know how it works pasting 3rd party module-scipts inside the ReroPie-Setup.

            1 Reply Last reply Reply Quote 0
            • P
              phoenixdacat @Folly
              last edited by

              @Folly I have followed the instructions and copied all 7 of the emulators/*.sh files into /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/ but none of them show under experimental packages or any other package menu in RetroPie_Setup.

              Have I missed a step?

              I've been able to install and use your mamedev.sh script with no issue.

              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @phoenixdacat
                last edited by Folly

                @phoenixdacat said in Acorn BBC Micro Emulator (current?):

                @Folly I have followed the instructions and copied all 7 of the emulators/*.sh files into /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/ but none of them show under experimental packages or any other package menu in RetroPie_Setup.

                Have I missed a step?

                Apparently you have missed a step.
                Check again if you have them in the correct folder.

                • did you make a typo ?
                • are you using another username ?
                • open up an sh file, do you have content in them ?
                • did you check the very last packages in experimental packages below ?
                P 1 Reply Last reply Reply Quote 0
                • P
                  phoenixdacat @Folly
                  last edited by

                  @Folly

                  no typo.
                  user name is pi.
                  the .sh files have script content.
                  I scrolled all the way to the bottom.

                  The mamedev.sh script works. I did wonder if this was a permissions or ownership issue, but the permissions for the scripts in the emulators folder are identical to mamedev.sh.

                  Is there anyway that I can run the emulator scripts from the CLI, outside of the retropie_setup.sh, so that I can troubleshoot?

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Folly @phoenixdacat
                    last edited by Folly

                    @phoenixdacat said in Acorn BBC Micro Emulator (current?):

                    Is there anyway that I can run the emulator scripts from the CLI, outside of the retropie_setup.sh, so that I can troubleshoot?

                    Yes.
                    For example you can use the retropie_packages.sh script to install one and check if the script is seen and works.

                    cd RetroPie-Setup
                    sudo ./retropie_packages.sh b-em-allegro4
                    

                    If it's found it will install, otherwise you get the message :

                    No module 'b-em-allegro4' found.
                    

                    Alternatively you can list all module-scripts available with :

                    sudo ./retropie_packages.sh
                    

                    And use grep to filter out only the one you are looking for :

                    sudo ./retropie_packages.sh|grep b-em
                    

                    With the last command the output should be :

                    pi@raspberrypi:~/RetroPie-Setup $ sudo ./retropie_packages.sh|grep b-em-allegro4
                    b-em-allegro4       : Acorn BBC emulator                         : build configure depends install sources clean remove
                    
                    P 1 Reply Last reply Reply Quote 0
                    • R
                      Retrodade
                      last edited by Retrodade

                      In one of the extras this works fine on pi4 but fails to install on a pi5
                      b-em-pico-pi ...ideas?

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Folly @Retrodade
                        last edited by

                        @Retrodade said in Acorn BBC Micro Emulator (current?):

                        In one of the extras this works fine on pi4 but fails to install on a pi5
                        b-em-pico-pi ...ideas?

                        Correct, b-em-pico-pi doesn't compile correctly on newer OSes.
                        Sadly no ideas and nothing I can do except try to add flags that will prevent installing on newer OSes

                        R 1 Reply Last reply Reply Quote 1
                        • R
                          Retrodade @Folly
                          last edited by

                          @Folly
                          OK, Thanks for the reply, was one of my favorites as it booted directly to game and exit was easy over any other.
                          most pi users like direct game loads I guess or I'm odd.

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            Folly @Retrodade
                            last edited by Folly

                            @Retrodade said in Acorn BBC Micro Emulator (current?):

                            @Folly
                            OK, Thanks for the reply, was one of my favorites as it booted directly to game and exit was easy over any other.
                            most pi users like direct game loads I guess or I'm odd.

                            I had a look again at the original source and it seems like kilograham has updated the source.
                            Also found that I use the flag rpi4 so for the rpi5 it will use the wrong compile line.
                            Can't promise but I will have a look if I can get it working again.

                            R 1 Reply Last reply Reply Quote 1
                            • R
                              Retrodade @Folly
                              last edited by

                              @Folly oooo ,wasn't expecting that but wow sweet if you do get it, I'd love to know.
                              and i do understand no promises all good either way

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Folly @Retrodade
                                last edited by

                                @Retrodade

                                Nice find ;-)
                                Just tested experimented on my pi5 with 64 bit OS and it did compile correctly.
                                Will have a look later If I can fix it all together.

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  Retrodade @Folly
                                  last edited by

                                  @Folly sweet!

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly @Retrodade
                                    last edited by Folly

                                    @Retrodade

                                    Updated, you can test it :
                                    https://github.com/FollyMaddy/RetroPie-Share/commit/c6476de8bb73955e60c0e4f512b9ef3bb65b955c

                                    Let me know if it works.

                                    R 3 Replies Last reply Reply Quote 1
                                    • R
                                      Retrodade @Folly
                                      last edited by

                                      @Folly will do wow, Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Retrodade @Folly
                                        last edited by

                                        @Folly just got it installed and tested thank you for fixing it for the pi5 works a charm

                                        1 Reply Last reply Reply Quote 1
                                        • R
                                          Retrodade @Folly
                                          last edited by Retrodade

                                          @Folly also a side note, if one has Qjoy installed to retro pie desktop you can add qjoy to the emu

                                          in
                                          xbeem after the line "matchbox_key_shortcuts" add & qjoypad "bbcmicro" &
                                          and in
                                          xmaster after the line "matchbox_key_shortcuts" add & qjoypad "bbcmicroalt" &

                                          both emus work, seems BBC micro has mainly 2 keyboard mappings, so this gives u most game ability using a controller or joystick over just a keyboard

                                          note in Qjoy make a controller mapping called bbcmicro and another called bbcmicroalt and map your controller to the games keyboard requirements, that way you won't need a keyboard for the games.

                                          just tossing it out there

                                          F 1 Reply Last reply Reply Quote 0
                                          • P
                                            phoenixdacat @Folly
                                            last edited by phoenixdacat

                                            @Folly upon doing what you suggested, trying to run the script from the CLI, the issue was apparent.

                                            I'd used Git to clone your repo to my Win11 PC and then copied the files over to my Pi.

                                            The line termination character is different between Win/Linux, so the script wasn't valid, even though to the eye it looked so.

                                            Thanks for the info on how to do this from the CLI.

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