gta-reversed / gta-reversed-modern

Reimplementation of GTA:SA 1.0 US

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skin matrix corruption

Pirulax opened this issue · comments

Expected and current behavior

This error mostly shows up when the memory usage is high ["high" in terms of vanilla GTA]
In the vanilla game this just results in screen flickering, and eventually goes away.
But, MSVC nowdays seemingly handles it a lot differently, and instead infects the whole code with inf/nan values, and just crashes.

Additional information

What exactly is causing the issue is unknown for now, but it is know that it's related to bone matrices.
Also see MTA:SA Issue.

Silent's Tweet:

All versions of GTA San Andreas have a bug (fixed in SilentPatch) in the character animation code, where pointers were written where floating point values for bone transformations are.

Silent also states that:

It's in a custom Rockstar's RenderWare function specifically...

Steps to reproduce

  1. Enter the game
  2. ???
  3. Profit

Screenshots/Videos

Vanilla behaviour [Credit to Silent (See) for the images]:
image
image

Probably related [as the game asserted a few seconds after this in GetBonePosition]
image
image