write a small java program to generate a gamelist.xml file, thousands of Roms, in seconds
-
just traverse each rom directory, note the exact file name, and make sure theres a corresponding extry in gamlist.xml. you can process thousands of files. also remove annoying caracters abd numbers from filenames. i could provide a simple java app if interested. each rom folder would have a perfectly matching gamelist.xml. Automation is wonderful.
-
@huxley518 Hey, oddly working on a similar thing in Python to generate a custom gamelists to for a curated set of games across all systems. A bit more of what I've been doing is here https://retropie.org.uk/forum/topic/32674/arcade-high-scores-in-the-system-menus-adapted-grid-theme-with-videos but what I'm working on at the moment is pulling out high score data and putting it into a game's description. By using the favourites menu I can pull in all my favourite games and have in one single menu. All the games' data I've curated is in a .csv file.
Here's a snippet of my arcade gamelist.xml all of which is generated each time my cab is turned on before ES starts up.
<?xml version="1.0"?> <gameList> <game> <name>001 : 1942</name> <video>/mnt/usbhd/videos/1942.mp4</video> <path>/mnt/usbhd/roms/arcade\1942.zip</path> <image>/mnt/usbhd/images/arcade\1942.png</image> <marquee>~/.emulationstation/themes/carbon-2022/art/systems/arcade.svg</marquee> <releasedate>19700101T000010</releasedate> <favorite>true</favorite> <desc>1942 (Capcom, 1984) Arcade DARREN^N 364810 Round 9 D.-&? Z^ 60240 Round 2 DARREN 51820 Round 2 c CAPCOM 40000 Round 0 TEST 36670 Round 2 STEVE 36550 Round 2 ALL 35000 Round 0 !%()^{}^? 33910 Round 2 RIGHT 30000 Round 0 RESERVED 25000 Round 0 EXEDEXES 20000 Round 0 10630 Round 1 VULGUS 9999 Round 0 SONSON 8888 Round 0 HIGEMARU 7777 Round 0 EXEDEXES 6666 Round 0 NAKASATO 5555 Round 0 1500 Round 0 1400 Round 0 1300 Round 0 1200 Round 0 1100 Round 0 1000 Round 0 900 Round 0 800 Round 0 </desc> </game> <game> <name>002 : 1943: The Battle of Midway</name> <video>/mnt/usbhd/videos/1943.mp4</video> <path>/mnt/usbhd/roms/arcade\1943.zip</path> <image>/mnt/usbhd/images/arcade\1943.png</image> <marquee>~/.emulationstation/themes/carbon-2022/art/systems/arcade.svg</marquee> <releasedate>19700101T000020</releasedate> <favorite>true</favorite> <desc>1943: The Battle of Midway (Capcom, 1987) Arcade DAZ 66500 12 44600 !&: 30300 *^ 27300 .9! 25200 </desc> </game> <game> <name>003 : 1941: Counter Attack</name> <video>/mnt/usbhd/videos/1941.mkv</video> <path>/mnt/usbhd/roms/arcade\1941.zip</path> <image>/mnt/usbhd/images/arcade\1941.png</image> <marquee>~/.emulationstation/themes/carbon-2022/art/systems/arcade.svg</marquee> <releasedate>19700101T000030</releasedate> <favorite>true</favorite> <desc>1941: Counter Attack (Capcom, 1990) Arcade DAZ 443800 Rank 1 DAZ 223300 Rank 0 Z*. 38500 Rank 0 *.- 31800 Rank 0 CAP 30000 Rank 7 COM 25000 Rank 0 CAP 24000 Rank 0 COM 23000 Rank 0 CAP 22000 Rank 0 COM 21000 Rank 0 </desc> </game>
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.