owml icon indicating copy to clipboard operation
owml copied to clipboard

Add Unpatching

Open Bwc9876 opened this issue 1 year ago • 2 comments

Adds the ability for mods to specify an unpatcher.

This allows mods that use prepatchers to undo what those prepatchers did once disabled. Meaning users won't need to verify game files or undo changes manually.

Added

  • New manifest field: unpatcher
  • New OWML config field: prepatchersExecuted
  • New docs page on prepatching
  • Manager now hides prepatcher warnings for mods with unpatchers on disable

Bwc9876 avatar Jul 04 '24 19:07 Bwc9876

regarding docs, it would be nice to see if getexecutingassembly works for getting the mod path. then we could just be like "use appdomain blah blah for game path and getexecutingassembly for mod path"

JohnCorby avatar Jul 04 '24 19:07 JohnCorby

regarding docs, it would be nice to see if getexecutingassembly works for getting the mod path. then we could just be like "use appdomain blah blah for game path and getexecutingassembly for mod path"

isn't one of the args the mod path?

MegaPiggy avatar Jul 05 '24 04:07 MegaPiggy

kill

Bwc9876 avatar Aug 08 '24 16:08 Bwc9876