southoz / RetroOZ

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

EasyRPG #13

Open southoz opened 2 years ago

southoz commented 2 years ago

Jetup Wrote:

  1. Add .easyrpg .EASYRPG to file extentions in es_systems.cfg
  2. Maybe remove .ldb .LDB from file extentions es_systems.cfg
  3. Update easyrpg_libretro.info (Should now show .easyrpg and .zip as new supported extension.)
  4. zip is supported but I cant get it to boot into game, only into EasyRPG menu
  5. Add script so users can easyily create .easyrpg files (unsure if changes need to be made for RetroOZ)
#!/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