5 May 2015, 19:06

Bonsoir reprenant j'ai relu ton message en page ton architecture de dossier est ainsi (je te conseille de ne pas mettre d espace dans les noms de dossiers ça peut bugguer:

D:\Divers\bureau\Testscraping\roms\n64\all
D:\Divers\bureau\Testscraping\roms\nes\all\
D:\Divers\bureau\Testscraping\roms\snes\all\

et tu veux stocker les images dans le même dossier que chaque emulateur

D:\Divers\bureau\Testscraping\roms\n64\all\images
D:\Divers\bureau\Testscraping\roms\nes\all\images
D:\Divers\bureau\Testscraping\roms\snes\all\images

Si tu veux stocker les images directement avec les roms tu retires \images Voici les chemins à renseigner

REM VARIABLES à modifier
set img_dir=D:\Divers\bureau\Testscarping\roms\%%i\all\images
set chemin_img=~./all/images
set gamelist=D:\Divers\bureau\Testscarping\gamelists

Voila l'architecture que j ai crée pour faire un exemple : gamegear

D:\divers\
|   
\---Bureau
    \---Testscraping
        +---gamelists
        |   \---gamegear
        |           gamelist.xml
        |           
        \---roms
            |   scraper.exe
            |   test4.bat
            |   
            \---gamegear
                |   5 in 1 Funpak (USA).zip
                |   Aa Harimanada (Japan).zip
                |   Addams Family, The (World).zip
                |   Adventures of Batman & Robin, The (USA, Europe).zip
                |   Aerial Assault (Japan) (Rev 1).zip
                |   Aerial Assault (World).zip
                |   Aladdin (Japan).zip
                |   Aladdin (USA, Europe).zip
                |   Alien 3 (Japan).zip
                |   Alien 3 (USA, Europe).zip
                |   Alien Syndrome (Japan).zip
                |   
                \---all
                    \---images
                            5 in 1 Funpak (USA)-image.jpg
                            Aa Harimanada (Japan)-image.jpg
                            Addams Family, The (World)-image.jpg
                            Adventures of Batman & Robin, The (USA, Europe)-image.jpg
                            Aerial Assault (Japan) (Rev 1)-image.jpg
                            Aerial Assault (World)-image.jpg
                            Aladdin (Japan)-image.jpg
                            Aladdin (USA, Europe)-image.jpg
                            Alien 3 (Japan)-image.jpg
                            Alien 3 (USA, Europe)-image.jpg
                            Alien Syndrome (Japan)-image.jpg

Le dossier gamelists/gamegear doit exister. Et voici le gamelist.xml que j'obtiens je pense assez proche de ce que tu veux

<gameList>
      <game id="11827" source="theGamesDB.net">
          <path>./5 in 1 Funpak (USA).zip</path>
          <name>5 in 1 Funpak (USA)</name>
          <desc>5 In One Fun Pak is a Board game, developed by Beam Software and published by Interplay, which was released in 1994.</desc>
          <image>~./all/images/5 in 1 Funpak (USA)-image.jpg</image>
          <releasedate>19940101T000000</releasedate>
          <developer>Beam Software</developer>
          <publisher>Interplay</publisher>
          <genre>Strategy</genre>
          <players>2</players>
      </game>
      <game id="20542" source="theGamesDB.net">
          <path>./Aa Harimanada (Japan).zip</path>
          <name>Aa Harimanada (Japan)</name>
          <desc>Aa Harimanada () is a 1993 sumo wrestling game by Sega for the Sega Game Gear and Sega Mega Drive made to tie into TV Tokyo's Aa Harimanada anime.

The game is a typical fighting game with various button combinations doing something different. The Mega Drive version has a password system and a two-player versus mode.</desc>
          <image>~./all/images/Aa Harimanada (Japan)-image.jpg</image>
          <rating>0.55</rating>
          <releasedate>19930702T000000</releasedate>
          <developer>Sega</developer>
          <publisher>Sega</publisher>
          <genre>Fighting</genre>
          <players>1</players>
      </game>