sahlberg / pop-fe

Python script to automate the process of fetching boxart and installing PS1 games (onto your PSP/VITA/PS2/PS3)
135 stars 13 forks source link

Sonic Wings Special [SLES-04102] #56

Closed Fabax01 closed 8 months ago

Fabax01 commented 8 months ago
Failed to read game id. Falling back to raw read
Traceback (most recent call last):
  File "/pop-fe/pop-fe.py", line 2449, in <module>
    game = get_game_from_gamelist(disc_ids[0])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pop-fe/pop-fe.py", line 189, in get_game_from_gamelist
    if 'url' not in games[game_id]:
                    ~~~~~^^^^^^^^^
KeyError: '         '
sahlberg commented 8 months ago

This is addressed in current master. The issue is that the ISO contained in the bin has what pycdlib considers invalid padding and it refuses to read from it. On linux, this is now workaround by trying to use iso9660 module to read the disc id and that works. Iso9660 is not available on windows so we can not detect what game it is there.

For now, I return a fake disc id 'UNKN00000' for this disk so that pop-fe will not throw an exception. Since it is a fake disc-id there will be no title and no art.

Optimally would be to send the ISO image to the pycdlib folks and see if they can see why their module refuses to open the iso and maybe add a workaround?