RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. runcommand.sh
    Log in to post
    • All categories
    • W

      Pressing button on runcommand isn't opening up the menu in the documentation (emulator selection), its opening retroarch for some reason.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh retropie 4.8 config.txt
      2
      0 Votes
      2 Posts
      215 Views
      W

      @wtstreetglow1 Sorry, false alarm. A restart corrected this issue.

    • S

      DOSBox and sh run command for each game

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support dosbox sh files script runcommand.sh
      4
      0 Votes
      4 Posts
      838 Views
      S

      @mitu u r right! Thanks buddy.

    • K

      runcommand.sh Improvement on Launch Images

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development shell script improvement runcommand.sh launch images
      1
      0 Votes
      1 Posts
      307 Views
      No one has replied
    • DTEAMD

      (solved) runcommand.sh permission denied

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh
      4
      0 Votes
      4 Posts
      1k Views
      DTEAMD

      @dteam

      Solved.

      I deleted the runcommand.sh file with "file manager" in

      /opt/retropie/supplementary/runcommand/runcommand.sh

      I changed the permission from 644 to 755 for

      /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh

      The second runcommand.sh in Home folder is changeable.

      I went back in "RetroPie Setup" and run "update script" and now everything is fine. It copied from home folder to opt folder.
      I got the files from joolswills
      I don't know why it was set 644.

    • C

      runcommand.sh slow on RPi 1

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh video mode slow
      1
      0 Votes
      1 Posts
      340 Views
      No one has replied
    • O

      need help with the runcommand

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh
      7
      0 Votes
      7 Posts
      656 Views
      F

      @officialazyria

      You have to go through this and look if there are systems installed (otherwise install them) :
      2021-08-10-191052_1360x768_scrot.png
      2021-08-10-191059_1360x768_scrot.png
      2021-08-10-191104_1360x768_scrot.png
      2021-08-10-191107_1360x768_scrot.png

    • BenMcLeanB

      runcommand.sh should run commands

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh emulationstaton retropie os
      7
      -4 Votes
      7 Posts
      2k Views
      N

      Just add your scripts to the retropie menu, very simple. i never had to make any edits to make it work, just some editing to get the script to have a picture in EmulationStation and description of the script.

      If you want the scripts to appear within your Ports, you might need to include .sh with the filetypes that are supported with Ports even though from memory it should already be set up like that (i cant double checking this right now, currently making a backup of my SSD)

      If you can see the scripts in EmulationStation but theyre just not executing after selecting them, then you will need to chmod +x your sh files.

    • E

      Remapping buttons for runcommand.sh

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh controller help
      2
      0 Votes
      2 Posts
      572 Views
      mituM

      @ericsnis said in Remapping buttons for runcommand.sh:

      Is there a way to remap the buttons used for runcommand without messing up the mapping for games?

      runcommand will use the RetroArch configuration file of the gamepad. If you didn't generate one - it's automatically done when you configure the input in EmulationStation - it doesn't which buttons are A/B to enable them in the launch menu.
      Since you copied the ES configuration for input, and didn't run the input mapping dialogue, the RetroArch configuration file hasn't been generated - hence the missing mapping in the launch menu of Runcommand.

    • L

      RetroPie - custom runcommand.sh - Find Emulator function

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand.sh
      2
      0 Votes
      2 Posts
      275 Views
      L

      I have completed the emulator finder. For those interested in using, see: https://gist.github.com/Langerz82/ec7c60edd6b02da78018fa113fda27b0

      Hey just a note: The video output will most likely corrupt and show random pixels, this is normal operation and due to sending the emulator process in the background.

      All the best!

    • R

      Control Panel Layout images

      Watching Ignoring Scheduled Pinned Locked Moved Projects and Themes controllers joystick map runcommand.sh
      4
      0 Votes
      4 Posts
      767 Views
      mituM

      @ronbo85 said in Control Panel Layout images:

      In bash scripting, how do I get iterative values? (load 'em into arrays?)

      Yes, you can use arrrays.

      And when it comes to single elements (miscDetails) vs. multiple (button labels), would I need individual XMLStarlet calls? (it's a nice, and compact language, but I'm having a hard time wrapping my head around how best to code it).

      My example shows everything in one call, but you can run separate commands if you want to get different values without parsing the output.
      For instance, to get the contents of the miscDetails node:

      xmlstarlet sel -t -m '//game[@romname="roundup"]/miscDetails' -v "text()" control.xml

      If you want to get the how many buttons player1 has :

      xmlstarlet sel -t -m '//game[@romname="roundup"]/player[@number="1"]' -v "@numButtons" -n control.xml
    • I

      Runcommand error for any game

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support ubuntu mint runcommand.sh
      5
      0 Votes
      5 Posts
      620 Views
      I

      Thanks, that seems to get rid of that console error. Now the games just hang, will do some more troubleshooting :D

    • L

      runcommand.sh: line 1045: [[: n/a: division by 0

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retropie 4.6 retropie x86 runcommand.sh
      11
      0 Votes
      11 Posts
      986 Views
      E

      Solved?

      The problem was that the pi4 has 2 "connected" outputs (given by xrandrs output), this means that the MODE_CUR array is increased by one (HDMI-1 HDMI-2), and MODE_CUR[5] becomes aspect ratio instead of being the refresh rate, my solution basically looks for /primary/ instead of /connected/... but no clue if that will mess things up for others.

      runcommand.sh
      runcommand.sh.diff

    • hissingsharkH

      runcommand segfaults with PPSSPP and sdl2 > 2.0.8

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support osmc ppsspp runcommand.sh segfault
      10
      0 Votes
      10 Posts
      907 Views
      mituM

      In 2.0.10, it looks like a hint was added (SDL_HINT_GAMECONTROLLERCONFIG_FILE) to point to a user chosen 'gamesdbcontroller.txt' file. It looks like PPSSPP doesn't use this mechanism to load the file, but it might affect how SDL2 works when the game controller API is initialized by the emulator.

      I'll see if a recent source build for PPSSPP triggers this on a RPi, it could also be something that's changed in the emulator since the last binary build in RetroPie.

    • U

      Runcommand doesn't seem to be obeying modified runcommand.sh

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand splashscreen image runcommand.sh
      5
      0 Votes
      5 Posts
      498 Views
      U

      @BuZz editing /opt/retropie/configs/all/runcommand.cfg did the trick, thankyou! :-)