Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Write current RomName in TXT file › Reply To: Write current RomName in TXT file
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