Creating ES gamelists with media for MAME/lr-mame/lr-mess
-
@Folly Thanks for the email will check :-)
-
I think you don't understand how mame works.
And indeed it's difficult, have a look here :
https://docs.mamedev.org/commandline/commandline-all.htmlThe basename variable is the filename without extension and without path.
So when selecting the file in emulationstation, and using a basename loader, only the filename without the extension is entered in the loader. (%BASENAME%)
The paths are in the mame.ini or already in the loader.
So mame will check the paths and if the same basename is in the hash table it will know that it has the correct rom and run the known file accordingly.
That is called softlist loading.
However if you use the original mame loader this approach will only work if you have the path in the mame.ini as described here :
https://retropie.org.uk/forum/topic/28462/tutorial-handheld-and-plug-play-systems-with-mame
Otherwise you have to use our project :
https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-lr-mame-and-mame-standaloneWhen using, for example the cart loader, then the whole path and filename with extension is send to the loader (%ROM%).
Though the original loader in RetroPie doesn't have the extra options -cart or -flop etc.
So that will also only work with our project.Hope you understand my explanation.
-
@Folly I'll have an in-depth look on my next stop at the toilet zone. But I think I understand that actually for these 'special' mame roms, more parameters are needed which are not catered for by RetroPie, is this correct? So your script will basically fecth the softname and launch the mame emulator with all needed parameters, am I on the right path?
This is ok, but then it conflicts with any scraper, since a scraper will rely on the filename to grab the information... I need to look into your script and see how we can marry both concepts.
Ideally, the scraper should create your gamelists and at the same time allow for launching your games as if it was using your script ...
Nice challenge!
-
@kiro said in Creating ES gamelists with media for MAME/lr-mess:
I remember something from the beginning with using philips-cdi.
It would only work if the correct cdimono1 path was in the roms directory.Read the old stuff from line 77, I think you mean something like this placing everything in the correct path when using the original stuff :
https://github.com/FollyMaddy/retropie-philips-cdi-tools/blob/master/retropie_philips_cdi_setup.sh
Though I remember that when mame updated some of these tricks didn't work anymore.
So that's when we began to work on it differently to get things running in a different way.@Folly I'll have an in-depth look on my next stop at the toilet zone. But I think I understand that actually for these 'special' mame roms, more parameters are needed which are not catered for by RetroPie, is this correct? So your script will basically fecth the softname and launch the mame emulator with all needed parameters, am I on the right path?
Correct.
You can always see how the loading process goes by checking the /dev/shm/runcommand.log ( with verbose (with my loaders standard on on) )This is ok, but then it conflicts with any scraper, since a scraper will rely on the filename to grab the information... I need to look into your script and see how we can marry both concepts.
The filename will still be the same in both situations only the path could be different.
Ideally, the scraper should create your gamelists and at the same time allow for launching your games as if it was using your script ...
Well, lets say the loaders my script created.
Loading doesn't run though my script.
Only the run_mess.sh script for lr-mess from valerino when selected, but I don't use that anymore.
And if used it should not be a problem.Nice challenge!
I think it's not that difficult, it's basically the same with tigerrz.
-
The question is how are you using mame in retropie ?
-
@Folly With the default installation to be honest, running lr-mame, it runs most of the games I believe... in my laptopt, which I use for testing my scraper, all roms are under the same directory, but on my arcade machine, I've divided roms by system, still running under lr-mame (or a subvariant if the first option is not working).
for example:
<game> <rating></rating> <name>'88 Games</name> <marquee>/home/pi/RetroPie/roms/arcade/marquees/88games-marquee.png</marquee> <image>/home/pi/RetroPie/roms/arcade/images/88games-image.png</image> <publisher>Konami</publisher> <releasedate></releasedate> <players></players> <video>/home/pi/RetroPie/roms/arcade/videos/88games-video.mp4</video> <genre></genre> <path>/home/pi/RetroPie/roms/arcade/88games.zip</path> <developer>Konami</developer> <thumbnail/> <desc>Konami '88 (also known as '88 Games or Hyper Sports Special) is the third in the Track & Field game series by Konami, where you test your Olympic skills against other world-class athlet es. As the name implies, it is loosely based on (and not licensed by) the 1988 Summer Olympics in Seoul, South Korea. Bronze or silver medals are not good enough - you have to go for the gold to get to t he next event. However, you must at least qualify in each event in order to compete in the next event.</desc> <playcount>0</playcount> <lastplayed>0</lastplayed> </game>
-
apfm1000 roms are non-arcade which means it has to be loaded with lr-mess or mame standalone.
Normally it could load with lr-mame also but in retropie it's created to run arcade drivers only. -
@Folly Ahhh you learn something new every day :-) I must admit that I do not play much but rather tinker a lot... looking into lr-mess right now :-)
Oh! Testing time :-) Thanks for all of this! -
When lr-mess is installed arcadia and coleco roms directories are created.
You should be able to run the apfm1000 roms from these roms directories.Just advise you to take a look at our module-script add-system-mamedev.sh in the future.
-
@Folly My setup is customized too much, si I have enabled lr-mess as emulator for 'arcade' so it should work... testing/gaming night it seems :-)
-
good luck !
-
@Folly well it seems that a lot of the games are running directly under lr-mess default setup. Need to investigate what your script does :-)
-
-
not sure is these are useful (my scrapes i made) for odd systems as i go using mame/mess when they don't exist
they aren't perfect and i don't do video with but i always feel better some scrapes then none at all
here are a few if you want them
pv2000
https://mega.nz/folder/fTIBEaLD#bbwLzx6NmKZLoOsaG80YTQ
Sord M5
https://mega.nz/folder/SWw1EDLR#NZ2DO_b5ERRbcPhWDp_AFA
Gameking
https://mega.nz/folder/DXJQBaRL#phsCHXmFRTu8mAYIvsddswI'll have to sort through and see if there are others if anyone's interested in them
hope this is some help -
Thanks for sharing.
I am looking now at the m5, did not check all of it yet but I see already that some games are recognised.
That's a good thing.What we want here is to make some standardised gamelists, if possible, so :
- the path structure is somewhat the same
- support for both .zip and .7z
- all/most, mame files, of that particular system, is added
- and, if possible, videos and more info is added
- to be shared with others via goodle-drive link and also to download in the add-systems-mamedev.sh frond-end
- share/read into the retroscraper of @kiro so we are also able to scrape these games with retroscraper
So it's probably the best thing to share a few gamelists and then discuss improving them.
If we all agree that they are good enough then we should add it to the google-drive and read to improve retroscraper.
Does that make sense ? -
@Folly yes that's fine
I'm ok with that
usually since I do them alone, I do "short cuts" to finish, while it's an improvement over having nothing, I do understand there is room for improvements for sure
and just so you know if you choose not to add that is ok by me too and yes what you stated makes sense. -
Sharing others, later, is fine by me but I have to restrict it a bit otherwise it will be too much working on them all together you see ;-)
If I have the time I will begin with m5.
-
I checked the m5 and I see that the games in the game-list are from the m5_cart.zip.
It's probably the best to do only these cart games as they are "plug and play" without entering commands.Though there are quite some games missing, seems only 1/3 of the games are in the game-list.
Have you tried to scrape all games from the m5_cart.zip ? -
@DTEAM said in Creating ES gamelists with media for MAME/lr-mame/lr-mess:
I finalized "classich". I have deleted some images because it was a handheld picture over a handheld video (artwork) and it was ugly.
8 videos are missing :
Chicky Woggy (Table Top)
Donkey Kong Jr (Tabletop Coleco)
Donkey Kong Jr (Tabletop Nintendo)
Hippo Teeth (Sporty)---> missmatch video
HotLine (Mini)
HotLine (Sporty)
Packri Monster
Snoopy (Tabletop)I tried to make videos, however most .mgw games have a resolution that is not divisible by 2 for which recording is not supported by retroarch.
Tried to alter resolutions but to no avail, it keeps crashing.
Probably the reason why there are no videos for these games.
Will have to think about recording it in an other way. -
@Folly the pack I found didn't have a lot you're saying there are more lol I'll have to maybe search more out; I think 3 I skipped as I couldn't get past loading to "play" but the scrapes and game list made by me there aren't scrapes for this system that I found
-
More info can be found here :https://github.com/mamedev/mame/blob/master/hash/m5_cart.xml
Try the mame-sl set.
-
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.