Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
It's possible to add an extra install for sc3000 in the EXTRAS section.
OK perfect!
-
@shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly something very strange happened to me with the psionlz emulator.
The first time I launched a game with lr-mess (basename) everything went well, it booted where I chose the language and I arrived in the GUI, everything was fine in short. I go out.
I do the same procedure again and it gives me this message TRAP 5557 5555 and the screen goes blank, I can't do anything anymore.I try again by changing launch mode, I use lr-run-mess, same thing, the first time it works, but from the second onwards the same message on the display TRAP 5557 5555.
I also try again with the mame, same thing, the first time it works, but from the second onwards the same message TRAP 5557 5555.
Tried with lr-mess (dpak1), different error message TRAP 012C CDE6
I tried uninstalling and reinstalling the psionlz system, but nothing, it immediately gives me those errors, what could it be? Any configuration that remains active?
Seems there are issues with the driver.
Found that all psion2 software is marked as not supported in the hash table.
However I could loadassem.zip
.
Though indeed as you said there will be a TRAP message the second time you try.
You can circumvent this by deleting the nvram files.
For lr-mess they are saved in the same folder as the software is, like :
/home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
For mame standalone it will be in :
/home/pi/RetroPie/roms/mame/nvram/psionlz
Sadly no other options right now. -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Seems there are issues with the driver.
Found that all psion2 software is marked as not supported in the hash table.
However I could load assem.zip.
Though indeed as you said there will be a TRAP message the second time you try.
You can circumvent this by deleting the nvram files.
For lr-mess they are saved in the same folder as the software is, like :
/home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
For mame standalone it will be in :
/home/pi/RetroPie/roms/mame/nvram/psionlz
Sadly no other options right now.As for the standalone MAME, actually the nvram was where you said, in fact deleting it worked, however I noticed that the path to the nvram for lr-mess was created here: /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz
not only psionlz but with that strange path I also found spc1000, svi328 and phc25
It seems a bit strange to me, are you saying it's the driver? -
@shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Seems there are issues with the driver.
Found that all psion2 software is marked as not supported in the hash table.
However I could load assem.zip.
Though indeed as you said there will be a TRAP message the second time you try.
You can circumvent this by deleting the nvram files.
For lr-mess they are saved in the same folder as the software is, like :
/home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
For mame standalone it will be in :
/home/pi/RetroPie/roms/mame/nvram/psionlz
Sadly no other options right now.As for the standalone MAME, actually the nvram was where you said, in fact deleting it worked, however I noticed that the path to the nvram for lr-mess was created here: /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz
Is the path :
/home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz
?not only psionlz but with that strange path I also found spc1000, svi328 and phc25
Had a look in the help of RetroArch, might be that these options don't work for newer versions anymore :
-s, --save=PATH Path for save files (*.srm). (DEPRECATED, use --appendconfig and savefile_directory) -S, --savestate=PATH Path for the save state files (*.state). (DEPRECATED, use --appendconfig and savestate_directory)
Then we have to bisect the runcommand.
Although not really not sure, will have to think about that.
Could also be a corrupted retroarch.cfg somewhere.It seems a bit strange to me, are you saying it's the driver?
Believe me, mame is a nice package but has a lot of issues and if far from perfect.
What do you think it would be ? -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Is the path :
/home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz ?yes, exactly that.
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Had a look in the help of RetroArch, might be that these options don't work for newer versions anymore :
-s, --save=PATH Path for save files (.srm). (DEPRECATED, use --appendconfig and savefile_directory)
-S, --savestate=PATH Path for the save state files (.state). (DEPRECATED, use --appendconfig and savestate_directory)If the use of -s and -S are deprecated it could be that some drivers behave strangely, also because, it doesn't do it with everyone, of all the systems I installed only 4 or 5 had this strange problem.
-
@Folly I'm trying the Sord M5 system, however some cassettes require that the basic I from the cartridge be loaded first, I modified a line generated by the script to be able to make those cassettes work, the command line is this:
lr-mess-m5-basic-cass = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/m5/retroarch.cfg --appendconfig /opt/retropie/configs/m5/retroarch.cfg.add -S /home/pi/RetroPie/roms/m5 -s /home/pi/RetroPie/roms/m5 -v -L /opt/retropie/libretrocores/lr-mess/mamemess_libretro.so 'm5 -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/m5/ -cfg_directory /opt/retropie/configs/m5/lr-mess -c -ui_active -cart1 basici -cass %ROM%'"
-
I could use some help with the script.
Seems you might be the one that could help.
Do you have a github account and do you want to help with the script ?Have a look at these lines in the script :
https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scriptmodules-00/supplementary/mamedev.sh#L739-L816These are CSV lines to do the EXTRAS installs.
You can add a custom line for the driver you want.
For example for :- orion128
- sc3000
- m5
If it works then you can do a PullRequest to add the lines to the script.
-
It has taken me a while to proceed with adding stuff.
For now I added the extra install lines fororion128
.
For compatibility I used the hash table names as sub-directories.
The commit is here :
https://github.com/FollyMaddy/RetroPie-Share/commit/928d1ca6e54d5723aa6129df6b9087904d2700fdWill try to do the others when I feel to it.
-
-
Added m5 with cassette support loading basici :
https://github.com/FollyMaddy/RetroPie-Share/commit/0bc737c3c2c8389ea8f29370f1f1263038284404 -
PC-98
@Folly
Which emulator would i use right now for pc 98 games, not counting the default lr-np2kai emulator? Any lr-mess-pc98 or lr-mame-pc98 or just lr-mame or just mame? Any? -
@duglor said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
PC-98
@Folly
Which emulator would i use right now for pc 98 games, not counting the default lr-np2kai emulator? Any lr-mess-pc98 or lr-mame-pc98 or just lr-mame or just mame? Any?I am not sure how good pc98 (pc9801) will run with mame or lr-mess but you can give it a try.
lr-mame is arcade only so lr-mame will not work.
There seem to be more types you can try and there are also pc9821 types.I am not very active right now with RetroPie and my script these days and I want to spend less time on it.
For now I will update necessary things only. -
@Folly Ok . Thank You.
-
Wasn't planning to update the script.
However I discovered some issues due to updates and changes elsewhere.For instance downloading the cheats was broken due to changes in source website.
The python-modules needed to be updated in order to get retroscraper working again, correctly.
I also detected changes that the regular way to get roms didn't work anymore.
Best way seems to get full sets using the "magnet links" manually.
Therefor I added the option now to create hardlinks from files that are in ~/RetroPie/BIOS/mame.
The idea is to get a whole mame-merged set and place it inside ~/RetroPie/BIOS/mame.
Then you know all bios files are there and so there is no need to link them to another folder.
The categorized roms can be hardlinked from the script now, with or without linking clones.
Hardlinking has it's advantages over softlinking.
What is a Hard Link?
A Hard link acts as a copy (mirrored) of the selected file. It accesses the data available in the original file. If the earlier selected file is deleted, the hard link to the file will still contain the data of that file.Advantages of Hard Link :
- It makes efficient use of disc space by avoiding the unnecessary creation of record blocks.
- There is no risk of link breaking as a result of the removal of the actual file(as long as one hard hyperlink survives, the data will persist).
- The speed of Hard Links is fast.
Not sure yet when or if I update to a new mame version.
Updating the database takes a lot of time and there don't seem to be very interesting updates in mame so the plan is to skip updating the database until it gets interesting enough.That is it for now, enjoy !
Edit 1 :
Sadly, Retroscraper still seems to have some issues.
Something for later.
(added an issue : https://github.com/zayamatias/retroscraper-remote/issues/1)Edit 2:
Good to know :
The hardlinks are only created when the file exists in BIOS/mame.
So you can use your own collection without having invalid hardlinks.
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.