Gamelist Excel export script
-
@mitu there is nothing in that folder. Here's the output:
root@retropie:/# python gamelist.py -d /home/pi/RetroPie/roms/export_list.xlsx 2019-03-07 12:58:39,396 DEBUG Starting 2019-03-07 12:58:39,396 INFO Emulationstation systems file used: /etc/emulationstation/es_systems.cfg 2019-03-07 12:58:39,450 DEBUG Analyzing system: Commodore Amiga (amiga) 2019-03-07 12:58:39,451 DEBUG Gamelist for amiga is read from None 2019-03-07 12:58:39,451 DEBUG Commodore Amiga system has no gamelist, skipping 2019-03-07 12:58:39,452 DEBUG Analyzing system: Amstrad CPC (amstradcpc) 2019-03-07 12:58:39,453 DEBUG Gamelist for amstradcpc is read from None 2019-03-07 12:58:39,453 DEBUG Amstrad CPC system has no gamelist, skipping 2019-03-07 12:58:39,454 DEBUG Analyzing system: Apple II (apple2) 2019-03-07 12:58:39,454 DEBUG Gamelist for apple2 is read from None 2019-03-07 12:58:39,454 DEBUG Apple II system has no gamelist, skipping 2019-03-07 12:58:39,455 DEBUG Analyzing system: Arcade (arcade) 2019-03-07 12:58:39,455 DEBUG Gamelist for arcade is read from None 2019-03-07 12:58:39,456 DEBUG Arcade system has no gamelist, skipping 2019-03-07 12:58:39,456 DEBUG Analyzing system: Atari 2600 (atari2600) 2019-03-07 12:58:39,457 DEBUG Gamelist for atari2600 is read from None 2019-03-07 12:58:39,457 DEBUG Atari 2600 system has no gamelist, skipping 2019-03-07 12:58:39,458 DEBUG Analyzing system: Atari 5200 (atari5200) 2019-03-07 12:58:39,458 DEBUG Gamelist for atari5200 is read from None 2019-03-07 12:58:39,459 DEBUG Atari 5200 system has no gamelist, skipping 2019-03-07 12:58:39,459 DEBUG Analyzing system: Atari 7800 ProSystem (atari7800) 2019-03-07 12:58:39,460 DEBUG Gamelist for atari7800 is read from None 2019-03-07 12:58:39,460 DEBUG Atari 7800 ProSystem system has no gamelist, skipping 2019-03-07 12:58:39,461 DEBUG Analyzing system: Atari 800 (atari800) 2019-03-07 12:58:39,462 DEBUG Gamelist for atari800 is read from None 2019-03-07 12:58:39,462 DEBUG Atari 800 system has no gamelist, skipping 2019-03-07 12:58:39,463 DEBUG Analyzing system: Atari Lynx (atarilynx) 2019-03-07 12:58:39,463 DEBUG Gamelist for atarilynx is read from None 2019-03-07 12:58:39,463 DEBUG Atari Lynx system has no gamelist, skipping 2019-03-07 12:58:39,464 DEBUG Analyzing system: Atari ST/STE (atarist) 2019-03-07 12:58:39,465 DEBUG Gamelist for atarist is read from None 2019-03-07 12:58:39,465 DEBUG Atari ST/STE system has no gamelist, skipping 2019-03-07 12:58:39,466 DEBUG Analyzing system: Commodore 64 (c64) 2019-03-07 12:58:39,466 DEBUG Gamelist for c64 is read from None 2019-03-07 12:58:39,466 DEBUG Commodore 64 system has no gamelist, skipping 2019-03-07 12:58:39,467 DEBUG Analyzing system: NES Classic (classicnes) 2019-03-07 12:58:39,468 DEBUG Gamelist for classicnes is read from None 2019-03-07 12:58:39,468 DEBUG NES Classic system has no gamelist, skipping 2019-03-07 12:58:39,469 DEBUG Analyzing system: SNES Classic (classicsnes) 2019-03-07 12:58:39,469 DEBUG Gamelist for classicsnes is read from None 2019-03-07 12:58:39,470 DEBUG SNES Classic system has no gamelist, skipping 2019-03-07 12:58:39,470 DEBUG Analyzing system: TRS-80 Color Computer (CoCo) (coco) 2019-03-07 12:58:39,471 DEBUG Gamelist for coco is read from None 2019-03-07 12:58:39,471 DEBUG TRS-80 Color Computer (CoCo) system has no gamelist, skipping 2019-03-07 12:58:39,472 DEBUG Analyzing system: ColecoVision (coleco) 2019-03-07 12:58:39,472 DEBUG Gamelist for coleco is read from None 2019-03-07 12:58:39,473 DEBUG ColecoVision system has no gamelist, skipping 2019-03-07 12:58:39,474 DEBUG Analyzing system: None (colecovision) 2019-03-07 12:58:39,474 DEBUG Gamelist for colecovision is read from None 2019-03-07 12:58:39,474 DEBUG None system has no gamelist, skipping 2019-03-07 12:58:39,475 DEBUG Analyzing system: Capcom Play System I (cps1) 2019-03-07 12:58:39,476 DEBUG Gamelist for cps1 is read from None 2019-03-07 12:58:39,476 DEBUG Capcom Play System I system has no gamelist, skipping 2019-03-07 12:58:39,477 DEBUG Analyzing system: Capcom Play System II (cps2) 2019-03-07 12:58:39,477 DEBUG Gamelist for cps2 is read from None 2019-03-07 12:58:39,478 DEBUG Capcom Play System II system has no gamelist, skipping 2019-03-07 12:58:39,478 DEBUG Analyzing system: Daphne (daphne) 2019-03-07 12:58:39,479 DEBUG Gamelist for daphne is read from None 2019-03-07 12:58:39,479 DEBUG Daphne system has no gamelist, skipping 2019-03-07 12:58:39,480 DEBUG Analyzing system: Dragon 32 (dragon32) 2019-03-07 12:58:39,480 DEBUG Gamelist for dragon32 is read from None 2019-03-07 12:58:39,481 DEBUG Dragon 32 system has no gamelist, skipping 2019-03-07 12:58:39,481 DEBUG Analyzing system: Dreamcast (dreamcast) 2019-03-07 12:58:39,482 DEBUG Gamelist for dreamcast is read from None 2019-03-07 12:58:39,482 DEBUG Dreamcast system has no gamelist, skipping 2019-03-07 12:58:39,483 DEBUG Analyzing system: Famicom System (famicom) 2019-03-07 12:58:39,483 DEBUG Gamelist for famicom is read from None 2019-03-07 12:58:39,484 DEBUG Famicom System system has no gamelist, skipping 2019-03-07 12:58:39,484 DEBUG Analyzing system: Final Burn Alpha (fba) 2019-03-07 12:58:39,485 DEBUG Gamelist for fba is read from None 2019-03-07 12:58:39,485 DEBUG Final Burn Alpha system has no gamelist, skipping 2019-03-07 12:58:39,486 DEBUG Analyzing system: Famicom Disk System (fds) 2019-03-07 12:58:39,486 DEBUG Gamelist for fds is read from None 2019-03-07 12:58:39,487 DEBUG Famicom Disk System system has no gamelist, skipping 2019-03-07 12:58:39,487 DEBUG Analyzing system: Game and Watch (gameandwatch) 2019-03-07 12:58:39,488 DEBUG Gamelist for gameandwatch is read from None 2019-03-07 12:58:39,488 DEBUG Game and Watch system has no gamelist, skipping 2019-03-07 12:58:39,489 DEBUG Analyzing system: Sega Gamegear (gamegear) 2019-03-07 12:58:39,490 DEBUG Gamelist for gamegear is read from None 2019-03-07 12:58:39,490 DEBUG Sega Gamegear system has no gamelist, skipping 2019-03-07 12:58:39,491 DEBUG Analyzing system: Game Boy (gb) 2019-03-07 12:58:39,491 DEBUG Gamelist for gb is read from None 2019-03-07 12:58:39,491 DEBUG Game Boy system has no gamelist, skipping 2019-03-07 12:58:39,492 DEBUG Analyzing system: Game Boy Advance (gba) 2019-03-07 12:58:39,493 DEBUG Gamelist for gba is read from None 2019-03-07 12:58:39,493 DEBUG Game Boy Advance system has no gamelist, skipping 2019-03-07 12:58:39,494 DEBUG Analyzing system: Game Boy Color (gbc) 2019-03-07 12:58:39,494 DEBUG Gamelist for gbc is read from None 2019-03-07 12:58:39,494 DEBUG Game Boy Color system has no gamelist, skipping 2019-03-07 12:58:39,495 DEBUG Analyzing system: Intellivision (intellivision) 2019-03-07 12:58:39,496 DEBUG Gamelist for intellivision is read from None 2019-03-07 12:58:39,496 DEBUG Intellivision system has no gamelist, skipping 2019-03-07 12:58:39,497 INFO System Kodi is skipped as configured 2019-03-07 12:58:39,497 DEBUG Analyzing system: Apple Macintosh (macintosh) 2019-03-07 12:58:39,498 DEBUG Gamelist for macintosh is read from None 2019-03-07 12:58:39,498 DEBUG Apple Macintosh system has no gamelist, skipping 2019-03-07 12:58:39,499 DEBUG Analyzing system: Multiple Arcade Machine Emulator (mame-advmame) 2019-03-07 12:58:39,499 DEBUG Gamelist for mame-advmame is read from None 2019-03-07 12:58:39,500 DEBUG Multiple Arcade Machine Emulator system has no gamelist, skipping 2019-03-07 12:58:39,501 DEBUG Analyzing system: Multiple Arcade Machine Emulator (mame-libretro) 2019-03-07 12:58:39,501 DEBUG Gamelist for mame-libretro is read from None 2019-03-07 12:58:39,501 DEBUG Multiple Arcade Machine Emulator system has no gamelist, skipping 2019-03-07 12:58:39,502 DEBUG Analyzing system: Multiple Arcade Machine Emulator (mame-mame4all) 2019-03-07 12:58:39,502 DEBUG Gamelist for mame-mame4all is read from None 2019-03-07 12:58:39,503 DEBUG Multiple Arcade Machine Emulator system has no gamelist, skipping 2019-03-07 12:58:39,504 DEBUG Analyzing system: Sega Mark III (markiii) 2019-03-07 12:58:39,504 DEBUG Gamelist for markiii is read from None 2019-03-07 12:58:39,504 DEBUG Sega Mark III system has no gamelist, skipping 2019-03-07 12:58:39,505 DEBUG Analyzing system: Sega Master System (mastersystem) 2019-03-07 12:58:39,506 DEBUG Gamelist for mastersystem is read from None 2019-03-07 12:58:39,506 DEBUG Sega Master System system has no gamelist, skipping 2019-03-07 12:58:39,507 DEBUG Analyzing system: Sega Mega Drive (megadrive) 2019-03-07 12:58:39,507 DEBUG Gamelist for megadrive is read from None 2019-03-07 12:58:39,508 DEBUG Sega Mega Drive system has no gamelist, skipping 2019-03-07 12:58:39,509 DEBUG Analyzing system: Sega Mega Drive Japan (megadrive-japan) 2019-03-07 12:58:39,509 DEBUG Gamelist for megadrive-japan is read from None 2019-03-07 12:58:39,509 DEBUG Sega Mega Drive Japan system has no gamelist, skipping 2019-03-07 12:58:39,510 DEBUG Analyzing system: MSX (msx) 2019-03-07 12:58:39,511 DEBUG Gamelist for msx is read from None 2019-03-07 12:58:39,511 DEBUG MSX system has no gamelist, skipping 2019-03-07 12:58:39,512 DEBUG Analyzing system: MSX2 (msx2) 2019-03-07 12:58:39,512 DEBUG Gamelist for msx2 is read from None 2019-03-07 12:58:39,513 DEBUG MSX2 system has no gamelist, skipping 2019-03-07 12:58:39,513 DEBUG Analyzing system: MSX2+ (msx2+) 2019-03-07 12:58:39,514 DEBUG Gamelist for msx2+ is read from None 2019-03-07 12:58:39,514 DEBUG MSX2+ system has no gamelist, skipping 2019-03-07 12:58:39,515 DEBUG Analyzing system: Nintendo 64 (n64) 2019-03-07 12:58:39,515 DEBUG Gamelist for n64 is read from None 2019-03-07 12:58:39,516 DEBUG Nintendo 64 system has no gamelist, skipping 2019-03-07 12:58:39,516 DEBUG Analyzing system: Nintendo DS (nds) 2019-03-07 12:58:39,517 DEBUG Gamelist for nds is read from None 2019-03-07 12:58:39,517 DEBUG Nintendo DS system has no gamelist, skipping 2019-03-07 12:58:39,518 DEBUG Analyzing system: Neo Geo (neogeo) 2019-03-07 12:58:39,518 DEBUG Gamelist for neogeo is read from None 2019-03-07 12:58:39,519 DEBUG Neo Geo system has no gamelist, skipping 2019-03-07 12:58:39,519 DEBUG Analyzing system: Nintendo Entertainment System (nes) 2019-03-07 12:58:39,520 DEBUG Gamelist for nes is read from None 2019-03-07 12:58:39,520 DEBUG Nintendo Entertainment System system has no gamelist, skipping 2019-03-07 12:58:39,521 DEBUG Analyzing system: Neo Geo Pocket (ngp) 2019-03-07 12:58:39,522 DEBUG Gamelist for ngp is read from None 2019-03-07 12:58:39,522 DEBUG Neo Geo Pocket system has no gamelist, skipping 2019-03-07 12:58:39,523 DEBUG Analyzing system: Neo Geo Pocket Color (ngpc) 2019-03-07 12:58:39,523 DEBUG Gamelist for ngpc is read from None 2019-03-07 12:58:39,523 DEBUG Neo Geo Pocket Color system has no gamelist, skipping 2019-03-07 12:58:39,524 DEBUG Analyzing system: Nintendo PlayChoice System (nintendoplaychoice) 2019-03-07 12:58:39,525 DEBUG Gamelist for nintendoplaychoice is read from None 2019-03-07 12:58:39,525 DEBUG Nintendo PlayChoice System system has no gamelist, skipping 2019-03-07 12:58:39,526 DEBUG Analyzing system: Nintendo VS. System (nintendovs) 2019-03-07 12:58:39,526 DEBUG Gamelist for nintendovs is read from None 2019-03-07 12:58:39,526 DEBUG Nintendo VS. System system has no gamelist, skipping 2019-03-07 12:58:39,527 DEBUG Analyzing system: PC (pc) 2019-03-07 12:58:39,528 DEBUG Gamelist for pc is read from None 2019-03-07 12:58:39,528 DEBUG PC system has no gamelist, skipping 2019-03-07 12:58:39,529 DEBUG Analyzing system: PC Engine (pcengine) 2019-03-07 12:58:39,529 DEBUG Gamelist for pcengine is read from None 2019-03-07 12:58:39,529 DEBUG PC Engine system has no gamelist, skipping 2019-03-07 12:58:39,530 DEBUG Analyzing system: PC Engine-CD (pcenginecd) 2019-03-07 12:58:39,531 DEBUG Gamelist for pcenginecd is read from None 2019-03-07 12:58:39,531 DEBUG PC Engine-CD system has no gamelist, skipping 2019-03-07 12:58:39,532 DEBUG Analyzing system: Ports (ports) 2019-03-07 12:58:39,532 DEBUG Gamelist for ports is read from None 2019-03-07 12:58:39,533 DEBUG Ports system has no gamelist, skipping 2019-03-07 12:58:39,533 DEBUG Analyzing system: PlayStation Portable (psp) 2019-03-07 12:58:39,534 DEBUG Gamelist for psp is read from None 2019-03-07 12:58:39,534 DEBUG PlayStation Portable system has no gamelist, skipping 2019-03-07 12:58:39,535 DEBUG Analyzing system: PlayStation Portable Minis (pspminis) 2019-03-07 12:58:39,535 DEBUG Gamelist for pspminis is read from None 2019-03-07 12:58:39,536 DEBUG PlayStation Portable Minis system has no gamelist, skipping 2019-03-07 12:58:39,536 DEBUG Analyzing system: PlayStation (psx) 2019-03-07 12:58:39,537 DEBUG Gamelist for psx is read from None 2019-03-07 12:58:39,537 DEBUG PlayStation system has no gamelist, skipping 2019-03-07 12:58:39,538 INFO System RetroPie is skipped as configured 2019-03-07 12:58:39,539 DEBUG Analyzing system: Sega SC-3000 (sc-3000) 2019-03-07 12:58:39,539 DEBUG Gamelist for sc-3000 is read from None 2019-03-07 12:58:39,539 DEBUG Sega SC-3000 system has no gamelist, skipping 2019-03-07 12:58:39,540 DEBUG Analyzing system: ScummVM (scummvm) 2019-03-07 12:58:39,541 DEBUG Gamelist for scummvm is read from None 2019-03-07 12:58:39,541 DEBUG ScummVM system has no gamelist, skipping 2019-03-07 12:58:39,542 DEBUG Analyzing system: Sega 32X (sega32x) 2019-03-07 12:58:39,542 DEBUG Gamelist for sega32x is read from None 2019-03-07 12:58:39,543 DEBUG Sega 32X system has no gamelist, skipping 2019-03-07 12:58:39,543 DEBUG Analyzing system: Mega CD (segacd) 2019-03-07 12:58:39,544 DEBUG Gamelist for segacd is read from None 2019-03-07 12:58:39,544 DEBUG Mega CD system has no gamelist, skipping 2019-03-07 12:58:39,545 DEBUG Analyzing system: Super Famicom Disk System (sfc) 2019-03-07 12:58:39,545 DEBUG Gamelist for sfc is read from None 2019-03-07 12:58:39,546 DEBUG Super Famicom Disk System system has no gamelist, skipping 2019-03-07 12:58:39,546 DEBUG Analyzing system: Sega SG-1000 (sg-1000) 2019-03-07 12:58:39,547 DEBUG Gamelist for sg-1000 is read from None 2019-03-07 12:58:39,547 DEBUG Sega SG-1000 system has no gamelist, skipping 2019-03-07 12:58:39,548 DEBUG Analyzing system: Super Grafx (sgfx) 2019-03-07 12:58:39,548 DEBUG Gamelist for sgfx is read from None 2019-03-07 12:58:39,549 DEBUG Super Grafx system has no gamelist, skipping 2019-03-07 12:58:39,549 DEBUG Analyzing system: Super Nintendo (snes) 2019-03-07 12:58:39,550 DEBUG Gamelist for snes is read from None 2019-03-07 12:58:39,550 DEBUG Super Nintendo system has no gamelist, skipping 2019-03-07 12:58:39,551 DEBUG Analyzing system: Super Famicom (superfamicom) 2019-03-07 12:58:39,551 DEBUG Gamelist for superfamicom is read from None 2019-03-07 12:58:39,552 DEBUG Super Famicom system has no gamelist, skipping 2019-03-07 12:58:39,553 DEBUG Analyzing system: TurboGrafx 16 (tg16) 2019-03-07 12:58:39,553 DEBUG Gamelist for tg16 is read from None 2019-03-07 12:58:39,553 DEBUG TurboGrafx 16 system has no gamelist, skipping 2019-03-07 12:58:39,554 DEBUG Analyzing system: TurboGrafx 16-CD (tg16cd) 2019-03-07 12:58:39,554 DEBUG Gamelist for tg16cd is read from None 2019-03-07 12:58:39,555 DEBUG TurboGrafx 16-CD system has no gamelist, skipping 2019-03-07 12:58:39,556 DEBUG Analyzing system: Vectrex (vectrex) 2019-03-07 12:58:39,556 DEBUG Gamelist for vectrex is read from None 2019-03-07 12:58:39,556 DEBUG Vectrex system has no gamelist, skipping 2019-03-07 12:58:39,557 DEBUG Analyzing system: Odyssey/Videopac (videopac) 2019-03-07 12:58:39,557 DEBUG Gamelist for videopac is read from None 2019-03-07 12:58:39,558 DEBUG Odyssey/Videopac system has no gamelist, skipping 2019-03-07 12:58:39,559 DEBUG Analyzing system: Odyssey 2 (videopac) 2019-03-07 12:58:39,559 DEBUG Gamelist for videopac is read from None 2019-03-07 12:58:39,559 DEBUG Odyssey 2 system has no gamelist, skipping 2019-03-07 12:58:39,560 DEBUG Analyzing system: Virtual Boy (virtualboy) 2019-03-07 12:58:39,561 DEBUG Gamelist for virtualboy is read from None 2019-03-07 12:58:39,561 DEBUG Virtual Boy system has no gamelist, skipping 2019-03-07 12:58:39,562 DEBUG Analyzing system: Wonderswan (wonderswan) 2019-03-07 12:58:39,562 DEBUG Gamelist for wonderswan is read from None 2019-03-07 12:58:39,562 DEBUG Wonderswan system has no gamelist, skipping 2019-03-07 12:58:39,563 DEBUG Analyzing system: Wonderswan Color (wonderswancolor) 2019-03-07 12:58:39,564 DEBUG Gamelist for wonderswancolor is read from None 2019-03-07 12:58:39,564 DEBUG Wonderswan Color system has no gamelist, skipping 2019-03-07 12:58:39,565 DEBUG Analyzing system: Z-machine (zmachine) 2019-03-07 12:58:39,565 DEBUG Gamelist for zmachine is read from None 2019-03-07 12:58:39,565 DEBUG Z-machine system has no gamelist, skipping 2019-03-07 12:58:39,566 DEBUG Analyzing system: ZX Spectrum (zxspectrum) 2019-03-07 12:58:39,567 DEBUG Gamelist for zxspectrum is read from None 2019-03-07 12:58:39,567 DEBUG ZX Spectrum system has no gamelist, skipping 2019-03-07 12:58:39,568 DEBUG Trying to find custom collections 2019-03-07 12:58:39,568 INFO No custom collection folder found, skipping 2019-03-07 12:58:39,569 INFO Total games after parsing gamelist files - 0 2019-03-07 12:58:39,569 INFO Exporting to file /home/pi/RetroPie/roms/export_list.xlsx Traceback (most recent call last): File "gamelist.py", line 600, in <module> xlsx_export_workbook(systems, output, collections) File "gamelist.py", line 342, in xlsx_export_workbook raise "Exported system list is empty" TypeError: exceptions must be old-style classes or derived from BaseException, not str
-
@mostym It looks like there's no
gamelist.xml
files found by the script. The script tries to read it from the default Emulationstation location (~/.emulationstation/gamelists/<system>
) or from the the ROMs folder, but it can't find any.
4.4.1 is actually the RetroPie version, not the Emulationstation version - you can find it by pressingStart
while in Emulationstation.
Can you check where yourgamelist.xml
files are located ? Did you disable theSave metadata on exit
option in Emulationstation ? -
@mitu Oh, ok, emulationstation version is 2.7.5RP. Save metadata on exit is enabled. If I do a locate gamelist.xml i can see the following:
root@retropie:/# locate gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/amstradcpc/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/arcade/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/atari2600/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/atari7800/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/atarilynx/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/c64/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/daphne/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/dreamcast/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/fba/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/fds/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/gamegear/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/gb/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/gba/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/gbc/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/mame-advmame/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/mame-libretro/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/mame-mame4all/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/mastersystem/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/megadrive/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/msx/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/n64/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/neogeo/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/nes/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/ngp/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/ngpc/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/pc/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/pcengine/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/ports/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/psp/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/psx/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/retropie/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/sega32x/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/segacd/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/sg-1000/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/snes/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/vectrex/gamelist.xml /home/pi/v3/opt/retropie/configs/configs/all/emulationstation/gamelists/zxspectrum/gamelist.xml /opt/retropie/configs/all/emulationstation/gamelists/mame-libretro/gamelist.xml /opt/retropie/configs/all/emulationstation/gamelists/pcengine/gamelist.xml /opt/retropie/configs/all/emulationstation/gamelists/ports/gamelist.xml /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml /opt/retropie/configs/all/emulationstation/gamelists/scummvm/gamelist.xml
If I look at the contents of each of the gamelist.xml files, there is the following in each:
<?xml version="1.0"?> <gameList />
-
@mostym Your gamelists are empty, so that's why the script cannot find any games - they're read from those files. I suspect the permissions on your ROM folders (and probably the
gamelists
folder) are incorrect and ES cannot save the files.
Can you post the~/.emulationstation/es_log.txt
file ? There might be an error logged if thegamelist.xml
files are not saved. -
@mitu Are the gamelist.xml files supposed to be manually created? Here is the es_log.txt contents(I couldn't post here because it's too long) https://pastebin.com/eJgJqk8W
-
@mostym The
gamelist.xml
files are created automatically by Emulationstation when you restart/shutdown, they're not created manually. Either way, you don't have them - check the permissions on the folders where they are created and restart ES at least once for them to be created. -
@mitu What are the permissions supposed to be? Are these set correctly?
drwxr-xr-x 4 pi pi 69632 May 24 2018 mame-mame4all drwxr-xr-x 2 pi pi 4096 May 24 2018 markiii drwxr-xr-x 2 pi pi 20480 May 24 2018 mastersystem drwxr-xr-x 4 pi pi 4096 May 24 2018 megadrive drwxr-xr-x 2 pi pi 4096 May 24 2018 megadrive-japan drwxr-xr-x 2 pi pi 4096 May 24 2018 msk2+ drwxr-xr-x 2 pi pi 36864 May 24 2018 msx drwxr-xr-x 2 pi pi 20480 May 24 2018 msx2 drwxr-xr-x 2 pi pi 36864 May 24 2018 n64 drwxr-xr-x 2 pi pi 4096 May 24 2018 nds drwxr-xr-x 3 pi pi 12288 May 31 2018 neogeo drwxr-xr-x 8 pi pi 4096 May 24 2018 nes drwxr-xr-x 2 pi pi 4096 May 24 2018 nesclassic drwxr-xr-x 2 pi pi 4096 May 24 2018 nesh drwxr-xr-x 2 pi pi 4096 May 24 2018 ngp drwxr-xr-x 2 pi pi 16384 May 24 2018 ngpc drwxr-xr-x 2 pi pi 12288 May 24 2018 oddyse drwxr-xr-x 5 pi pi 4096 May 24 2018 Oddysey2 drwxr-xr-x 45 pi pi 4096 May 24 2018 pc drwxr-xr-x 4 pi pi 4096 May 31 2018 pcengine drwxr-xr-x 2 pi pi 4096 May 24 2018 pcenginecd drwxr-xr-x 3 pi pi 4096 May 24 2018 playchoice drwxr-xr-x 8 pi pi 4096 May 22 2018 ports drwxr-xr-x 2 pi pi 4096 May 22 2018 psp drwxr-xr-x 2 pi pi 4096 May 24 2018 pspminis drwxr-xr-x 112 pi pi 4096 May 24 2018 psx drwxr-xr-x 2 pi pi 4096 May 24 2018 psx (only use this if you have Scott's PBP set) drwxr-xr-x 2 pi pi 4096 May 24 2018 sc-3000 drwxr-xr-x 17 pi pi 4096 May 24 2018 scummvm drwxr-xr-x 2 pi pi 4096 May 24 2018 sega32x drwxr-xr-x 2 pi pi 4096 May 24 2018 segacd drwxr-xr-x 2 pi pi 4096 May 24 2018 sfc drwxr-xr-x 5 pi pi 4096 May 24 2018 sg-1000 drwxr-xr-x 2 pi pi 4096 May 24 2018 sgfx drwxr-xr-x 10 pi pi 4096 May 24 2018 snes drwxr-xr-x 2 pi pi 4096 May 24 2018 snesclassic drwxr-xr-x 2 pi pi 4096 May 24 2018 snesh drwxr-xr-x 2 pi pi 94208 May 24 2018 superfamicom drwxr-xr-x 2 pi pi 4096 May 24 2018 tg16 drwxr-xr-x 2 pi pi 4096 May 24 2018 tg16cd drwxr-xr-x 7 pi pi 4096 May 24 2018 vectrex drwxr-xr-x 2 pi pi 4096 May 24 2018 vic20 drwxr-xr-x 2 pi pi 4096 May 24 2018 videopac drwxr-xr-x 2 pi pi 4096 May 24 2018 videopac2 drwxr-xr-x 2 pi pi 4096 May 24 2018 virtualboy drwxr-xr-x 3 pi pi 4096 May 24 2018 vs drwxr-xr-x 2 pi pi 12288 May 24 2018 wonderswan drwxr-xr-x 2 pi pi 12288 May 24 2018 wonderswancolor drwxr-xr-x 2 pi pi 4096 May 24 2018 zmachine drwxr-xr-x 60 pi pi 4096 May 24 2018 zxspectrum
-
@mostym The permissions seem to be find on your ROM folders. How did you install your RetroPie system ?
-
@mitu I installed it using rufus and the retropie image.
-
@mostym Well, then beats me - the script will not work if your
gamelist.xml
are empty, so if you solve that, you'll make it work. -
@mitu I also just noticed that the PARSE GAMELISTS ONLY option is off. I don't know if that matters or not.
-
@mostym That's ok, the option tells Emulationstation to ignore the ROMs folders contents and show only what you have registered in
gamelist.xml
. In your case, that would be nothing, since your files are empty. -
-
@mostym The permission seems fine. Did you restart at least once Emulationstation since you installed it ? I see in the log the configuration of the controller, which usually happens on the 1st install.
-
@mitu I just restarted it, and tried running the script and the same error occurred.
-
@mostym Sorry, but the problem is somewhere else. Did you use the RetroPie supplied image from retropie.org.uk/download or another image ?
-
@mitu I downloaded it from the retropie download page, yes.
-
I am interested in this work. Congratulations
-
@mitu Hopefully you don't mind me resurrecting this thread, as this was an amazing tool when it was working for me and I think more people in the RetroPie need visibility into your awesome work.
Problem for me now is that: it was working for me, but now it has stopped running, and I'm completely unsure as to why.
Here is the error at the end of the script. It seems to get through all gamelists with no errors, then provides me with:
Traceback (most recent call last): File "export.py", line 583, in <module> systems = parse_systems() File "export.py", line 261, in parse_systems gamelist = et.parse(gamelist_path) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse tree.parse(source, parser) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse parser.feed(data) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed self._raiseerror(v) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror raise err xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 564, column 32
Any troubleshooting or insight you could provide here would be greatly appreciated. Thanks!
-
@FetusSandwich Run it with
--debug
and see where it stops. Looks like an issue with a malformedgamelist.xml
file.
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.