Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@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! -
@dteam said in Development of module-script generator for lr-mess and mame standalone:
@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.For your reference about Datach Barcodes for Dragon Ball and other games in this system
https://retrostuff.org/2014/02/14/bandai-datach-barcodes-for-mess/
For other Datach games, scroll down to the end (Related posts)
https://mamedev.emulab.it/etabeta/2014/02/12/barcode-scanning/ -
@folly said in Development of module-script generator for lr-mess and mame standalone:
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.English translation rom? Where to download? Or you use IPS patch?
-
@hhtien1408 said in Development of module-script generator for lr-mess and mame standalone:
@folly said in Development of module-script generator for lr-mess and mame standalone:
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.English translation rom? Where to download? Or you use IPS patch?
All info is in this thread, you should use this post :
https://retropie.org.uk/forum/topic/28461/translate-games-on-the-fly/10
Add the lines to your /opt/retropie/configs/all/retroarch.cfgIf a libretro-core is used you can press the hotkey "t" and things will be translated on the fly.
Press again and, if all goes well, you can play further.
For security, you could make a saving before translating if that's possible.Edit :
Read from here to use the joystick to translate the picture :
https://retropie.org.uk/forum/topic/28461/translate-games-on-the-fly/25 -
@hhtien1408 said in Development of module-script generator for lr-mess and mame standalone:
@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!You can manually download those here :
https://drive.google.com/drive/folders/1f_jXMG0XMBdyOOBpz8CHM6AFj9vC1R6m
You can place them in :
~/RetroPie/roms/nes_datach/gamelist.xml
~/RetroPie/roms/nes_datach/media.................etc -
@hhtien1408 said in Development of module-script generator for lr-mess and mame standalone:
Which theme can I apply for? Carbon?
You can use my cygnus_modified theme and copy & paste my es_systems.cfg in your /opt/retropie/configs/all/emulationstation folder
see:
https://drive.google.com/drive/folders/1bfuYF7Ij_dhNc9b8bVCS6I22XiEmP7rv
For Carbon, you must add a logo by your own
-
-
@folly said in Development of module-script generator for lr-mess and mame standalone:
Will reveal that you can use the -nes_slot option. ( I don't know what parameter to add, though )
Is It the same thing for MSX?
-
@dteam said in Development of module-script generator for lr-mess and mame standalone:
@folly said in Development of module-script generator for lr-mess and mame standalone:
Will reveal that you can use the -nes_slot option. ( I don't know what parameter to add, though )
Is It the same thing for MSX?
It seems to work.
For moonsound I added theyrw801.rom
from openmsx tomsx_moonsound.zip
so it loaded the second time.
Option-centronics
seems to work also.I hope you see the picture here. ;-)
pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listslots hbf700p SYSTEM SLOT NAME SLOT OPTIONS SLOT DEVICE NAME ---------------- ---------------- ---------------- ---------------------------- hbf700p centronics ap2000 Epson ActionPrinter 2000 chessmec The ChessMachine EC covox Covox Speech Thing covox_stereo Covox (Stereo-in-1) ex800 Epson EX-800 lx800 Epson LX-800 lx810l Espon LX-810L p72 NEC PinWriter P72 pl80 COMX PL-80 printer Centronics Printer samdac SAMDAC cartslot1 bm_012 MSX Cartridge - BM-012 moonsound MSX Cartridge - MoonSound cartslot2 bm_012 MSX Cartridge - BM-012 moonsound MSX Cartridge - MoonSound fdc:0 35dd 3.5" double density floppy drive 35ssdd 3.5" single-sided double density floppy drive pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame hbf700p -cartslot1 moonsound yrw801.rom NOT FOUND (tried in msx_moonsound hbf700p) Fatal error: Required files are missing, the machine cannot be run. pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame hbf700p -cartslot1 moonsound #ok after adding the rom ! Average speed: 94.10% (59 seconds) pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame hbf700p -cartslot1 bm_012 midi_v1.00.u4 NOT FOUND (tried in msx_cart_bm_012 hbf700p) Fatal error: Required files are missing, the machine cannot be run. pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame hbf700p -centronics chessmec 74s288.1 NOT FOUND (tried in chessmachine hbf700p) 74s288.2 NOT FOUND (tried in chessmachine hbf700p) 74s288.3 NOT FOUND (tried in chessmachine hbf700p) 74s288.4 NOT FOUND (tried in chessmachine hbf700p) Fatal error: Required files are missing, the machine cannot be run.
I tried to load moonsound also with the option
-cartridge1
because I wanted to know if the options are the same thing :pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame hbf700p -cart1 moonsound . . Fatal error: Device MSX Cartridge slot load (-cartridge1 moonsound) failed: File not found
So option
-cartridge1
/-cart1
isn't the same as-cartslot1
! -
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.