Guide:Finding pointers and offsets: Difference between revisions

Added navbox
(Clarified examples and title of section two)
(Added navbox)
 
(One intermediate revision by the same user not shown)
Line 1:
{{Infobox guide
| sly1 = y
| sly2 = y
| sly3 = y
| difficulty = Intermediate
| time = 10-20 mins
}}
 
This tutorial will teach you how to find pointers to structs and use offsets to access values stored within those structs. Basically every value the game uses is stored in a struct somewhere in memory, so if you can find a global pointer to a struct, and then figure out the offset to access a value in that struct, you can access that value in any map without having to scan for it. The steps below should work for all three games, though keep in mind that [[Sly 1]] structs are organized slightly differently than [[Sly 2]] and [[Sly 3]] structs.
 
Line 69 ⟶ 77:
* [https://docs.google.com/document/d/12XPT3YeYfiwtyEcJOJfOAMNKklIuc4MyXkLM6YAUXU0 Zac's PCSX2 Pointer Tutorials - Google Docs, Aug 8 2021]
 
{{Navbox guides}}
[[Category:Guides]]
[[Category:Guides for Sly 1]]
[[Category:Guides for Sly 2]]
[[Category:Guides for Sly 3]]