Rain World

Rain World

Instant Replay
59 Comments
Jaydent 23 Jul @ 4:06pm 
yay!!! thanks so so so much!!!
Gamer025  [author] 22 Jul @ 12:54pm 
So as it turns out adding WebP support was actually something I have recently been thinking about but also assumed it would be a massive undertaking.
Well turns out thanks to the MagickNET library im using it was actually super easy.
There is now an option in the "Export" settings tab that allows you to switch to WebP.
I also recommand to change the default scaling setting in there from 0.8 to 1.0 since WebP are so space efficient they can easily take the extra size and will actually look really good.
Jaydent 21 Jul @ 2:54am 
probably an extremely difficult addition so it absolutely makes sense to not implement at all but i think itd be cool if we could choose different file formats to export the gifs as (i.e webp)
illuSi0N 4 Apr @ 12:55pm 
It's working now, Thank you!! :rwslugcat::karmafriend:
Gamer025  [author] 4 Apr @ 10:48am 
Ah it seems like the Watcher update got rid of the Newtonsoft.JSON dll that previously shipped with the game.
I now added my own copy to the mod so Gif creation should now work again
illuSi0N 4 Apr @ 3:38am 
gif export doesn't work!! .data and .meta files are not created...;-;
the error message in \BepInEx\LogOutput.log:

[Error :InstantReplay] Error exporting: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies.
at InstantReplay.InstantReplay.RainWorldGame_RawUpdate (On.RainWorldGame+orig_RawUpdate orig, RainWorldGame self, System.Single dt) [0x00493] in <58dfc90842c146bdbb293d11c6d25cfb>:0
Gamer025  [author] 29 Mar @ 6:17am 
Updated the mod to show as compatible with version v1.10.1 of the game.
There were no actual code changes so no changelog / version number increase.
You will need at least the v1.10.1 update of the game (from like 12 hours ago) because in the original release all code modes were broken.

