jak-project/decompiler/data
Luminar Light a3af37989b
Allow replacing all instances of a texture with one texture (#3234)
There are art groups that are present in multiple levels, and that means
that also their textures are present in multiple levels. With texture
replacement, currently we need to make replacements for all instances if
we want it replaced everywhere, but this is not ideal, especially when
you make changes to your replacement texture and now you have to put it
in each folder again.

I added a way to replace all instances of a texture, by letting
texture-replacer people put their replacements into an '_all' folder. I
set up the logic in such a way that if you have a replacement for the
texture in its corresponding folder, it will take priority over a
replacement that you placed into the '_all' folder.

I personally found this very useful for replacing guard textures. The
guards appear in a lot of levels. But ideally you want them to look the
same everywhere. And that is why I looked into this and made a PR.

Oh and I changed what is printed in the 'Replacing ' part because it was
printing the path to our replacement, which didn't look nicely when
several textures got replaced by the same replacement from the '_all'
folder. So now it will print the original texture's page and name, I
think this information is more useful anyway.
2023-12-02 12:17:47 -05:00
..
dir_tpages.cpp decompiler: allow jak 3 texture and model extraction (#3080) 2023-10-11 19:32:12 -04:00
dir_tpages.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_count.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_count.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
game_subs.h [decompiler] jak 2 cutscene file support (#2390) 2023-03-22 21:31:13 +00:00
game_text.cpp Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
game_text.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
LinkedWordReader.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
streamed_audio.cpp decomp: handle dumping jak 2 VAG file assets (#2969) 2023-09-09 10:33:41 -04:00
streamed_audio.h decomp: handle dumping jak 2 VAG file assets (#2969) 2023-09-09 10:33:41 -04:00
StrFileReader.cpp [jak2] Add static textures for the progress menu (#2838) 2023-07-23 12:35:59 -04:00
StrFileReader.h [jak2] Add static textures for the progress menu (#2838) 2023-07-23 12:35:59 -04:00
TextureDB.cpp Allow replacing all instances of a texture with one texture (#3234) 2023-12-02 12:17:47 -05:00
TextureDB.h decompiler: add texture merging feature (#3083) 2023-10-12 19:02:36 -04:00
tpage.cpp decompiler: allow jak 3 texture and model extraction (#3080) 2023-10-11 19:32:12 -04:00
tpage.h [shrub] Fix bug with gs-prim settings (#2899) 2023-08-13 16:06:59 -04:00