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

Can't convert Overblood (SLUS-00464) #68

Closed Webardo closed 6 months ago

Webardo commented 6 months ago

An exception occurs due to pic 0.

ID SLUS00464 Fetching SND0 Found cached prebuilt PIC0 https://github.com/sahlberg/pop-fe-assets/raw/master/pic0/b2c05932bce8e0bf9800b1c42d16ecfa Exception in Tkinter callback Traceback (most recent call last): File "tkinter__init.py", line 1892, in call__ File "pop-fe-psp.py", line 377, in on_path_changed File "pop-fe-psp.py", line 245, in update_assets File "pop-fe.py", line 395, in get_pic0_from_game File "PIL\Image.py", line 2939, in new TypeError: color must be int, or tuple of one or two elements

sahlberg commented 6 months ago

Fixed. PIL did not like that image so I changed the get_pic0_from... parser to catch the exception and just ignore the image if it is broken. I also swapped the pic0 logo to a different one that PIL can parse.

should work now.

Webardo commented 6 months ago

Works perfectly now, thank you very much.