• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Per rom core-config file?

Scheduled Pinned Locked Moved Help and Support
mame2003retroarchcore settings
10 Posts 4 Posters 4.9k 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.
  • P
    pjft
    last edited by 10 Oct 2016, 23:03

    Hi all,

    Apologies if this is a naive question, but I've searched for a while and couldn't find much on this topic.

    I have been using per rom config files for some specific items, and it works great - mostly getting overlays per rom.

    Now, there are a few more recent roms that actually benefit from a change in the core settings for mame2003 - specifically, changing the Frameskip option to a higher value (5 seems to do the trick).

    However, when I do so, it seems to change the value and save it in the

    /opt/retropie/configs/all/retroarch-core-options.cfg

    file, which then means every rom I play has Frameskip set to 5. I wouldn't be as upset if it was interpreted as "if frameskip drops, feel free to skip up to 5 per cycle", but it rather seems that it constantly skips 5 frames or something.

    The option in particular is

    mame2003-frameskip = "5"

    in that file, but if I add it to the

    <rom name>.zip.cfg file where I store the overlay overrides, it doesn't seem to affect the values set in the core configuration file.

    Is there a way for me to have this value set only for a specific rom? Is there a specific location I should add it to? Or is there a separate frameskip setting that I can edit in the per-rom config file?

    Thanks!

    D 1 Reply Last reply 10 Oct 2016, 23:11 Reply Quote 0
    • D
      dankcushions Global Moderator @pjft
      last edited by 10 Oct 2016, 23:11

      @pjft use the retroarch GUI (select + X retropad button), quick menu > options > change frameskip > scroll to top and choose 'create 'gamename' options file' (or something to that effect)

      it will then create a .opt file in the /configs/mame-libretro/MAME 2003/ folder, or somewhere around there.

      R 1 Reply Last reply 24 Feb 2018, 20:06 Reply Quote 2
      • P
        pjft
        last edited by 11 Oct 2016, 10:47

        @dankcushions You, sir, rock!

        That is indeed correct. The option to save the per-rom file, though, only shows up if in the Settings > Configuration menu we have enabled the rom-specific option, and/or the per-core settings option.

        After I did that, the option to save that file came up and worked like a charm.

        Thank you! Have a great day.

        1 Reply Last reply Reply Quote 1
        • R
          RumblinBuffalo @dankcushions
          last edited by RumblinBuffalo 24 Feb 2018, 20:06

          @dankcushions said in Per rom core-config file?:

          @pjft use the retroarch GUI (select + X retropad button), quick menu > options > change frameskip > scroll to top and choose 'create 'gamename' options file' (or something to that effect)

          it will then create a .opt file in the /configs/mame-libretro/MAME 2003/ folder, or somewhere around there.

          I have a question about this and the way Retroarch saves settings. I've read the documentation but I'm just looking for clarification.

          In my example, I enabled cheats by editing the /opt/retropie/configs/all/retroarch-core-options.cfg file. I only did this so that I could try Defender using the 8-way game pad method (which configured automatically once cheats are enabled) as follows:
          https://retropie.org.uk/forum/topic/13835/how-to-get-8-way-4-way-joystick-controls-in-defender-and-stargate

          However, after enabling the cheats, I noticed that it also enabled a cheat automatically in Track & Field (the 'Run Like Hell' button). I don't know how many other cheats might be enabled this way, so I turned off cheats and instead, created an .opt file just for Defender from the Retroarch 'Quick Menu' GUI.

          That works perfectly, except I noticed that if I enabled cheats from the 'Quick Menu' for any other game (temporarily - without creating an .opt file for that rom), the setting still saves/writes to the retroarch-core-options.cfg file automatically and it's set that way next time I open any rom.

          So, is it normal behavior for Retroarch to auto-save those particular settings from the GUI (even if I don't have Retroarch setup to save any settings on exit)? I'm guessing these settings are treated different than those used for shaders etc. where I would use the .cfg overrides?

          J 1 Reply Last reply 24 Feb 2018, 21:26 Reply Quote 0
          • J
            jonnykesh @RumblinBuffalo
            last edited by 24 Feb 2018, 21:26

            @rumblinbuffalo I use cheats the odd time in mame2003 for eh... testing purposes. Yeah, testing.
            I have never observed cheats being persistent after an exit. Are you by any chance creating a save state that you are re-loading when you go back into the game?
            Because if you create a save state it will obviously save every setting that was in place when that save state was created.

            R 1 Reply Last reply 24 Feb 2018, 23:59 Reply Quote 0
            • R
              RumblinBuffalo @jonnykesh
              last edited by 24 Feb 2018, 23:59

              @jonnykesh No. I don't have any save states or anything enabled. I'm using a fairly basic image.

              I just checked again to verify. I do not save any configuration on exit. If I'm playing a game, and pop onto the RGUI Quick Menu and enable cheats, then use them (for 'testing purposes' as you say :) and exit the rom, they'll still be turned on in the next rom I open. If I examine the retroarch-core-config.cfg file, it will be updated to the setting I last used. It is definitely remembering the setting on exit. But if I added a shader or changed the aspect ratio on the RGUI, those settings won't save automatically.

              J 1 Reply Last reply 25 Feb 2018, 00:41 Reply Quote 0
              • J
                jonnykesh @RumblinBuffalo
                last edited by 25 Feb 2018, 00:41

                @rumblinbuffalo That sounds like a pain. It also sounds like you aren't using the official image.
                Are you using the official image from the website?

                R 2 Replies Last reply 25 Feb 2018, 01:12 Reply Quote 0
                • R
                  RumblinBuffalo @jonnykesh
                  last edited by 25 Feb 2018, 01:12

                  @jonnykesh Absolutely. I've never used anything but an official image.

                  And fairly basic in that on my current setup I haven't made very many changes to the basic image (no shaders etc).

                  1 Reply Last reply Reply Quote 0
                  • R
                    RumblinBuffalo @jonnykesh
                    last edited by RumblinBuffalo 25 Feb 2018, 03:27

                    @jonnykesh I just double-checked on my second build (which is pretty much a stock image 4.3) and it had the same behavior.

                    The cheats "enabled" setting persists after closing retroarch.

                    This is not a major deal - I can simply shut it off once I've made my .opt file for any given game, I just found it interesting that those options would save when others don't and wanted to understand how/why it worked.

                    R 1 Reply Last reply 26 Feb 2018, 04:56 Reply Quote 0
                    • R
                      RumblinBuffalo @RumblinBuffalo
                      last edited by 26 Feb 2018, 04:56

                      I should have looked harder. I found the clarification I needed. Those options are saved by design:

                      https://retropie.org.uk/forum/topic/10196/how-can-i-alter-all-retroarch-core-options-cfg-file-changes-won-t-save/5

                      BuZz
                      @BoogieMan core options are managed from RGUI (select+x) -> quick menu -> options
                      They are saved automatically.
                      See documentation for more info on using retroarch.

                      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.

                        This community forum collects and processes your personal information.
                        consent.not_received