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

Scheduled Pinned Locked Moved Help and Support
mame4all config
8 Posts 4 Posters 581 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 19 May 2023, 14:24

    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 20 May 2023, 01:16

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

      S 1 Reply Last reply 20 May 2023, 01:16 Reply Quote 0
      • S
        sleve_mcdichael @appas
        last edited by sleve_mcdichael 20 May 2023, 01:16

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

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

        H 1 Reply Last reply 20 May 2023, 14:36 Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 20 May 2023, 04:45

          @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 20 May 2023, 14:36

            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 20 May 2023, 15:37

              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?

              M 1 Reply Last reply 20 May 2023, 16:12 Reply Quote 0
              • M
                mitu Global Moderator @h3rv3
                last edited by 20 May 2023, 16:12

                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 21 May 2023, 07:07 Reply Quote 1
                • H
                  h3rv3 @mitu
                  last edited by 21 May 2023, 07:07

                  @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
                  8 out of 8
                  • First post
                    8/8
                    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