RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Custom configs for CRT using the built-in composite out

    Scheduled Pinned Locked Moved Projects and Themes
    crtcrt tv
    147 Posts 23 Posters 60.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.
    • T
      tix @Sakitoshi
      last edited by

      @Sakitoshi said in Custom configs for CRT using the built-in composite out:

      @tix to make a particular game use the retropie defaults you can make a game override (inside retroarch. quick menu -> overrides -> save game overrides) and then modify it replacing the contents of the override file (should be located at configs/arcade/config_crt/MAME 2003 (0.78)/*name of the game.cfg*) with the default retroarch config (you may have a copy of it named retroarch.cfg.rp-dist).

      arcade default:

      # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
      
      input_remapping_directory = "/opt/retropie/configs/arcade/"
      
      #include "/opt/retropie/configs/all/retroarch.cfg"
      
      

      that will make that game behave as if you don't have my configs and of course you can edit that config file to your liking to make the game look as you wish.
      Thanks man !

      I guess vector games will benefit greatly by turning on 480i mode ?
      Can you give an example of a override config, doing this ?

      SakitoshiS 1 Reply Last reply Reply Quote 0
      • SakitoshiS
        Sakitoshi @tix
        last edited by

        @tix 480i mode is a thing of my scripts, not part of retroarch, so editing that config file will not activate it.
        for that you need to put a file named 480i.txt inside the folder of the system you want to force 480i, inside the file you have to write the name of the rom file (preferably with its extension) and that's it. this is explained in the readme at github btw.
        if is an arcade game and you have the optional arcade tweaks the 480i file should be already there, so you only have to add the vector games to the list.

        frgnF 1 Reply Last reply Reply Quote 0
        • frgnF
          frgn @Sakitoshi
          last edited by

          @Sakitoshi
          Hi, I have a little problem. Perhaps I misunderstood something or missed something?
          Of all the guides for setting up a RetroPie for CRT TVs, one general advice can be made - disabling the overscan. It really contributes to a better picture. However, after disabling the overscan, my screen shifts to the left, up and down, so I do not see many elements of the UI ​​in games. For example, I made this image.
          001.png
          002.png
          Of course, in the retroarch settings, you can adjust the offset and scale, but in this case the pixel perfect is violated and the whole point of this idea disappears. Therefore, I had to adjust the offset and scale in my TV (thanks to the service mode). I did it, but on other TVs the picture is still cropped. Is there any way to fix this?
          So I wonder, is this a common problem, or is it just me?

          Aloha from Russia, and sorry for my bad English. ¯\(ツ)/¯
          My RetroPie themes repo - https://github.com/free-gen/
          Blast16 to MDMINI mod
          DONATE HERE

          SakitoshiS 1 Reply Last reply Reply Quote 0
          • SakitoshiS
            Sakitoshi @frgn
            last edited by

            @frgn are those images just examples or the grayed out area represents exactly how much image you are missing?
            because if those are direct captures from your raspi I can easily tell that the nes emulator is cutting overscan (and the genesis emu too, but the image is adjusted correctly, so it doesn't matter). it's natural to lose some of the borders, but that castlevania screenshot is obviously wrong.

            fceumm, nestopia and genesis plus gx (picodrive has the option too, but it only disables vertical cropping, not horizontal) have settings to not crop overscan.
            1e1cda13-ff8c-4322-ad12-27d664e95951-image.png
            that image is from my pc, but you need to turn off both cropping settings.
            my configs have that already set up, so you missed copying some files (or the settings changed so my pre-configuration broke, I haven't checked).

            for reference, here is how many pixels are missing on my tv set:
            NES:
            240pee-200126-030306.png

            SNES:
            240pSuite-200126-030504.png

            Genesis:
            240pTestSuite-v15-200126-030558.png

            frgnF 1 Reply Last reply Reply Quote 0
            • frgnF
              frgn @Sakitoshi
              last edited by

              @Sakitoshi
              thanks for the answer. I will check these settings soon and I hope this helps.
              I painted these images in paint. Of course, they do not show an exact picture, but only an example, so that it is clear what I'm talking about.
              I didn’t copy anyone’s settings, I tried to do everything myself from the very beginning (but at first I read a lot of manuals, including yours). I did this in order to figure out how scan and image rendering work on older gaming systems.

              Aloha from Russia, and sorry for my bad English. ¯\(ツ)/¯
              My RetroPie themes repo - https://github.com/free-gen/
              Blast16 to MDMINI mod
              DONATE HERE

              1 Reply Last reply Reply Quote 0
              • frgnF
                frgn
                last edited by frgn

                @Sakitoshi
                I copied all your settings and now everything looks great! but I have a problem with psx games (driver and driver2). for some reason they are flattened. other games work well.
                2020-01-30 15-20-37.JPG 2020-01-30 15-16-27.JPG
                I also would like my menu to work in 240p so that there is no flicker.
                can this be changed somehow?

                UPD - Destruction Derby 2 has the same problem.
                And they are all from one publisher. Very interesting...

                UPD2 - if change the vertical resolution in the settings to 512 pixel or more, the screen aligns. I decided to change the render resolution for psx system (videomodes.cfg file):

                lr-pcsx-rearmed_render = "690x512"
                

                this solves the problem of a squashed screen, but now the image is not as perfect as with your settings.
                I really hope that this can be somehow fixed - for example, add an exception somewhere in the script for games that have this property?

                Aloha from Russia, and sorry for my bad English. ¯\(ツ)/¯
                My RetroPie themes repo - https://github.com/free-gen/
                Blast16 to MDMINI mod
                DONATE HERE

                SakitoshiS 1 Reply Last reply Reply Quote 0
                • SakitoshiS
                  Sakitoshi @frgn
                  last edited by

                  @frgn are you using integer scaling? or are those eur isos perhaps?
                  both driver games use a wide native resolution (512x240) so integer scaling is a bad idea.
                  and european games typically use a higher vertical resolution (256) that the default configs are not prepared to handle, my configs are for ntsc only after all. but that doesn't mean it cannot be fixed, in retroarch you can crank the custom height to 512, adjust the Y pos accordingly and save a game override.

                  frgnF 1 Reply Last reply Reply Quote 0
                  • frgnF
                    frgn @Sakitoshi
                    last edited by

                    @Sakitoshi
                    No, initially I did not change anything in the settings. it is these games that behave this way. and yes, all these games of the PAL european region. I noticed that they have a vertical resolution of 256 points (although this is usually 240). I found a PAL-NTSC patcher on the web that corrects the resolution and makes the PAL game work in NTSC mode. I hope this fixes my problem. but I was hoping that in your configs I can change a couple of lines so that it works for such games too?

                    What about progressive scan in the ES menu? What needs to be changed so that it is always in 240p, while don't breaking anything?

                    Aloha from Russia, and sorry for my bad English. ¯\(ツ)/¯
                    My RetroPie themes repo - https://github.com/free-gen/
                    Blast16 to MDMINI mod
                    DONATE HERE

                    SakitoshiS 1 Reply Last reply Reply Quote 0
                    • SakitoshiS
                      Sakitoshi @frgn
                      last edited by Sakitoshi

                      @frgn to always have 240p you'll need to edit a line of your /boot/config.txt from:

                      sdtv_mode=0
                      

                      to:

                      sdtv_mode=16
                      

                      and go to configs/all to delete runcommand-onstart.sh and runcommand-onend.sh

                      I also recommend uncommenting (deleting the # at the beginning) this two lines of /boot/config.txt so you can read retropie setup and runcommand:

                      #framebuffer_width=580
                      #framebuffer_height=360
                      

                      by doing so you'll lose the 480i blacklist/whitelist support though.

                      G D 3 Replies Last reply Reply Quote 1
                      • G
                        GrannyGames @Sakitoshi
                        last edited by

                        @Sakitoshi
                        thanks for your work, it was really good. I don't feel any difference being playing there or on a console.
                        I'm having a hard time getting kodi to work on it, as I would like to watch my movies in a classic way. Do you know what I need to do to change this?
                        I would also like to know if I can distribute a retropie for free on the Internet with its modifications applied? there are people who don't know how to make these changes and it would be a way to help.
                        again THANK YOU SO MUCH!

                        1 Reply Last reply Reply Quote 0
                        • D
                          dimetrius @Sakitoshi
                          last edited by dimetrius

                          @Sakitoshi
                          ran into a problem on games final burn alpha games run with horizontal gray wide stripes. in other consoles nes, snes, megadrive, psx this problem is not present here everything is very good
                          IMG_20200525_155508-min.jpg
                          IMG_20200525_154819-min (1).jpg

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dimetrius @dimetrius
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • D
                              dimetrius @Sakitoshi
                              last edited by

                              @Sakitoshi Hi in retropie 4.6, the games "Final burn alpha" do not go into crt mode. Can you please see what the problem is. Many thanks

                              SakitoshiS 1 Reply Last reply Reply Quote 0
                              • SakitoshiS
                                Sakitoshi @dimetrius
                                last edited by

                                @dimetrius the finalburn category indeed doesn't have a config created.
                                I'm not planing on creating one either since I use the arcade category to group all the arcade games. but you can copy the contents of /configs/arcade/retroarch_crt.cfg to /configs/fba/retroarch_crt.cfg and /configs/fba/retroarch.cfg being careful of editing the directories to point to configs/fba instead of configs/arcade.

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

                                  Hey @Sakitoshi ,

                                  using your configs and support I already have a perfect setup for my CRT !
                                  The only thing not perfect are the vertical oriented arcade games..
                                  So since I have a new CRT I'm thinking to place it on it's side and build a verical only retropie setup just for those beautiful games :)

                                  So do you have any tips in this direction, or even better some ready made configs/images for us/me noobs ?
                                  Of course I should find a way to rotate emulation station and everything..

                                  SakitoshiS 1 Reply Last reply Reply Quote 1
                                  • SakitoshiS
                                    Sakitoshi @tix
                                    last edited by

                                    @tix there isn't really a trick to make vertical games work better (that I know of). at most I have a dedicated configuration files (arcade_tweaks.zip) to play vertical games without having to put your tv sideways.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dimetrius @Sakitoshi
                                      last edited by dimetrius

                                      @Sakitoshi Hello There are a number of sony playstation games in the PAL region, an image with large black bars at the top and bottom. Please tell me exactly where in retroarch, in which section which line to set the value to 512. Thank you so much.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Krullnar
                                        last edited by

                                        @Sakitoshi

                                        I really appreciate your efforts here. My results are perfect. Exactly what I had in my imagination.

                                        The only thing I ran into is that I had unusual height scaling issues with some games( SNES Dragon Quest I & II, Dragon Quest III, Ys IV, Ys V... all role playing games for some reason). I had to tinker with the scaling height to get those improperly scaled lines to go away. For some reason it ended up playing nice with just one pixel lower than the default height (2x) in your config.

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          IGA
                                          last edited by

                                          Hello)
                                          Could you tell me how ( if it possible) to run raspberry in PAL mode (sdtv_mode=2) with all emulaters configured for NTSC ?

                                          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.