Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 2.5 KB

README.md

File metadata and controls

47 lines (33 loc) · 2.5 KB

EmulationStation Tools

A collection of python scripts I wrote for various use cases as well as desktop icons for some retro handhelds. Examples come from Sega Mega Drive & Genesis Classics collection.

Parser

A simple python script to parse gamelist.xml files and output what tags are missing from each game found.

Usage: python parser.py and type your roms directory e.g. \\RG351P\roms. The script will only scan the first subdirectory, not nested subdirectories. Look for output.txt files in a folder created next to wherever you put parser.py.

Example output file genesis_output.txt:

Dynamite Headdy found with missing tags: image
Shinobi III: Return of the Ninja Master found with missing tags: video
Phantasy Star III: Generations of Doom found with missing tags: video
Landstalker found with missing tags: video

Sorter

A simple python script to parse gamelist.xml files and sort them alphabetically by the name tag. Creates backups before parsing.

Usage: python sorter.py and type your roms directory e.g. \\RG351P\roms. The script will only scan the first subdirectory, not nested subdirectories.

Sortparse

A combination of the above two scripts.

Savebackup

A tool that scans immediate directories in the roms folder and copies savedata to saves next to savebackup.py. The script copies Dreamcast memory cards (bios/dc) and other emulator savedata .srm and .sav.

The file extensions searched can be modified in the script. Because of the complexity of the roms/ports folder, it is excluded from the scan.

CRC32

This script is useful for locating a base rom needed for a romhack or translation patch. Scans a specified directory and outputs the CRC32s to a text file.

Usage: python crc32.py and type your directory e.g. \\RG351P\roms\genesis. The script will not scan subdirectories.

Example output file genesis_crc32.txt:

DYNAHEAD_UE.bin: 3DFEEB77
ECCO_TidesofTime.bin: CCB21F98
ECCO_UE.bin: 45547390

muOS-Artscan

This script makes it easy to bring scraper boxart from other CFWs over to muOS. Add all boxart images to their relevant directories, then run the script. It will remove the -image suffix from all files it finds that have it, and make the extension .png. It will also remove extra files with the following suffixes: '-titleshot', '-marquee', '-fanart', '-boxback', '-thumb'.

You can modify the target_size variable in script to meet a good size for your device. 400x300 is default.

Drop it in your muOS/info/catalogue folder and run it from there.