isJuhn / KAMI

Kot And Mouse Injector
MIT License
102 stars 14 forks source link

Support for Metal Gear Solid 4 #84

Closed cipherxof closed 1 year ago

cipherxof commented 1 year ago

MGS4 is fairly annoying to work with because each stage is actually a completely different executable, and it turns out each executable has the camera code duplicated. So, naturally the offsets are shifted every time you enter into a new area. I was able to find the pointers for all of the camera data in the base executable, which points to the offsets in whatever the currently loaded stage is.

As for why the 3PP uses shorts instead of floats, I'm not sure. Maybe they are Halfs or something.

Enjoy :D

Known Issues

cipherxof commented 1 year ago

Updated.

isJuhn commented 1 year ago

Thanks :)