Memory Addresses (SM2)

From Wulinshu
Jump to navigation Jump to search

Patches listed here are for Patch v1.04, unless noted otherwise.

Memory Addresses

General

  • Shenmue2.exe+95C418 - [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
  • Shenmue2.exe+81B2C78 - [int] Player Money
  • Shenmue2.exe+81B2C7C - [int] Player SEGA Coins

Camera

  • 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

  • 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

  • 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+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

  • 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

Audio

Text

NPCs

Controls

Interface

  • 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)
  • 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)

Menu