new mame2010 folder structure
-
Somehow there must indeed be a path issue. I'm working to add more logging to the game loading process to see if we can narrow this down.
-
@tillmanz said in new mame2010 folder structure:
Actually I don't see the libretro saves folder. Where should it actually be?
I'm not so familiar with RetroPie's path structure, but I believe for RetroPie this is the same folder where the ROMs are stored. Theoretically that means you should find a subfolder called
mame2010
within that folder where you will in turn find theini
folder. -
@markwkidd bingo! by default, retropie save folder is the content (rom) folder for the core in question.
-
@estefan3112 and @TillmanZ I have updated mame2010 and I hope I have fixed the issue for you -- I think it was an inconsistency in how slashes were handled in the content path.
I have also added some more logging, which I hope will be helpful in case its still not working.
-
Does cheat support now work ? I have just built lr-mame2010 from source, I looked in the 'roms/arcade/mame2010' folder but there is no 'cheat.zip'. Do we have to manually add it now ?
-
@maxbeanz said in new mame2010 folder structure:
Does cheat support now work ? I have just built lr-mame2010 from source, I looked in the 'roms/arcade/mame2010' folder but there is no 'cheat.zip'. Do we have to manually add it now ?
You will have to manually place
cheat.zip
.I have honestly never used MAME cheats and I don't know if they're working in mame2010. I do know that mame2010 now has a valid path to load them from :)
Post your results with cheats and if they aren't working we can start a github issue for it.
Edit - I have placed a mame0.139-compatible
cheat.zip
at this URL if you find it useful: https://github.com/libretro/mame2010-libretro/blob/master/metadata/cheat.zip -
@markwkidd Thanks, i'll try the cheats at a later date unless someone else confirms they are working.
On playing a few games I noticed that some don't boot. They work fine on Android MAME 0.139 and i'm sure that they previously worked on 2010. The error log says 'Segmentation fault'. These ones didn't boot :-
Contra
Pacland
Splatterhouse
Star Wars -
@maxbeanz said in new mame2010 folder structure:
@markwkidd Thanks, i'll try the cheats at a later date unless someone else confirms they are working.
On playing a few games I noticed that some don't boot. They work fine on Android MAME 0.78 and i'm sure that they previously worked on 2010. The error log says 'Segmentation fault'. These ones didn't boot :-
Contra
Pacland
Splatterhouse
Star Warscontra.zip
is flagged 'NO GOOD DUMP'. Could it have been one of the clones?Edit:
contra.zip
andpacland.zip
don't instantly crash the original mame 0.139. Hmm. -
@markwkidd I couldn't get cheats to work. I placed the 'cheat.zip' in 'roms/arcade/mame2010'. I also tried putting it in 'BIOS/mame2010' but still no Cheat option in the Tab menu.
I don't know why the games I listed above no longer work. As I said, they work on my Android Mame 0.139 (Mame4droid) and i'm pretty sure they used to work on lr-mame2010. There could be a lot more that don't work as I only tried about 15 and 4 of those didn't boot. I haven't tried lr-mame2010 since sometime last year so who knows what commit did it !
Can someone else confirm that the 4 games I mentioned don't boot (using the latest source) ?
-
@maxbeanz I'm trying to bisect the Contra and Pacland regressions. First I'm looking for a working commit.
At any rate, could you go to the
mame2010
subfolder in your ROMs folder. Then go intoini
and scroll down to the bottom of the file. Change the0
next tocheats
to1
(or just add a1
if there is not a0
).I hope that will give you better luck. This might be on the list of old
mame.ini
functionality that needs to be removed. -
@markwkidd Unfortunately, changing the 'ini' file entry didn't make any difference.
-
@maxbeanz I can confirm those 4 games are not working with the latest source here either.
Did cheats work with mame2010 in the past from your experience?
-
@markwkidd No I don't think cheats have ever worked on lr-mame2010. I noticed on the Android MAME that there is also a 'cheat' folder with a 'output.xml' file (probably the last selected game/cheat). Maybe libretro needs that 'cheat' folder available to output the xml file ? I don't have time to test this at the moment though.
-
@maxbeanz said in new mame2010 folder structure:
@markwkidd No I don't think cheats have ever worked on lr-mame2010. I noticed on the Android MAME that there is also a 'cheat' folder with a 'output.xml' file (probably the last selected game/cheat). Maybe libretro needs that 'cheat' folder available to output the xml file ? I don't have time to test this at the moment though.
Thanks this is all helpful to me. I've only been working with this core for a couple of months.
-
Creating a 'cheat' folder doesn't work.
-
@maxbeanz I made some progress tracking down the problem with
contra.zip
and the others but no fix yet. I need to stop for now but I'll be tracking this bug here: https://github.com/libretro/mame2010-libretro/issues/101 -
@markwkidd Happy to report that MAME2010 now successfully runs on both Raspberry Pi (from source) and Ubuntu Retropie. Also highscore support works, yippie! Very eager now to check this core further out.
-
@markwkidd I tried a few more games today and found some more that don't boot :( I'll post them here in case you can spot any running themes.
Hypersports (hyperspt.zip)
Pacman 25th Anniversary (25pacman.zip)
Pac-Mania (pacmania.zip)
Renegade (renegade.zip)
Robotron 2084 (robotron.zip)
Rolling Thunder (rthunder.zip)
Smash TV (smashtv.zip)
Terminator 2 (term2.zip) -
@maxbeanz Thank you for your notes. I've been working to track down the specific regression that is causing this bug with the hopes of fixing it by the end of the weekend.
On a brighter note, the patch to enable RetroPad controls for Players 3 and 4 in mame2010 did get merged today. My suggested 4-player test romset is
simpsons.zip
if anyone wants to try it out.Normally I would be testing 4-player support with NBA Jam Tournament Edition v2.0, but tragically that romset is affected by this same regression that maxbeanz reported. :argh: :argh:
Edit: I had a mistaken understanding of where this regression was introduced. I am pretty sure that it has nothing to do with the new folder structure and everything to do with some bulk changes to the code by Twinaphex last week that removed the last bits of C++ from mame2010. For the curious I have detailed my process as an issue and I'm waiting to hear back from him: https://github.com/libretro/mame2010-libretro/issues/101
-
This morning Twinaphex merged by fix for the mame2010 segementation error with Contra, NBA Jam and many others.
@maxbeanz I'd be grateful as always to you or anyone else has follow up reports on how those titles are working with the new patch in RetroPie after recompiling. It's working well on my desktop system at lest.
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.