mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
docs: add instructions for texture replacement on release build (#1471)
This commit is contained in:
parent
e72f6e0cb4
commit
28ae5be2f4
|
@ -1,5 +1,12 @@
|
||||||
# How to replace textures
|
# 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
|
Textures to be replaced should be saved in
|
||||||
```
|
```
|
||||||
jak-project/texture_replacements/page_name/texture_name.png
|
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`
|
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
|
# 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:
|
If it worked, you will see:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue