#114838
gizmo98
Participant

It is runcommand.sh. It’s located under /opt/retropie/supplementary/runcommand.
You can write the rom name in a file with the following command:
echo "$rom" >> /path/yourfile.txt