Modding Tutorials/Assets

From RimWorld Wiki
Jump to: navigation, search

Modding Tutorials
This page was originally created by Alistaire.

In this tutorial you will learn how to rip base game assets through the use of Unity Assets Explorer and XnConvert.


  • You will want to have the following software installed:
    1. Unity Assets Explorer v1.3+ (there are newer versions available) for ripping Unity .assets files;
    2. XnConvert for mass-converting .dds/.tex files to .png or whichever is your preferred format.

Unity Assets Explorer

To convert game assets from a Unity .assets file into their original file formats we can use Unity Assets Explorer.
The download page of the software provides a tutorial however we will be listing the steps you have to take in this section as well.

  1. Download Unity Assets Explorer;
    1. Search the software or download here (v1.3);
    2. Optional: drag the executable just outside your RimWorld root folder or in a similar location for ease of access;
    3. Take note of the location of the .exe file since the output folders will be generated in that same location,
  2. Open Unity Assets Explorer and select source files;
    1. Double-click the executable, allow it to run if such prompt comes up.
    2. "Open Assets-file", select
  3. Decide which assets you want to rip;
    • Textures: Sort by "TYPE", select all "Texture2D - ***" and Right-click, "Extract This Files"[sic];
    • Sounds: Sort by "TYPE", select all "AudioClip" but no AudioClip - OGGVORBIS and Right-click, "Extract This Files"[sic],
    • The default settings for extraction are sufficient.
  4. Navigate towards your Unity Assets Explorer location, refresh with F5. A folder called "resources" should be created.


The output format of Unity Assets Explorer for textures is .dds or .tex and all textures are flipped vertically. This can be fixed through the use of XnConvert.

  1. Download XnConvert;
    1. Download here;
  2. Open the software and select files to be converted;
    1. Double-click the executable or shortcut;
    2. "Add folder...", select the output folder containing all .dds and .tex files;
  3. Select actions to be performed per file;
    1. Go to "Actions [0/0]", select "Add action>" -> "Image" -> "Mirror";
    2. Tick "Vertical", make sure the action is "Enabled";
    3. Optional: look at the preview before and after tabs to make sure the correct actions are being applied,
  4. Choose output format and directory;
    1. "Output": choose "Folder", decide on the folder location;
    2. "Filename": choose "{Filename}", optionally add "_out" or similar;
    3. "Format": choose "PNG - Portable Network Graphics" or whichever file format you prefer;
    4. Optional: "After conversion" tick "Clear the 'Input' file(s)",
  5. Click "Convert", wait;
  6. The resource files are now fully converted to your format of choice and are present in the specified Output folder.

See also