file MBG-Rewind

  • RandomityGuy
  • RandomityGuy's Avatar Topic Author
  • Offline
  • Advanced Marbler
  • Advanced Marbler
  • Somewhat skilled in MB
More
17 Jul 2019 11:26 - 16 Apr 2020 17:14 #1 by RandomityGuy
MBG-Rewind was created by RandomityGuy
This is a Marble Blast Gold mod with rewinding and replay capabilities. Yes, thats right, rewind capabilities.


Proof of concept:

Features:
  1. Complete rewind support including smooth rewinding of trapdoors and moving platforms
  2. New replay system to view TASed runs which aren't unstable like .recs. Put your replay file in marble/client/replays and view it using the ingame replay centre. This replay system automatically saves best runs, no need to put a console command in to start recording
  3. Said replay system allows pausing the replay via jump button and scrubbing the replays via the movement button.
  4. Cross platform: saved replays work on both Windows and Mac
  5. Ghost racing: If you already have a replay for a level, you can race your top score marble by simply clicking the play button. Option to disable this is available in Options menu. Ghost marbles are with sync to the time shown on the timer and will freeze if you pick up a time travel.
  6. Save States: These are basically manual checkpoints but store the entire state of the mission. Rewinding is also possible after loading a save state. Available in bottom right of pause screen. Save states aren't actually saved to disk, they are just stored in memory.
  7. Frameskipping for those who have really high fps
  8. Slow-mo rewind for the precision
  9. 1:1 frame rewinding for your frame-by-frame needs
  10. Time-travel Timer that shows how much bonus time is left till the clock starts once again.

Known Bugs:
  • Trapdoor Desync: Trapdoors may sometimes always remain open, this shouldnt affect the gameplay much unless you wanted to use the same trapdoor again later on.
  • Timer bugs during stopped time: the more you use rewind while time is stopped, the less accurate your timer would be. Error ranges from ±0.001s upto as big as ±0.2s depending in how frequent rewind is used.

Helpful Console Functions:
// <path> can to any file on disk(even outside mb dir). Windows users please use double-backslashes
WatchReplay(<path>);
// eg: WatchReplay(".\\marble\\client\\replays\\movement.rwx"); // Windows
// eg: WatchReplay("./marble/client/replays/movement.rwx"); // Mac
// Windows only, it sets fps to what you provided as <fps>
setTickInterval(1000/<fps>);

Credits:
  • Derpking: MBExtender and FrameRateUnlock
  • HiGuy: Mac Build, Bug fixes for Mac version, and testing

Download:
Windows
Mac

Changelog:
Warning: Spoiler! [ Click to expand ]


FAQ:
Warning: Spoiler! [ Click to expand ]


Please report any reproducible bugs/crashes by pasting
trace(1);$Rewind::DebugInfo=1;
in the console, then reproducing the bug and then sending the console log to me

Go, get TASing MBG now

Loading...
Last edit: 16 Apr 2020 17:14 by RandomityGuy. Reason: More known bugs, ugh
The following user(s) said Thank You: HiGuy, Lee, Regislian, Nature Freak, [email protected], Alexnico, Mike

Please Log in or Create an account to join the conversation.

More
17 Jul 2019 12:02 #2 by MurhaajaFasaani
Replied by MurhaajaFasaani on topic MBG-Rewind
Very exciting stuff! Will keep an eye on this.

Please Log in or Create an account to join the conversation.

More
17 Jul 2019 12:28 #3 by [email protected]
Replied by [email protected] on topic MBG-Rewind
Never expected something like this to come up and see the concept function properly... haven't been so surprised for long. Good luck on further improving this! I'll try to keep myself up to date on the changes.

Please Log in or Create an account to join the conversation.

More
17 Jul 2019 13:54 #4 by Laplace
Replied by Laplace on topic MBG-Rewind
This is so exciting! Thanks for working on this, I'm hyped to get started making runs!
The following user(s) said Thank You: Nature Freak

Please Log in or Create an account to join the conversation.

More
17 Jul 2019 14:08 - 17 Jul 2019 14:19 #5 by Nature Freak
Replied by Nature Freak on topic MBG-Rewind
Me too! This looks easier to learn and more powerful than the plain text version.

Also, one question for clarification—because this is a modification, I would have to install a second version of MBG in order to use it, so that I could keep my original to record for records, right?

EDIT: It appears to be a separate application on its own, so it seems there's nothing to worry about!
Last edit: 17 Jul 2019 14:19 by Nature Freak.

Please Log in or Create an account to join the conversation.

More
18 Jul 2019 04:15 #6 by Mike
Replied by Mike on topic MBG-Rewind
And thus begun the day where everyone turned into Nockess.

Please Log in or Create an account to join the conversation.

  • RandomityGuy
  • RandomityGuy's Avatar Topic Author
  • Offline
  • Advanced Marbler
  • Advanced Marbler
  • Somewhat skilled in MB
More
24 Feb 2020 08:59 #7 by RandomityGuy
Replied by RandomityGuy on topic MBG-Rewind
New version of the mod has been released! View the top post for full details.

Changelog:
  • Added trapdoor rewinding
  • Added replay pausing and scrubbing
  • Added ghost racing
  • Added time travel bonus timer
  • Added save states
  • Fixed moving platform jittering in rewind
  • Fixed minor Match FPS rewind bug
  • Fixed timer bugs
  • Fixed a lot of bugs that occurred during development
  • Fixed marble jumping sound in replays
  • Moved majority of rewind code to the plugin

Download:
Windows
Mac

Please report any bugs you find.

Loading...
The following user(s) said Thank You: IsraeliRD, Regislian, Mike, MurhaajaFasaani

Please Log in or Create an account to join the conversation.

  • RandomityGuy
  • RandomityGuy's Avatar Topic Author
  • Offline
  • Advanced Marbler
  • Advanced Marbler
  • Somewhat skilled in MB
More
13 Apr 2020 06:38 #8 by RandomityGuy
Replied by RandomityGuy on topic MBG-Rewind
New version of the mod has been released! View the top post for full details.

Changelog:
  • Smoothened out interpolation on low timescales, hopefully it should also fix the timer bugs
  • Reverted hoops.mis back to original, was changed because rewind wasnt working on it back during development
  • Added more debug info when $Rewind::DebugInfo = 1
  • Fixed crash when timescale was set too low or when frameskipping was set too high
  • Fixed camera during gravity change
  • Fixed moving platform jittering and desyncs. Though they'll still desync/jitter a bit in old replays before this version

Download:
Windows
Mac

Please report any bugs/crashes you find directly to me

Loading...
The following user(s) said Thank You: [email protected]

Please Log in or Create an account to join the conversation.

Moderators: AayrlKalle29Regislian