• 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

*SOLVED* 240p per emulator (run command setting) possible?

Scheduled Pinned Locked Moved Help and Support
240prun commandpervideomodes
25 Posts 8 Posters 12.4k 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.
  • M
    matchaman
    last edited by matchaman 1 Oct 2018, 07:28 10 Jan 2018, 07:28

    No need to install anything. You can either create the file or use the run command for loading a specific resolution for the emulator.

    Then the file will be created with emulatorname = "NTSC-4:3" that will have to be changed manually to emulatorname = "NTSC 4:3 P"

    Just make sure that your RetroPie is up to date because 240p was not supported in previous firmware versions.

    M 1 Reply Last reply 10 Jan 2018, 08:25 Reply Quote 0
    • B
      BuZz administrators
      last edited by 10 Jan 2018, 08:09

      This probably works "by accident", but glad you have a solution. I will look into adding official support for switching to progressive modes though.

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      M 1 Reply Last reply 10 Jan 2018, 08:36 Reply Quote 0
      • M
        mitu Global Moderator @matchaman
        last edited by 10 Jan 2018, 08:25

        @matchaman said in *SOLVED* 240p per emulator (run command setting) possible?:

        No need to install anything. You can either create the file or use the run command for loading a specific resolution for the emulator.

        Yes, I see that the file is created when you change the resolution through the Runcommand launch. I didn't have that since I haven't done this for any emulator. Enjoy on your CRT !

        1 Reply Last reply Reply Quote 0
        • M
          matchaman @BuZz
          last edited by 10 Jan 2018, 08:36

          @buzz said:

          This probably works "by accident", but glad you have a solution. I will look into adding official support for switching to progressive modes though.

          Yup, lots of trial and error :D that would be great, thanks!

          @mitu said:

          Yes, I see that the file is created when you change the resolution through the Runcommand launch. I didn't have that since I haven't done this for any emulator. Enjoy on your CRT !

          Thanks! Just make sure that you don't use any shaders and you have enabled bilinear filtering in Video settings. Not all lines correspond to the original pixels on every system but bilinear smoothing does an OK job in fixing this.

          1 Reply Last reply Reply Quote 1
          • O
            ohmycommodore
            last edited by 10 Jan 2018, 12:20

            So this is still while using sdtv_mode=16 in config.txt? Any other changes in that file?

            And the end result, after this videomodes work, is games in 240p, and menus / everything else in a more readable resolution?

            1 Reply Last reply Reply Quote 0
            • M
              matchaman
              last edited by matchaman 1 Oct 2018, 13:45 10 Jan 2018, 13:15

              No, I am using sdtv_mode=2 (PAL 576i, the best possible picture for menus). 240p will apply only when running emulators and will normally revert back to interlaced when exiting.

              For those who can't use PAL, it's unfortunate that if the sdtv_mode is 0 (480i), when exiting the signal will remain 240p for the rest of the session, making text hard to read. It goes back to interlaced only if the config.txt is PAL (and vice versa as I just confirmed).

              To sum it up, you can have 576i@50hz for the menus via sdtv_mode=2 in /boot/config.txt and 240p@60hz for emulators via emulatorname = "NTSC 4:3 P" in /opt/retropie/configs/all/videomodes.cfg

              1 Reply Last reply Reply Quote 1
              • O
                ohmycommodore
                last edited by 10 Jan 2018, 13:49

                OK thanks. Hopefully what you've learned will help open up doors to an NTSC solution. Good job with the trial and error!

                E 1 Reply Last reply 13 Jan 2018, 03:06 Reply Quote 1
                • M
                  matchaman
                  last edited by 12 Jan 2018, 21:37

                  You're welcome. Really glad to see I'm also helping others with 240p awesomeness! :D

                  1 Reply Last reply Reply Quote 0
                  • E
                    edmaul69 @ohmycommodore
                    last edited by 13 Jan 2018, 03:06

                    @ohmycommodore in the previous 240p thread i explained how i made the menus and emulationstation 480 and the games 240p.

                    M 1 Reply Last reply 13 Jan 2018, 10:47 Reply Quote 1
                    • M
                      matchaman @edmaul69
                      last edited by matchaman 13 Jan 2018, 10:47

                      @edmaul69

                      Where is that located? I spent time looking and there was no simple solution. Some suggested running scripts that ruined the theme when exiting games or using shaders (to force things out?) which I avoid for performance reasons.

                      E 2 Replies Last reply 13 Jan 2018, 21:29 Reply Quote 0
                      • E
                        edmaul69 @matchaman
                        last edited by 13 Jan 2018, 21:29

                        @matchaman i posted it here:

                        https://retropie.org.uk/forum/topic/13503/480p-menus-240p-games/4

                        1 Reply Last reply Reply Quote 0
                        • E
                          edmaul69 @matchaman
                          last edited by 13 Jan 2018, 21:43

                          @matchaman also here are the commands for tv service. i use putty to ssh into the pi to use commandline.

                          240p

                          sudo tvservice -c "NTSC 4:3 P" ; fbset -depth 8 ; fbset -depth 32; tvservice -s
                          

                          480

                          sudo tvservice -c "NTSC 4:3" ; fbset -depth 8 ; fbset -depth 32; tvservice -s
                          
                          1 Reply Last reply Reply Quote 0
                          • M
                            matchaman
                            last edited by 14 Jan 2018, 08:59

                            I see, however it's possible to be done via runcommand which is simpler, doesn't give a momentary message and also safer for video themes.

                            In the past I tried several workarounds (very likely including your method) and when exiting a game, video themes had erroneous structure :/

                            Though runcommand isn't perfect either; as I mentioned before, if the config.txt mode is NTSC or PAL, then the game running in the same region's progressive mode will not go back to interlaced (unless it's at the opposite region).

                            E 2 Replies Last reply 14 Jan 2018, 16:42 Reply Quote 0
                            • E
                              edmaul69 @matchaman
                              last edited by edmaul69 14 Jan 2018, 16:42

                              @matchaman i never get an error message, so not sure what you get from other methods.

                              Edit:i think you are saying themes that have videos gets the erroneous structure? I wouldnt know as i dont use video themes.

                              1 Reply Last reply Reply Quote 0
                              • E
                                edmaul69 @matchaman
                                last edited by edmaul69 14 Jan 2018, 16:43

                                @matchaman also with this method i use, it goes back to interlaced after i exit a game. All this is ntsc as i dont use pal at all.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pjft
                                  last edited by 29 Jul 2018, 07:15

                                  I hate to resurrect an old thread, but I'll likely be going through the exact same process soon in an old PAL CRT.

                                  Just to confirm, @matchaman , your TV is PAL and yet it works well with the NTSC 4:3 P video mode, is that it?

                                  If you just used the sdtv mode to 240p you wouldn't have needed to change the individual emulators settings for them to display as intended but ES would have looked fairly bad, correct?

                                  Just making sure I follow it.

                                  Thanks!

                                  Y 1 Reply Last reply 29 Jul 2018, 11:26 Reply Quote 0
                                  • Y
                                    youxia @pjft
                                    last edited by 29 Jul 2018, 11:26

                                    @pjft Are you going to connect through RGB or composite?
                                    Personally I use runcommand which is more versatile but it also depends on the method you're using. There is also a CRT theme (named "CRT" :) which works well without the need for 480i.

                                    P 1 Reply Last reply 29 Jul 2018, 11:27 Reply Quote 0
                                    • P
                                      pjft @youxia
                                      last edited by 29 Jul 2018, 11:27

                                      @youxia I was going for composite.

                                      Y 1 Reply Last reply 29 Jul 2018, 11:44 Reply Quote 0
                                      • Y
                                        youxia @pjft
                                        last edited by 29 Jul 2018, 11:44

                                        @pjft Then I recommend reading about these 2 methods first, the ES look is the least of your worries ;)

                                        https://retropie.org.uk/forum/topic/18624/custom-configs-for-crt-using-the-built-in-composite-out
                                        https://retropie.org.uk/forum/topic/11628/240p-and-mame-scaling/12

                                        P 1 Reply Last reply 30 Jul 2018, 21:07 Reply Quote 2
                                        • P
                                          pjft @youxia
                                          last edited by 30 Jul 2018, 21:07

                                          @youxia Thanks - I'll look into it!

                                          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