Rain World

Rain World

Not enough ratings
Setup Values and You.
By dannad
This is a complete guide about setup settings, with values pulled straight out of game's code.
2
   
Award
Favorite
Favorited
Unfavorite
What are those things?
Definition
Setup Values (or Initialization Values, often referred as setup.txt by the community) is a special set of debug settings which can be used to alter the way game works. You may be familiar with Launch Options, something that many games utilize to enable some additional functionality, however, Rain World uses a different approach.
Set up
In order to use them, you need to set up few things first:
  • Create a text file named "setup" in a folder in \Rain World\RainWorld_Data\StreamingAssets. Navigate into it from the root folder of the game.

  • Enable Dev Tools mod in Remix menu.
Your StreamingAssets folder should look something like this now:


You are ready now.

Syntax
All values in setup.txt should follow a pretty simple syntax: there can be only a single value per line and name of the setting and value are separated by column. Which means, it should look like this:
[Name]:[Value] [Name]:[Value] ... [Name]:[Value]
Some settings can take only a specific range of values, others allow some more freedom. I am going to specify value ranges and type in a separate columns below.

Here's an example of my setup.txt which i use when fiddling with game code:


For your convenience, i have separated values into categories depending on their usage later on.
Debug Values: Part I
This section contains settings which can be used for debug purposes. It has been split into multiple parts because of chapter character limit.

Name
Value Type
Default Value
Description
Notes
arena default colors
Int:0/1
0
Forces default colors of selected character in arena mode, regardless of player's number.
artificer dream test
Int:-1 - 6
-1
Forces a specific dream sequence when hibernating in Artificer's campaign.
bake
Int:0/1
0
Enables or disables pre-baking for ai/pathfinding upon loading the region.
Effectively negated in code, so setting value to 1 will disable pre-baking.
beta test slugcat
String:
Rivulet/
Gourmand/
Artificer/
Saint/
Spear/
Gourmand/
Inv
null
Allows to play as specified slugcat regardless of unlock status.
All other MSC slugcats will be removed. Using this setting without value (or with null) will remove all MSC slugcats.
cheat karma
Int:0 - 10
0
Sets player's karma level to the specified one upon loading.
clean maps
Int:0/1
0
Forces to re-generate map every time it's opened, instead of loading texture from memory.
clean spawns
Int:0/1
0
Forces fresh spawns after evey hybernation, resetting lineage progress and creature deaths.
cycle startup
Int:0/1
1
Controls cycle startup sequence, which in turn is responsible for myriad of different effects which only happen just after exiting shelter after hybernation.
Effects include: dripping water, rainbows, insect behaviour and other.
cycle time min in seconds
Int:>0
400
Sets maximum cycle time in seconds.
cycle time max in seconds
Int:>0
800
Sets minimum cycle time in seconds.
default settings screen
Int:0 - 5
0
Sets default setting screen of the debug menu.
Debug menu can be opened by pressing "H" with devtools active.
disable rain
Int:0/1
0
Disables rain.
force moon cloak
Int:0/1
0
Forces moon to wear cloak.
Normally cloak can be returned during Hunter's, Survivor's, Monk's and Gourmand's campaigns.
force precycles
Int:0/1
0
Forces pre-cycle rains every cycle.
force pup
Int:0/1
0
Forces every character to spawn as slugpup.
It seems like pups still have moveset and stats of normal characters.
gravity flicker cycle min
Int:>0
8
Sets minimum time of an anti-gravity cycle in Unfortunate Development in seconds.
gravity flicker cycle max
Int:>0
18
Sets maximum time of an anti-gravity cycle in Unfortunate Development in seconds.
lizard laser eyes
Int:0/1
0
Draws laser beams out of lizard's eyes when it has direct line of sight to prey.
load all ambient sounds
Int:0/1
0
Forces to load all ambient sounds upon sound loader initialization.
Normally ambient sounds are loaded on request.
load game
Int:0/1
1
If "start screen" value is 0, your savefile will not be loaded upon entering game, resulting in a normal campaign start instead.
[/tr]
log spawned creatures
Int:0/1
0
Logs all spawned creatures in RainWorld_Data/streamingAssets/loggedcreatures.txt upon loading.
lungs
Int:>0
128
Sets lungs capacity multiplier of all characters.
Air consumption formula is too complex for this chart. Rule of thumb: bigger values - more air, but not too big.
pallete
Int:>0
0
Forces selected pallete for the world.
Only functional for worlds with a single room.
play music
Int:0/1
1
Controls if music is going to be played or not.
player glowing
Int:0/1
0
Forces neuron fly glow effect.
player invincibility
Int:0/1
0
Makes player invincible.
You still can be stunned or grabbed though.
proceed lineages:int
Int:>0
0
Procceeds lineages as if all creatures have been killed a specified amount of times.
reveal map
Int:0/1
0
Reveals entire region map upon loading.
saint infinite power
Int:0/1
0
Grants unlimited duration for saint's ascension abilty.
scavenger like player
Int:0/1
0
Sets scavenger reputation to maximum in all regions.
scavengers shy
Int:-1/0
0
Makes scavengers passive if value is -1.
slugpup limit override
Int:>0
-1
Sets a maximum number of slugpups which can exist simultaneously.
Fun fact: there's a single shelter (SU_S05) in Downpour Outskirts where pups are hardcoded to never spawn.
start map
string
Forces player to start in a specified room upon loading.
Refer to numerous Rain World maps to learn about exact room names.
Debug Values: Part II
Name
Value Type
Default Value
Description
Notes
start screen
Int:0/1
1
Controls if title screen is going to be loaded or not after initialization. Skips through menus and loads your last save if value is 0.
test moon fixed
Int:0/1
0
Makes game think that moon is fixed during Rivulet's campaign.
the mark
Int:0/1
0
Grants mark of communication.
Effect is saved permamently upon enabling, until it is set to 0 manually.
unlock msc characters
Int:0/1
0
Unlocks all MSC characters.
Entity Shelter Spawn Values
Settings in this category allow you to spawn selected entities set number of times in your shelter.

