southoz / RetroOZ

RetroOZ Odroid Hardkernel Go Super and Powkiddy RGB 10 Max firmware
54 stars 6 forks source link

Support For Easy RPG Game Titles #19

Closed 5uck3rpunch closed 2 years ago

5uck3rpunch commented 2 years ago

Per @Jetup's code:

Add .easyrpg .EASYRPG to file extentions in es_systems.cfg Maybe remove .ldb .LDB from file extentions es_systems.cfg Update easyrpg_libretro.info (Should now show .easyrpg and .zip as new supported extension.) zip is supported but I cant get it to boot into game, only into EasyRPG menu Add script so users can easyily create .easyrpg files (unsure if changes need to be made for RetroOZ)

and

!/bin/bash

for f in /roms/easyrpg/*/; do if [ -d "$f" ]; then basefilename=$(basename "$f")

if [[ ! -f "$f/${basefilename,,}.easyrpg" ]] && [[ ! -f "$f/${basefilename,,}.EASYRPG" ]] && [[ ! "$basefilename" = "images" ]]; then
  touch "$f/${basefilename}.easyrpg"
  echo "${basefilename}" >> "$f/${basefilename}.easyrpg"
  printf "\nFound $basefilename and created ES menu shortcut for it" >> /dev/tty1
fi

fi done sleep 5 sudo systemctl restart emulationstation