Also good news Rain World is now 64bit by default, this means as long as your PC has enough RAM (8GB if you are only running Rain World) chances are you will never get any memory related game crashes anymore.
Noodl 13 Feb @ 12:40pm 
when you get sniped by a scavenger someone should make a mod like this with a call of duty killcam thingy it'd be the most funniest thing with this mod
Satan's Child 15 Jan @ 4:20pm 
just gave it a real quick test and it seems to work perfectly on linux, thankies! <3 :os_pancakes:
Gamer025  [author] 31 Dec, 2024 @ 9:16am 
I honestly didn't even know someone made a mod like that
I was mostly hoping that the devs would eventually just release a 64bit version and I could remove the RAM limit check
I just released a new version that should be able to determine if the game is running as 64bit process and will disable the limit
Satan's Child 31 Dec, 2024 @ 6:59am 
would you be able to add support for x64 world, currently instant replay just always reports RAM issue whenever using x64 world and that might help with issues (ofc not with any memory leaks but would in theory mostly remove the issue of the mod pushing the limit (assuming the user has more than 4GB)) :os_pancakes:
Acid Green 13 Jul, 2024 @ 12:12am 
chat clip that
ArcRooster 22 Jun, 2024 @ 6:22pm 
You can now clip Scavengers in rainworld
Gamer025  [author] 16 Jun, 2024 @ 7:45am 
If you go to the "Export" tab in the mods settings menu there should be a text field called "Image save location"
You need to manually enter a path to an existing folder and then hit "Validate Path" to make sure the mod can write to that folder"
awogletfan5513 15 Jun, 2024 @ 6:03pm 
i dont know if anyone has asked this before but i cant find out how to change gif export directory.
Sharksashimi 14 Jun, 2024 @ 12:54pm 
Oh thank you! I'll make sure to try it later
Also, besides a 64bit version, here's to hoping the memory leaks will be seen to when The Watcher releases as well :slugcatdead:
Gamer025  [author] 14 Jun, 2024 @ 11:13am 
I pushed an update to the mod that adds an checkbox to the main settings that allow you to push the limit from 2.7GB to 3.0GB. (which I clearly marked as experimental as it might still cause crashes)
I tried with 3.2GB first but that just caused to stuff to error out with OutOfMemory exceptions and eventually Unity itself crashed.
If that still results in the mod auto exiting then sadly the only option will be to reduce your amount of mods and hope that maybe one day they will release a 64bit version of the game (people actually manage to run out memory without this mod so it would really be a great help for the modding community)
Sharksashimi 14 Jun, 2024 @ 7:58am 
I am still finishing my mod list, so it's possible I might end up with less later, the problem is my starting footprint is moderately high, but then it goes up very slowly unless I am traveling through several regions in quick succession.
I totally get why you don't feel like adding it, thanks for the answer!
Gamer025  [author] 14 Jun, 2024 @ 5:07am 
Hmm currently the mod is set to auto exit if the game uses above 2,7GB RAM.
While testing I found out that the game started to crash around 3.5GB usage. (sometimes sooner, I think it depends on what stuff the game tries to load and memory fragmentation)
Without any other mods exepect Instant Replay the highest usage I saw was 1.8GB so normally one shouldn't hit the limit.
The main reason I didn't want to add an option is that most people would probably just max it out resulting in them crashing their game.
Do you maybe have some mods that you can disable that might cause the high memory usage?
Sharksashimi 12 Jun, 2024 @ 6:28pm 
Would it be possible to get an option to tweak when the mod warns you and disables itself? I feel it disables a bit too quickly for my preference.
Luna 18 Mar, 2024 @ 5:06pm 
It worked, my gif has returned from the dead!!! Thanks!
Gamer025  [author] 18 Mar, 2024 @ 11:42am 
Does it create .data and .meta files in your Images/Rain World fodler when you press the gif key?
If it does but they aren't being converted try checking out the log \BepInEx\LogOutput.log in your Rain World game files for any possible errors. It should also log how it trying to start the Gif creator program.
Imty_ 18 Mar, 2024 @ 4:02am 
otherwise great mod
Imty_ 18 Mar, 2024 @ 4:02am 
I can't save GIFs for some reason
Gamer025  [author] 15 Mar, 2024 @ 7:11am 
@possesedzombie Assuming the files are actually complete you can:
Go to your Steam folder
Go into steamapps\workshop\content\312520\3131172614\
Shift right click on the GifMaker folder and select Open Powershell here
Now type .\GifMakerCore.exe "PATH"
With PATH being the path to your files without the .data and .meta
For example if you have the files C:\Images\abc.gif.meta and C:\Images\abc.gif.data you would type C:\Images\abc.gif
The full command would be: .\GifMakerCore.exe "C:\Images\abc.gif"
Luna 14 Mar, 2024 @ 5:24pm 
My game crashed before the gif was made, but I still have the .data and .meta files, is there any way to get the gif back?
Gamer025  [author] 8 Mar, 2024 @ 1:19pm 
This mod effectively just records whats displayed on screen. So if you were to zoom in ingame (never used that mod) Instant Replay would it record like that and the GIF would look exactly like it would ingame.
pinkus 8 Mar, 2024 @ 1:13pm 
can this be used with the zoom mod to have zoomed in gifs?
Nevilsico Shard 19 Feb, 2024 @ 11:01pm 
I comment here to say you have my appreciation for creating this mod. I just used it to make a gif and I can't imagine the painstaking effort it would have taken otherwise without this mod. Once again, much appreciated and thanks for that. :rwslugcat:
evilmoondragon 19 Feb, 2024 @ 11:00am 
Yeah, I think I'll just do that.
Gamer025  [author] 19 Feb, 2024 @ 10:58am 
You can also try lowering the capture time or frames to decrease the memory Instant Replay uses
evilmoondragon 19 Feb, 2024 @ 10:54am 
Yeah, I'll try to troubleshoot it. Although I'm not sure if it's Instant Replay, the crashes have only occurred with it on.
Gamer025  [author] 19 Feb, 2024 @ 10:53am 
Hmm I can't tell from that snippet if its related to Instant Replay or not, if you are on the official Rain World Discord you can make a post there and ping me.
Were you able to check how much memory Rain World itself used?
Instant Replay should auto stop at around 2,7GB usage and Rain World gets crashy at around 3,7GB from my experience.
evilmoondragon 19 Feb, 2024 @ 10:05am 
I'm not quite sure if it's this mod but I had an index out of range (non-negative and less than the size of the collection) while trying to exit a room. And then it ran out of memory despite only 40% of my computer's RAM being used.

