Skip to content

Commit e69b563

Browse files
authored
Smaller file sizes for guide
30fps, 1080p, H.264.
1 parent 6a7ee97 commit e69b563

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

GUIDE.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This section is for dumping/replacing single raw data/text sections in assets.
1616

1717
### 1. Decompress and View Assets
1818

19-
https://user-images.githubusercontent.com/10624379/164995881-4090c5f9-6087-45c5-ad9a-19c3ef1b582b.mp4
19+
https://user-images.githubusercontent.com/10624379/165003397-ade6a98e-7541-4cab-87ab-8bcda77d361f.mp4
2020

2121
First, you need to identify what you are trying to modify.
2222
Usually a search for the string you are trying to modify in the game files will turn up the correct file/asset bundle you are looking for.
@@ -29,7 +29,7 @@ In this example, we found that `m_Script` from inside the assets is what needed
2929

3030
### 2. Dump Text and View Output
3131

32-
https://user-images.githubusercontent.com/10624379/164995659-292970e9-f27d-47af-b96b-610b87d48453.mp4
32+
https://user-images.githubusercontent.com/10624379/165003489-dbc018d7-1e34-4767-8864-5460f4d6ca7f.mp4
3333

3434
Next, you need to dump all of the assets with that specific member. UAR will only ouput the one member of that asset, creating a new file for each asset in the specified output directory.
3535
In the directory will be the name of each asset (extracted from the member `m_Name`) with its data being whatever data was the specified member (`m_Script` in this case).
@@ -45,7 +45,7 @@ The files that it outputs are the raw data of that member of the assets. Luckily
4545

4646
### 3. Modify Assets
4747

48-
https://user-images.githubusercontent.com/10624379/164995679-01493509-6f93-4721-a2f4-19a3104456f1.mp4
48+
https://user-images.githubusercontent.com/10624379/165003601-da4f7462-70b9-475f-a611-70e93693f5f2.mp4
4949

5050
In this video, we can see that the assets were copied to another folder and modified to have translated text.
5151
Notice that the filenames are the same as before (no file extensions added) and only the data inside of them has changed.
@@ -54,7 +54,7 @@ These will be the files that we use to modify the asset bundle.
5454

5555
### 4. Replace Assets
5656

57-
https://user-images.githubusercontent.com/10624379/164995724-71079e45-6565-4916-8ca5-6759970bdef5.mp4
57+
https://user-images.githubusercontent.com/10624379/165003674-93957fda-b9bc-4338-bbf8-210ba3ae7963.mp4
5858

5959
To replace the assets run:
6060
`./UnityAssetReplacer -b "uncompressed_asset_bundle" -o "modififed_asset_bundle" -i "modified_assets"`
@@ -67,7 +67,7 @@ The new asset bundle will be called whatever you specified, but for usage in the
6767

6868
### 5. Verify Modified Assets
6969

70-
https://user-images.githubusercontent.com/10624379/164995749-40c29bcf-1c83-4eeb-9357-048f14e72b72.mp4
70+
https://user-images.githubusercontent.com/10624379/165003761-1c1f424e-eadb-466a-8d00-6df50792338c.mp4
7171

7272
Finally, we make sure that the specified member of the assets are replaced successfully. Then the older asset bundles are deleted and the modified one is renamed to the original name. All the extraction folders are modified folders can be deleted as well.
7373

@@ -77,7 +77,7 @@ The modified asset bundle is not compressed, but it does not need to be. If you
7777

7878
### 1. Decompress and View Asset List
7979

80-
https://user-images.githubusercontent.com/10624379/164995890-39e403a0-735f-4c8c-aaa2-395513cb5b98.mp4
80+
https://user-images.githubusercontent.com/10624379/165003830-c1a6c255-cc72-4abb-9e69-1c1e8e86484c.mp4
8181

8282
To find which asset bundle to modify, try looking for large asset bundles and names that would be fitting to hold textures (like `ui`).
8383

@@ -87,7 +87,7 @@ Make sure that the assets file contains `Texture2D` asset types, since these are
8787

8888
### 2. Dump Textures
8989

90-
https://user-images.githubusercontent.com/10624379/164995893-8ecc2547-b6bc-4ce6-aa0c-5b126ce7d69c.mp4
90+
https://user-images.githubusercontent.com/10624379/165003948-dfb085b8-4b5f-491a-8c24-504bc8f0b3a8.mp4
9191

9292
The textures can be dumped by using (this may take a few minutes):
9393
`./UnityAssetReplacer -b "uncompressed_bundle_file" -t -d "dumped_textures_folder"`
@@ -102,7 +102,7 @@ From here, modify the textures to your liking, but don't change their names.
102102

103103
### 4. Replace Textures
104104

105-
https://user-images.githubusercontent.com/10624379/164995907-bafae651-21f2-4401-b72a-776d9a207c8e.mp4
105+
https://user-images.githubusercontent.com/10624379/165004078-ebb9ccc8-6e86-44a8-bf5b-ed6f8d4e881f.mp4
106106

107107
Finally, to replace the textures, run (this may take a few minutes and some memory):
108108
`./UnityAssetReplacer -b "uncompressed_bundle_file" -t -i "modified_textures_folder" -o "modified_bundle_file"`

0 commit comments

Comments
 (0)