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

    Daphne Resolution Issue

    Scheduled Pinned Locked Moved Help and Support
    daphneretropiejamma240parpicade
    13 Posts 6 Posters 4.3k 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.
    • GalagaG
      Galaga
      last edited by Galaga

      Hi! I'm trying to set up a Pi 3 with RetroPie in a JAMMA bartop with a 240p arcade monitor! I'm using a ArPiCade adapter that also uses GPIO for controls. However instead of the 8:3 resolution I need, it defaults to this weird 720x240 resolution, and all of my games look like a rectangle! For RetroArch emulators I can easily fix this, but non-RetroArch emulators wont change like Daphne! I tried editing daphne.sh by adding a resolution but it didn't work! Any suggestions? Thanks!

      Pi Model or other hardware: Pi 3
      Power Supply used: Monitor transformer through JAMMA harness
      RetroPie Version Used: I think 4.2 maybe?
      Built From: Raspbian
      USB Devices connected: keyboard, sometimes a mouse
      Controller used: N/A
      Emulator: Daphne

      1 Reply Last reply Reply Quote 0
      • GalagaG
        Galaga
        last edited by

        Picture: http://imgur.com/a/RDp55

        1 Reply Last reply Reply Quote 0
        • GalagaG
          Galaga
          last edited by

          So I guess if it's not a RetroArch emulator im screwed. Ugh...

          caver01C 1 Reply Last reply Reply Quote 0
          • caver01C
            caver01 @Galaga
            last edited by

            @galaga is command line squished like that? Or what about EmulationStation? What does the screen look like when booting or if you were to load a desktop?

            In my experience, Daphne likes to be 640x480, or upscaled from that.

            My 4-player cocktail style cabinet built as a custom "roadcase"

            GalagaG 1 Reply Last reply Reply Quote 0
            • GalagaG
              Galaga @caver01
              last edited by

              @caver01 Everything else is fine but the actual games. In the menu where you can change a emulator resolution it only has this 720x240 resolution which is screwing it up (no other 240p resolutions). It didn't do this when it was set to 1080p on my TV... I'm going to mess around with Daphne itself and see if I can get anywhere.

              1 Reply Last reply Reply Quote 0
              • GalagaG
                Galaga
                last edited by Galaga

                WOW! I FINALLY got this Daphne issues figured out. I needed to make a custom resolution 320x240 for the Pi, set the framebuffer to 320x240, then add x-320 y-240 after the -fullscreen tag in daphne.sh. Here's how it looks now!: http://imgur.com/a/mweWb

                caver01C 1 Reply Last reply Reply Quote 0
                • caver01C
                  caver01 @Galaga
                  last edited by

                  @galaga it did sound more like a base config issue. Glad you figured it out. How do you like the game on the CRT?

                  Also, looks like you have an under voltage issue with your Pi's power supply as indicated by the lightning bolt icon.

                  My 4-player cocktail style cabinet built as a custom "roadcase"

                  GalagaG 1 Reply Last reply Reply Quote 0
                  • GalagaG
                    Galaga @caver01
                    last edited by

                    @caver01 The game looks great on the CRT. I still need to adjust the monitor, and set up controls and sound first. And yes there is a under-voltage issue. The Pi is being powered by the monitor transformer so there's nothing I can really do until I install a proper PSU.

                    1 Reply Last reply Reply Quote 0
                    • S
                      shing86
                      last edited by

                      @Galaga can you tell me how you edited the daphne.sh file, please? I can't edit from file and from terminal I don't know what I need to write.

                      1 Reply Last reply Reply Quote 0
                      • T
                        TenaciousJ
                        last edited by

                        This is a very old thread, but I found it so others may too, so I'm posting a solution in case someone needs it.

                        to adjust to a precise resolution, you need to edit:

                        /opt/retropie/emulators/daphne/daphne.sh

                        On the line that ends in : -fullscreen $params

                        you want to change that to read : -fullscreen -x 1024 -y 768 $params

                        or whatever resolution you're trying to force the games to run at. -x 1920 -y 1080 for 1080p, for example.

                        That should force the rendering to the correct dimensions, but you may also need to add the flag: -ignore_aspect_ratio

                        Hope this helps someone down the road save some time and some hair.

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

                          @TenaciousJ Instead of modifying the daphne.sh file, which will be overwritten on an upgrade, the easiest way to add parameters to the emulator is to use the .commands file, present in the game's .daphne folder. This is where the $params in the command line are coming from.

                          Y 1 Reply Last reply Reply Quote 0
                          • Y
                            Yobiwan @mitu
                            last edited by

                            @mitu Hi ! I'm looking for a parameter to force 4/3 ratio. What would you recommend ?

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

                              @Yobiwan said in Daphne Resolution Issue:

                              What would you recommend ?

                              Opening a new topic and detailing what you tried so far and it's not working.

                              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.