Editing Modding Tutorials/Mod 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: | ||
{{DISPLAYTITLE:Mod Folder Structure}} | {{DISPLAYTITLE:Mod Folder Structure}} | ||
− | |||
− | |||
This is a guide explaining the contents of mod folders and best practices for how they should be laid out for proper recognition by RimWorld as well as compatibility with other mods. | This is a guide explaining the contents of mod folders and best practices for how they should be laid out for proper recognition by RimWorld as well as compatibility with other mods. | ||
Line 15: | Line 13: | ||
| Windows || <code>C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods</code> | | Windows || <code>C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods</code> | ||
|- | |- | ||
− | | Mac || <code> | + | | Mac || <code>Library/Application/Support/Steam/steamapps/common/RimWorld</code> |
|- | |- | ||
| Linux (standalone) || <code>~/.steam/steam/steamapps/common/RimWorld/Mods</code> | | Linux (standalone) || <code>~/.steam/steam/steamapps/common/RimWorld/Mods</code> | ||
Line 65: | Line 63: | ||
'''Note''': While PNG files are standard, RimWorld does not actually require a PNG file. It is possible to use JPG or even animated GIF files by simply renaming them "Preview.png", but the PNG extension must be used or RimWorld will not recognize it. | '''Note''': While PNG files are standard, RimWorld does not actually require a PNG file. It is possible to use JPG or even animated GIF files by simply renaming them "Preview.png", but the PNG extension must be used or RimWorld will not recognize it. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| class="TutorialCodeTable-description" | | | class="TutorialCodeTable-description" | | ||
Line 243: | Line 235: | ||
* Folders that should be loaded if mods and DLCs are ''not'' loaded can also be specified using <code>IfModNotActive</code>. Mods and DLCs specified using <code>IfModActive</code> or <code>IfModNotActive</code> | * Folders that should be loaded if mods and DLCs are ''not'' loaded can also be specified using <code>IfModNotActive</code>. Mods and DLCs specified using <code>IfModActive</code> or <code>IfModNotActive</code> | ||
* If you have files with the same relative path, then the last one specified by your load order will be used. Thus in the above example setup, if you had <code>Defs/MyFile.xml</code>, <code>1.4/Defs/MyFile.xml</code>, and <code>Ideology/1.4/Defs/MyFile.xml</code>, then the Ideology version would be loaded. This applies to all XML files (both Defs and Patches), Sounds, Textures, and Language files. | * If you have files with the same relative path, then the last one specified by your load order will be used. Thus in the above example setup, if you had <code>Defs/MyFile.xml</code>, <code>1.4/Defs/MyFile.xml</code>, and <code>Ideology/1.4/Defs/MyFile.xml</code>, then the Ideology version would be loaded. This applies to all XML files (both Defs and Patches), Sounds, Textures, and Language files. | ||
− | |||
== Miscellaneous == | == Miscellaneous == |