@rkoster
I'd like to thank you for your effort in producing this guide and tool. I successfully managed to configure RetroPIe/Emulation/RetroArch/PR-UAE to run the converted LHA files. However, I have noticed a bizarre bug/issue and found a workaround for it which I will detail below:
I have two laptops of similar specification. This is the process I followed:
Clean install of Kubuntu
Install RetroPie, basic installation and PR-UAE from optional packagaes
Copy kickstart bios roms to RetroPie/BIOS folder
Copy LHA files to /RetroPie/roms/amiga folder
Followed the above guide and used the script to convert LHA files
Ran a few games to test
This process worked perfectly on one laptop, so I decided to try on another, however, when I tried to run some games from retropie/emulationstation, the games would not load ( I tried the same games that I played on the previous laptop), and I was taken back to the amiga games list in emulation station.
I looked in the /dev/shm/runcommand.log but did not see anything different to the logs on the first laptop.
I thought that maybe the PR-UAE installation/configuration was the issue so decided to test with an ADF file and the game loaded confirming that PR-UAE worked.
Out of curiosity I tried another converted LHA and to my surprise it loaded successfully.
I tried another converted LHA file but it didn't work.
I loaded the same ADF again successfully, then tried the converted LHA from the previous step and it loaded.
So for some reason on this laptop, in order to successfully load a converted LHA, I must first load an ADF - this is tedious for 60+ games, but once the LHA has loaded once, it will load again without having to run an ADF first.
Anyway, this was my experience. I have no idea why this happened, but I thought I would share just in case other people would benefit from it.
Thanks again for creating this guide and tool!