Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if rng or camera desync verify if prior or next frame doesnt have a match between the current and expected value. if so adjust recording since a lag frame was added/skipped compared to recording
- rng value
- rng:
- fast camera turning left/right with right stick
- check wagon escort rng
- particle system uses rng inofficially
- everything that calls __ct__Q25JMath13TRandom_fast_FUl
- chase cam:
- 8016B9B8: calculation of the new look at address (maybe function is here in hd? 028E417C)
- information class: 803daa78
- + 0x740 + -0x648 + 6 = Stick 1 (+FE)
- + 0x740 + -0x684 = Stick 2 (+BC)
- camera class: 80a28dec (ptr 803DAA74 points at this)
- +0x5C (+6) = Angle change to apply (user rotation)
- +0x482 contains copy of stick value
- 02BEB9C4 # cSGlobe::Val((cXyz const &)) also has to be adjusted
- final angles are here:
- 0x64(r29) - 0x6C(r29): Final Camera LookAt Postion X/Y/Z (in free cam mode this takes LookAtAngle into account)
- 0x70(r31) - 0x78(r31): Final Camera X/Y/Z Position
- dump first mini state after recording begins if its from savestate to beginning.sav
- always dump mini state after last area transition to temp file both during recording and playback
- dump current TAS to temp file .wum
- if user saves movie only dump/copy current movie file if its from boot otherwise include beginning.sav
- if user savestates save current movie file, beginning.sav if present and last mini state to SD under a name or slot ids
- loading a savestate will overwrite beginning.sav with the one from the state, replicate the last loading with the ministate and resume inputs from end of file-last point where isLoading = 1
- playback WUM always plays from loading to titlescreen or from beginning.sav depending
- if read only mode is enabled and savestate is loaded just playback and allow to frame advance at any point and switch to recording mode
- if read only mode is turned off and a savestate is loaded by default playback to the end point and then auto pause in recording mode
- display recording/playback text on screen/watermark
- scene play deletion/name scene deletion = start of loading
- scene play execute/name scene execute = end of loading
Add Comment
Please, Sign In to add comment