From 9e6f6a44beb422e8b9053a680a7903a7b4439b28 Mon Sep 17 00:00:00 2001 From: RangarNavia <43579415+RangarNavia@users.noreply.github.com> Date: Tue, 10 Nov 2026 01:43:06 +0800 Subject: [PATCH] Assets: logos extract again, the makeup sheets no longer shadow the logo DECALS map v1.3.0 added a second DECALS dict for the makeup and accessory sheets. It replaced the logo map, so recover_logos() looped over the makeup keys and every logo was skipped. Fresh extractions on v1.3.0 and later got no variants/logos folder, and the wardrobe showed the LOGO placeholder. The sheets dict is now DECAL_SHEETS. --- tools/recover_assets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/recover_assets.py b/tools/recover_assets.py index af8b60cb..0d822516 100644 --- a/tools/recover_assets.py +++ b/tools/recover_assets.py @@ -191,7 +191,7 @@ def find_game_dir(): # one sheet per item, not a png per drawable (nails alone are 22). # outfit/catalog.js names these keys -DECALS = { +DECAL_SHEETS = { "eyeshadow": ["eyeShadow_common"], "goth_eyeshadow": ["gothEyeShadow_common"], "eyeliner": ["eyeliner_common"], @@ -645,7 +645,7 @@ def recover_decal(self, key, cnames): def recover_decals(self): mapping = {} - for key, cnames in DECALS.items(): + for key, cnames in DECAL_SHEETS.items(): self.attempt(key, lambda k=key, c=cnames: mapping.__setitem__(k, self.recover_decal(k, c))) path = os.path.join(self.out, "variants", "decals", "mapping.json") os.makedirs(os.path.dirname(path), exist_ok=True)