How do I make a gamelist?
-
Hi,
I would like to make a list of all the games I have in my system, there are others doing it but I can't seem to find anywhere where there is a tutorial for this. Could someone please guide me through making a gameslist for systems such as PSX, etc. ?
If so it would be extremely appreciated!!!!
Thank you
-
@nicky_s14 This console command sequence will list all the <name> tags in the arcade gamelist.xml file and store them in a file named "gamelist.txt" in the same directory. You only have to change the
cd
command to the rom directory in question.cd /home/pi/Retropie/roms/arcade # change into the arcade rom folder cat gamelist.xml | grep \<name\> | awk -v FS="(<name>|</name>)" '{print $2}' | sort -o gamelist.txt
Explanation: The second line is a sequence of four commands divided by the "pipe"
|
character which relays the output of the former command as input to the following command.cat
lists the contents of the gamelist.xmlgrep
relays only the lines that contain "<name>".awk
relays only the part between "<name>" and "</name>"sort
sorts the list alphabetically and (-o)utputs it into gamelist.txt
-
@mitu did a great script that exports your gamelists to Excel :
https://retropie.org.uk/forum/topic/16319/gamelist-excel-export-script
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.