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

    pacman.zip.cfg doesn't get called

    Scheduled Pinned Locked Moved Help and Support
    config filerom configrotationrotate
    49 Posts 6 Posters 9.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.
    • schmiddymanS
      schmiddyman @grant2258
      last edited by

      @grant2258 I am already using the cocktail switch in the specific roms. That has always worked. But this switch only flips the screen when player changes. It doesn't rotate the screen by 90 degrees. I also tried the tate mode, but my screen didn't flip. I assume it relies on the HDMI signal to report a turn of monitor. How else would retroarch know which rom is a vertical game or not?

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

        In addition to what @grant2258 said, you can then save the game's configuration from the RGUI, from Quick Menu -> Overrides -> Save Game Overrides. This will create a .cfg file in ~/.config/retroarch/configs/<system>/pacman.cfg which should also include the video_rotation configuration.

        I tested with a simple configuration file for one of my ROMs - similar to your setup - by just adding a ROMNAME.cfg file with video_rotation = 1 in it - and it worked fine, so your initial configuration should also work.

        EDIT: can you also post the /opt/retropie/configs/arcade/retroarch.cfg file contents on pastebin.com ?

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by

          mame knows what games are vertical from the drivers

          1 Reply Last reply Reply Quote 0
          • G
            grant2258 Banned
            last edited by

            @schmiddyman a 90 degree rotated tate mode just draws the image in a monitor like it was rotated 90 degrees i can take picture for you. Its the users responsibility to physically rotated teh monitor if they choose too

            schmiddymanS 1 Reply Last reply Reply Quote 0
            • G
              grant2258 Banned
              last edited by

              https://github.com/grant2258/mame2003-plus-libretro/issues/8

              this is what tate mode should be doing for you if it isint doing this for you with pacman please update mame2003 from source

              schmiddymanS 1 Reply Last reply Reply Quote 0
              • schmiddymanS
                schmiddyman @grant2258
                last edited by

                @grant2258 @mitu Just trying to summarize: You suggest to use the tate mode because the roms contain the information if they are vertical or horizontal games. Retroarch does the magic rotation automatically. All I need to do in the rom's configuration is set the cabinet mode to cocktail.
                How do you guys change configurations? I usually do it in an external editor manually. Should I do it through the GUI instead? Can you tell me the exact spot where you call the config calls required? I am still pretty new to RetroPie. I also want to say a big thanks to all of you who have helped so far. It is a bit less frustrating to get it to work. I still got a few more problems to solve before I finally get to play my machine the way I like it to.

                1 Reply Last reply Reply Quote 0
                • schmiddymanS
                  schmiddyman @grant2258
                  last edited by

                  @grant2258 said in pacman.zip.cfg doesn't get called:

                  https://github.com/grant2258/mame2003-plus-libretro/issues/8

                  My player one is on the right hand side. So the screen has to flip 180 degrees

                  schmiddymanS 1 Reply Last reply Reply Quote 0
                  • schmiddymanS
                    schmiddyman @schmiddyman
                    last edited by

                    @schmiddyman Sorry, left hand side

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      you need to make choices. Do you want vertical games to flip 90% automatically if yes use tate mode.

                      If the game supports cocktail mode it will flip itself like pacman does if not youll need to deal with it

                      1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by

                        we will need your aspect ratio index for a start at least type.

                        if your roms are in mame-libretro

                        less  /opt/retropie/configs/mame-libretro/retroarch.cfg | grep aspect_ratio_index
                        

                        if your roms are in arcade

                        less  /opt/retropie/configs/mame-libretro/retroarch.cfg | grep aspect_ratio_index
                        

                        if this index number is 21 its wrong

                        schmiddymanS 1 Reply Last reply Reply Quote 0
                        • schmiddymanS
                          schmiddyman @grant2258
                          last edited by

                          @grant2258 my roms are in arcade, but I only have the default retroarch.cfg in it which inherits from ALL. In that config file the aspect_ratio_index is commented out. What value should I set it to?
                          @mitu I was successful setting the rotation in the rgui menu under video and saving it . But of course it would be more elegant to do it the "tate" way. That would save me some work to do it for every single game.

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

                            @schmiddyman The docs say that in order to get the games to automatically rotate, you'll need to enable the tate mode in the core options for mame2003, but disable the video_allow_rotate option. The core options can be set from RGUI (and are automatically saved) and you can add the video_allow_rotate = false in the arcade system's retroarch.cfg. Remove/rename your ROM .cfg file and try to see if that works.

                            1 Reply Last reply Reply Quote 0
                            • G
                              grant2258 Banned
                              last edited by grant2258

                              first of all you want to update your mame2003 since the retropie binary is old grab it from the libretro build bot from here or compile it yourself.

                              cd ~
                              wget https://buildbot.libretro.com/nightly/linux/armv7-neon-hf/latest/mame2003_libretro.so.zip
                              sudo unzip mame2003_libretro.so.zip  -d /opt/retropie/libretrocores/lr-mame2003/
                              rm mame2003_libretro.so.zip
                              

                              your index number should be 22

                              aspect_ratio_index = "22"
                              

                              @mitu ive tested this video_allow_rotate = "true" is fine to use all is working well when you update the aspect ratio index the 21(square now) will stop tate mode working properly

                              schmiddymanS 1 Reply Last reply Reply Quote 0
                              • schmiddymanS
                                schmiddyman @grant2258
                                last edited by

                                @grant2258 Yeah, I upgraded the mame2003 and the tate option works!!! I have the aspect_ratio_index set to 21. If I set it to 22 I get a black screen.

                                G mituM 2 Replies Last reply Reply Quote 0
                                • G
                                  grant2258 Banned @schmiddyman
                                  last edited by grant2258

                                  @schmiddyman what version of retropie are you on ? set it back to 21 if you like but the settings -> video-> aspect ratio should be reading core provided when you check it. Maybe one of your over rides are causing issues.

                                  schmiddymanS 1 Reply Last reply Reply Quote 0
                                  • schmiddymanS
                                    schmiddyman @grant2258
                                    last edited by

                                    @grant2258 V4.4

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned
                                      last edited by

                                      ill bow down to @mitu for advice on how to setup your aspect ration index in retropie. I personally done it through retropie setup.

                                      I usually use retroarch from it native environment it ok to edit the confings there if you choose to or change option in RA because it saves the settings on exit.

                                      Rretropie configs are best done through retropie setup as it runs retroarch in a different kind of environment so i wouldn't advise hand editing unless you know what your doing

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

                                        @schmiddyman Why do you set aspect_ratio_index explicitely ? As @grant2258 said, you should leave it as 'core provided', there is no need to set it yourself. One use is when you want add bezels and you'd want to provide a custom resolution, but if you're not, then I don't see why you'd override the defaults (core provided).

                                        schmiddymanS 1 Reply Last reply Reply Quote 0
                                        • schmiddymanS
                                          schmiddyman @mitu
                                          last edited by

                                          @mitu It works for me when I don't specify it. The only problem is that it rotates to the wrong direction for my coffee table setup. I ended up having to define rotation for every single game I want to play in vertical mode.

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            grant2258 Banned
                                            last edited by

                                            rotate your monitor then

                                            schmiddymanS 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.