RimWorld
Onvoldoende beoordelingen
[LC]AutoPatcher
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Mod, 1.1, 1.2
Bestandsgrootte
Geplaatst op
Bijgewerkt op
1.899 MB
23 aug 2020 om 2:04
10 okt 2020 om 4:34
7 wijzigingsnotities (weergeven)

Abonneren om te downloaden
[LC]AutoPatcher

Omschrijving
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.
Populaire discussies Alles weergeven (1)
1
15 jun 2021 om 10:00
Hi found a red error with this mod
Hades the King
25 opmerkingen
Lecris  [auteur] 14 nov 2020 om 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 nov 2020 om 19:39 
I press that and nothing happens! I can't even find out where the file will be located.
Lecris  [auteur] 11 nov 2020 om 15:50 
Ctrl+F12 and follow the instructions there
Demoboca 11 nov 2020 om 14:07 
@Lecris How do I get that log? It never seems to work for me.
Lecris  [auteur] 10 nov 2020 om 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 nov 2020 om 22:18 
Hey, I get an error with Autopatcher saying an Alpha Animals resource key has already been added:

https://pastebin.com/DMip2ken
Lecris  [auteur] 7 nov 2020 om 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 nov 2020 om 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  [auteur] 4 sep 2020 om 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  [auteur] 29 aug 2020 om 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.