Development of module-script generator for lr-mess, lr-mame and mame standalone
-
@folly That would be fine as well... limiting the amount of input helps users that want the experience, but can't remember what to type, or even worse is that they have never seen the system, so don't know what to do.
I personally add in the commands to my game description in gamelist so that I see it when I want to play the game. I did this with the Dragon 32 system and it works good for me.
But again.. you and I are above the average user, so we kinda know our way around the file system. Having a user just type in "PLAY" is a lot simpler for them.
-
Yes I agree.
We can do some tests with some commands manually before adding it to the script, agreed ?
The we can see if we can come up with a nice solution.This link is in my first post :
https://forums.launchbox-app.com/topic/54987-autoboot-command-script-for-mame-swl-computer-systems/For some systems we can try it.
Could be as simple as adding something like this
-autoboot_delay 4 -autoboot_command cload\n
Edit :
emulating key presses seems not implemented so when I press Return first it will type CLOAD. The /n option doesn't work for this system.It seems the best way of making everything work is to make a mame autoboot.lua script that is loaded on boot. That whay we also should be able to press the tape on play automatically.
(well we have to dig deeper to understand that) -
@folly said in Development of module-script generator for lr-mess and mame standalone:
You are able to boot them but you struggle too with the keys or joystick buttons ?
They don't start either. Which line do you use when you select your emulator line from the blue menu? I am always on "Rocket Patrol" no matter what the game is.
-
@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:
You are able to boot them but you struggle too with the keys or joystick buttons ?
They don't start either. Which line do you use when you select your emulator line from the blue menu? I am always on "Rocket Patrol" no matter what the game is.
We talk about apfm1000, right.
I use this :
default = "mame-system-apfm1000-cart" -
@folly said in Development of module-script generator for lr-mess and mame standalone:
We talk about apfm1000, right.
Yes, I'll do more test today
-
Do you want my sha1sums ?
-
@folly
Yes please (sorry double messages) -
@folly
Yes, please. I don't know what's wrong for that emulator. -
pi@raspberrypi:~/RetroPie/roms/apfm1000 $ sha1sum * 9579e760c4532295a07b0ef0f849bbcddddc39c2 backgamm.zip 6fae423ac7af3bd59d2897ecbb9508c6737e41ee baseball.zip 865317d042f5848f33dd57b7de2d2326cf625565 blckjack.zip 859ff072135fe9e5bc325cf3c5a2b39e75d7c774 bowling.zip a7615a2eada80cdfc1446a14b06bebc39cafaf29 boxing.zip 4119cb1589d68efd560936080f12475b57337b33 brickdwn.zip c72e7ffafb3818a2dd6b46d4f95ea7c5b497f64b casino.zip 0a025850f57cba6ef2df9af6512d169233795a81 catena.zip 7aee1189144e53393ddb4e4bc6ea73cb95c941af catenaa.zip 497387a7410e86e7cf6711a37192ff2d24e4e53e hangman.zip 7e1ec8f8e1ff78e6ee730ae9f27e05eebea34979 pinball.zip da39a3ee5e6b4b0d3255bfef95601890afd80709 rocketp.zip c1dd72fb8853c08ffacea77226c656439c0c5674 spacedst.zip b6f287ee37e6016d9910afcf664476e14023423b ufo.zip
-
@folly said in Development of module-script generator for lr-mess and mame standalone:
9579e760c4532295a07b0ef0f849bbcddddc39c2 backgamm.zip
I'm up and running with just the pack-in game Rocket Patrol. I did like you did, just made a dummy .zip file. All good.
Just can't seem to locate the rest of them. .236?
-
Something to read :
https://docs.mamedev.org/techspecs/luaengine.htmlHere is the reference manual of lua 5.3 :
http://www.lua.org/manual/5.3/ -
@jamrom2 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:
9579e760c4532295a07b0ef0f849bbcddddc39c2 backgamm.zip
I'm up and running with just the pack-in game Rocket Patrol. I did like you did, just made a dummy .zip file. All good.
Just can't seem to locate the rest of them. .236?
I think they are in
mame_sl, if you understand what I mean.Fix, get the apfimag_cass.zip, it's in :
mame-sl
-
I found this today
MESS and MAME: The Guide -
I have spacedst.zip running with the new test method.
In the hash table it describes that this cart has extra ram on board.
Using the new test method it runs the file using the softlist and adds the ram extension automatically.
Bios fileapfm1000.zip
has to be added in/home/pi/RetroPie/roms/apfm1000
for now.
I hope we can come up with a nice fix for this problem.It runs by using this line in /opt/retropie/configs/apfm1000/emulators.cfg :
mame-driver-rompath-basename = "/opt/retropie/emulators/mame/mame apfm1000 -rompath /home/pi/RetroPie/roms/apfm1000 -v -c %BASENAME%"Keyboard keys to play :
LEFT RIGHT KPAD_ENTER -
@folly said in Development of module-script generator for lr-mess and mame standalone:
mame-driver-rompath-basename = "/opt/retropie/emulators/mame/mame apple2gsr1 -rompath /home/pi/RetroPie/roms/apple2gsr1 -v -c %BASENAME%"
Why apple2gsr1 in the line
-
Oops a mistake ;-), fixet it ! (updated)
This is because I also did tests with that line on apple2gsr1 just picked the wrong one. -
@dteam said in Development of module-script generator for lr-mess and mame standalone:
I found this today
MESS and MAME: The GuideI will read some, perhaps some interesting stuff to find.
-
Strange, those lines work with .bin and not .zip
mame-system-apfm1000-cart-autoframeskip = "/opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/roms/apfm1000 -v -c -autoframeskip -ui_active apfm1000 -cart %ROM%" mame-system-apfm1000-cart = "/opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/roms/apfm1000 -v -c -ui_active apfm1000 -cart %ROM%"
-
-
@folly said in Development of module-script generator for lr-mess and mame standalone:
mame-sl
Yup.. sniffed it out. Thanks! I'll get it loaded and see where I'm at.
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.