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 configuration - Mame4all

    Scheduled Pinned Locked Moved Help and Support
    mame4all config
    8 Posts 4 Posters 582 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.
    • H
      h3rv3
      last edited by

      Hi,

      I am using mame4all as I run Retropie on Pi B.
      I also have a rotating screen and would like to play vertical games with the screen turned to vertical.

      That works fine if I change the mame4all config file and change "ror=yes" (from ror=no) but obviously that changes the screen orientation of all the games.

      I am not able to have a "per rom" configuration.
      As seen elsewhere, I have created a myrom.zip.cfg (were myrom is the game rom to be played in vertical) in the same folder as the roms. It is made as a copy of mame.cfg with all the parameters (with ror=yes) but that does not change anything.

      Anyone has got the "per rom" settings working?
      Is there another way to do this? (thinking about using a different launch command depending on the vertical games or horizontal games collections - if possible). I don't know where to start on this.

      Thanks for the help.
      Herve

      Using Retropie 4.8 from this site on a 1B.
      I don't add anything else as it is working fine other than the problem described.

      1 Reply Last reply Reply Quote 0
      • A
        appas
        last edited by

        If I understand what you're asking, I think you could use RetroArch overrides?

        S 1 Reply Last reply Reply Quote 0
        • S
          sleve_mcdichael @appas
          last edited by sleve_mcdichael

          @appas I don't think mame4all is a RetroArch core though.

          https://retropie.org.uk/docs/MAME/#mame4all-pi

          H 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            @h3rv3 said in Per ROM configuration - Mame4all:

            That works fine if I change the mame4all config file and change "ror=yes" (from ror=no) but obviously that changes the screen orientation of all the games.

            Per game .cfg is only for RetroArch cores, as @sleve_mcdichael mentioned.

            Try adding to the main .cfg file:

            romname/ror yes
            

            and see if the configuration is applied only to the romname game.

            1 Reply Last reply Reply Quote 0
            • H
              h3rv3 @sleve_mcdichael
              last edited by

              Yes, it is not Retroarch compatible.
              Tried the suggested edit to the cog file but it does not take it.

              1 Reply Last reply Reply Quote 0
              • H
                h3rv3
                last edited by

                If I use the runcommand menu and changes something. A new command line is created and stored somewhere?
                Maybe I could then modify this, when I was using MAME under dos the command line was taking modifiers like
                mame “1942b” ror=yes to do what I’d like to do here.

                I tried running mame from the command line but it says that it is not a command.

                Any further thought?

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @h3rv3
                  last edited by

                  If I use the runcommand menu and changes something. A new command line is created and stored somewhere?

                  Not entirely, the settings for the ROM/system are stored, but you can't create a new command from the runcommand menu.

                  Maybe I could then modify this, when I was using MAME under dos the command line was taking modifiers like
                  mame “1942b” ror=yes to do what I’d like to do here.

                  If you find the command line switches for rotation, you can add a new 'emulator' , based on mame4all, which has the rotation parameter added. So, assuming your ROMset is in mame-mame4all folder, the emulators are set in /opt/retropie/configs/mame-mame4all/emulators.cfg:

                  mame4all = "/opt/retropie/emulators/mame4all/mame %BASENAME%"
                  default=mame4ll
                  

                  Add a new entry (note: just an example)

                  mame4all = "/opt/retropie/emulators/mame4all/mame %BASENAME%"
                  mame4all-rol = "/opt/retropie/emulators/mame4all/mame %BASENAME% rol=yes"
                  default=mame4ll
                  

                  then using the runcommand menu you can choose the (new) emulator that runs the game. The association is saved and you only have to do this once (for each game).

                  H 1 Reply Last reply Reply Quote 1
                  • H
                    h3rv3 @mitu
                    last edited by

                    @mitu

                    Thanks a lot for the guidance, that does it.
                    The line for the added pseudo emulator is mame %BASENAME% -ror

                    I just have to do the setting for all of the vertical games.
                    Thanks again for the help provided in this forum.

                    Herve

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