How to run jscal at startup?

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

This topic contains 2 replies, has 2 voices, and was last updated by  doakey3 2 years, 6 months ago.

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

    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/

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss