RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    new mame2010 folder structure

    Scheduled Pinned Locked Moved Ideas and Development
    mame2010
    73 Posts 7 Posters 16.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • markwkiddM
      markwkidd
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • markwkiddM
        markwkidd @TillmanZ
        last edited by

        @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 the ini folder.

        dankcushionsD 1 Reply Last reply Reply Quote 1
        • dankcushionsD
          dankcushions Global Moderator @markwkidd
          last edited by

          @markwkidd bingo! by default, retropie save folder is the content (rom) folder for the core in question.

          1 Reply Last reply Reply Quote 1
          • markwkiddM
            markwkidd
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • maxbeanzM
              maxbeanz
              last edited by

              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 ?

              markwkiddM 1 Reply Last reply Reply Quote 0
              • markwkiddM
                markwkidd @maxbeanz
                last edited by markwkidd

                @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-compatiblecheat.zip at this URL if you find it useful: https://github.com/libretro/mame2010-libretro/blob/master/metadata/cheat.zip

                maxbeanzM 1 Reply Last reply Reply Quote 0
                • maxbeanzM
                  maxbeanz @markwkidd
                  last edited by maxbeanz

                  @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

                  markwkiddM 1 Reply Last reply Reply Quote 0
                  • markwkiddM
                    markwkidd @maxbeanz
                    last edited by markwkidd

                    @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 Wars

                    contra.zip is flagged 'NO GOOD DUMP'. Could it have been one of the clones?

                    Edit: contra.zip and pacland.zip don't instantly crash the original mame 0.139. Hmm.

                    maxbeanzM 1 Reply Last reply Reply Quote 0
                    • maxbeanzM
                      maxbeanz @markwkidd
                      last edited by maxbeanz

                      @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) ?

                      markwkiddM 1 Reply Last reply Reply Quote 0
                      • markwkiddM
                        markwkidd @maxbeanz
                        last edited by markwkidd

                        @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 into ini and scroll down to the bottom of the file. Change the 0 next to cheats to 1 (or just add a 1 if there is not a 0).

                        I hope that will give you better luck. This might be on the list of old mame.ini functionality that needs to be removed.

                        maxbeanzM 1 Reply Last reply Reply Quote 0
                        • maxbeanzM
                          maxbeanz @markwkidd
                          last edited by

                          @markwkidd Unfortunately, changing the 'ini' file entry didn't make any difference.

                          markwkiddM 1 Reply Last reply Reply Quote 0
                          • markwkiddM
                            markwkidd @maxbeanz
                            last edited by markwkidd

                            @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?

                            maxbeanzM 1 Reply Last reply Reply Quote 0
                            • maxbeanzM
                              maxbeanz @markwkidd
                              last edited by

                              @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.

                              markwkiddM 1 Reply Last reply Reply Quote 1
                              • markwkiddM
                                markwkidd @maxbeanz
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • maxbeanzM
                                  maxbeanz
                                  last edited by

                                  Creating a 'cheat' folder doesn't work.

                                  markwkiddM 1 Reply Last reply Reply Quote 0
                                  • markwkiddM
                                    markwkidd @maxbeanz
                                    last edited by markwkidd

                                    @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

                                    estefan3112E maxbeanzM 2 Replies Last reply Reply Quote 0
                                    • estefan3112E
                                      estefan3112 @markwkidd
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 1
                                      • maxbeanzM
                                        maxbeanz @markwkidd
                                        last edited by

                                        @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)

                                        markwkiddM 1 Reply Last reply Reply Quote 1
                                        • markwkiddM
                                          markwkidd @maxbeanz
                                          last edited by markwkidd

                                          @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

                                          1 Reply Last reply Reply Quote 1
                                          • markwkiddM
                                            markwkidd
                                            last edited by

                                            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.

                                            maxbeanzM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.