How to run jscal at startup?

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

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of doakey3 doakey3 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101668
    Profile photo of doakey3
    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
    Profile photo of tipoto
    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.

    • This reply was modified 1 year, 9 months ago by Profile photo of tipoto tipoto.
    #101738
    Profile photo of doakey3
    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

    https://raopinion.wordpress.com/2012/01/27/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)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar