Development of module-script generator for lr-mess, lr-mame and mame standalone
-
Welcome, thanks for joining in.
Edit :
Installed it.
OK, that driver.
Me and mostly @bbilford83 have been busy with this so there is a basic artwork-file already, however far from perfect.
I must say @bbilford83 did a great attempt in doing so.
Right now it uses zoomed images which sort of works and are reasonably in sync but the pictures could be cleaned up a bit better.
I think, as backup, the whole pictures are included in the artwork-file or they are in a separate g-drive folder of @bbilford83.
I tried to use the whole picture to see if I could match it up.
With regular drivers this is quite easy.
However, somehow matching up was too difficult with this driver as I could not match up the game.
Changing the "custom views" of the pictures or the game meant that the game and background picture both changed in perspective on opposite directions.
So this is really a problematic thing to deal with.
If you want to give it a shot then it is better to make a separate topic for it as it will take much more that 10 posts. -
Hi Folly, are you able to run a CD systems like CDI, NeoCD or VIS without the "basename" option with MAME standalone 0.261. I always have a bus error
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1319: 3449 Bus error
I'm using a Pi4.
-
@DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Hi Folly, are you able to run a CD systems like CDI, NeoCD or VIS without the "basename" option with MAME standalone 0.261. I always have a bus error
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1319: 3449 Bus error
I'm using a Pi4.
@DTEAM you didn't ask me but I'll share that VIS and CDI both work fine for me with the libretro versions but for the first time I tried MAME and it also gives me an error. I only usually use libretro so I never noticed before. Also Pi4.
-
Not at my pi right now, I will try it when I can.
Can be that I do it next week when I am free.
If I can test it sooner I will let you both know.On my VM I already tested CDI.
When running the arcadecl.chd from the folder cdimono1 it runs ok with runcommands with -cdrm and also using basename does work.
I am using standalone mame0261.Can you both share the failed runcommand from the runcommand.log ?
-
@Folly here you go:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: 23028 Bus error /opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/vis -v -c -ui_active -statename vis/"Americas National Parks (1992)(Multicom)(US)" vis -cdrm "/home/pi/RetroPie/roms/vis/Americas National Parks (1992)(Multicom)(US).chd" -view "Americas National Parks (1992)(Multicom)(US)"
-
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
On my VM I already tested CDI.
When running the arcadecl.chd from the folder cdimono1 it runs ok with runcommands with -cdrm and also using basename does work.
I am using standalone mame0261.Can you both share the failed runcommand from the runcommand.log ?
I'm outside today, but tomorrow i'll send it to you. Just for clarification, 8 months ago, when you added NeoGeo CD and Tubografx CD, I was able to run those CD games without the "basename" files and with MAME standalone. CD-i worked also, I think It's a recent bug for CD games.
-
@bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly here you go:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: 23028 Bus error /opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/vis -v -c -ui_active -statename vis/"Americas National Parks (1992)(Multicom)(US)" vis -cdrm "/home/pi/RetroPie/roms/vis/Americas National Parks (1992)(Multicom)(US).chd" -view "Americas National Parks (1992)(Multicom)(US)"
Got myself the same game and tested it with both lr-mess0261 and mame0261 using the runcommands with -cdrm and did this on my pi5/64bits/Bookworm.
Indeed for lr-mess I had to remove the quote and also inside the cue.
The file just loaded in mame standalone with this runcommand :/opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/BIOS/mame\;/home/pi/RetroPie/roms/vis -v -c -ui_active -statename vis/"Americas National Parks (1992)(Multicom)(US)" vis "Americas National Parks (1992)(Multicom)(US)" -view "Americas National Parks (1992)(Multicom)(US)"
The runcommand seems the same as yours.
Be sure when you post it that you post it as code so the backslash is also shown.I will test this again later on my pi4/32bits/Bullseye.
Could be that it doesn't work on 32bits binaries.Edit :
For me it also works on pi4/32bits/Bullseye, no problem. -
Btw did you make a gamelist for vis ?
Vis was mentioned in your gamelists but downloading via the script didn't work.
I now get this error :
ERROR: content-disposition not found and confirm=t did not work
When trying to get your gamelists.Edit :
I tried this on my pi5, could be an issue of Bookworm as I read that python in this OS needs a venv (vitual python environment)
Will have a look later and test this also on th pi4 with Bullseye.Edit 1:
Seems to be an issue with a change in the gdrive server.
Added an issue so Matt can have look and hopefully fix it :
https://github.com/matthuisman/gdrivedl/issues/31 -
@Folly I am going to be away from my computer for quite a while but yes there should be both a game list and art for VIS up there now. I can check again later but hopefully it is just a problem with pi5.
Edit: I'm still not near my pi but I did confirm on my gmail that the VIS stuff is all where it should be.
-
@Folly on an unrelated note, I have been adding a few more systems to my own build that don't really require a keyboard, namely the VTech Socrates, the Tomy Tutor (aka Pyuta in Japan), and the Umtech VideoBrain Family Computer. I finished the Socrates and it works well. The Tutor I have been adding now and it works well too, but I discovered that there is also a "consolized" version of the Japanese model - the "Pyuta Jr." See here for info.
I see that there is a pyutajr.zip bios file in MAME, and in your script there's an option to install pyutajr, but when I tried it kicked me back out without installing. As far as I can tell all three systems - Tutor, Pyuta, and Pyuta Jr. - should be the same romset (like with Zemmix and MSX). Is there any way to tell if Pyuta Jr. should be installable as a system? I would like to add the "console version" if it is possible to do so.
EDIT: I don't know what I did wrong last time but this time I tried again it installed fine. I will mess around with it now; I'd rather use the console version but I forgot that when you load a rom you have to select an option to load a cartridge (like in the computer menu), so if that is in Japanese I will stick with the Tutor anyway.
EDIT 2: So it is interesting, Pyuta Jr. loads correctly and it is in English (doesn't say "Pyuta" in the menu but doesn't say "Tutor" either, so I assume that is just how it worked). Game loads fine too. But I think there is an error in MAME, because even though you can properly map all the buttons on the console itself, and you can properly map the directional movements with the joystick, it is missing the mapping spots for the two joystick buttons. Obviously this has nothing to do with your script, but the games aren't playable without joystick buttons being available of course, so I guess I'll stick with emulating the Tutor for now. Shame though - it is fun being able to add the really unheard-of "consolized" versions.
Second, more practical question, do you want me to share my gamelists/art for these systems? The Tomy is kind of scrapable but the descriptions I found don't say anything but the year/developer etc. I have found better art and looked up specialty websites about the Socrates and Tutor to come up with better descriptions, so maybe they would be helpful.
-
Nice tinkering.
Yea sure, share your gamelists. -
@Folly OK, gamelists and matching art for Socrates and Tutor are up now. Take a look if you would like, Socrates is very small, Tutor is longer. For Tutor I have nice 3d box images for all the US games, but just 2D box covers for the Japanese ones (couldn't find 3D).
I started on VideoBrain tonight but have encountered a strange issue. When you go to map controls on the in-mame menu, by default it sets up the controllers as having an analog joystick, mapping them the way you would typically expect: analog x is Joy 1 LSX, analog y is Joy 1 LSY, and then analog inc./dec. lets you use the d-pad in the four directions. But when I actually tried to play my first game, the analog is totally wrong - it seems to register its entire range of motion only near the bottom, from like 4 to 8 o'clock (if you get what I mean). And I tried a bunch of stuff in the analog settings but nothing fixed it. Then I tried deleting the analog options entirely - i.e. I set "analog x" and "analog y" to undefined, hoping I could just use the dpad, but even with those still in the "analog increase/decrease" mapping nothing at all registers. I am inclined to just give up on the system because it is looking like many/most games will need the keyboard anyway, but if you have encountered anything similar/have ideas on how to fix this, please let me know.
Edit: I went back and tried again with mame standalone, same problem with the analog stick. I didn't think it would be different but realized I had only tried on libretro.
-
I added information to post 1807 and 1808.
Sadly I can't reproduce the error :
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1319: 3449 Bus error
Will have a look later.
I added an issue regarding the gamelist downloads, see 1808.
-
@bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Edit: I went back and tried again with mame standalone, same problem with the analog stick. I didn't think it would be different but realized I had only tried on libretro.
Looks indeed like it's a mame issue.
-
@bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
@Folly OK, gamelists and matching art for Socrates and Tutor are up now. Take a look if you would like, Socrates is very small, Tutor is longer. For Tutor I have nice 3d box images for all the US games, but just 2D box covers for the Japanese ones (couldn't find 3D).
I will probably see next week when I a free from work.
Hopefully the gdrivedl script is then also fixed.Edit :
Just had a look in github and the gdrivedl.py script should be fixed again ;-) -
@Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Just had a look in github and the gdrivedl.py script should be fixed again ;-)
Glad to hear it. Bummer about VideoBrain but c'est la vie. Do you know if there's somewhere I could report it/they might fix it?
I was looking for all the last systems I might be able to add to avoid going back to the big task of testing all the Atari 8-Bit for XEGS and MSX for Zemmix but I am back to that now finally, so I won't have anything else to show you for a while I expect.
-
@bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:
Glad to hear it. Bummer about VideoBrain but c'est la vie. Do you know if there's somewhere I could report it/they might fix it?
I will have a look now on how it will react on my VM.
You could ask over here if someone knows how to deal with it, it even has a search option.
Btw. you need an account first and don't talk about RetroPie they all seem to dislike it, really not sure why.
Here you also can search for issues, pull-requests and commits regarding that driver.
If notting helps, and if it really seems to be an issues than it can be added from within github, if you have a github account over here.Edit :
Driver is incomplete so could be due to that reason -
@Folly Thank you! I will look into it there.
-
I would try to delete the
Mouse X
andMouse Y
assignment of player 1 and see if that helps.
I can't test it right now as my Apple keyboard hasn't a delete key or I have to find the shortcut.Edit :
Needed to use "backspace" but it did't help.
Shorcut for delete is "FN + backspace" on Apple keyboard.Edit 1 :
I see what you mean, very problematic and nothing helps.
Player 1 just goes to the left and up, noting can be controlled.Edit 2 :
Only sound should be incomplete the say nothing about controls -
What you also can do is revert back a very old mame binary like for example 0245.
If that works then you know changes to mame has broken something.
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.