Custom Regions Support
|"Custom Regions Support"
Core dependency mod
Garrakx, Slime_Cubed, Henpemaz
This article needs structural or tonal clean-up to meet quality standards. Feel free to helpit.
This article contains information that is only relevant for legacy versions of the game (1.5 or lower)
Custom Regions Support or CRS is a library/util mod that was created as an easier way to install Content Mods, replacing file merging. It allows to install multiple region mods at once easily, quickly toggle them, and makes region development less messy.
Custom Regions Support is currently in beta for Rain World 1.9.
As of now, it is the primary way of installing any and all custom regions, and many of them are CRS-exclusive.
Runtime worldfile merging
For basics of region architecture, see World File Format
CRS attempts to smartly combine region world files and avoid room connectivity conflicts. It is the most effective if region mods don't distribute full modified copies of WORLD_XX.txt files for conflict-prone connection (such as vanilla region's WORLD_XX, when a modded region connects to it), and instead only include lines that need to be changed or added. This is commonly referred to as "refining worldfiles".
In addition to connection files, it can also merge region property files.
CRS config menu allows the user to install most region packs from inside the game in one click, including their dependency DLLs, and also quickly toggle installed packs on and off.
Downloader menu is reshuffled every day to give every CRS-published region a shot.
Connections may be toggled depending on if a certain region is present:
ROOMS (TM, !BL)roomA : roomB, roomD //only used if TM is installed and BL is not ENDROOMS
This can be combined with unused vanilla behaviour of character-specific connections.
Starting with v0.9.xx, CRS can attempt to fix some broken connections. This behaviour isn't a catchall but can make some conflicts less lethal.
Additional asset loading
CRS allows easily loading assets commonly bundled with most regions, such as music files, region splash art for passage/regions map screens, decals etc.
- Making previously hardcoded settings (electric gates, albino colouring on creatures, chance of salamander colouring etc) configurable with json files
- Removing creature spawns
- No-code addition of custom pearls
- Adding unlockable arenas