Homepage Forums RetroPie Project Controller Configuration in RetroPie How to run jscal at startup?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101668
    doakey3
    Participant

    I have a script that I’d like to run at start up, but for the life of me, I can’t seem to figure out how to make it happen. I’ve saved the file in /etc/init.d as
    n64.sh and I did sudo chmod -x /etc/init.d/n64.sh

    Now what?

    #!/bin/bash
    jscal -s 6,1,0,127,127,7354172,6710682,1,0,127,127,7158060,6627834,1,0,128,128,5,592235,1,0,128,128,5592235,5592235,1,0,0,0,2147483674,2147483647,1,0,0,0,2147483647,2147483647 /dev/input/js0

    #101734
    tipoto
    Participant

    If your system boots on ES directly, you can try to edit “usr/bin/emulationstation” (if I remember well) and add your lines right after #!/bin/bash.

    #101738
    doakey3
    Participant

    Thanks! I had considered just editing one of the already existing start up scripts, but I didn’t know which one to use.

    In the end, I decided to use a different method of running my script. I learned that I could have the script called whenever I plugged in my controller by making a rule in the /etc/udev/rule.d folder. See

    Mayflash N64 Controller Adapter

    I was pretty disappointed though. I spent hours configuring my controller setup only to realize that n64 emulation is pretty bad. Most games run fast with the rice plugin, but for whatever reason, the menu textures are shot. I wonder if any future updates will correct these issues…

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.