Skip to content

Commit a336dc2

Browse files
committed
Add instructions on dumping textures and how to use dumped textures
1 parent 5f8f711 commit a336dc2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,23 @@ We've found that the MacOS sharedassets can be used on Linux, **but the Linux sh
149149

150150
For this reason, whenever a new chapter is prepared, the 'vanilla' unix `sharedassets0.assets` should be taken from the MacOS version.
151151

152+
### Initial dumping of textures
153+
154+
You will initially want to inspect all the textures in the UI file to see if any new images need to be added to the `assets/images/*` folders.
155+
156+
1. Open and select the `sharedassets0.assets` from the new episode in UABE
157+
2. Click the "Type" column to sort by "Type"
158+
3. Scroll down until you see "Texture2D"
159+
4. Hold shift, then click the first "Texture2D" item
160+
5. Continue holding shift, then click the last "Texture2D" item. This should highlight all the "Texture2D" items.
161+
6. On the right hand side, click "Plugins"->"Export to .png"
162+
163+
The textures will be dumped as images in the selected folder. However please note:
164+
165+
1. You will need to rename them by keeping the first part of the name only - for example `ChapterPreview-sharedassets0.assets-27.png` becomes `ChapterPreview.png`
166+
2. It is also possible to use the number (Path ID), but usually you won't do this. In the above example, rename as `27_ChapterPreview.png` (the part after the number is not used, only to describe the file for humans)
167+
3. Make sure you put them in the right subfolder in `assets/images`, refer to "To modify images" section for details
168+
152169
### Preparing font files
153170

154171
You'll need to extract the 'msgothic' font files from the stock `.assets` file before starting:

0 commit comments

Comments
 (0)