(Partial exception log. I saved the rest in case.)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <a1e9f114a6e64f4eacb529fc802ec93d>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <a1e9f114a6e64f4eacb529fc802ec93d>:0)
evilmoondragon 18 Feb, 2024 @ 7:36pm 
Nothing about memory. I could check for memory usage as half (out of 32gb) is used in the background.

I'll keep track of my computer stuff.
Gamer025  [author] 18 Feb, 2024 @ 6:10am 
Hmm this is strange since the mod should detect the game being low on memory and stop automatically. Did you at any point get any kind of message saying "Rain Worlds free memory is critically low!..."?
If not the only way I could imagine this happening is your actual computer running out of RAM.
If you can reproduce the issue could you maybe check Rain Worlds and your PCs memory usage at that point?
evilmoondragon 17 Feb, 2024 @ 5:53pm 
Crashed while in the middle of a slide.
evilmoondragon 17 Feb, 2024 @ 5:53pm 
OutOfMemoryException: Out of memory
Unity.Collections.NativeArray`1[T].ToArray () (at <9ca491d31d5a4516bf92108e9f7069ac>:0)
InstantReplay.InstantReplay.CaptureFrameCallback (UnityEngine.Rendering.AsyncGPUReadbackRequest req) (at <ab09de69417141ed9a245ceafa5ff03e>:0)
Gamer025  [author] 24 Jan, 2024 @ 12:21pm 
You could try unsubscribing from the mod and subscribing again to make sure its downloaded properly. Maybe also try verifying the games file integrity. If that doesn't help you can also find me on the Rain World official Discord and screenshot of the error
some person 24 Jan, 2024 @ 12:03pm 
I tried a few things but it still doesn't wanna work it keeps telling me it fails to find something and disables it
Gamer025  [author] 24 Jan, 2024 @ 9:11am 
@some person When that happens you could try checking your games folder for a exceptionLog.txt file too see if anything threw any errors. If there is none maybe try disabling all other mods if you have any.
some person 23 Jan, 2024 @ 9:52pm 
I dunno if its just me or what but every time I try to load this mod it just decides not to work and disables itself
Gamer025  [author] 23 Jan, 2024 @ 9:15am 
The mods source code is publicly available https://github.com/Gamer025/InstantReplay
If you anti virus detects the mods as malicious you should report it as a false/positive to the vendor
maryevangelinemartins 22 Jan, 2024 @ 1:09pm 
IT TRIED TO HACK PC :steamthumbsdown:
Merm 12 Jan, 2024 @ 11:30am 
Thanks!
Gamer025  [author] 12 Jan, 2024 @ 6:56am 
@Merm Pushed an update that should fix that and make the mod handle stuff like this (the replay viewer being open and restarting/exiting) better in general
Merm 12 Jan, 2024 @ 12:18am 
I've found a bug in Challenge mode with my remote where if you press I while dead then press restart, it stays burned in every rooms background and the background of each campaign
I tried it again with just my keyboard and used I on the death screen, but it just shuffled through music and was fixed when I pressed escape
Sp1r1X 8 Jan, 2024 @ 8:40pm 
this is really cool :steamhappy::steamhappy::steamhappy:
The Watcher 8 Jan, 2024 @ 4:13am 
that it does, that it does, thank you!
Gamer025  [author] 8 Jan, 2024 @ 1:29am 
I have another mod called Chaos Edition, which triggers random events
One of these is called "Super Slug" which makes it so that times slows down if you don't move (like in the game Super Hot). You can disable all the other events and only mess around with that one if it sounds interesting