Memory Addresses (SM1)

From Wulinshu
Revision as of 23:01, 17 December 2018 by Ner0 (talk | contribs) (Added time offsets for v1.04 and v1.07, other minor additions for v1.07)
Jump to navigation Jump to search

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

Memory Addresses

General

  • Shenmue.exe+9F52758 - [pointer] Character Structure (?)
    • +0x8 - [float] Ryo Position X
    • +0x10 - [float] Ryo Position Y
    • +0xC - [float] Ryo Position Z
  • Shenmue.exe+9F38D18 - [int] Player Money
  • Shenmue.exe+9F37498 - [int] Player Money (v1.07)
  • Shenmue.exe+9F38D1C - [int] SEGA Coins
  • Shenmue.exe+9F3749C - [int] SEGA Coins (v1.07)
  • Shenmue.exe+1330E5C - [string] Current Map ID
  • Shenmue.exe+9E3494C - [string] MPK/MAP0
  • Shenmue.exe+1323F90 - [string] Current Date

Camera

  • Shenmue.exe+5E16AD8 - [float] Camera Position X/Y
  • Shenmue.exe+5E16ADC - [float] Camera Position X/Y
  • Shenmue.exe+5E16AD4 - [float] Camera Position Z
  • Shenmue.exe+9D6590 - [double] Field of View related (defaults to 57.2957795130824)
  • Shenmue.exe+9D6920 - [float] Field of View related (defaults to 182.0444489)
  • Shenmue.exe+A33FFC - [float] Camera Distance from Player(?) (defaults to 3.1f)

Time

  • Shenmue.exe+9F29844 - [byte] Hours (v1.04)
  • Shenmue.exe+9F34624 - [byte] Hours (v1.07)
  • Shenmue.exe+9F29845 - [byte] Minutes (v1.04)
  • Shenmue.exe+9F34625 - [byte] Minutes (v1.07)
  • Shenmue.exe+9F34626 - [byte] Seconds (v1.04)
  • Shenmue.exe+9F34626 - [byte] Seconds (v1.07)


Rendering

  • Shenmue.exe+EA39A0 - [string] Frame Time and FPS
  • Shenmue.exe+EA3BE4 - [byte] 60fps
  • Shenmue.exe+146B560 - [byte] 200+fps
  • Shenmue.exe+9F5EF70 - [float] Supersampling (defaults to 1.233333468)
  • Shenmue.exe+9D6A30 - [float] UI Screen Resolution Vertical (defaults to 1080.0)
  • Shenmue.exe+9D6A04 - [float] UI Screen Resolution Horizontal (defaults to 1920.0)

Stats

Settings

Display

  • Shenmue.exe+A6190C - [float] Resolution Scale (defaults to 0.5, changes occur instantly)
  • Shenmue.exe+A4E088 - [float] Contrast (defaults to 0.5, changes occur instantly)
  • Shenmue.exe+9F11230 - [float] Contrast (defaults to 0.5 - affects menu variables)
  • Shenmue.exe+9F11470 - [float] Contrast (defaults to 0.5 - affects menu variables)

Audio

Text

NPCs

Debug

  • Shenmue.exe+C586DC - [int/boolean] Debug Talk Status (locks cutscenes when set to 1, 0 is default)

Controls

Interface

Menu

Undocumented

Camera related???

  • Shenmue.exe+5E16AD8 - [float]
  • Shenmue.exe+5E16AD4 - [float]
  • Shenmue.exe+5E16AD0 - [float]
  • Shenmue.exe+5E16AE4 - [float]
  • Shenmue.exe+5E16AE0 - [float]
  • Shenmue.exe+5E16ADC - [float]