Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@Folly @DTEAM @dmmarti
Here are some pictures for my Retropie.
![Pictures](https://ibb.co/k3rgyzQ
https://ibb.co/xSLPgTG
https://ibb.co/9vjVTPn
https://ibb.co/ZGL714N
https://ibb.co/bgcVyK6
https://ibb.co/bWczbyM
https://ibb.co/2WW0yMf
https://ibb.co/XZjcjbk
https://ibb.co/tY7kSpJ
https://ibb.co/phXKtQH) -
@hhtien1408 said in Development of module-script generator for lr-mess and mame standalone:
@folly Sound weird. Do you download the suggested lr-mame nightly I gave you download link? Do you use the same method with me via softlist and cart type chosen? I do not use automatic script just do manually. It should work under Ubuntu. Maybe you miss some points on the road.
I tried as you suggested, but it seems i am missing something here.
Not sure what though.Don't have that much time to try every time, I will try again later.
Btw. how good are you games running ?
-
@folly perfect as it used to be in official MAME. Tested! See some pictures above for fun!
-
Pictures are looking good :-)
Can you check your sha1sums with mine ?
pi@raspberrypi:~/RetroPie/roms/supracan $ sha1sum * d642db0ff9bb4986d62b4676da31e536e9595058 boomzoo.zip 7cc99d26a1a3062fe8869d6d99eb1bd914fb54b0 gamblord.zip 56e71e6f6f8a7ab0eb1af44dbe0eaf9aad8e75a2 jttlaugh.zip 3c3f5ba50a3e3062eb7536168341b8866de858ab magipool.zip 5588e33b23d61781428a9bb953b1d07a3b274501 monopoly.zip ca92963db119fe94455532c2fcb9c76f98ef0eb5 sangofgt.zip 113fc81d6f46a822d73c759dba3dda58397797d8 slghtsag.zip 42e48389323247d9e3806c2fdcbe2aaa1a34a946 sonevil.zip d6712a946b80cb22c4c49b78bb2a29f4408f8ec6 speedyd.zip 0b5ca6c00d9040918afdb60a5af446718426f9d3 staiwbbl.zip
-
@folly If you download from MAME Softlist 0.202 archive, they should be the same. I will check SHA later and tell you results soon.
-
hhtien1408 about 4 hours ago
@folly If you download from MAME Softlist 0.202 archive, they should be the same. I will check SHA later and tell you results soon.@hhtien1408
You don't need to download the softlist. It's already in / opt / retropie / emulators / mame / hash with the latest standalone version of MAME if you updated it.The problem is that MAME points there but not Lr-Mess and maybe also lr-MAME. You need to force them to go there or "cut and paste" the hash files into the appropriate folders for lr-Mess and / or lr-mame (only if you want to use softlists - not an obligation - advantage = cheat codes and MAME artworks).
Do you have sound with your Supracan games.
I have no sound on my side -
@dteam Could you share me your compiled mame standalone you are using to test?
I would like to use script run_mess.sh without using softlist just for my trial.
No sound with all games of supracan system due to emulator even with the lastest official MAME 0.232.
Thanks! -
@hhtien1408 said in Development of module-script generator for lr-mess and mame standalone:
@dteam thanks a lot. Could you share me your compiled mame standalone you are using to test? Thanks!
Now, I'm using MAME 0.229 on my Pi4 (usually, I update it from source). If I do the update, it will be
0.3320.232 probably. -
@dteam 232 not 332. Could you share me your current version?
-
@hhtien1408
sorry my mistake. My current version is MAME 0.229 -
For Datach, I'm able to run it with those lines:
mame-system-nes_datach-cart = "/opt/retropie/emulators/mame/mame -v -c nes datach -cart2 %ROM%" mame-system-nes_datach-cart-autoframeskip = "/opt/retropie/emulators/mame/mame -v -c -autoframeskip nes datach -cart2 %ROM%"
I'm not able to run it with Lr-Mess and softlist for now
-
@dteam said in Development of module-script generator for lr-mess and mame standalone:
nes datach
Perhaps I will try and implement this in the 2v2 version.
I already have done some work on 2v2.
There are many thing I want to change or add in this version.Also adding just lines for specific systems.
Problem, for now, is that the if functions are at the moment coming inside the generated module-scripts.
I want these if functions outside the generated module-scripts. Perhaps I can find a way.
This can be done in a similar way fornes detach
, I think.Perhaps
nes detach
will work on lr-mess with my discovered lr-mess direct line.
Maybe I will have some time to test that.We will have to see how it goes.
edit:
The mame lines work for me too.
Tested some experimentallr-mess direct
lines, not working right now. -
I got it working with lr-mess.
The trick was, it has to find the hash tables !
Otherwise it won't work.I had a look in the the original lr-mess module-script.
Hash tables for lr-mess have to be in/home/pi/RetroPie/BIOS/mame/hash/*.xml
.
It seems lr-mess looks for them in that directory.
I created a link from : /opt/retropie/emulators/mame/hash
Copying will also work, I think.Then I used a direct lr-mess line, which I plan to add in 2v2.
This is the modified one for nes_detach :
lr-mess_nes_datach = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/nes/retroarch.cfg -v -L /opt/retropie/libretrocores/lr-mess/mess_libretro.so 'nes datach -cart2 %ROM%'" -
@folly
To play those games (Datach) you must enter barcodes. If you go in UI Mame menu in Barcode Reader. Go in "new barcode" . Enter the code with your keyboard and after, go down to "Enter Code" and press enter or B button. Your barcode will be activated. -
Ok, that worked in lr-mess.
Seems we have to do a lot of translation with RetroArch if we want to play.
I have already add that in 2v2.
The generated module-script will add it if it's not there.Still, I have to work on the naming of the runcommandlines, though.
I had improved it a bit, but I am not satisfied and I have an issue because if the name in emulators.cfg doesn't begin withlr-
the required dev/shm/retroarch.cfg for the libretro-core is not loaded.
So I have to take a second look at that. -
Like
datach
there seems to be also a :- ade
- kstudio
- ntbrom
Tried a few things, but can't get it running.
-
@folly
i'm working on a gamelist.xml for Datach -
@dteam said in Development of module-script generator for lr-mess and mame standalone:
@folly
i'm working on a gamelist.xml for Datachhere's the new gamelist.xml with media for Datach
It's better than I thought. Don't be fooled by the quality of my photos. It's better than they appear
-
Really nice gamelist !
Using the name "nes_datach" is really appropriate, but I am not so sure how to implement this into the script.
I have been trying to extract some info about "nes_datach".
Not sure if I can use this in the script, but with this command I can extract these :/opt/retropie/emulators/mame/mame -listfull | grep slot | grep nes nes_cart_slot "NES Cartridge Slot" nes_ntb_slot "NES NTB Cartridge Slot" nes_ade_slot "NES Aladdin Deck Enhancer Cartridge Slot" nes_datach_slot "NES Datach Cartridge Slot" nes_ks_slot "NES Karaoke Studio Expansion Slot"
nes_cart_slot -> normal cartridge slot
nes_ks_slot -> not a cartridge but an expansion slot
( not really sure how to add some slots, because we have different types and names ! )With this command we can list all slots of all systems, perhaps we can find something interesting with this :
/opt/retropie/emulators/mame/mame -listfull | grep slot
We can also use this plain command or using it with adding a system :
/opt/retropie/emulators/mame/mame -listslots
This link shows some examples with Amstrad cpc6128 :
https://wiki.mamedev.org/index.php/Driver:AmstradHere they show how to add an extension, but with nes
-exp
wasn't recognised.Just like the
-listmedia
option, using this :/opt/retropie/emulators/mame/mame -listslots nes
Will reveal that you can use the
-nes_slot
option. ( I don't know what parameter to add, though )Well I stop for now with the information.
It's nice knowing, a bit, how this structure works. -
@dteam Fucking awesome. Thanks for your sharing images and video scraped for gamelist!
Which theme can I apply for? Carbon?
Could you send me system theme and loading screen for Datach? If possible, the whole theme you are using? I am very impressed by your theme!
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.