Difference between revisions of "Modding Tutorials/Assets"

From RimWorld Wiki
Jump to navigation Jump to search
(Replaced outdated page content with new method of extraction, relevant to Rimworld 1.0.)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{BackToTutorials}}
+
{{BackToTutorials}}<br/>
{{Credit|[[User:RatelDE|RatelDE]]}}<br/>
+
In this tutorial you will learn how to extract the base assets of RimWorld.
 
 
In this tutorial you will learn how to extract the base assets of Rimworld.
 
  
 
=Requirements=
 
=Requirements=
*# [https://yadi.sk/d/m3vFWoQ3j62Cr UnityEx] to extract the contents of the unity .asset archives.
+
# [https://yadi.sk/d/m3vFWoQ3j62Cr UnityEx] to extract the contents of the unity .asset archives.
 +
# or [https://github.com/SeriousCache/UABE Unity Assets Bundle Extractor]
 +
# or [https://github.com/Perfare/AssetStudio]
  
 
=UnityEx=
 
=UnityEx=
Line 12: Line 12:
 
#Download UnityEx either by searching using your search engine of choice or [https://yadi.sk/d/m3vFWoQ3j62Cr via this link].
 
#Download UnityEx either by searching using your search engine of choice or [https://yadi.sk/d/m3vFWoQ3j62Cr via this link].
 
#Place the UnityEX.exe somewhere easily locatable (I prefer to place it into the Rimworld Directory).
 
#Place the UnityEX.exe somewhere easily locatable (I prefer to place it into the Rimworld Directory).
#Run UnityEX.exe and open the .asset file you would like to extract, for example; <pre>RimWorld\RimWorldWin64_Data\resources.assets</pre>.
+
#Run UnityEX.exe and open the .asset file you would like to extract, for example; <pre>RimWorld\RimWorldWin64_Data\resources.assets</pre>
 
#Extract the files you need. If you are extracting .tex files you can use "Extract with convert", this will convert the .tex files to .dds.
 
#Extract the files you need. If you are extracting .tex files you can use "Extract with convert", this will convert the .tex files to .dds.
 
#The extracted files will be placed into a new folder in the same directory (Unity_Assets_Files) as the .asset file you have extracted.
 
#The extracted files will be placed into a new folder in the same directory (Unity_Assets_Files) as the .asset file you have extracted.
 +
 +
=Unity Assets Bundle Extractor=
 +
To extract the original files from the Unity asset archives we will be using Unity Assets Bundle Extractor which is compatible with Rimworld 1.0's Archives.<br/>
 +
 +
#Download Unity Assets Bundle Extractor by searching using your search engine of choice or [https://github.com/SeriousCache/UABE via this link].
 +
#Unzip it.
 +
#Run AssetBundleExtractor.exe and open the .asset file you would like to extract, for example, <pre>RimWord\RimWorldWin64_Data\resources.assets</pre>
 +
#Select the files you need/want. Then, click "Plugins" and select "Export to .png" or "Export sound". Note that this only works when you select files by type: so select only audio files or only textures.
 +
#Click OK and select a folder for storage.
 +
 +
=AssetStudio=
 +
To extract the original files from the Unity asset archives we will be using AssetStudio which is compatible with Rimworld 1.5's Archives (older versions not tested).<br/>
 +
 +
#Download AssetStudio by searching using your search engine of choice or [https://github.com/Perfare/AssetStudio via this link], if you are unsure which .NET runtime version you have installed net472 should be fine.
 +
#Unzip it.
 +
#Run AssetStudioGUI.exe and open the asset file you would like to extract, for example with '''File -> Load file''', <pre>RimWord\RimWorldWin64_Data\resources.assets</pre> or for the DLC Asset Bundles with '''File -> Load folder''' <pre>RimWorld\Data\Anomaly\AssetBundles</pre>
 +
#Switch to the Asset List tab.
 +
#Select the files you need/want. Then, right click and select "Export selected assets", works for audio and textures.
 +
#Select a folder for storage and click open.
  
 
=See also=
 
=See also=

Latest revision as of 17:04, 12 April 2024

Modding Tutorials

In this tutorial you will learn how to extract the base assets of RimWorld.

Requirements[edit]

  1. UnityEx to extract the contents of the unity .asset archives.
  2. or Unity Assets Bundle Extractor
  3. or [1]

UnityEx[edit]

To extract the original files from the Unity asset archives we will be using UnityEx which is compatible with Rimworld 1.0's Archives.

  1. Download UnityEx either by searching using your search engine of choice or via this link.
  2. Place the UnityEX.exe somewhere easily locatable (I prefer to place it into the Rimworld Directory).
  3. Run UnityEX.exe and open the .asset file you would like to extract, for example;
    RimWorld\RimWorldWin64_Data\resources.assets
  4. Extract the files you need. If you are extracting .tex files you can use "Extract with convert", this will convert the .tex files to .dds.
  5. The extracted files will be placed into a new folder in the same directory (Unity_Assets_Files) as the .asset file you have extracted.

Unity Assets Bundle Extractor[edit]

To extract the original files from the Unity asset archives we will be using Unity Assets Bundle Extractor which is compatible with Rimworld 1.0's Archives.

  1. Download Unity Assets Bundle Extractor by searching using your search engine of choice or via this link.
  2. Unzip it.
  3. Run AssetBundleExtractor.exe and open the .asset file you would like to extract, for example,
    RimWord\RimWorldWin64_Data\resources.assets
  4. Select the files you need/want. Then, click "Plugins" and select "Export to .png" or "Export sound". Note that this only works when you select files by type: so select only audio files or only textures.
  5. Click OK and select a folder for storage.

AssetStudio[edit]

To extract the original files from the Unity asset archives we will be using AssetStudio which is compatible with Rimworld 1.5's Archives (older versions not tested).

  1. Download AssetStudio by searching using your search engine of choice or via this link, if you are unsure which .NET runtime version you have installed net472 should be fine.
  2. Unzip it.
  3. Run AssetStudioGUI.exe and open the asset file you would like to extract, for example with File -> Load file,
    RimWord\RimWorldWin64_Data\resources.assets
    or for the DLC Asset Bundles with File -> Load folder
    RimWorld\Data\Anomaly\AssetBundles
  4. Switch to the Asset List tab.
  5. Select the files you need/want. Then, right click and select "Export selected assets", works for audio and textures.
  6. Select a folder for storage and click open.

See also[edit]