Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • xd3l
    Participant
    Post count: 218

    I wrote a script in /ports/ called GianaSisters.sh

    ——————
    #!/bin/bash
    cd ~/RetroPie/ports/roms/gianasisters/
    giana
    ————

    When I run it it says:

    GianaSisters.sh: 2: cd: can’t cd to /home/pi/RetroPie/ports/roms/gianasisters/
    GianaSisters.sh: 3: GianaSisters.sh: giana: not found

    I got the package from here:

    http://www.gianas-return.de/

    and renamed the executable to

    giana

    using chmod to provide the needed permissions.

    It works via command line, but I can not get the script to work via Emulation Station. What could I be doing wrong?

    Giana's Return

    joyrider3774
    Participant
    Post count: 34

    think it should be ./giana instead of just giana (last line) and perhaps you could try using an absolute path not sure about the cd error. Rather weird that it does not work in emulation station.

    hmm one more thing i can think of is that emulation station is logged in with a diffrent user hence not finding the directory? using an absolute path should fix it then though. Although i always thought there was just one user, just don’t know if emulation station is started as the user pi

    herbfargus
    Member
    Post count: 1858
    xd3l
    Participant
    Post count: 218

    How do I use the module?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.