RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Is there no way to savestate in Mame2010?

    Scheduled Pinned Locked Moved Help and Support
    10 Posts 4 Posters 4.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.
    • M
      matalog
      last edited by

      In mame2010, retropie 3.7, pi3b, if I press select and r1 it says core does not support savestates. If I press shift and F7, then choose a slot it says error: failed to open file for load operation.

      Is there no way to get Mame2010 to save the progress of a game? Even just one savestate?

      Thanks for any help,

      Matt.

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

        if you manually create the various directories needed for saving ("sta" in your case I believe) - https://github.com/libretro/mame2010-libretro/blob/master/mame.ini - then f7 etc MIGHT work.

        I'm not sure where the directories need to be - probably wherever the mame.ini is. in opt/reteopie/emulators/libretrocores? something like that, anyway.

        core is experimental. needs lots of work.

        1 Reply Last reply Reply Quote 0
        • M
          matalog
          last edited by

          I had a go with what you suggested, I actually copied a savestate for the game I'm playing to the folder /opt/retropie/libretrocores/lr-mame2010/sta - It sounded like it should work, but it didn't unfortunately. I also tried loading the savestate file that i transferred from mame in my pc, but doesn't let the load or save happen.

          Mame2010 is the only emulator on retropie that will play the game I want - if it isn't possible to save, there is one more way I could get what I need - the pc version has cheats that allow a rack advance.

          Is it possible to enable cheats in mame2010? F6 doesn't seem to do anything, it usually enables cheats in mame.

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

            @matalog have a look at the ini i posted above. you can turn cheats on in there apparently, if you edited the copy in /libretrocores/lr-mame2010/. you'd then need a cheat.dat in the listed cheat folder, but then you'd probably hit the same issues as with the states. it's an experimental core so it's probably safer to assume nothing works unless you're prepared to code it :) i know absolutely nothing about the core beyond looking at the ini file. i'm not aware of anyone using it.

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @dankcushions
              last edited by

              @dankcushions said in Is there no way to savestate in Mame2010?:

              i'm not aware of anyone using it.

              I use it for light gun games due to it's mouse support. If you've ever wanted to shoot the dog in "Duck Hunt" Mame2010 has you covered.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • M
                matalog
                last edited by

                Tried that too, no luck. Thanks for replying!

                1 Reply Last reply Reply Quote 0
                • M
                  matalog
                  last edited by

                  I have just tried this with an old version of mame on pc and unless the cheat.zip or cheat.dat files were in the root directory (same folder as mame.exe) it acted exactly the same as the retropie version is acting - wouldn't even respond when I press f6. Now that i have those files in the same directory as the mame executable file - it works on pc.

                  Does anyone know where exactly the mame2010 executable file is stored on a retropie system? I placed the cheat files in /opt/retropie/libretrocores/lr-mame2010/ and although that is where the mame.ini file is, I can't confirm that the mame executable file is in there.

                  I know very little about raspberry pi system folder naming conventions but /opt/ sort of sounds like somewhere you might keep options, not executables?

                  FinheadF 1 Reply Last reply Reply Quote 0
                  • FinheadF
                    Finhead @matalog
                    last edited by

                    @matalog The mame executable is "mame2010_libretro.so" it's in the same folder so yes that is where you would put your dat files.

                    1 Reply Last reply Reply Quote 0
                    • M
                      matalog
                      last edited by

                      Thanks, cheats mustn't be supported in mame2010 yet.

                      1 Reply Last reply Reply Quote 0
                      • M
                        matalog
                        last edited by

                        I decided to give this one more try - i don't think there would be automatic permission to write into the folder that the mame.ini is configured to save to /opt/retropie/libretrocores/lr-mame2010/sta.

                        If i change

                        state_directory sta

                        to

                        state_directory /home/pi/RetroPie/SAVES (i know there is permission to write here)

                        should that attempt to save to <root>/home/pi/RetroPie/SAVES or will it be looking for /home/pi/RetroPie/SAVES inside the folder it is already in?

                        Can I use <root> as i have above in the .ini file, or don't i need to?

                        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.