Skip to content

Conversation

@Apaczer
Copy link
Member

@Apaczer Apaczer commented Dec 29, 2025

  • for managing libretro configuration, via following cfg files:
    retroarch_menu.cfg - default rgui menu with all settings
    retroarch_kiosk.cfg - kiosk mode (only basic menu with no settings)
    retroarch_minimal.cfg - minimal mode (no menu, just play)
    retroarch_rewind.cfg - one-liner for accesing Rewind functionality (disabled by default in RA cuz of overhead)

TODO: when using $FRONTEND=gmenu2x it will delete&overwrite extra parameters in cores links.

  • simplify running last ROM with retroarch-setup history cmd

  • genimage.sh: add second arg for reading parsed options & ROM file

could be done with shell script:
```
for f in *.sh; do
  truncate -s -1 "$f"
  printf ' "$2"' >> "$f"
done
```
and that is only if `truncate` is a coreutils binary (not busybox)
for all: config_save_on_exit = "false"
to not ovewrite existing setup
via
```
for f in *.ra; do
  echo "params=--appendconfig=/mnt/emus/retroarch/retroarch_menu.cfg" >> "$f"
done
```
@Apaczer
Copy link
Member Author

Apaczer commented Dec 30, 2025

I should mention that now when running RetroArch through cores section (in gmenu2x) the config is not saved on exit - instead you have to invoke save from menu or run RA directly from emus section.

BTW: I have plan to move whole link generation from genimage.sh to firstboot (easier to test IMO: see ra_gen_v2 branch).

@Apaczer Apaczer merged commit c3c9427 into MiyooCFW:master Dec 31, 2025
4 checks passed
@Apaczer Apaczer deleted the ra_scripts branch December 31, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant