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.
    • S
      stevefo
      last edited by

      Hello everyone,

      I'm trying to run a command from a USB thumb drive. I did /df to see my USB drive. How do i point to it to run?

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @stevefo
        last edited by

        @stevefo

        You don't really run a command from a USB drive. You can access the command line from Emulation Station by pressing the 'F4' key on your keyboard. If I'm misunderstanding you still, it should help if you elaborate on what exactly it is you're wanting to do.

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

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

          @mediamogul I'm trying to install bezel overlays using floobs rp video manager.

          I see the USB when I type /df I don't know how to run it

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

            there is a full installation guide here: (I don't know if this is what you wanted)
            https://github.com/biscuits99/rp-video-manager

            You should check this out too:
            https://retropie.org.uk/forum/topic/2053/using-mame-overlays-bezels-and-shaders-with-retroarch-in-retropie

            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 Yes, that's what I'm trying to do. I couldn't get a command to read from my USB drive. Later tonight I will SSH it. Then I will be able to copy and paste into command prompt. I'll keep you updated on my progress. Thanks for your help.

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

                @stevefo as @mediamogul already said:

                You don't really run a command from a USB drive. You can access the command line from Emulation Station by pressing the 'F4' key on your keyboard.

                I don't understand your question really...
                Do you need a console? -> Than press F4 in emulationstation and you get one
                Or do you have problems accessing files on the usb drive? -> The USB drive is (if it is the only one) here: /media/usb0/

                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 was trying to do an automatic install of rp video manager from USB

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

                    Ok, I will provide the steps here: (taken from the wiki)

                    Assuming your rp-video-manager.zip is located at the root of the usb stick

                    cp /media/usb0/rp-video-manager.zip /home/pi/
                    unzip -o rp-video-manager.zip
                    rm rp-video-manager.zip
                    cd /home/pi/rp-video-manager
                    chmod 755 videomanager.sh
                    ./videomanager.sh

                    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/

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

                      @DarkWolf I ended up using SSH from my Mac to raspberry pi to copy and paste a link to the download manager and it worked !

                      Now I'm trying to figure out how to get the screen curvature and the plexiglass removed I just want to use the borders. Any idea how to do that ?

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

                        @stevefo I don't really know anything about it, just gave some advice to solve your problem.
                        I will definetely look into rp-video-manger asa I'm back home. Sounds interesting :)
                        Will try to figure out how to remove the features you don't want.
                        If you want to try it on your own you could search for a solution on the forum mentioned in the git readme.txt oft the rp-video-manager project

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

                          DarkWolfD dankcushionsD 2 Replies Last reply Reply Quote 0
                          • 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
                                            • 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.