RimWorld

RimWorld

749 ratings
Prepatcher
8
4
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
4.044 MB
Feb 16, 2023 @ 1:33pm
Apr 28 @ 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 (2)
5
Nov 16, 2023 @ 1:35pm
black screen when i try to open the mod manager
Nerok
0
Nov 16, 2023 @ 1:32pm
Black Screen after using Prepatcher
The Gaming Archaeologist
163 Comments
Atrax May 30 @ 8:13pm 
I hope the Author can ping this Issue cause i have found 1 good answer in google after some time.

If your stuck at Injecting Mod-XML on 27% and is stops there with infinite loading -> the fault is rocketman,
you need to disable the XML Caching option (listed in Experimental features as Opt-in RocketMan beta features, says google)....
But i haven`t found that option yet, both ingame and in the config files.

My solution: If you can`t start the Game because of that Bug: press windowsbutton+R, type in Appdata and press Enter-> open LocalLow Folder ->Ludeon Studios->RimWorld by Ludeon Studios and delete the RocketMan Folder.
Then go to Rimworld Proberties in Steam and click on Local Files and verify intergrity of Files. Works for me.
四笑行者 May 24 @ 7:22pm 
still cant load this with any mod, just stack in a empty black screen
Alu May 19 @ 9:18am 
you could read the names
fish is by bradson
17 May 18 @ 9:47pm 
/s
17 May 18 @ 9:47pm 
not sure if you are the same guy that made this fish performance mod, but I want to suck your dick man, this shit made rimworld playable for me. also if not, I would still, hmu.
Epoch_SoC May 18 @ 10:09am 
I can not get prepatcher running even it's the only activated mod. Before prestarter shows, game stop loading with a blank dialog.
Kiddo_Buu May 11 @ 7:14am 
Update: never mind. My dumb a♥️♥️ put the folders in the Workshop Mod folder instead of the actual Rimworld Mod folder. Works like a charm and getting some excellent fps no drops, yay.
Kiddo_Buu May 11 @ 6:11am 
Really important question - so I added prepatcher, fishery and performance fish through the GitHub website and used Rimpy to add them to my game. When I go into the game, fishery and performance fish does not show on the in-game mod list. When i start the game prepatcher works I am able to load mods before starting game but for some reason the two mods i added does not show up, is it supposed to be that way?
accpichardo May 9 @ 6:07pm 
Just curious if anyone has ever had the game freeze at "Loading XML" after opening the mod manager and adding a mod (any mod as far as I've experienced). I know it's a pretty vague description of my issue but I wanted to save time removing X number of mods to fix it. Really appreciate any help!
Hadley May 7 @ 7:49am 
The second I activate this Mod my Game stops loading. I downgraded back to 1.4 and it loaded perfectly. But on 1.5 the I get a blackscreen with only the basemods for Fish required.

https://pastebin.com/dgrmepqd