RimWorld

RimWorld

212 ratings
RWLayout
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
2.074 MB
Aug 25, 2020 @ 3:29pm
Apr 12, 2024 @ 7:08pm
20 Change Notes ( view )

Subscribe to download
RWLayout

Description
This is a resource for modders. It have no direct use for users, but other mods can reference it.
Please, notify me If you going to use it in yoir mod.

RWLayout alpha 2
Constraint based gui layout implementation for RimWorld

This an alpha version. Everything is subject to change. Bugs are expected. Missing functionality is known.
Documentation: Under construction (yet)
Git: https://github.com/krypt-lynx/RWLayout

Demo mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=2394990659
The button to open list is in mod settings

Example of a mod using it (a version of it is bundled with the mod):
https://steamcommunity.com/sharedfiles/filedetails/?id=2200054867

I removed alpha1 code from the mod. Looks like no-one actually used that version of the lib in public.

0.1.18a
+ RimWorld 1.5 support

0.1.17a
* FastAccess: callvirt opcode for virtual methods (behold, icons in Grouped Pawns Lists have valid color now!)

0.1.16a
+ FastAccess propper error messaging
Popular Discussions View All (1)
1
Aug 29, 2024 @ 1:32am
PINNED: Bugreports
Krypt
84 Comments
SuperBoyOk May 2 @ 6:17pm 
Group Pawns Lists is the greatest QoL mod for Rimworld. Thanks.
Krypt  [author] Mar 27 @ 11:36pm 
I'm not aware of anyone but me using this framework. The only other popular mod using this lib is ModDiff, but it has an integrated assembly, so, it doesn't require this separate version.
There are also some modding helpers mods I created, but unless you are a modder, you don't use those.

The reason why this mod got into people's lists is RimPy. It used one of those tools to optimize loading speed, but forgot to remove deps of the tool. Combined with mod collection export feature of RimPy, RWLayout got into mod lists of many people who doesn't actually need it.
JoeOwnage Mar 27 @ 5:08am 
Is grouped pawns lists the only mod that uses this?
Krypt  [author] Mar 25 @ 11:00am 
Question Zero: do you even need it in your list? Unless you are using my Grouped Pawns Lists - you don't.
It is a framework, which does literally nothing by its own, but can be used to build mod GUI
Teramoix Mar 22 @ 9:09pm 
So even a year later this mod is still causing issues for people, Launch the game an hour ago, everything is fine, relaunch it, now it's missing * name.krypt.rimworld.rwlayout.alpha2
I have changed nothing, merely restarted the game, and it broke.
Krypt  [author] Apr 15, 2024 @ 3:25am 
It basicaly in issue in a tool intended to caught assembly mismatch (this mod consists of 3 assembies which al should have the same version or mistery bugs will happen)

But apparently this tool (or RimWorld?) have its own mistery bug. Basically, it is possible to make game to start without all mod assemblies loaded (with only *some*)
Peryn [Андрій] Apr 15, 2024 @ 3:20am 
Problem was with Vehicle framework mod for 1.4
Without this mod, everything works fine
Peryn [Андрій] Apr 15, 2024 @ 1:56am 
I played the weekend on one machine and everything was fine. Today I transferred the mod pack to another one and this error returned. "The unexpected RWlayout error"
How is this possible?
Krypt  [author] Mar 27, 2024 @ 6:55am 
it has loadAfter for harmory, no load before, though
Winter Mar 26, 2024 @ 12:50am 
Author just needs to add the following to the About.xml
<loadAfter>
<li>brrainz.harmony</li>
</loadAfter>
<loadBefore>
<li>Ludeon.RimWorld</li>
</loadBefore>

In the meantime users can setup a rule using RimPy or RimSort