Development of module-script generator for lr-mess, lr-mame and mame standalone
-
I will explain.
Back in the days there was MAME and there was MESS.
MAME did Arcade systems and Mess the NON-Arcade systems.
Ultimately they joined forces and merged the packages.
So now MAME does all the systems arcade and non-arcade.
But it's possible to make your own driver list and compile mame with only these drivers.
Basically this means that you still can compile mame with only arcade drivers and mame with only non-arcade drivers but you need good lists.
It's also possible to make the lr-mame libretro core full-mame which means it can do all arcade and non-arcade.
The libretro buildbot provides such recent packages for regular PC's.
However with older RPI's the binary is split up because if not some RPI's can have difficulty with it.
I used my regular PC to test, which uses the full-mame libretro core, which definitely has all the drives so I know it can work.
Here you can see what drivers are used when lr-mame or lr-mess is compiled, look for mame.flt and mess.flt :
https://github.com/libretro/mame/tree/master/src/mameThese flt (filters) are not correct therefor you have a mamearcade.so and a mamemess.so with reduced set of drivers.
v4psi is in this perspective missing !Hope you understand it more now.
-
@Folly Not really :D
So if I updated lr-mame to the latest version via Retropie Setup as usual, it wouldn't run Prize Space Invaders any more, even though it does now?
(I just tested a couple of other games and "newmame" runs them fine, so you're definitely right that it's a missing driver.)
-
So I went back to your site and downloaded lr-mame0.256, which is the last version that doesn't say "missing drivers", and sure enough that runs PSI.
So this is good - I was on 0.247, and now I can run games added between then and 0.256, without messing up anything older, and anything that was added up to 0.264.
I'm still puzzled as to why v4psi has been taken OUT, but I guess that's just one of those things.
(I love PSI and it runs perfectly in desktop Windows MAME now, but the RPI version has nasty sound issues so I kept hoping the RPI one would catch up.)
Is there a standard place I can download these files for newer versions when they come out? (eg I'd love to get MESS 0.265, which adds working ZX80 support.)
-
@JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly Not really :D
So if I updated lr-mame to the latest version via Retropie Setup as usual, it wouldn't run Prize Space Invaders any more, even though it does now?
(I just tested a couple of other games and "newmame" runs them fine, so you're definitely right that it's a missing driver.)
Correct, if the filter in the source isn't altered before building and Prize Space Invaders isn't added in the list then it will not be in there.
Not tested yet but with Buster and Bullseye you will probably also be out of luck with installing the libretro cores too from source as it will probably need also need gcc 10.3 or gcc 12 to compile, just like with standalone mame.
Version 0264 will probably be the latest working for these OSes. -
@JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
So I went back to your site and downloaded lr-mame0.256, which is the last version that doesn't say "missing drivers", and sure enough that runs PSI.
So this is good - I was on 0.247, and now I can run games added between then and 0.256, without messing up anything older, and anything that was added up to 0.264.
I'm still puzzled as to why v4psi has been taken OUT, but I guess that's just one of those things.
Well to be precise the source code of the driver hasn't been taken out it's only not added anymore in the filter.
They wanted to ditch the filters from 255 but it became clear that they needed them still for android devices.
Somehow I think they don't know how to build a precise filter list.(I love PSI and it runs perfectly in desktop Windows MAME now, but the RPI version has nasty sound issues so I kept hoping the RPI one would catch up.)
It probably will in the future ???.... ;-)
Is there a standard place I can download these files for newer versions when they come out? (eg I'd love to get MESS 0.265, which adds working ZX80 support.)
No there isn't.
You should wait a bit longer and see what happens.
You might need to build up a new SD which is probably the only way. -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
They wanted to ditch the filters from 255 but it became clear that they needed them still for android devices.
The filters were removed in the upstream MAME project. The libretro fork has re-added them since they need to separate arcade/mess cored (indeed, due to the Android limitations). So if you encounter a driver that's not included in the arcade/mess cores, you should report it to the libretro fork, so they can be added to the filter, since upstream doesn't maintain those filters anymore.
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Not tested yet but with Buster and Bullseye you will probably also be out of luck with installing the libretro cores too from source as it will probably need also need gcc 10.3 or gcc 12 to compile, just like with standalone mame.
Version 0264 will probably be the latest working for these OSes.:(
-
@Folly Do we know if this is the case yet?
-
@JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly Do we know if this is the case yet?
Yes, we know.
Version 264 will be the last version for mame,lr-mame and lr-mess for older OSes.
Have a look at this commit. -
-
@Folly So what do I actually need to do to be able to run it? Do I need new hardware (got RPi 4) or just to update the Retropie OS?
-
@JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly So what do I actually need to do to be able to run it? Do I need new hardware (got RPi 4) or just to update the Retropie OS?
You told me you didn't want to update your existing image.
My advice is not to do so either.
Keep it as backup and you can copy stuff to your new SD.
If your new SD works properly then you would be able to delete your old SD.Take a new SD and put Raspberry Pi Bookworm OS on to your new SD.
I would go for the 64 bits OS as for the future it will be the default.
I use RPI OS with Desktop environment as it is much easier to navigate and copy files directly on your Pi4 and also run RetroPie directly from the Desktop.
It's your choice.Then clone the RetroPie-Setup from github and add my script with the command described in my first post.
Then run the RetroPie-Setup and begin with installing all the core packages.
You can install some main, optional or experimental packages later.
From my script you will be able to install mame,lr-mess and lr-mame binaries if available here :
So probably no need to install these packages from source.
Add your roms and runemulationstation
from the terminal.
Now you can set up your controls again.You should check this page.
If you need help then open a new topic for it. -
@Folly So basically start again from scratch? :D
Thank you for the info, I don't think I want to emulate the ZX80 that much though :D
-
@JimmyFromTheBay He mentioned to backup your current working image. Then you can always flash that working image back to your SD card if things don't work accordingly. A backup of a working image with no flaws is always recommended no matter if you choose to tinker or not. This way if your image becomes corrupt as well for some reason..you can always be relieved for a backup. :-)
-
@ByteThis Making 256GB diskimages is an extremely non-trivial task. It bedblocks my computer for days at a time. I think I'm actually going to buy an RPi 5 and make a fresh start on that, seems like a good time.
-
Post 2000 reserved
-
@JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@ByteThis Making 256GB diskimages is an extremely non-trivial task. It bedblocks my computer for days at a time. I think I'm actually going to buy an RPi 5 and make a fresh start on that, seems like a good time
I suppose that is the disadvantage of having a larger card, I use a 128GB card and to make a backup takes around 3hrs.
-
@Folly sorry I have been gone for so long! I went back to my pi for the first time in forever today and was going to test out what you asked me to, but first I went to add in a new translation I found for FM Towns Marty, and I discovered that for some reason none of my cd-rom based games are working there anymore. After it didn't work I updated your script to the newest version and it installed a bunch of dependencies, but it didn't fix the issue. I'm getting the following in the runcommand whenever I load a CD-based game, at least in fmtmarty:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1331: 1495 Bus error
I know it was working fine just a couple of months or so ago, so I'm not sure what would've changed
I tried Cameltry (maybe you remember you helped with that weird error on that one) because it is disk-only, and it is still working. So it isn't the FMT Marty system. And all the rom-based systems are still working fine. So it must be something with the CD drive games. Any ideas?
Edit: I see now the same is true for my CD-i and VIS games. So it seems it is all CD games with the script? If I missed some update/problem while disconnected all this time, my apologies!
-
Welcome back!
Looks like you are using a binary that can't cope with CHD files.
It's most likely not due to my script.
There was an issue a couple of months ago if you can remember, see here :
https://retropie.org.uk/forum/topic/35240/solved-mame-and-lr-mess-issues-with-chd-files-1590-bus-errorWhat versions/binary are you using ?
Could be the one I patched forfmtmarty
not showing the annoying message.
If so that could be one that also has that CHD issue.If you have installed from source did you have the latest RetroPie-Setup scripts installed ?
-
@Folly Thank you! I didn't update anything except your script, but that's interesting about the retropie_setup script. I missed whatever happened a couple months ago, probably I was still in Japan.
That didn't seem to fix anything, you think I should now update lr-mame/mame too? It is a shame to lose your cameltry fix and I think you had made something else work too! But c'est la vie.
Edit: Yes I am definitely still using your patched version, I see now more clearly you are saying that had a chd issue. Updating now!
Edit2: That fixed it!! Thank you. How strange it broke without doing any updating. I will add my towns game and then get to your request this weekend, I promise.
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.