[b]Prepatcher[/b] 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:
[list]
[*] 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)
[/list]
Relation to Harmony
With Brrainz's permission, Prepatcher is an alternative provider of the Harmony library for RimWorld mods. This means that:
[list]
[*] 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
[/list]
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:
[list]
[*] Adding fields to types
[*] Free editing of the game's assembly before the game starts
[/list]
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 [b]upload your log file[/b] somewhere like [url=https://steamcommunity.com/linkfilter/?u=http%3A%2F%2Fpastebin.com]pastebin.com[/url] and paste the link here or, ideally, post a bug report at: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FZetrith%2FPrepatcher%2Fissues]https://github.com/Zetrith/Prepatcher/issues[/url]
[b]Location of RimWorld's error log file (Player.log):[/b]
[list]
[*] Windows shortcut: Press [i]Win+R[/i], type [i]appdata[/i] and hit enter, go to [i]LocalLow\Ludeon Studios\RimWorld by Ludeon Studios[/i]
[*] 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
[/list]
Links
Issue reports and suggestions: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FZetrith%2FPrepatcher%2Fissues]https://github.com/Zetrith/Prepatcher/issues[/url]
Github: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FZetrith%2FPrepatcher]https://github.com/Zetrith/Prepatcher[/url]
Dev wiki: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FZetrith%2FPrepatcher%2Fwiki]https://github.com/Zetrith/Prepatcher/wiki[/url]
Standalone download: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FZetrith%2FPrepatcher%2F]https://github.com/Zetrith/Prepatcher/[/url] (click Code -> Download zip)
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fwww.patreon.com%2Fjoin%2Fzetrith][img]https://i.imgur.com/UU3Wmq5.png[/img][/url][www.patreon.com]