Development of module-script generator for lr-mess, lr-mame and mame standalone
-
Seems someone is down-voting posts.
That is not the way to go if you don't agree with something.
Write posts and try to convince people otherwise and help with developing the project ! -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Seems someone is down-voting posts.
Can you tell me which posts have been downvoted and which user ? Is it in this topic ? I'll take a look.
EdiT: @Folly are you sure it's not some user error ? One of the downvotes is yours and I think the other one that I've seen in the last 10 replies here is also an user error.
-
@mitu 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 someone is down-voting posts.
Can you tell me which posts have been downvoted and which user ? Is it in this topic ? I'll take a look.
Post 2262, haven't seen the user info in my environment.
EdiT: @Folly are you sure it's not some user error ? One of the downvotes is yours and I think the other one that I've seen in the last 10 replies here is also an user error.
Ok, good to know I will restore my downvote.
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Post 2262, haven't seen the user info in my environment.
Can you give me the permalink ? Click on the post's hamburger menu and choose Copy permalink, then post it here.
-
@mitu 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:
Post 2262, haven't seen the user info in my environment.
Can you give me the permalink ? Click on the post's hamburger menu and choose Copy permalink, then post it here.
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
I think that's a user error here, from @roslof. Either way, I think it's just a singular occurence, not a recurring patern.
-
@mitu 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:
I think that's a user error here, from @roslof. Either way, I think it's just a singular occurence, not a recurring patern.
Ok, thanks for looking at it.
Then we are all good here. ;-) -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Ok, thanks for looking at it.
Then we are all good here. ;-)Saw the mention. Fixed the inadvertent downvote.
Cheers -
@roslof 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:
Ok, thanks for looking at it.
Then we are all good here. ;-)Saw the mention. Fixed the inadvertent downvote.
CheersThanks for restoring !
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
I added code for detecting here and here.
I removed the Elektronika drivers from classich.ini here.
I added elektronikah.ini here.I think this is the way to go.
Thanks for the list, i'll create a system for those games in my theme. Most of those games have a great "MAME's artwork" such as Game & Watch.
-
@DTEAM 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:
I added code for detecting here and here.
I removed the Elektronika drivers from classich.ini here.
I added elektronikah.ini here.I think this is the way to go.
Thanks for the list, i'll create a system for those games in my theme. Most of those games have a great "MAME's artwork" such as Game & Watch.
Indeed great artwork.
Not sure if there are backgrounds in the artwork otherwise a rename is appropriate for lr-mess compatiblility.
If so I think I will have to add elektronikah in my script for extracting backgrounds and creating game specific configs.
Well that can be done later when we know how all the games look.I am experimenting with the command awk to see if I can build the database quicker and better.
It's basically a program for manipulating text and the basics I know but it is also a sort of program language, I never knew.
Seems much more powerful with that.
You might want to read the manual too, see link.Here is one nice example :
#print driver/description/manufacturer from -listxml using 3 field delimiters <>", all on one line /opt/retropie/emulators/mame/mame -listxml atakaast|awk -F '[<>"]' '/<machine name/ || /<descr/ || /<manu/ {nlines = nlines + 1} /<machine name/ || /<descr/ || /<manu/ {if (nlines <= 3) total = total $3 " "}END{print total}'
Output is :
Driverâ–¡atakaastâ–¡Ataka asteroidovâ–¡bootleg (Elektronika)â–¡:Normally I use -listdevices to get the driver and description.
I get the others, such as manufacturer, with -listxml.
With above you should be able to extract the same without using -listdevices but with more added info like explained, the manufacturer.
I think it would also be possible to add certain info as tags without even creating an ini in the first place.
After creating a list for all drivers you can sort much quicker on certain manufacturers or use it as a presort for the old method of creating ini's quicker as you don't have to check all 30000 drivers for specific ini's.
Then you do a presort on manufacturers from the created list and use these +/-25 drivers to check if they are valid which saves a lot of time. -
Hi Folly, I can't find these three artworks files for the wallpaper/background and system. Have you seen a place where we can download them?
-
Will have a look at these artwork files.
BTW.
Just to let you know I have some basic awk script stuff running.
It was a bit of getting used to but until now it's awesome and I am really impressed by it.
This is what it already gives when adding the driver as option ::~/awk$ bash awk.sh nupogodi Driverâ–¡nupogodiâ–¡Nu, pogodi!â–¡bootleg (Elektronika)@good@elektronikah@ :~/awk$ bash awk.sh tapollo13 Driverâ–¡tapollo13â–¡Apollo 13 (Tiger)â–¡Tiger Electronics@good@tigerh@ :~/awk$ bash awk.sh jak_disf Driverâ–¡jak_disfâ–¡Disney Friends (JAKKS Pacific TV Game, Game-Key Ready) (17 MAY 2005 A)â–¡JAKKS Pacific Inc @imperfect@jakks_gamekey_dy@jakks@ :~/awk$ bash awk.sh bassmate Driverâ–¡bassmateâ–¡Bassmate Computerâ–¡Telko @good@gameandwatch@ :~/awk$ bash awk.sh gnw_ball Driverâ–¡gnw_ballâ–¡Game & Watch: Ballâ–¡Nintendo@good@gameandwatch@ :~/awk$ bash awk.sh kgradius Driverâ–¡kgradiusâ–¡Gradius (handheld)â–¡Konami@good@konamih@ :~/awk$ bash awk.sh uboat Driverâ–¡uboatâ–¡U-Boatâ–¡Bandai@good@classich@
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.