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.
    • T
      TillmanZ @markwkidd
      last edited by

      @markwkidd Sure, here we go:

      https://pastebin.com/uEAdmUMu

      Best,

      Tillman

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

        @tillmanz said in new mame2010 folder structure:

        @markwkidd Sure, here we go:

        https://pastebin.com/uEAdmUMu

        Best,

        Tillman

        That seems like an ordinary missing file type of log. Until these updates mame2010 was looking for files in unpredictable places. Could you make absolutely sure that you have a file with this path and name? /home/pi/RetroPie/roms/arcade/10yard.zip

        If you have that file in that location do, could you open up that zip file and confirm it contains these files?

        yf-a-3p-b NOT FOUND
        yf-a-3n-b NOT FOUND
        yf-a-3m-b NOT FOUND
        yf-s.3b NOT FOUND
        yf-s.1b NOT FOUND
        yf-s.3a NOT FOUND
        yf-s.1a NOT FOUND
        yf-a.3e NOT FOUND
        yf-a.3d NOT FOUND
        yf-a.3c NOT FOUND
        yf-b.5b NOT FOUND
        yf-b.5c NOT FOUND
        yf-b.5f NOT FOUND
        yf-b.5e NOT FOUND
        yf-b.5j NOT FOUND
        yf-b.5k NOT FOUND
        yard.1c NOT FOUND
        yard.1d NOT FOUND
        yard.1f NOT FOUND
        yard.2h NOT FOUND
        yard.2n NOT FOUND
        yard.2m NOT FOUND
        
        T 1 Reply Last reply Reply Quote 0
        • T
          TillmanZ @markwkidd
          last edited by

          @markwkidd I can 100% and absolutely confirm that not only this file 10yard.zip is exactly in that folder but also that it includes all of the mentioned modules.

          Just to re-confirm - as soon as I replace the core with a core that was build several weeks ago it just works fine.

          Best,

          Tillman

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

            @tillmanz said in new mame2010 folder structure:

            @markwkidd I can 100% and absolutely confirm that not only this file 10yard.zip is exactly in that folder but also that it includes all of the mentioned modules.

            Just to re-confirm - as soon as I replace the core with a core that was build several weeks ago it just works fine.

            Best,

            Tillman

            Well dang, it's always nice when the answer is that simple for everyone. This problem hasn't shown up yet so you'll pardon me if I keep making some shots in the dark while I try to narrow things down.

            The next most common source of issues in general has been from mame.ini files so I want to check on that. (Next might be .cfg files.)

            • Do you currently have a mame.ini file in a folder called `libretro saves folder/mame2010/ini ?
            • If so, is it one you placed there, or was it autogenerated once you updated your core?
            • If you do have a mame.ini, could you make a backup copy, delete the mame.ini, and try to start 10yard.zip again?
            1 Reply Last reply Reply Quote 0
            • T
              TillmanZ
              last edited by

              Actually I don't see the libretro saves folder. Where should it actually be?
              I do have a mame.ini in /opt/retropie/libretrocores/lr-mame2010 but I have put it there (trying to fix the loading issue) using a mame.ini from an earlier build.
              Because this current build script apparently does not generate a mame.ini file in this folder anymore.
              The install_lr-mame2010() function in the lr-mame2010.sh script only copies the mame2010_libretro.so and a README.md file.

              Best,

              Tillman

              markwkiddM 1 Reply Last reply Reply Quote 0
              • estefan3112E
                estefan3112 @dankcushions
                last edited by estefan3112

                @dankcushions I forgot to mention that my Romsets work perfectly in Retroarch with the new MAME 2010 Core, but that the same Roms do not work in the Retropie reincarnation! I also was suspicious of a different romset needed, but since it works perfectly in Upstream Retroarch, this cannot be the case.

                1 Reply Last reply Reply Quote 0
                • 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
                                            • 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.