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

    How to edit /boot/config.txt ?

    Scheduled Pinned Locked Moved Help and Support
    config
    9 Posts 7 Posters 59.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.
    • J
      Jesse
      last edited by Floob

      Hi

      How can I access config.txt for edit composite video on rapsberry pi?
      Thank.

      demesauceD 1 Reply Last reply Reply Quote 0
      • FloobF
        Floob
        last edited by

        On windows you can just put your micro SD card in the PC and browse to the file.
        Or you can edit it at the command line if you connect via SSH

        nano /boot/config.txt
        

        Please read the Docs before asking a new question.
        RetroPie Help Guides: https://goo.gl/3gcNsT

        1 Reply Last reply Reply Quote 0
        • demesauceD
          demesauce Banned @Jesse
          last edited by

          @Jesse better use sudo nano to edit the file: sudo nano /boot/config.txt

          1 Reply Last reply Reply Quote 0
          • J
            Jesse
            last edited by

            Now I found config.txt but how can I change HDMI to composite video by config for small portable DVD player?

            Will all games work on composite video?

            Last time I was try start games on composite video by RecalBox but games wont start up and I didn't get help from recalBox forum that why I move to RetroPie

            Thank

            Jesse.

            1 Reply Last reply Reply Quote 0
            • obsidianspiderO
              obsidianspider
              last edited by

              look for this line #sdtv_mode=0. Change it to one of the following as per your type of TV/Monitor. I have it set to Normal PAL.

              sdtv_mode=0    Normal NTSC
              sdtv_mode=1    Japanese version of NTSC – no pedestal
              sdtv_mode=2    Normal PAL
              sdtv_mode=3    Brazilian version of PAL – 525/60 rather than 625/50, different subcarrier
              

              Next thing you need to add is hdmi_ignore_hotplug=1. Make sure that hdmi_force_hotplug=1 is commented out. Now this is the setting you should keep in mind always. You will have to switch back this setting if you ever plug-in your Raspberry Pi with HDMI. Better to write both and just comment out one of them with #symbol.

              Source: Force Raspberry Pi output to composite video instead of HDMI

              📷 @obsidianspider

              1 Reply Last reply Reply Quote 0
              • J
                Jesse
                last edited by

                It is work prefect, Thank you so much. But i have one problem no sound output from 3.5mm Jack but I pay games on CRT TV but no sound to hear, please help.

                Regard Jesse

                1 Reply Last reply Reply Quote 0
                • cyperghostC
                  cyperghost
                  last edited by

                  Go to RetroPie menu > Audio > 3,5 mm Jack

                  to verify:
                  use omxplayer omxplayer YOURMP3FILE.MP3

                  1 Reply Last reply Reply Quote 1
                  • B
                    backstander
                    last edited by backstander

                    @Jesse
                    Another way to edit /boot/config.txt is by plugging in a USB keyboard to your Raspberry Pi and pressing F4 to exit EmulationStation to the command prompt and then type

                    sudo nano /boot/config.txt
                    

                    After you're done editing you can use keyboard shortcuts such as Ctrl+O to save a file and Ctrl+X to exit.

                    You can also test audio with this command:
                    speaker-test -c2

                    press Ctrl+C to stop the test

                    1 Reply Last reply Reply Quote 1
                    • R
                      RetroResolution
                      last edited by

                      Another couple of ssh options, assuming your Pi is networked:

                      From an android device, use JuiceSsh. This is an excellent remote shell tool, and free
                      From Windows, use PuTTY.

                      If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                      RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                      1 Reply Last reply Reply Quote 1
                      • 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.