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

      Help with .sh scripts and global variables

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support variable scripting help me please
      3
      0 Votes
      3 Posts
      329 Views
      R

      @mitu thank you for your reply, sorry i was distracted for a few days. I didnt figure out how to make variables work but i was able to make a txt file that i could read/write as a varriable so im good now.

    • MegaTimXM

      Getting error message when trying to enter RetroPie Settings from Emulation Station UI.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support platform variable settings setup odroid xu4
      8
      0 Votes
      8 Posts
      2k Views
      MegaTimXM

      @mitu Yes! That worked! You genius! This is the edit I made to system.sh
      i changed
      ;;
      ODROID-XU3)
      __platform="odroid-xu"
      ;;

      to

      ;;
      ODROID-XU4)
      __platform="odroid-xu"
      ;;

      @administrators So I am guessing that the next update should have code for both ODROID-XU3 and ODROID-XU4, linking them each to "odroid-xu".

    • L

      System Environment Variable pointing to RetroPie dir?

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development environment variable
      8
      0 Votes
      8 Posts
      1k Views
      HoraceAndSpiderH

      @logiseye said in System Environment Variable pointing to RetroPie dir?:

      @horaceandspider Just tried your tip. Unfortunately e.g. UAE config maker fails, since not only /home/pi is burned in, but also the username pi (e.g. chown pi:pi gets called). And amiberry does seemingly not like symlinks.

      @logiseye scripts should be able to use ~/RetroPie. That will point to the RetroPie directory in the home directory of the current user.

      All the paths on UAE Config Maker can be changed using the command-line options:

      --scandirs
      --outputdir
      --rom-path

      The RetroPie Menu script, you are correct, does use a chown to 'pi' but that can be manually edited, and the script is only provided for less technical users, and is not really the suggested running method.

      I will look at switching to ~/RetroPie by default however which seems a clean solution

    • M

      Uknown platform error, if I try to do anything in the settings.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support error unknown platform variable armv7-mali
      11
      0 Votes
      11 Posts
      3k Views
      herb_fargusH

      @mickw87 where is this webshop you speak of?