13 Aug 2017, 22:05

merci à @manatlan pour m'avoir donné l'idée de ce script et l'envie de faire du python 😉

found there : https://github.com/Voljega/scripts4recalbox/tree/master/FullAuditRom

This script allows you to launch an audit of all your roms

It will display for each rom the following information :
"System Of The Rom" "Name of The Rom" "Rom File Exists" "Rom Scrape Image Exists" "Rom Is Scraped" "Rom is Hidden" "Rom Full Path" "Rom Scrape Image Full Path"

Script usage is simple : copy it where you like in the share partition then execute it with python FullAuditRom.py
Additionaly you can limit the systems you want to audit directly on the command line i.e. python SystemSorter.py snes gb

The audit file can then be found at the end of the process in /recalbox/share

How it works

The script uses the /recalbox/share_init/system/.emulationstation/es_systems.cfg to get the list of systems and the extensions of their roms.
For every non-excluded system it then get the full list of roms and match them with the gamelist.xml of the system.

French Version :

Ce script vous permet de lancer un audit complet de vos roms

Pour chaque rom il va lister les informations suivantes :
"Système de la rom" "Nom de la rom" "Fichier de la rom existant" "Image de scrape de la rom existante" "Rom scrapée" "Rom cachée" "Chemin complet du fichier de la rom" "Chemin complet de l'image de la rom"

L'utilisation est simple : copiez le script où vous souhaitez dans la partition share and lancez là avec python FullAuditRom.py
Vous pouvez aussi limiter les systèmes à auditer avec des arguments supplémentaires : python SystemSorter.py snes gb

Le fichier d'audit se trouvera à la fin du processus dans /recalbox/share

Comment ça marche

Le script utilise /recalbox/share_init/system/.emulationstation/es_systems.cfg pour obtenir la liste des systèmes et les extensions de leur roms
Pour chaque système non exclus il récupère ensuite la liste complète de ses roms et la fait correspondra avec les informations du gamelist.xml du système.