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

      [Question] Change shell to use with RetroPie?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support question shell
      4
      0 Votes
      4 Posts
      279 Views
      mituM

      @CtrlAltDelMe said in [Question] Change shell to use with RetroPie?:

      Wouldn't it be possible to run the bash script by invoking it with bash in whatever config file for fish?

      Yes, that would be possible - but I'm not familiar with how fish works.

      It stores a config in $HOME/.config/fish/config.fish. However I'd still want the ability to run the setup script to go back to Raspbian if need be. Is that doable?

      Probably, but as I said I'm not familiar with how fish works so I can't be of service here.

    • L

      Retrieve SDL2 joypad GUID in the shell?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support sdl2 guid joypad shell
      3
      0 Votes
      3 Posts
      485 Views
      L

      @mitu

      great, many thanks!

    • E

      [Solved] Map SPACE to be useable in dialog menus?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support map key button shell dialog
      6
      0 Votes
      6 Posts
      717 Views
      S

      @EctoOne said in [Solved] Map SPACE to be useable in dialog menus?:

      @sleve_mcdichael I don't know what happened, but now they do work as intended.

      (...)

      Wel, guess that's solved.

      Hey, it happens to the best of us.

    • L

      Daphne - Removing Fullscreen Parameters to Avoid Errors

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development daphne daphne config daphne games shell script shell
      5
      0 Votes
      5 Posts
      1k Views
      DirtBagXonD

      @ln_rc said in Daphne - Removing Fullscreen Parameters to Avoid Errors:

      @DirtBagXon @johnodon Thank you for the information! I added back the full screen, it definity the $params and not the -fullscreen. This is the commands file that I used based on a tutorial on this webpage:

      -nocrc -noissues -noserversend -latency 950 -x 640 -y 480 -bank 1 00110111 -bank 0 10011000

      Is there a better version of a general .commands file to use?

      I'll take a look at the hypseus emulator as well. The Daphne emulator has been working pretty well for me, but it doesn't hurt to see all the options.

      There isn't really a one size fits all .commands file, as these files are game specific. i.e. each game has a different version in its own folder:

      https://retropie.org.uk/docs/Daphne/#command-parametres

      Alter arguments and get it to do what you want it to do. If you are including -bank switches then you need to start reading, and understanding, the arcade dip switch setting configurations. These are at the more complex end of config.

      Dip switches are documented on the excellent DLP site: http://www.dragons-lair-project.com/tech/
      General options for Daphne are documented here: http://www.daphne-emu.com/mediawiki/index.php/CmdLine
      Hypseus has a few more: https://github.com/DirtBagXon/hypseus-singe#extended-arguments-and-keys

      Feeling overwhelmed :) Daphne is notoriously tricky to configure, so just spend some time with it.

      Remember, you don't have to include any options. Defaults (empty .commands file) work fine most of the time.

      If you did remove $params as the last argument from the daphne.sh script, you should add it back and fix the commands files. This option allows you to customise all games individually.

      Note: These same arguments in $params (i.e. <game>.commands files) are also used by the hypseus.sh script, so any issues you address in Daphne will be ported to Hypseus Singe automatically.

      There are some options that are now deprecated in Hypseus, -nohwaccel being one. These don't work well in the port to SDL2, especially on the Pi.

       

    • N

      changing your shell will stop EmulationStation from starting automatically

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support shell autostart.sh emulation station
      5
      0 Votes
      5 Posts
      923 Views
      ClydeC

      The question I would ask myself in your place is if I'd rather do without or rewrite my scripts than trying to adapt many unfamiliar scripts that may break again with the next update.

    • top-specciT

      Here: Short shell-script to check Custom-Collections. Mabye it's usefull ...

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development custom-collecti shell script
      1
      1 Votes
      1 Posts
      234 Views
      No one has replied
    • matchamanM

      Desktop shell replacements for Windows - are they dead?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion and Gaming windows shell replacement alternative explorer
      11
      0 Votes
      11 Posts
      11k Views
      Z

      Most everything in terms of desktop shell replacements died out around Windows 7's release.

    • madmodder123M

      Running script from RetroPie menu as root?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support sudo retropiemenu script shell
      3
      0 Votes
      3 Posts
      1k Views
      madmodder123M

      @mitu Seems a bit odd to launch a shell script for the sole purpose of launching another shell script, but it works. Thank you

    • AlturisA

      SFTP ASCII Transfers Between RetroPie and Windows not working as expected

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support sftp ascii shell shell sc
      4
      0 Votes
      4 Posts
      815 Views
      AlturisA

      @mitu said in SFTP ASCII Transfers Between RetroPie and Windows not working as expected:

      I recommend using Notepad++ and choosing Unix newlines as default line endings.

      Will use Notepad++ from now on. Resolved that head-ache for me. Thanks.

    • hiulitH

      [SCRIPT] RetroPie Shell Script Boilerplate

      Watching Ignoring Scheduled Pinned Locked Moved Projects and Themes script boilerplate shell retropie
      12
      4 Votes
      12 Posts
      2k Views
      hiulitH

      @cyperghost Hey, thanks! I'll take a look at them ;)

    • A

      8BitDo FCPro works in dash and games, but not in shell sections

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support 8bitdo fc30 pro keymapping shell
      1
      0 Votes
      1 Posts
      572 Views
      No one has replied
    • N

      runcommand-onstart.sh pass data to python script

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support runcommand onstart python shell bash
      17
      0 Votes
      17 Posts
      3k Views
      meleuM

      @nemecyys said in runcommand-onstart.sh pass data to python script:

      Because im running this python script every time i run onstart.sh or onend.sh does that mean there will be LOTS of instances of it running?

      On normal typical usage, no. The runcommand script calls the onstart one and waits it finish. The way you're invoking your python script in onstart also makes it wait the python script to finish.

      Then, from what I'm seeing from the codes, I believe that there won't be lots of instances running.

      With a Bash Script:
      Would this also be the case?
      Would i want to exit the bash after running and achieving the desired result?

      There's no need.

      *also, any links to some of meleu's coding goodness?

      You can find links to some of my scripts on the "useful topics" post (link on my signature). You can find many other useful info there. ;-)

      Oh, as @cyperghost said, we usually use this thread to talk about shell scripting.

      By the way, you asked above and I'm not sure if you got an answer: the /dev/shm/runcommand.log file is deleted after a shutdown/reboot.

    • N

      Work in progress Super Famicom project.

      Watching Ignoring Scheduled Pinned Locked Moved Projects and Themes snes famicom super raspberry shell
      6
      1 Votes
      6 Posts
      2k Views
      N

      @darksavior Okay then.

    • meleuM

      shell scripting topic

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development shell shell script programming
      191
      3 Votes
      191 Posts
      87k Views
      hiulitH

      Well, here it is! A new version of RetroPie Shell Script Boilerplate.

      This is a template for building shell scripts for RetroPie.

      I've added examples of the following dialog boxes:

      --infobox --yesno --msgbox --menu

      All the dialogs can be found at utils/dialogs.sh

      I've also moved some functions to utils/base.sh.

    • A

      USB Keyboard not working in shell / setup pages

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support keyboard usb setup script shell input
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied