From 28ae5be2f4557950bd338ccb2cd93bc24d1b5f0e Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Sat, 18 Jun 2022 01:48:08 +0200 Subject: [PATCH] docs: add instructions for texture replacement on release build (#1471) --- docs/texture_replacement.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/texture_replacement.md b/docs/texture_replacement.md index 870bf835a4..02b0bfe8f1 100644 --- a/docs/texture_replacement.md +++ b/docs/texture_replacement.md @@ -1,5 +1,12 @@ # How to replace textures +## Release build +Create a folder called `texture_replacements` inside the `data` directory. The directory structure should be +``` +data/texture_replacements/page_name/texture_name.png +``` +Where `page_name` is the name of the folder in `data/assets/textures` and `texture_name.png` is the name of the texture. +## From source Textures to be replaced should be saved in ``` jak-project/texture_replacements/page_name/texture_name.png @@ -12,7 +19,7 @@ To make this easier to set up, you can copy the default textures from `assets`, For example, you can copy the `common` folder from `assets/textures` to `texture_replacements`. Then you can modify the png files in `texture_replacements/common` # Rebuilding the game with modified textures -Run the decompiler again to rebuild with modified textures. +Run the decompiler/extractor again to rebuild with modified textures. If it worked, you will see: ```