Acorn BBC Micro Emulator (current?)
-
@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
-
In one of the extras this works fine on pi4 but fails to install on a pi5
b-em-pico-pi ...ideas? -
@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 -
@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. -
@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. -
@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 -
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. -
@Folly sweet!
-
Updated, you can test it :
https://github.com/FollyMaddy/RetroPie-Share/commit/c6476de8bb73955e60c0e4f512b9ef3bb65b955cLet me know if it works.
-
@Folly will do wow, Thanks!
-
@Folly just got it installed and tested thank you for fixing it for the pi5 works a charm
-
@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
-
@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.
-
@phoenixdacat said in Acorn BBC Micro Emulator (current?):
@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.
Aha,
I have heard of these differences in line-endings before but never knew it would make a script unusable.
Thanks, good to know. -
@Retrodade said in Acorn BBC Micro Emulator (current?):
@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
Ok, will have a look.
-
It's not the first time I've come across this.
If you add a .gitattributes file to the root of your repo, with this as the content
* text=auto *.sh text eol=lf
it should fix that issue for those who clone to Win systems.
-
I had a look to change it but I only use the web-browser to add stuff not the git command as I am much too inexperienced with that.
Seems I cannot change in the browser or can I ?
-
@phoenixdacat said in Acorn BBC Micro Emulator (current?):
It's not the first time I've come across this.
Probably because your
git
is configured to translate LF to CRLF automatically viacore.autocrlf
? Windows nowadays is better equiped to handle Unix line endings, you should turn off this option if you'd like to get rid of this problem. -
@Folly I can do a pull request to your repo with the file added it you like?
-
@mitu that would fix it for me, but others could face the same issue.
I'll add the .gitattributes file to my local clone, and do a pull request.
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.