RimWorld

RimWorld

Medieval Overhaul
Ajax 8 Aug, 2021 @ 6:10am
Patch problems?
Hello, Paladin from Rimpy said I might have a problem with the mod and it's patches? In regards to my other mods. https://gist.github.com/d09d0cc7491552c2dc92e768ac7b56a3
< >
Showing 1-9 of 9 comments
Ajax 8 Aug, 2021 @ 6:21am 
If you have any questions,please let me know
New fat dwarf 8 Aug, 2021 @ 10:29am 
Got problems with patching. When i try to run game with your nod and Vanilla Cooking Expanded, i catch problem:
[Medieval Overhaul] Patch operation Verse.PatchOperationFindMod(Vanilla Cooking Expanded) failed
file: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\__LocalCopy_Medieval Overhaul_-8-8\1.3\Patches\Vanilla Cooking Expanded\CookingMedievalOverhaulPatch.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.PatchOperation:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Ajax 8 Aug, 2021 @ 3:46pm 
Please get him a hugslib log
PsyChoChip 9 Aug, 2021 @ 2:00am 
Originally posted by New fat dwarf:
Got problems with patching. When i try to run game with your nod and Vanilla Cooking Expanded, i catch problem:
[Medieval Overhaul] Patch operation Verse.PatchOperationFindMod(Vanilla Cooking Expanded) failed
file: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\__LocalCopy_Medieval Overhaul_-8-8\1.3\Patches\Vanilla Cooking Expanded\CookingMedievalOverhaulPatch.xml

Same, but mine is for Vanilla Plants Expanded.

I think the issue came from Medieval Overhaul's patch was trying to find the mods with the wrong name. I opened up the PlantsMedievalOverhaulPatch.xml file with Notepad...
Originally posted by PlantsMedievalOverhaulPatch.xml:
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Plants Expanded</li>
</mods>
And changed "Vanilla Plants Expanded" to "VanillaExpanded.VPlantsE" (This is the ID you can find in the in-game Mods menu). I reloaded the game and the error is gone.

So probably you have to open up CookingMedievalOverhaulPatch.xml and change the mod name to the actual mod ID to fix it.
I'm not sure if this is the proper way to fix this issue, cuz I'm not familiar with coding and/or modding, so please correct me if I'm wrong.

EDIT: I was wrong, so please ignore the parts that was stricken.
Last edited by PsyChoChip; 11 Aug, 2021 @ 12:26am
Lavakookie 9 Aug, 2021 @ 10:52pm 
@PaRaNoiaC this advice may have just saved a patch I was working on, holy smokes; thank you internet stranger, take some steam points!
Lavakookie 10 Aug, 2021 @ 7:08am 
Btw, I've tested this and it's 100% not the correct thing to do. It may no longer "patchfail" for you but that's because the patch can no longer see any relevant mod (a patch just turns itself off if that happens - which is why - if you don't have a mod installed, a patch won't spit errors because you don't have it's counterpart)

Just a friendly PSA cause it seems like you want the patch to work, not fail, kek
Kaizersose 10 Aug, 2021 @ 8:51am 
Butchering won't complete - instead stuck in an endless loop
PsyChoChip 11 Aug, 2021 @ 12:21am 
Originally posted by Lavakookie:
Btw, I've tested this and it's 100% not the correct thing to do. It may no longer "patchfail" for you but that's because the patch can no longer see any relevant mod (a patch just turns itself off if that happens - which is why - if you don't have a mod installed, a patch won't spit errors because you don't have it's counterpart)

Just a friendly PSA cause it seems like you want the patch to work, not fail, kek
Thanks for the confirmation! I've had a feeling that it's incorrect since Medieval Overhaul just straight up disappeared from the patch log, and the items are still duplicated instead of being merged/integrated.

I'll be patient and wait for the author's update then.
PsyChoChip 12 Aug, 2021 @ 12:08am 
So I looked up the basics of Rimworld modding & patching, and I think I may have found something weird about the patches for both Vanilla Cooking Expanded & Vanilla Plants Expanded.

Apparently PlantsMedievalOverhaulPatch.xml was trying to patch VCE objects (VCE_Wheat, VCE_Sugarcane, etc.) in the VPE mod, CookingMedievalOverhaulPatch.xml was trying to patch VPE objects (VCE_Cabbage, VCE_Onion, etc.) in the VCE mod.

I'm guessing the fix here should be to switch the mod names in PatchOperationFindMod for both patches? Can someone confirm?
< >
Showing 1-9 of 9 comments
Per page: 1530 50