Name
Value Type
Default Value
Description
Notes
big eels
big spiders
black
blue
bro long legs
centipedes
centiwings
cicadas
cyan
daddy longlegs
deer
dropwigs
egg bugs
fire spears
flies
garbage worms
green
jet fish
king vultures
lantern mice
leeches
miros birds
needle worms
overseers
pink
pole mimics
red
red centipedes
salamanders
scavenger bombs
scavenger lanterns
scavengers
sea leeches
small centipedes
small needle worms
snails
spears
spiders
spitter spiders
temple guards
tentacle plants
tube worms
vultures
white
yellow
Int:>0
0
Spawns selected
entities in your shelter
set number of times.
Creatures which
utilize reputation
system spawn with
maximum reputation.
Internal Values
These values are used by game internally, but are re-assigned upon initialization, effectively negating these settings. In other words: these settings do nothing because game changes them when starting up.

Name
Value Type
Default Value
Description
Notes
dev tools active
Int:0/1
0
Enables or disables dev tools.
Handled by Dev Tools mod.
player 1 active
player 2 active
player 3 active
player 4 active
Int:0/1
0
Controls the amount
of players in a session.
Handled by Jolly's Coop
and Arena.
single player character
Int:0/1
0
Controls if player character
is considered a single-player
or a multi-player one.
Handled by Jolly's Coop
and Arena.
world
Int:>0
1
Used internally for loading
different scenes and worlds.
Unused/Broken Values
This section contains values which are either not read at the code at all, or are broken and cause game to crash/softlock.
Unless some of them have been specifically obfuscated - they are not read by the game.

Name
Value Type
Default Value
Description
Notes
always travel
Int:0/1
0
Used in validation string, unused anywhere else.
flies to win
Int:>0
4
Speculation: reminiscent of old arcade-like alphas with a set goal.
full screen
Int:0/1
0
load progression
Int:0/1
1
Supposed to stop game from loading any progression from save files. Softlocks game during initialization.
multi use gates
Int:0/1
0
widescreen
Int:0/1
0
Addendum
Since this seems to be a popular question, there is a way to spawn special items with devtools.
After activating devtools, pressing:
  • 5 - spawns Spearmaster's pearl.
  • 6 - spawns Hunter's neuron.
  • 7 - spawns rarefecation cell.
Thanks to bro748 for clarification.
6 Comments
miledag Dec 29, 2023 @ 7:12am 
my brain hurts after looking at this
bro748 Jul 27, 2023 @ 3:14pm 
Press 5 with devtools to spawn Spearmaster's pearl. 6 also spawns Hunter's neuron, and 7 spawns a rarefaction cell. These spawn keys were added in 1.9.06
babil Jul 26, 2023 @ 10:56am 
also is there a way to get slugpups to spawn in other slugcats campaigns?
babil Jul 26, 2023 @ 10:53am 
i thought you spawn spearmaster's pearl with one of the numbers in dev tools?
dannad  [author] Jun 8, 2023 @ 5:51am 
Spearmaster's pearl cannot be spawned without mods.
It's theoretically possible to manually edit your save to include it but, using something like DevConsole mod would allow you to get it right away during the runtime.
ddaxyl Jun 7, 2023 @ 8:01am 
whats the thingmabober to spawn spearmasters pearl?