Rain World

Rain World

76 ratings
Instant Replay
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
44.301 MB
4 Jan, 2024 @ 6:18am
22 Jul @ 12:50pm
16 Change Notes ( view )

Subscribe to download
Instant Replay

Description
Instant Replay

Ever died in a spectacular way and wanted to check what happened?
Or maybe did some sick movement tech and wanted to study what happened frame per frame?
Instant Replay allows for all of that. With the press of a button you can go back up to 20 seconds at 40 FPS (check the config menu) and rewatch the moment as often as you want or even study it frame per frame.


NEW: GIF/WebP Exports
With the 1.1 update Instant Replay can now finally also export animated GIFs of your replays!
By default just press the 'G' key and your last 10 seconds of gameplay will be exported into a GIF/WebP (configurable in the Export settings tab).
You can also change this keybind and the amount of time in the settings.
If you want more precise control of the ouput or want to override the time limit you can also do so via the ingame replay viewer.
Just open it (default 'I') and move to the frame you want to the GIF/WebP to start at.
Now if you press the GIF button the exported GIF/WebP will start at this frame and go on till the end the recording (aka the current moment or your death)
Generating GIFs is quite resource intensive so it might take 1-2 minutes to generate one. However this all happens in the background.
WebPs require less CPU but might take a bit longer.
So even if you were to die or quit to the menu the GIF/WebP should still generate and will eventually appear in your selected output directory.
You can even export up to 3 GIFs/WebPs at the same time, however this can take quite some time and each generating GIF needs around 1-2GB RAM depending on your settings.



Using the default controls (can all be rebound in the mods config menu) the mod can be used in the following way:
Press 'I' to open instant replay, it will now play the last X seconds starting at the beginning of the recording.
You will know when the replay viewer is active (especially in fullscreen mode) via the icon in the top right
Toggle between fullscreen and popup mode with the 'F' key while the player is active.
While the replayer is open you can pause with the 'P' key or by pressing either the right or left arrow key. Press 'P' again to enter play mode.
The current state (playing/paused) is indicated via an icon in the top right of the player.
Using the arrow keys you can now go forward (right arrow key) and backwards (left arrow key). Tapping a key shortly will go frame by frame while holding will fast forward/rewind.
By pressing the 'E' key the current frame will be exported as .png to the part defined in the options menu (defaults to "Rain World" folder in your pictures folder).
58 Comments
Gamer025  [author] 15 hours ago 
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: