RimWorld

RimWorld

Ei tarpeeksi arvosteluja
[LC]AutoPatcher
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod, 1.1, 1.2
Tiedostokoko
Julkaistu
Päivitetty
1.899 MB
23.8.2020 klo 2.04
10.10.2020 klo 4.34
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
[LC]AutoPatcher

Kuvaus
Modding tool for automatically patching.


Overview
Automatic patching is defined via a PatchTree and various PatchNodes, containing the logic of the patchs and instructions respectively. Pre-made nodes:
  • List all Defs and Drivers.
  • Type searcher: search in all methods for calls to DefOfs.
  • Toil searcher: search in all methods for called actions.
  • Patch Defs and Types: from simple stat replacing (accessible entirely via XML) to user-defined Harmony patches.
  • Patch Toils: patch any particular Toil, and insert Toils in arbitrary positions.
  • Stat-Injector: Uses MathParser.org formula structure to inject stats to ThingDefs. (accessible entirely via XML)
Check [LC]ToolsFramework for an example implementation.

Compatibility
Please report compatibility issues on Github or Discord.

Acknowledgements
The Rimworld modding community, and a special thank you to Brainz, for developing the Harmony methods needed for this mod.

Various links
Github for posting issues, comments and contributing to the mod.
[github.com]
Discord server for chatting.
[discord.gg]
Kofi to support me monetaraly.
[ko-fi.com]

Additional Info
This mod contains assembly for MathParser.org. The code is poorly documented at the moment, if you can help with the documentation please contact me on Github or Discord.
Suositut keskustelut Näytä kaikki (1)
1
15.6.2021 klo 10.00
Hi found a red error with this mod
Hades the King
25 kommenttia
Lecris  [tekijä] 14.11.2020 klo 20.15 
It will be uploaded to Github Gist, and you'll get a link to pass along. Please contact Hugs on the HugsLib mod, to figure out why you are not getting the upload dialog to pop out.
Demoboca 14.11.2020 klo 19.39 
I press that and nothing happens! I can't even find out where the file will be located.
Lecris  [tekijä] 11.11.2020 klo 15.50 
Ctrl+F12 and follow the instructions there
Demoboca 11.11.2020 klo 14.07 
@Lecris How do I get that log? It never seems to work for me.
Lecris  [tekijä] 10.11.2020 klo 23.03 
Paste the link to the full HugsLog on Discord. This is an issue on ToolsFramework which should be fixed in recent versions
Demoboca 10.11.2020 klo 22.18 
Hey, I get an error with Autopatcher saying an Alpha Animals resource key has already been added:

https://pastebin.com/DMip2ken
Lecris  [tekijä] 7.11.2020 klo 15.47 
Glad to hear that, but this mod only has 2 patches that would affect other mods. Otherwise it should only be affecting ToolsFramework and its derivatives atm, unless other people have made compatibilities without telling me.
NX 7.11.2020 klo 10.25 
This mod saved my game. After spending days removing mods and adjusting load orders, this mod finally made my ridiculously over-moded game stable. Thank you!
Lecris  [tekijä] 4.9.2020 klo 22.46 
I currently cannot do any more progress on the saving of the PatchTree which would drastically improve the load performance, due to issues upstream in Harmony and MonoMod .
Lecris  [tekijä] 29.8.2020 klo 5.58 
@Thetaprime your bug should be fixed now. Let me know if it works. You should get a Warning, let me know what it says.