Rain World

Rain World

Not enough ratings
Rain Reloader
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
98.712 KB
2 Mar, 2024 @ 5:57pm
3 Mar, 2024 @ 10:26pm
2 Change Notes ( view )

Subscribe to download
Rain Reloader

Description
Hot code reloading for rainworld mod developers. RainReloader allows you to build and test new code without restarting the game.
Please read the github page for instructions on setting up this mod.

https://github.com/Twofour2/RainReloader
17 Comments
Maxi Mol 7 Aug @ 1:42pm 
@lorylagg, you can work around this by manually creating and reloading the config for your mod in the OnEnable() with MachineConnector.ReloadConfig() & .SetRegisteredOI()
lorylagg 10 May @ 8:09am 
Very useful.

I think i noticed a bug but not sure if i'm missing something.

When recompiling my mod, its RemixOption get reset to the default values instead of using the ones selected, which in the RemixOptions are still selected as I want in that particular moment.
After a restart the settings come back online.
Maxi Mol 20 Mar @ 11:54am 
Very useful mod, saved me a lot of time while coding.
I do have one issue though, that is when the .dll is replaced sometimes the IL-Hooks of the mod are applied twice. Then I need to replace the .dll again for the two instances of the hooks to unapply and apply once. Maybe a 1/3 chance for that to happen. Standard hooks appear to work just fine.
I'd also be nice for entries in reloadMods.txt to be able to be commented out, but that's just a nice to have.
NonIdiot 21 Jan @ 10:49am 
Sadly not that useful for slugcat dev due to the SlugBase incompatibility without the extra " || true", but still pretty useful for other kinds of mods!
Kalinite 5 Apr, 2024 @ 6:54pm 
ANOTHER FIRE UPLOAD FROM TWOFOUR2
Sewage Water 7 Mar, 2024 @ 9:03pm 
UPGRADE UNLOCKED: RAPID PROTOTYPING.
Record 5 Mar, 2024 @ 9:33pm 
i thought this was like

where you would install a mod from steam and then it realizes you got a mod so then it reloads the game without exiting and loads the mod in
Wandering Stars 5 Mar, 2024 @ 5:13am 
and the keybind option? and could this then be able to add changes with dev tools then?
this seems very useful for that aswell as code checking
Twofour2  [author] 4 Mar, 2024 @ 11:25am 
@WanderingStars
It reloads when it detects a file change, or if you press the 1 key. You can configure when and how it reloads it in the remix options
Sharksashimi 4 Mar, 2024 @ 8:42am 
Thanks for explaining Swan Lake! That's actually a really cool tool then!