Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@jamrom2 said in Development of module-script generator for lr-mess and mame standalone:
@folly that was it... the rom path was wrong.
Ok. I'll keep that in mind so I get all the file locations correct.
The directory is created when you install the system.
Just look for it and then place you files in it.Btw.
Here you can finfd the .xml files (hash tables) :
/opt/retropie/emulators/mame/hash
Just peek into them, and you know what I meant in post 766 -
I just added a new version to my repository.
We can use this for testing and improving.
I will keep test8 in post 1 for now !Now that the front-end is quite stable I will stop giving it a test-nr.
And, because the generator-script being also part of the front-end It's better to use that version number now, which is 2v4.
That way the version numbers are equal of both front-end-script and generator-script.The update consist of :
- generating smaller "emulator.cfg runcommand-line names" for the autoboot lines (otherwise they were to large to display properly in the dialog box)
- improving the function names
- improving the menu names
- adding a section for autoboot install lines
- adding the first dragon32 autoboot lines
- a cload line (semi-automatic)
- a cloadm:exec line (full-automatic)
So now we are able to add some more autoboot lines after testing.
front-end (with generator-script included):
https://github.com/FollyMaddy/RetroPie-Share/tree/d1d3bb592cfa10be44c0c3e171d8a30b5ee2055a/00-workdir-00/add-mamedev-systems-2v4.shgenerator-script :
https://github.com/FollyMaddy/RetroPie-Share/tree/d1d3bb592cfa10be44c0c3e171d8a30b5ee2055a/00-scripts-00/generate-systems-lr-mess_mame-2v4.shExample of generating a module-script with an autoboot addon :
$1=system $2=RPsystemName $3=ExtraPredefinedDevice(s) $4=mediadescription $5=media $6=extension(s)
(above are the options that can be added, separated by a space)
(the ExtraPredefinedDevice(s) are seperated by a *)bash generate-systems-lr-mess_mame-2v4.sh dragon32 dragon32-autoboot-cloadm -ext*ram*-autoboot_delay*2*-autoboot_command*cloadm:exec\\\\\\n cassette cass .wav*.cas
Afterwards the generated module-script can be installed/de-installed in the RetroPie-Setup.
-
@folly said in Development of module-script generator for lr-mess and mame standalone:
latest front-end (with generator-script included):
https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-workdir-00/add-mamedev-systems-2v4.shI tested this one and it works great !!
-
Thanks.
Do you like how I changed the menu items ?
I am thinking also of changing "slotdevices" into "extra options" to be more global of what we add and perhaps it's better to understand.
Then the variable "ExtraPredefinedDevice" should be named "ExtraPredefinedOption(s)".
What do you think about that.I have been playing a bit with http://adb.arcadeitalia.net/lista_mame.php .
I was thinking of using it to sort our database into arcade and non-arcade.I am hoping to find an easy way of extracting and implementing so we can use the solution over and over again.
I did some test it's already possible to match the arcadecab ones with our data.
But I am still on mame 0233 and data 0234, so perhaps, if we can, it's best to start when we have our mame and database on 0236.
That way we get the best match.
And perhaps we can even split it into genres, like they do, this can be done the same as with the arcadecab only.Only problem I have is to how to get the non-arcade.
The idea is to get the differences between the total database and the arcadecab database. I tried a few diff programs but getting only the differences seems not possible.
So I have to experiment with that. -
@folly said in Development of module-script generator for lr-mess and mame standalone:
@dteam
Thanks.
Do you like how I changed the menu items ?Yes . great work . Only one thing, is it doable to create a submenu to download images/videos/marquees with gamelist.xml per system ?
I am thinking also of changing "slotdevices" into "extra options" to be more global of what we add and perhaps it's better to understand.
Good idea . You should explain that in the tuto
Then the variable "ExtraPredefinedDevice" should be named "ExtraPredefinedOption(s)".
What do you think about that.Good idea, maybe you should explain that in the tuto also
I have been playing a bit with http://adb.arcadeitalia.net/lista_mame.php .
I was thinking of using it to sort our database into arcade and non-arcade.
I am hoping to find an easy way of extracting and implementing so we can use the solution over and over again.
I did some test it's already possible to match the arcadecab ones with our data.
But I am still on mame 0233 and data 0234, so perhaps, if we can, it's best to start when we have our mame and database on 0236.
That way we get the best match.
And perhaps we can even split it into genres, like they do, this can be done the same as with the arcadecab only.
Only problem I have is to how to get the non-arcade.I had found a link to show the split. I'll try to found it again.
The idea is to get the differences between the total database and the arcadecab database. I tried a few diff programs but getting only the differences seems not possible.
So I have to experiment with that.NEW EDIT: here: https://www.progettosnaps.net/renameset/
you have a file category.ini (0.236) (always up to date) . Inside, you have a file named arcade.ini and one mess.ini. Everything is there to do the split.
-
Thanks for the feedback.
I will have a look at it If I can use or implement some things.
category.ini (0.236) looks good !
-
@folly I'm happy to test this as well...
Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?
I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.
-
@jamrom2 said in Development of module-script generator for lr-mess and mame standalone:
@folly I'm happy to test this as well...
Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?
Yes, if you want to, that would be great.
No need to de-install things.
Just remove the oldadd-mamedev-systems.sh
and replace it by the new one in :
/home/pi/RetroPie-Setup/scriptmodules/supplementaryI will give you a sign when I upload the next one !
I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.
Perfect !
-
I just uploaded the files.
https://github.com/FollyMaddy/RetroPie-Share/tree/9c10b1288f264f8c9f36ba691df0b24c548f2494/00-workdir-00/add-mamedev-systems-2v4.sh
(edit for those who don't know : right-click on raw and save as)Btw.
No need to do the source install of mame.
When you install the binary you are on mame0236.Here you can see what I updated :
https://github.com/FollyMaddy/RetroPie-Share/commit/72cc916784d1bf0b57477c3f85209409dae695e9
https://github.com/FollyMaddy/RetroPie-Share/commit/9c10b1288f264f8c9f36ba691df0b24c548f2494 -
When you are busy with the gamelists.
Can you check for me if they are added correctly when you add them to the google-drive ?
The script should detect the new ones and add them in the list. -
Hello what is name of bios file for arcade game sega model 1. I want play game arcade: arabian fight, f1 exaust, radrally. If i run this games with lr-mame i have error driver model1 not found.
-
@folly said in Development of module-script generator for lr-mess and mame standalone:
@jamrom2 said in Development of module-script generator for lr-mess and mame standalone:
@folly I'm happy to test this as well...
Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?
Yes, if you want to, that would be great.
No need to de-install things.
Just remove the oldadd-mamedev-systems.sh
and replace it by the new one in :
/home/pi/RetroPie-Setup/scriptmodules/supplementaryI will give you a sign when I upload the next one !
I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.
Perfect !
OK, I'll test this tomorrow.
-
@isidoro80 said in Development of module-script generator for lr-mess and mame standalone:
Hello what is name of bios file for arcade game sega model 1. I want play game arcade: arabian fight, f1 exaust, radrally. If i run this games with lr-mame i have error driver model1 not found.
For Model1 try this:
model1io
model1io2But for those games, you can use lr-fbneo. You need Sega system 32 , not model 1
see: https://retropie.org.uk/forum/topic/19741/goodbye-fbalpha-welcome-fbneo/300
According to that link some games work better with lr-mame2016
-
Just tried the script... I get this. I'm not surprised I have an issue. My build seems to have issues with everything... I ask it to make a ham and cheese sandwich and I get a reply "with what?". Lol.
Is it asking for something I don't have? Your test script worked without an issue.
-
@jamrom2 You downloaded the file wrong, you need to click the 'Raw' button on the Github interface first. You downloaded the HTML page, which is - obviously - not a valid
.sh
script file. -
@dteam hello I put the bios in the folder / bios / mame and roms / arcade but still lr-mame gives me the same error. i can try the other emulatoelri but i prefer to use mame.
-
@mitu
yep... that was it...So it's ham, bread, cheese, bread, mustard to make a Ham and Cheese... man...I'm bad at this.
Thanks as always for your all-seeing eye.
-
@isidoro80 said in Development of module-script generator for lr-mess and mame standalone:
@dteam hello I put the bios in the folder / bios / mame and roms / arcade but still lr-mame gives me the same error. i can try the other emulatoelri but i prefer to use mame.
You should always check your /dev/shm/runcommand.log after you tried to run a game.
If there isn't enough information then you have to press a key just before the game boots.
This will get you in the retropie-boot-dialog.
Choose thelaunch with verbose
option.
Then check your /dev/shm/runcommand.log again after you tried.I would advise you to make a new help thread for your problem.
Describe a bit better, what game, from what system, you want to run and, with which emulator.
It seems you mix a lot of things up.
Also describe if you want to do it the regular way or using this project.Please also read the docs thoroughly :
https://retropie.org.uk/docs/Arcade/ -
maybe because I don't write well in English. I believe my problem is consistent with this post. I have installed lr-mame and would like to play the segamodel 1 games emulated by lr-mame. one of these is arabian fight and another is f1 exaust. I read the game log and despite having installed the bios in the correct directories I read as an error: model file not found. essentially the bios are missing. I have installed the bios Model1IO.zip, Model1IO2.zip, M1COMM.zip, HD44780_A00.zip but i can't play games. the question is this. can anyone play arcade model 1 games with le-mame?
-
Problem might not be the BIOS files... it might be that the ROMs you are using are not correct to the version of MAME you have loaded.
What version are the ROMs from? They have to match the version of MAME correctly in order to work. They change/merge ROMs often between version of MAME so everything must match.
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.