RimWorld

RimWorld

Male Rabbie
OdysseyLotus  [developer] Jun 5, 2022 @ 3:25pm
Bugs/Issues
If you are having any bugs/issues, tell me here. Please provide an in-depth description as well as an error log (if possible) so I can help you the best that I can.
< >
Showing 1-5 of 5 comments
Proxyer Jun 17, 2022 @ 12:41am 
If Vanilla Expanded Framework is not enabled
After the last update, if the Vanilla Expanded Framework has not been enabled, the patch (Options.xml) will now log a deficit error.

I make the following suggestions to solve this problem.


How to :
1. Check the LoadFolders.xml for Vanilla Expanded Framework and add a patch for VEF if VEF is enabled.

Example of LoadFolders.xml
<?xml version="1.0" encoding="utf-8" ?> <loadFolders> <v1.3> <li>1.3</li> <li>Compatibility</li> <!-- Vanilla Expanded Framework --> <li IfModActive="OskarPotocki.VanillaFactionsExpanded.Core">VEF</li> <!-- Male Rabbie and No VEF --> <li IfModNotActive="OskarPotocki.VanillaFactionsExpanded.Core">NoVEF</li> </v1.3> </loadFolders>


2. Add two folders specified in LoadFolders.xml

2817473455(MaleRabbie)VEF/Patches
2817473455(MaleRabbie)/NoVEF/Patches


3. If Vanilla Expanded Framework is disabled, add the patch for the previous male percentage (50%)

NoVEF/Patches/MaleRabbie_NoVEF_Patches.xml

<?xml version="1.0" encoding="utf-8" ?> <Patch> <!-- HAR maleGenderProbability 50% patch --> <Operation Class="PatchOperationFindMod"> <success>Always</success> <mods> <!-- Check Mod name or workshop ID written in PublishedFileId.txt (Confirm existence of other Mod from this Mod) --> <li>Vanilla Expanded Framework</li> <li>2023507013</li> </mods> <nomatch Class="PatchOperationReplace"> <xpath>/Defs/AlienRace.ThingDef_AlienRace[defName="Rabbie"]/alienRace/generalSettings/maleGenderProbability</xpath> <value> <maleGenderProbability>0.5</maleGenderProbability> </value> </nomatch> <match Class="PatchOperationTest"> <xpath>*/ThingDef[defName = "MealSurvivalPack"]</xpath> <success>Always</success> </match> </Operation> </Patch>

4. Move Options.xml to the VEF Patches folder
Remove 2817473455(MaleRabbie)/1.3/Patches/Options.xml, and move VEF/Patches/Options.xml.


This will prevent errors from being logged even without the Vanilla Expanded Framework, and the percentage of men will be 50% as in the old version.

It's complicated at first glance, but I think it works fine. Please check it out. Thank you.
Proxyer Jun 17, 2022 @ 1:27pm 
Thank you for update!
OdysseyLotus  [developer] Jun 17, 2022 @ 2:16pm 
No problem! Thanks for the help!
Launching in 1.3 with up-to-date Male Rabbie and Rabbie causes some errors in console - RBhair_B, _F, _I and _L are all failing to patch.

[Male Rabbie] Patch operation Verse.PatchOperationReplace(/Defs/HairDef[defName="RBhair_L"]/styleGender) failed
Gremlin Dec 4, 2022 @ 12:46pm 
Can confirm, female heads are disappearing for both female Heyra's and Rabbie in 1.3.

Got this error when attempting to create a female through prepared carefully:

Failed to find any textures at Heyra/Head/Female_Face01 while constructing Multi(initPath=Heyra/Head/Female_Face01, color=RGBA(0.341, 0.322, 0.298, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.Graphic_Multi:Init (Verse.GraphicRequest)
Verse.GraphicDatabase:GetInner<Verse.Graphic_Multi> (Verse.GraphicRequest)
Verse.GraphicDatabase:Get<Verse.Graphic_Multi> (string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color)
(wrapper dynamic-method) AlienRace.HarmonyPatches:AlienRace.HarmonyPatches.ResolveAllGraphicsPrefix_Patch1 (Verse.PawnGraphicSet)
(wrapper dynamic-method) Verse.PawnGraphicSet:Verse.PawnGraphicSet.ResolveAllGraphics_Patch6 (Verse.PawnGraphicSet)
EdB.PrepareCarefully.ExtensionsPawn:ClearCachedPortraits (Verse.Pawn)
EdB.PrepareCarefully.CustomPawn:CheckPortraitCache ()
EdB.PrepareCarefully.CustomPawn:UpdatePortrait ()
EdB.PrepareCarefully.PanelAppearance:DrawPanelContent (EdB.PrepareCarefully.State)
EdB.PrepareCarefully.PanelBase:Draw (EdB.PrepareCarefully.State)
EdB.PrepareCarefully.TabViewPawns:Draw (EdB.PrepareCarefully.State,UnityEngine.Rect)
EdB.PrepareCarefully.Page_PrepareCarefully:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-5 of 5 comments
Per page: 1530 50