RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Save states with runcommand.sh?

    Scheduled Pinned Locked Moved Help and Support
    help and suppor
    1 Posts 1 Posters 192 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      red37
      last edited by

      Hi,
      So i launch my roms through kodi with advanced emulator launcher and a .sh file used as a wrapper for the runcommand.sh 0 SYS EMU Path/To/Rom way of launching roms from the cli.

      Everything works great except the save states.
      I can load a state and play fine but it wont save.
      The saveing notification pops up at the bottom but spins forever and wont actualy save.

      My .sh wrapper looks like this:

      #!/bin/sh

      Sudo kodi-send --action"Quit"

      /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS "$1" "$2"

      Kodi

      The "$1" and "$2" are "system name" and "rom path".they both get passed in by advanced emulator launcher just fine.
      Could it be that kodi doesnt have permissions for the roms folder? I dont know how permissions work so sorry if thats way off, it just seems like it can read the files but not write them, idk.
      I dont think its the .sh file causing the problem i just figured give as much info as i can.
      Thanks for any help.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.