Last active
February 7, 2021 02:09
-
-
Save twobob/ae7eef02c6946ee6c09e47224aab81d6 to your computer and use it in GitHub Desktop.
patching dll's for rimworld
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get dnspy https://github.com/0xd4d/dnSpy/releases | |
I used https://github.com/dnSpy/dnSpy/releases/download/v6.1.8/dnSpy-net-win64.zip | |
* run it, and drop your Assembly-CSharp dll on it | |
* usually in "c:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll" | |
* expand the tree Assembly-Csharp (1.2.7705.251110) -> {} Rimworld -> LordJob_PrisonBreak | |
* right click the "CanOpenAnyDoor" method name in th code on the right hand side pane and choose -> Edit method | |
* just make it return false, like so "return false;" | |
* click compile | |
* go to File -> Save Module and save it somewhere sensible (NOT OVER YOUR OLD FILE) | |
* make sure Rimworld is closed | |
* Now, just rename the old dll to something (like Assembly-CSharp.dll.bak) and copy over the new one you just saved to Assembly-CSharp.dll | |
* usually in "c:\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll" | |
Start Rimworld. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ripped from somewhere