Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #$1 = system name , $2 = game name , $3 = full rom path (folder + file name + extension) , $4 = file name only , $5 = file extension
- kill $(pidof kodi.bin)
- if [[ "$1" = "Sony Playstation" ]] ; then
- RETROARCH_CORE="/path/to/retroarch/core/to/use/for/psx.so"
- elif [[ "$1" = "Super Nintendo Entertainment System" ]] ; then
- RETROARCH_CORE="/path/to/retroarch/core/to/use/for/snes.so"
- fi
- retroarch -L "$RETROARCH_CORE" "$3"
- kodi &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement