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 run a command line from USB

    Scheduled Pinned Locked Moved Help and Support
    command line
    35 Posts 4 Posters 8.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.
    • DarkWolfD
      DarkWolf @stevefo
      last edited by

      @stevefo So what is the problem now? Accessing/editing the files?
      If so, you can edit those using nano:

      sudo nano <file path>

      And save with

      ctrl + x, enger
      y, enter

      System: Raspberry 3 Model B, RetroPie 4.2.1
      Storage: 16gb Micro SD, 64gb USB Drive
      Theme: Updated NBBA

      Documentation solves many problems: https://retropie.org.uk/docs/

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @stevefo
        last edited by

        @stevefo said in How to run a command line from USB:

        @DarkWolf Here is what I tried to do. Once I'm in command prompt on pi, I typed in each command line and neither would work.

        Curvature on the shader
        Remember, you can disable the curvature on the shader by editing
        /opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/shaders/crt-pi.glsl
        /opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/shaders/crt-pi-vertical.glsl

        #define CURVATURE = Curvature ON
        //#define CURVATURE = Curvature OFF

        you don't need to do any of that. just instead of using the crt-pi shader, use the crt-pi-curvature shader. we package both.

        S 2 Replies Last reply Reply Quote 0
        • S
          stevefo @dankcushions
          last edited by

          @dankcushions @ darkwolf,

          Could you type the command so I can copy and paste?

          1 Reply Last reply Reply Quote 0
          • S
            stevefo @dankcushions
            last edited by

            @dankcushions

            Is that in the settings of video manager? I don't see that option. It's the latest version 1.2

            DarkWolfD 1 Reply Last reply Reply Quote 0
            • DarkWolfD
              DarkWolf @stevefo
              last edited by DarkWolf

              @stevefo

              sudo nano /opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/shaders/crt-pi.glsl

              sudo nano /opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/shaders/crt-pi-vertical.glsl

              But you should check what @dankcushions wrote

              System: Raspberry 3 Model B, RetroPie 4.2.1
              Storage: 16gb Micro SD, 64gb USB Drive
              Theme: Updated NBBA

              Documentation solves many problems: https://retropie.org.uk/docs/

              S 1 Reply Last reply Reply Quote 0
              • S
                stevefo @DarkWolf
                last edited by

                @DarkWolf It looks like I may be able to change these settings in retroarch.

                https://github.com/RetroPie/RetroPie-Setup/wiki/Shaders-and-Smoothing#installation

                I'll try it later when I get home from work.
                I'll keep you posted.

                I really appreciate your help.

                DarkWolfD 1 Reply Last reply Reply Quote 0
                • DarkWolfD
                  DarkWolf @stevefo
                  last edited by DarkWolf

                  @stevefo That looks like what you searched for:
                  Would especially recommend this wiki page:
                  https://github.com/RetroPie/RetroPie-Setup/wiki/Configuration-Editor

                  System: Raspberry 3 Model B, RetroPie 4.2.1
                  Storage: 16gb Micro SD, 64gb USB Drive
                  Theme: Updated NBBA

                  Documentation solves many problems: https://retropie.org.uk/docs/

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    stevefo @DarkWolf
                    last edited by stevefo

                    @DarkWolf well, I messed something up in the settings and lost overlay borders and still could not get rid of screen curvature.

                    All I really want are Arcade bezel overlays. It shows here how to manually install just those but I don't understand it.
                    http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8288

                    DarkWolfD 2 Replies Last reply Reply Quote 0
                    • DarkWolfD
                      DarkWolf @stevefo
                      last edited by

                      @stevefo
                      I have like 0 time this morning... so I will try to write something on the go later!
                      But you will need a usb drive and ssh OR a program like winSCP

                      System: Raspberry 3 Model B, RetroPie 4.2.1
                      Storage: 16gb Micro SD, 64gb USB Drive
                      Theme: Updated NBBA

                      Documentation solves many problems: https://retropie.org.uk/docs/

                      1 Reply Last reply Reply Quote 0
                      • DarkWolfD
                        DarkWolf @stevefo
                        last edited by DarkWolf

                        @stevefo Ok, so assuming you removed the video manager (e.g. by reinstalling retropie)

                        And to clear some things up here:
                        The video manager is just a tool that downloads the shaders and overlays for you and is applying it to the corresponding config files. It is not needed for using shaders or overlays! This function is already implemented into retropie.

                        Ok, let's start:

                        1. Download the overlay zip and unzip it
                          Taken of the installation page:

                        Arcade Bezel overlays (John.Merrit)
                        https://mega.nz/#!eNIGyIrB!sgJf4lDXI-YOtVd-u49QmX1qL7ECRMjB95nNf8Meqow
                        /opt/retropie/emulators/retroarch/overlays/ (put folder in zip file above in here)

                        1. Hardest part: Copying the files to your pi:

                        If you have a programm like winSCP:

                        1. Connect to your pie
                        2. Navigate to `/opt/retropie/emulators/retroarch/overlays/
                        3. Copy the folder with the overlays into there

                        If you have a usb drive and a ssh connection:

                        1. Copy the folder with the overlays onto the root of your usb drive (rename the folder to bezels_overlays)
                        2. Plug the usb drive into your pi
                        3. Connect via ssh
                        4. Type this (one command)
                        cp -rv /media/usb0/bezels_overlays /opt/retropie/emulators/retroarch/overlays
                        
                        1. On Emulationstation:
                          Open this page and navigate to the menu shown in the Basic Configuration
                          Look at the last/third screenshot:
                          Set Overlay Enabled to true
                          and Overlay File to wich image you want as overlay
                        2. That's it

                        System: Raspberry 3 Model B, RetroPie 4.2.1
                        Storage: 16gb Micro SD, 64gb USB Drive
                        Theme: Updated NBBA

                        Documentation solves many problems: https://retropie.org.uk/docs/

                        DarkWolfD 1 Reply Last reply Reply Quote 0
                        • DarkWolfD
                          DarkWolf @DarkWolf
                          last edited by

                          @DarkWolf it messed up the format of my reply but I guess it's readable

                          System: Raspberry 3 Model B, RetroPie 4.2.1
                          Storage: 16gb Micro SD, 64gb USB Drive
                          Theme: Updated NBBA

                          Documentation solves many problems: https://retropie.org.uk/docs/

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stevefo @DarkWolf
                            last edited by

                            @DarkWolf Ok, just did a fresh install of retropie. I'm running late too. I'll try this method later this evening.

                            I'll check back to see if you have changed anything before I try it. I'll be using the SSH route.

                            Thanks for your continued help.

                            DarkWolfD 1 Reply Last reply Reply Quote 0
                            • DarkWolfD
                              DarkWolf @stevefo
                              last edited by

                              @stevefo Updated it a bit, hope that helps :)

                              System: Raspberry 3 Model B, RetroPie 4.2.1
                              Storage: 16gb Micro SD, 64gb USB Drive
                              Theme: Updated NBBA

                              Documentation solves many problems: https://retropie.org.uk/docs/

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                stevefo @DarkWolf
                                last edited by

                                @DarkWolf If it's not one thing it's another. I only use a MacBook. Anything I download from Mega gets messed up on here. I can never get mega to work on a mac.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  stevefo @stevefo
                                  last edited by

                                  @stevefo The arcade bezel overlays are from through Mega downloader.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    stevefo @stevefo
                                    last edited by

                                    @stevefo I got the file. It let me download form browser.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      stevefo @stevefo
                                      last edited by stevefo

                                      @stevefo ok, got it to work. The Arcade overlays are so good that they work better with screen curvature. I get overlap when it's flat. Damn!

                                      Thank You for your help, I really appreciate it. I have another question that should be easy to answer but not sure it's allowed. Can I message you? If so, how?

                                      mediamogulM DarkWolfD 2 Replies Last reply Reply Quote 0
                                      • mediamogulM
                                        mediamogul Global Moderator @stevefo
                                        last edited by

                                        @stevefo

                                        I have another question that should be easy to answer but not sure it's allowed.

                                        As long as it doesn't break any of these rules, you'll be fine.

                                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                        1 Reply Last reply Reply Quote 0
                                        • DarkWolfD
                                          DarkWolf @stevefo
                                          last edited by

                                          @stevefo Haha, we needed some time here, but now it's working, great!

                                          Regarding your question: Sure, but like @mediamogul said:

                                          As long as it doesn't break any of these rules, you'll be fine.

                                          Check this first ;-)

                                          System: Raspberry 3 Model B, RetroPie 4.2.1
                                          Storage: 16gb Micro SD, 64gb USB Drive
                                          Theme: Updated NBBA

                                          Documentation solves many problems: https://retropie.org.uk/docs/

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            stevefo @DarkWolf
                                            last edited by

                                            @DarkWolf I have some MAME games that don't work. I've tried Mame 4 all, mame lb, and mame 2003. Any suggestions?

                                            DarkWolfD 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.