Update start_pico8.sh
from testing on RGB30 and Loki Zero I am seeing the following: aarch64 (which is I think covers all of our arm devices) needs and looks for the pico8_64 + pico8.dat files from the raspberry pi zip x86 works with the pico8_dyn + pico8.dat files from the linux 64 zip So with that in mind I think the changes in this commit cover those use cases. I've tested on my RGB30, RG351P and Loki Zero and it looks to work well across each.
This commit is contained in:
parent
6d683b3a0a
commit
dd9ce83b14
1 changed files with 5 additions and 15 deletions
|
@ -12,7 +12,7 @@ case ${HW_ARCH} in
|
|||
STATIC_BIN="pico8_64"
|
||||
;;
|
||||
*)
|
||||
STATIC_BIN="pico8"
|
||||
STATIC_BIN="pico8_dyn"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -42,17 +42,7 @@ fi
|
|||
# store sdl_controllers in root directory so its shared across devices - will look to revisit this with controller refactor work
|
||||
cp -f /usr/config/SDL-GameControllerDB/gamecontrollerdb.txt ${GAME_DIR}/sdl_controllers.txt
|
||||
|
||||
if [ -e "${LAUNCH_DIR}/pico8_dyn" ]
|
||||
then
|
||||
chmod 0755 ${LAUNCH_DIR}/pico8_din
|
||||
jslisten set "-9 pico8_dyn start_pico8.sh"
|
||||
${LAUNCH_DIR}/pico8_dyn -home -root_path ${GAME_DIR} -joystick 0 ${OPTIONS} "${CART}"
|
||||
fi
|
||||
|
||||
if [ ! "$?" = 0 ] && [ -e "${LAUNCH_DIR}/${STATIC_BIN}" ]
|
||||
then
|
||||
# mark the binary executable to cover cases where the user adding the binaries doesn't know or forgets.
|
||||
chmod 0755 ${LAUNCH_DIR}/${STATIC_BIN}
|
||||
jslisten set "-9 ${STATIC_BIN} start_pico8.sh"
|
||||
${LAUNCH_DIR}/${STATIC_BIN} -home -root_path ${GAME_DIR} -joystick 0 ${OPTIONS} "${CART}"
|
||||
fi
|
||||
# mark the binary executable to cover cases where the user adding the binaries doesn't know or forgets.
|
||||
chmod 0755 ${LAUNCH_DIR}/${STATIC_BIN}
|
||||
jslisten set "-9 ${STATIC_BIN} start_pico8.sh"
|
||||
${LAUNCH_DIR}/${STATIC_BIN} -home -root_path ${GAME_DIR} -joystick 0 ${OPTIONS} "${CART}"
|
Loading…
Reference in a new issue