ps1: official-style ICON0/PIC0/PIC1 artwork with PSN templates
Replaces the letterboxed 144x80 icon + cropped PIC1 with official-looking PS1 Classics art: - ICON0 (80x80): cover art composited into the bundled case frame (PS logo + 'PlayStation.' wordmark) from data/ps1_templates/ICON0.PNG. - PIC0 (310x180): a PSN-style info board drawn in code — title, IGDB description, ESRB badge (from IGDB age_ratings) and PS3/PSP badges. - PIC1 (480x272): the bundled launch background template. The converter now embeds PIC0, the PS1 tab previews all three images, and ps1_art pulls IGDB description/ESRB as best effort. Templates are git-ignored (user-supplied, like base.PBP) with a drawn-art fallback when missing.
This commit is contained in:
+4
-4
@@ -240,17 +240,17 @@ class Ps1ConvertSource(Source):
|
||||
from . import covers, ps1_convert
|
||||
|
||||
# Pull the game's real cover art (libretro / ScreenScraper / IGDB /
|
||||
# Wikipedia) and bake it into ICON0 + PIC1 so the XMB shows the actual
|
||||
# game, not the default PS1 icon. Best effort: fall back to defaults.
|
||||
# Wikipedia) and bake it into ICON0 + PIC0 + PIC1 so the XMB shows the
|
||||
# official-style art, not the default PS1 icon. Best effort.
|
||||
if progress_cb is not None:
|
||||
progress_cb("Artwork", 0.0, "")
|
||||
icon0, pic1 = covers.ps1_art(title, game_id)
|
||||
icon0, pic0, pic1 = covers.ps1_art(title, game_id)
|
||||
|
||||
try:
|
||||
ps1_convert.convert_to_folder(
|
||||
source, title, game_id, self.base_pbp, dest_dir,
|
||||
progress_cb=cb, cancel_event=cancel_event,
|
||||
icon0=icon0, pic1=pic1,
|
||||
icon0=icon0, pic0=pic0, pic1=pic1,
|
||||
)
|
||||
except ps1_convert.Cancelled:
|
||||
raise TransferCancelled() from None
|
||||
|
||||
Reference in New Issue
Block a user