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:
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. -
@Folly, I know it's been forever, but randomly today I discovered the existence of a system I had never heard of before, the Elektor TV Games Computer. It seems this is emulated (though "imperfectly") on mame, and I was able to install it with the script. To my surprise, at least from here it seems there were many, many games, but I don't see a software list mame set by that name. Just wondering if you have heard of it or ever gave it a try?
Hope all else is well!
-
Hi @bbilford83,
Interesting :-)
I will have a look too, if I can. -
Doing this command revealed that it can use the vc4000 software list :
/opt/retropie/emulators/mame/mame -listsoftware elektor
(I used the terminal from within Desktop mode and made sure that I could scroll back at least 4000 lines in the terminal)
This wiki shows more info.
Saw that these games will indeed run however the
elektor
seems to differ from thevc4000
as keybindings concerned.There don't seem to be software lists for cassettes and quik load.
For quik load I found .tvc files on the internet.
They seem to work but whenever I try to start the game I get some sort of input line or lines.
So you seem to have to find out what key you have to use in order to run the game properly.
Sadly, I did not find yet.Could not find any cassette files on the internet either.
There are some docs on the internet archive that possibly can explain how you have to use this TVGC.
-
@Folly thank you! It's interesting, there is a MAME software list set for VC4000 and it has 37 games in it, which seems to match the 40 games (with three unreleased) listed on wikipedia for VC4000. They are all zipped bin files. But even though the Elektor is described as able to run these games with an added "cartridge slot," it seems like the Elektor somehow still had its own games before the VC4000 existed. The wikipedia page for the Elektor says "Many VC 4000 games were adapted versions of TV Games Computer games" which wouldn't make sense if there weren't some (non-cartridge?) games that existed first on the Elektor.
Re: the inputs/mapping, it seems like the Elector controller (which I can't find a picture of) didn't have the "keypad" buttons that the VC4000 had. Probably the better way to go about it is to just install the VC 4000 and try the games that way, but it does seem odd there is no way to play whatever "Elektor-only" games it had.
I'm solo parenting for the week but may try to mess around with this a bit over the next few days.
-
@bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly thank you! It's interesting, there is a MAME software list set for VC4000 and it has 37 games in it, which seems to match the 40 games (with three unreleased) listed on wikipedia for VC4000. They are all zipped bin files. But even though the Elektor is described as able to run these games with an added "cartridge slot," it seems like the Elektor somehow still had its own games before the VC4000 existed. The wikipedia page for the Elektor says "Many VC 4000 games were adapted versions of TV Games Computer games" which wouldn't make sense if there weren't some (non-cartridge?) games that existed first on the Elektor.
Re: the inputs/mapping, it seems like the Elector controller (which I can't find a picture of) didn't have the "keypad" buttons that the VC4000 had. Probably the better way to go about it is to just install the VC 4000 and try the games that way, but it does seem odd there is no way to play whatever "Elektor-only" games it had.
Good thinking,
Seems like these games aren't added in the software-list.
There are more systems that don't have that.
I think it due to how much time and effort the mame dev's can, are willing and are able to put into it.
Not sure enough, but I think I also read in a doc from the archive that many program listings have been lost over time.I'm solo parenting for the week but may try to mess around with this a bit over the next few days.
Let me know if you find some more info about this.
Have you found the .tvc to try ? -
I found quite some stuff.
It seems to be hit or miss.
Search for "elektor amigan".
pro files can be loaded as cart (you might have to rename to bin)
tvc files can be loaded as quik
Helicopter seems to work ok.
Stuff for the enhanced version don't seem to work.Edit:
There is a list called ess.txt which contains the start adres of the programmes.
For example :
09-D Raster Raster $08C0-$0FFF $0900 E YesFound in the doc's that when you press "p" you will view that start adres.
If not then you can enter that start adres.
After that you press the "up" key to start the program.
I had to use another key to get Raster going, not sure yet which one but Raster began to run and I used the "-" key to shoot the green box.I have made a key-layout picture.
The right part is like a numpad and seems to be used for controlling the directions in a game.
For RocketShooting A=up,2=down,5=left,7=right,6=shoot
This should be the solution to get more working.
Conclusion for me is that you have to read the documents thoroughly to understand this computer in order to play with it.
-
@Folly Thank you very much for jumping in, doesn't seem as straightforward as I would hope. But I didn't know about the Interton VC4000 before and since that has a mame software list I may try to get that working and add a gamelist to my shared gdrive folder. Seems much more straightforward control-wise too.
-
Indeed, good choice to begin with !
-
@Folly I've been searching around trying to find the answer, but figured you'd be a good one to ask... if I'm wanting to try to get CD-I up and running on a Pi 5 build, where is a good place to start now?
I haven't seen anyone mention this in a while and I'm not sure how outdated some of the previous information is.
-
@TPR said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly I've been searching around trying to find the answer, but figured you'd be a good one to ask... if I'm wanting to try to get CD-I up and running on a Pi 5 build, where is a good place to start now?
I haven't seen anyone mention this in a while and I'm not sure how outdated some of the previous information is.
You can use my script and install
cdimono1
.
3 patches are installed to get it working like it should.
Info is displayed so you can read what they do.
However there is no guarantee it will work for you.Second option is to use the module-script lr-same_cdi.
The module script is here now (removed it from my repository):
https://github.com/Exarkuniv/RetroPie-Extra/tree/master/scriptmodules/libretrocores
lr-samecdi is a patched lr-mess with only the cdimono1 driver compiled.
It has been a while since I used that, so not sure if it will work better than regular mame and lr-messCan you tell me know what works best ?
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.