[[Category:Shenmue II]] [[Category:Memory Addresses]] Offsets listed here are for Patch v1.04, unless noted otherwise. == Memory Addresses == ===General=== * Shenmue2.exe+96D238 - [pointer] Character Structure(?) ** +0x84 - [float] Position X axis ** +0x88 - [float] Position Y axis ** +0x8C - [float] Position Z axis ** +0x178 - [float] Camera Distance from Player (defaults to 3.100f) ** +0x1D8 - [float] Camera Distance from Player (defaults to 3.100f) * Shenmue2.exe+81f9a30 - [string] Current Map ID (v1.04) * Shenmue2.exe+81D0EB8 - [int] Player Money * Shenmue2.exe+81D0EBC - [int] Player SEGA Coins ===Camera=== (v1.04 offsets) * Shenmue2.exe+D02AAC - [float] Camera Position X Axis * Shenmue2.exe+D02AB4 - [float] Camera Position Y Axis * Shenmue2.exe+D02AB0 - [float] Camera Position Z Axis * Shenmue2.exe+D02944 - [int] Camera State (defaults to 0, 38 locks camera at current position) ===Time=== (v1.04 offsets) * Shenmue2.exe+81b0c6c - [byte] Time of Day: Day * Shenmue2.exe+81b0c63 - [byte] Time of Day: Week * Shenmue2.exe+81b0c61 - [byte] Time of Day: Month * Shenmue2.exe+81b0c60 - [byte] Time of Day: Year * Shenmue2.exe+81b0c64 - [byte] Time of Day: Hours * Shenmue2.exe+81b0c65 - [byte] Time of Day: Minutes * Shenmue2.exe+81b0c66 - [byte] Time of Day: Seconds * Shenmue2.exe+3ec4128 - [byte] Time of Day: Freeze Game Time * Shenmue2.exe+3EC4124 - [float] Game Time Multiplier (defaults to 1) ===Rendering=== (v1.04 offsets) * Shenmue2.exe+449CA30 - [int] 60 FPS (defaults to 0, 1 = 60fps) * Shenmue2.exe+3EC2EFE - [int] 200+ FPS (defaults to 0, 1 = 200+fps) * Shenmue2.exe+3EC33BC - [float] Frame Time * Shenmue2.exe+3EE10C0 - [string] Frame Time including FPS (v1.07) ====Weather==== (v1.04 offsets) * Shenmue2.exe+8D08AC - [float] Weather related (defaults to 4, higher values increase brightness) * Shenmue2.exe+8D0C20 - [float] Sun Direction(?) * Shenmue2.exe+8CFC60 - [float] Wind Simulation force/power(?) (defaults to 0.005) * Shenmue2.exe+8CFAF4 - [float] Wind Simulation force/power(?) * Shenmue2.exe+953414 - [byte] Skydome related (defaults to 1, 0 causes darker skydome) * Shenmue2.exe+953420 - [byte] Skydome texture bool (defaults to 1, 0 causes no skydome texture) ===Stats=== (v1.04 offsets) * Shenmue2.exe+CE1A28 - [byte] First Gacha toy unlock ** +0x20 (for a total of 0x2240) - [byte] Gacha Unlocked? flag (0 if locked, 1 if unlocked) * Shenmue2.exe+CE3C68 - [byte] Last Gacha toy unlock ===Settings=== ====Display==== (v1.04 offsets) * Shenmue2.exe+AA27D8 - [byte/boolean] Aspect Ratio(?) (defaults to 0 (16:9), set to 1 for 4:3) * Shenmue2.exe+9B4E1C - [float] Contrast (defaults to 0.5, changes occur instantly) * Shenmue2.exe+814A9BC - [float] Contrast (defaults to 0.5 - affects menu variables) * Shenmue2.exe+814ABFC - [float] Contrast (defaults to 0.5 - affects menu variables) ====Audio==== ====Text==== ===NPCs=== ===Controls=== ===Interface=== (v1.04 offsets) * Shenmue2.exe+81B2F98 - [byte] set to 0 by default, set to 1 to pause, if paused, set to 1 again to unpause * Shenmue2.exe+3D7C6C3 - [byte] set to 1 by default, 0 hides clock * Shenmue2.exe+BCB6EC - [float] 'am/pm' text position (x) * Shenmue2.exe+BCB6E0 - [float] 'am/pm' text position (y) * Shenmue2.exe+BCB6E4 - [float] 'am/pm' text position (z) * Shenmue2.exe+BCB6E8 - [float] 'am/pm' text scale(?) * Shenmue2.exe+BB7214 - [float] 'date/time' text in menu position (z) * Shenmue2.exe+BB7210 - [float] 'date/time' text in menu position (y) (text clip at values <-230) * Shenmue2.exe+BB6EF8 - [float] 'date/time' icon in menu scale * Shenmue2.exe+BB6EF4 - [float] 'date/time' icon in menu position (z) ====Gacha Collection==== (v1.04 offsets) * Shenmue2.exe+CE1950 - [byte] Gacha Table Horizontal (defaults to 8) * Shenmue2.exe+CE1954 - [byte] Gacha Table Vertical (defaults to 4) * Shenmue2.exe+CE19C8 - [int] Number of Gacha Toys (defaults to 275) * Shenmue2.exe+CE5A20 - [int] Number of Gacha Toys (defaults to 275) * Shenmue2.exe+CE3C88 - [int] Unlock flag for new item #1 (+0x20 for each subsequent additional toy) * Shenmue2.exe+CE3C80 - [int] New Item Category ID (1 for capsule toys) (+0x20 for each subsequent additional toy) * Shenmue2.exe+CE3C84 - [int] New Item item/model ID (+0x20 for each subsequent additional toy) ====Menu====