Editing Modding Tutorials/Folder structure
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
In this tutorial you will explore Rimworld's folder structure.<br/><br/> | In this tutorial you will explore Rimworld's folder structure.<br/><br/> | ||
Line 9: | Line 6: | ||
=Base game folder structure= | =Base game folder structure= | ||
− | |||
− | |||
− | |||
==The RimWorld****** root== | ==The RimWorld****** root== | ||
− | In your Rimworld install directory, you can find | + | In your Rimworld install directory, you can find three folders, two text files and your RimWorld******.exe file:<br/> |
RimWorld*******/ | RimWorld*******/ | ||
− | |||
Mods/ | Mods/ | ||
− | |||
RimWorld******_Data/ | RimWorld******_Data/ | ||
Source/ | Source/ | ||
Line 25: | Line 17: | ||
RimWorld******.exe | RimWorld******.exe | ||
Version.txt | Version.txt | ||
− | |||
− | We | + | We'll focus on the folders, since the files are pretty self explanatory; Readme.txt contains a readme, Version.txt contains the version string and the .exe starts the game.<br/><br/> |
− | |||
− | |||
− | |||
− | |||
− | + | ==The Mods folder== | |
− | + | {{Main|Modding Tutorials/Mod folder structure}}<br/> | |
− | + | The Mods folder contains a Core folder with most if not all XML files used by Rimworld:<br/> | |
− | |||
− | |||
RimWorld******/ | RimWorld******/ | ||
− | + | Mods/ | |
Core/ | Core/ | ||
− | + | This folder (Mods, not Core) is also the place you place any mod folders you downloaded.<br/><br/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | The mods inside /Mods/ may contain the following folders:<br/> | |
{| class="wikitable" | {| class="wikitable" | ||
! Folder !! Contents !! Description | ! Folder !! Contents !! Description | ||
|- | |- | ||
− | | | + | | About || ''About.xml'' and ''Preview.png'' || These files are used in the in-game mods list. They contain some info about the mod and an unformatted text description. |
− | |||
− | |||
|- | |- | ||
− | | | + | | Assemblies || Custom .DLL files || Mods with custom C# code have a .DLL file in this folder. |
|- | |- | ||
− | | | + | | Defs || All defs || All XML code is stored in this folder, usually further categorized in subfolders and -files. |
|- | |- | ||
− | | | + | | Languages || All translations || Every language file contains a DefInjected folder with a translation for everything in the game. |
|- | |- | ||
− | | | + | | Sounds || All sounds || Even though the main game's sounds are stored in compressed resource files, mods might use a folder for them. |
|- | |- | ||
− | | | + | | Source || Assemblies' source code || Mods with an Assemblies folder might store source code for the C# code in here. |
|- | |- | ||
− | | | + | | Textures || All textures || The main game uses compressed resource files to store textures, but most mods store textures here. |
|}<br/> | |}<br/> | ||
− | == | + | ==Data folder== |
This folder contains a few files which are important for the base game but not necessarily important for modding it:<br/> | This folder contains a few files which are important for the base game but not necessarily important for modding it:<br/> | ||
Line 80: | Line 58: | ||
RimWorld******_Data/ | RimWorld******_Data/ | ||
Managed/ | Managed/ | ||
− | + | Mono/ | |
Resources/ | Resources/ | ||
level0 | level0 |