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

    Saving Fast Forward/Achievements in retroarch.cfg

    Scheduled Pinned Locked Moved Help and Support
    control mappingconfig savingretroarch.cfg
    45 Posts 3 Posters 14.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.
    • Used2BeRXU
      Used2BeRX @meleu
      last edited by

      @meleu Yeah. He said he needed to put the sudo before setfont just to get the command to work in the Linux console. He asked you how to make that permanent and you said you added the command to your /.bashrc, but you were on a trip and away from your computer so you didn't ever get back to him how to do it.

      I've never had to use sudo in front of setfont in the Linux console. The command works fine without it.

      Whether I put that command with or without sudo in /.bashrc though either nothing happens or it "breaks" /.bashrc and gives me errors.

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @Used2BeRX
        last edited by

        @Used2BeRX can you please do the following?:

        cat ~/.bashrc > mybashrc.txt
        

        It will create a file named mybashrc.txt. Get the file through FTP (which seems to be the method you're used to use), open it, copy'n'paste its contents in http://codepad.org/ (select the "Plain Text" at the left of text box). And then paste the URL here.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        Used2BeRXU 1 Reply Last reply Reply Quote 0
        • Used2BeRXU
          Used2BeRX @meleu
          last edited by

          @meleu "~/.bashrc" didn't work with a "file not found", but "/home/pi/bashrc" worked.

          Here's the link: http://codepad.org/vU0lktOT

          This is the clean working version without an attempt at a setfont command.

          meleuM B 2 Replies Last reply Reply Quote 0
          • meleuM
            meleu @Used2BeRX
            last edited by

            @Used2BeRX said in Saving Fast Forward/Achievements in retroarch.cfg:

            @meleu "~/.bashrc" didn't work with a "file not found", but "/home/pi/bashrc" worked.

            bingo! The file MUST be named /home/pi/.bashrc (the ~ char is shortcut to your home directory, as you are the user pi, it means /home/pi).

            If you would like to know what is the purpose of this file, maybe this link can help:
            https://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            B 1 Reply Last reply Reply Quote 1
            • B
              backstander @Used2BeRX
              last edited by backstander

              @Used2BeRX
              I quickly compared my .bashrc with your bashrc and they look pretty much identical. One note though, it is named incorrectly and needs the period at the first of the name. Without the period the system won't find it. Unix (Linux & Mac OS X) will put a period at the beginning of a filename to make it a "hidden file". Windows and DOS usually doesn't like this and if you try to edit a file named this way, Windows will remove the period.

              To fix/rename the file you'll want to type something like this from the command line:

              mv ~/bashrc ~/.bashrc
              
              Used2BeRXU 1 Reply Last reply Reply Quote 0
              • B
                backstander @meleu
                last edited by

                @Used2BeRX
                In Unix, the ~/ is simular to what Windows does for %USERPROFILE% or %HOMEPATH%.

                My first computer ran MS-DOS (Windows 3.1) (remember having to make special boot disks to play games?) but I was first introduced to Linux back in 1997 by a Computer Science friend of mine. I also will be turning 40 this year. I personally like RetroPie because it is so customizable but like @meleu said, Recalbox (which is very similar to RetroPie) is much easier to use and setup but not nearly as customizable as RetroPie. Think of RetroPie kind of like Android and Recalbox kind of like iOS.

                I do agree that some background is programming might make learning Linux a little easier but I think if you stick with it , you'll be navigating Linux like a pro faster than you think!

                Used2BeRXU 1 Reply Last reply Reply Quote 1
                • Used2BeRXU
                  Used2BeRX @backstander
                  last edited by Used2BeRX

                  @backstander @meleu I'm sorry guys. That was a typo. the file is named /home/pi/.bashrc

                  It does have the period. I did edit it on my Windows PC and send it back, but I didn't edit it in Explorer. I edited it with WinSCP, and it didn't remove the period.

                  Any idea how I can put a line or two in there to get the system to load with a bigger font by default?

                  EDIT:

                  I figured it out! I'm going to write up a guide on how to do it and I'll link it here when I'm done. :)

                  EDIT2: Here's the guide. Thanks guys.

                  https://retropie.org.uk/forum/topic/11030/instructions-how-to-permanently-enlarge-alter-font-and-font-size

                  B 1 Reply Last reply Reply Quote 2
                  • B
                    backstander @Used2BeRX
                    last edited by

                    @Used2BeRX
                    Nice tutorial! Lat15-TerminusBold28x14.psf.gz does look even better! Now I can see while sitting on the couch!

                    Just to make it more readable for newbies, you might put the code in markdown code blocks. Here's the documentation about it:
                    http://commonmark.org/help/

                    Used2BeRXU 1 Reply Last reply Reply Quote 2
                    • Used2BeRXU
                      Used2BeRX @backstander
                      last edited by

                      @backstander @meleu I added something after you guys saw the instructions that you're going to want to keep in mind if you try this out.

                      IMPORTANT ADDENDUM:

                      Some programs may not play nice with the larger size. I found that jstest (for testing your joysticks) does not work right with a TerminusBold font size greater than 20x10. Every time you press a button it writes a new line on the screen with the output instead of just switching on and off like designed.

                      You have two options here.

                      1. Keep the text size permanently the way you like it and just remember to enter the setfont command to a size small enough for jstest (or other problem programs).

                      2. Bring the font size down to 20x10 or whatever necessary with a different font and you don't have to remember the setfont line.

                      Personally, I would go for number 1. Using jstest is the only time I've noticed this to be a problem and I don't imagine I'll be using it often. I'd much rather have the text on the screen very large 100% of the time until the few times I would need to change it.

                      1 Reply Last reply Reply Quote 1
                      • Used2BeRXU
                        Used2BeRX @backstander
                        last edited by

                        @backstander Good call. It looks a lot better now.

                        Glad I could help you out. Pretty damn sweet, huh?

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

                          @Used2BeRX

                          Pretty damn sweet, huh?

                          Yes it is and it looks like @meleu is in the process of adding this to the official RetroPie wiki/docs.

                          Used2BeRXU 1 Reply Last reply Reply Quote 0
                          • Used2BeRXU
                            Used2BeRX @backstander
                            last edited by

                            @backstander Nice. :)

                            Now all I have to do is get my Pi back to where it was before I broke Sudoers and see if I can actually get the retroarch.cfg files to save and work properly. Almost forgot that's what this thread was originally about.

                            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.