RimWorld

RimWorld

29 ratings
Fix XML Extensions TabView
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
4.250 KB
Oct 10, 2024 @ 6:35pm
1 Change Note ( view )

Subscribe to download
Fix XML Extensions TabView

Description
The current XmlExtensions have a bug in Rimworld 1.5 where mod settings that make use of the TabView widget do not display any of these options.

This is a small XML patch to automatically reinsert all tabs as a flat list. Ideally put this mod at the very end (or as close to it as possible) of the mod list. Since this doesn't make any changes to the settings themselves there shouldn't be any ingame effects.

I currently have tested this with 'Integrated Deep Storage' and 'Mighty Persona Bond Forge Patch'. If you find a mod where this doesn't help, write it in the comments and I'll take a look.

This mod is already privated and I'll just delete it when (or if) the issue gets fixed. Savegames should be entirely unaffected when this is removed.
11 Comments
Taemaly Feb 21 @ 6:18pm 
oh I must have removed the mod that needed it. Thank you for letting me know
Dorsai!  [author] Feb 21 @ 5:21pm 
That error means none of your mods that use XML Extensions add any tab view widgets that need to be converted. I.e.: You don't need this mod.
Sumatris Feb 15 @ 12:05pm 
I see. Well, then I guess it's a different interaction within my 800+ mods list that's screwing things up. I'll keep looking. Thanks for your input in any case :-).
Dorsai!  [author] Feb 15 @ 10:18am 
@Sumatris Larger Resource Deposits doesn't seem to even use Tab Widgets, just two plain settings. If the + menu doesn't work that's a different issue idependent from the one this mod fixes. The bug that this mod works around is that Settings Tabs show up as empty.
I've also tried out Larger Resource Deposits with an empty mod list and XML Extensions and it seems to work fine. The options are all there in the + menu as expected.
Sumatris Feb 8 @ 6:35am 
So how exactly do I use/access this mod? It stopped the game from basically crashing because the "+" button in the mods options doesn't work anymore, but the mod I need to tweak (Larger Resource Deposits) is still nowhere to be found. Nor is any of the about 10 others that use XMLExtensions. A brief guide would be appreciated :-).
Zaljerem Nov 8, 2024 @ 9:28am 
Thanks for this, it's needed for Majestic Foilage Framework for additional settings. At this point you might want to consider making it public. Unfortunately it seems that XML Extensions isn't really being maintained.
Dorsai!  [author] Oct 19, 2024 @ 5:36am 
@2300585635
That new error is 100% completely unrelated to this mod. This is just a simple patch that only ever acts on XmlExtensions.SettingsMenuDef nodes. It doesn't touch ThingDefs at all.
yelolrat Oct 19, 2024 @ 2:34am 
why i ban it
the error still survive:steamsad:
XML error: Duplicate XML node name costList in this XML block: <ThingDef ParentName="MakeableShellBase"><defName>Shell_AntigrainWarhead</defName><label>antigrain warhead</label><description>An ultra-tech warhead powered by a grain of antimatter. Usually used by spacecraft or glitterworld war machines, it creates a huge explosion and starts fires around the target. Can be fired from mortars or installed as a trap. Explodes when damaged.</description><possessionCount>1</possessionCount><graphicData><texPath>Things/Item/Resource/Shell/Shell_AntigrainWarhead</texPath><graphicClass>Graphic_StackCount</graphicClass></graphicData>
Dorsai!  [author] Oct 11, 2024 @ 8:25am 
@2300585635
I'd assume this is because you don't have any mods that have a TabView.
Either that or the mod has a TabView nested in some other widget, which my mod currently doesn't account for.
What mod are you trying to fix?