RimWorld

RimWorld

1,698 ratings
Prepatcher
9
4
3
5
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
4.044 MB
Feb 16, 2023 @ 1:33pm
Apr 28, 2024 @ 8:25am
23 Change Notes ( view )

Subscribe to download
Prepatcher

Description
Prepatcher is most importantly a powerful tool for mod developers. The project also includes a mod manager which runs before the game loads.

The mod manager - Prestarter
Prestarter is still in more of a preview state currently and I'll be expanding it in the near future. It's already very convenient though.

Features:
  • Runs before the game loads
  • Press Space while the game is loading to open (unfortunately only after a message saying you can do so appears on screen)
  • Load, save, copy and paste mod lists
  • Undo/redo while editing (Ctrl-Z/Ctrl-Shift-Z)

Relation to Harmony
With Brrainz's permission, Prepatcher is an alternative provider of the Harmony library for RimWorld mods. This means that:
  • Prepatcher can be used in place of the Harmony mod (brrainz.harmony). In practice, this is done by patching the mod loading system to make Prepatcher satisfy dependencies on Harmony.
  • Having both the Harmony mod and Prepatcher active won't cause any problems

Dependencies
Prepatcher has no dependencies on other mods.

Load order
Prepatcher should go first in the mod list, above Core and expansions. Its placement relative to Harmony doesn't matter, it can be put below or above it.

For modders
Prepatcher doesn't do anything on its own, it's only useful when other mods depend on it.
The library provides patching capabilities beyond those of Harmony. Currently these are:
  • Adding fields to types
  • Free editing of the game's assembly before the game starts
Visit the Github wiki for more information.

Acknowledgements
Prepatcher builds upon other great software. Thanks to Brrainz for Harmony, 0x0ade for MonoMod and jbevain for Mono.Cecil (and anyone who ever contributed to these projects!).

Troubleshooting
When you encounter an issue you think might be caused by Prepatcher, the information on what happened is most likely contained in RimWorld's error log (Player.log).

Please upload your log file somewhere like pastebin.com and paste the link here or, ideally, post a bug report at: https://github.com/Zetrith/Prepatcher/issues

Location of RimWorld's error log file (Player.log):
  • Windows shortcut: Press Win+R, type appdata and hit enter, go to LocalLow\Ludeon Studios\RimWorld by Ludeon Studios
  • Windows path: %USERPROFILE%\Appdata\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Player.log
  • Linux: ~/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Player.log
  • Mac: ~/Library/Application Support/RimWorld/Player.log

Links
Issue reports and suggestions: https://github.com/Zetrith/Prepatcher/issues
Github: https://github.com/Zetrith/Prepatcher
Dev wiki: https://github.com/Zetrith/Prepatcher/wiki
Standalone download: https://github.com/Zetrith/Prepatcher/ (click Code -> Download zip)

[www.patreon.com]
Popular Discussions View All (5)
8
Sep 15 @ 12:33pm
Prepatcher broken
⦃Sค†คn⦄
3
Aug 28 @ 9:33am
1.6?
crua9
3
Mar 23 @ 6:32pm
Prepatcher incompatibilities
Aaron
384 Comments
Alu Sep 5 @ 4:10pm 
Just load the github one in mods
Again
It works
The entire thing is the mod
Drop the entire file in mods
天退星哈插翅耄 Sep 5 @ 8:02am 
It doesn't show in 1.6 folder in GitHub but about.XML said it supported 1.6 :steamsad:and i dont know how to make it to work in 1.6:steamsad::steamsad::steamsad:
Alu Sep 4 @ 7:10pm 
its in the root files
https://github.com/jikulopo/Prepatcher?tab=readme-ov-file
before it gets pushed off page
AranwenL Sep 4 @ 7:04pm 
use the github version further down in the comments until this is update. i know it doesnt show a 1.6 folder in the github but it still works.
Alu Sep 3 @ 7:29pm 
this mod isnt updated to 1.6
do not use outdated mods
use rimpy/rimsort to remove mods without starting the game or just unsub
dominickwriter Sep 3 @ 7:28pm 
my game got bricked the second i reinstalled this prepatcher, any ideas on how to get rid of the prepatcher without playing the game? Do i just deinstall it from here or wha?
Vulpine_Fox Sep 1 @ 9:18am 
@Alu What are you means?
Nimn Aug 29 @ 9:39pm 
I can confirm downloading it here fails, but downloading it from the github link for the jijulopo fork works. No 1.5 folder, but it's tagged as 1.5. I'd assume the assemblies folder in the main folder is the 1.6 version.
Alu Aug 27 @ 10:58am 
Funny
Many of us use jiks fork readily already
It is 1.6
Check the load folder xml