Memory Addresses (SM1)

From Wulinshu
Revision as of 19:07, 19 December 2018 by LemonHaze (talk | contribs) (Removed v1.07 specifier as the header of this page is now accurate)
Jump to navigation Jump to search

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

Memory Addresses

General

  • Shenmue.exe+9F50EB8 - [pointer] Character Structure (?)
    • +0x8 - [float] Ryo Position X
    • +0x10 - [float] Ryo Position Y
    • +0xC - [float] Ryo Position Z
  • Shenmue.exe+9F37498 - [int] Player Money
  • Shenmue.exe+9F3749C - [int] SEGA Coins
  • Shenmue.exe+C55948 - [string] Current Map ID
  • Shenmue.exe+9E334CC - [string] MPK/MAP0
  • Shenmue.exe+1330040 - [string] Current Date

Camera

(v1.00 offsets)

  • 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+9F34622 - [byte] Time of Day: Day
  • Shenmue.exe+9F34621 - [byte] Time of Day: Month
  • Shenmue.exe+9F34620 - [byte] Time of Day: Year
  • Shenmue.exe+9F34624 - [byte] Time of Day: Hours
  • Shenmue.exe+9F34625 - [byte] Time of Day: Minutes
  • Shenmue.exe+9F34626 - [byte] Time of Day: Seconds
  • Shenmue.exe+5E17F67 - [byte] Time of Day: Freeze Game Time (0 is default, odd value freezes the time)
    • side effects:
      • Compass is also frozen;
      • When pausing, there is no longer that darken fade with game tips, only the clock gets hidden.

Rendering

  • Shenmue.exe+EB0484 - [float] Frame Time
  • Shenmue.exe+EB0280 - [string] Frame Time and FPS
  • Shenmue.exe+EB04C8 - [byte] 60fps
  • Shenmue.exe+1478530 - [byte] 200+fps
  • Shenmue.exe+9F5EF70 - [float] Supersampling (defaults to 1.233333468) (v1.00)
  • Shenmue.exe+9D6A30 - [float] UI Screen Resolution Vertical (defaults to 1080.0) (v1.00)
  • Shenmue.exe+9D6A04 - [float] UI Screen Resolution Horizontal (defaults to 1920.0) (v1.00)

Stats

Settings

Display

(v1.00 offsets)

  • 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+C64DEC - [int/boolean] Debug Talk Status (locks cutscenes when set to 1, 0 is default) (v1.07)

Controls

Interface

Menu

Physics

  • Shenmue.exe+64C8FA8 - [byte] Remove door collisions (default 255, set to 0 for no collision) (v1.07)

Undocumented

(v1.00 offsets) 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]

Physics related (should it be included in this wiki?):

  • Shenmue.exe+8EBD9 [2 bytes] (default 7028 [je], 7147 [jmp] for no collision) (v1.07)