Easy way of renaming Arcade roms?
-
@mitu Thank you.
The command below will give a preview of amended
gamelist.xml
:xmlstarlet ed -d '//game/desc | //game/image | //game/releasedate | //game/rating | //game/developer | //game/publisher | //game/genre | //game/players' gamelist.xml
To write changes, add
--inplace
as below:xmlstarlet ed --inplace -d '//game/desc | //game/image | //game/releasedate | //game/rating | //game/developer | //game/publisher | //game/genre | //game/players' gamelist.xml
-
@MikeLang Try
cd /opt/retropie/configs/all/emulationstation/gamelists/arcade
After this command, run
ls
to checkgamelist.xml
is there. -
@MikeLang said in Easy way of renaming Arcade roms?:
Already stuck, running putty, don't know how to change directory from 'pi@retropie:/ $' to:
\RETROPIE\configs\all\emulationstation\gamelists\arcade\gamelist
Just an addition to @dudleydes' post: Windows uses backslashes (
\
) as directory dividers. The official Retropie image is running on Linux, which uses slashes as directory dividers (/
). -
@dudleydes said in Easy way of renaming Arcade roms?:
@mitu Thank you.
The command below will give a preview of amended
gamelist.xml
:xmlstarlet ed -d '//game/desc | //game/image | //game/releasedate | //game/rating | //game/developer | //game/publisher | //game/genre | //game/players' gamelist.xml
That's not giving me a full preview of gamelist, I'm getting something like this:
gamelist.xml:1697.16: xmlParseEntityRef: no name
<name>Game name</name>
^
gamelist.xml:1889.17: xmlParseEntityRef: no name
<name>Game name 2</name>
^The original command 'sed '/<desc>|<image>|<rating>|<releasedate>|<developer>|<publisher>|<genre>|<players>/d' gamelist.xml' is giving a fuller list but has entry run issues as you mentioned.
-
@MikeLang You'll have to be more specific, maybe you can upload your final gamelist.xml somewhere so we can check.
-
I know why I was getting that weird error now, it was related to having '&' in the name of a game. My example didn't help matters seeing as I didn't type '&'.
The list it generates still doesn't have the games I haven't picked, for example say the arcade rom folder has 300 games and the gamelist.xml file lists 200 roms. There's still 100 games that I have to manually pick in order for them to appear in the gamelist.xml file.
Thanks for all the help everyone I've learned a great deal from all your input.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.