Skip to content

B2 Code

Yohoki edited this page Mar 1, 2020 · 3 revisions

This code type basically makes all address into relative. For example, the absolute address 0x816652E0 becomes a relative address 0x000652E0 and the base (segX) 0x816 is automatically obtained by VitaCheat. To view the segX information, browse the memory then press the R-Stick + Up button. In the example screenshot below, it has the following info: seg0:810xxxxx and seg1:81Cxxxxx.

This solves the situation where the base of different version occurs.

Note: The $B2 Code type does not function on Firmware 3.60. You must be using z05 or z06 (preferably) on 3.65 or VitaCheat will crash when used.

Format

Definition

  • B2: Code-Type Identifier
  • A3-A4: Module Serial Number (The number can be found in a text file PCSE00000.txt when dumping the memory)
  • B8:
    • 0 - seg0
    • 1 - seg1

Examples

For example: the mai version of the PCSH00181 Ys: Memories of Celceta has a different offset from the vitamin version.

# PCSH00181 伊苏树海-1.00-MAI5 by dask

_V0 Money MAX
$A100 810C6872 0000BF00
Seg0:81000000-811F9188

# PCSH00181 伊苏树海-1.00-vitamin by dask

_V0 Money MAX
$A100 810C68D2 0000BF00
Seg0:81000060-811F91E8

You can solve this problem with the B format code.

# PCSH00181 伊苏树海-1.00 by dask

_V0 Money MAX
$B200 00000000 00000000
$A100 000C6872 0000BF00

The above is an example of seg0. The application of seg1 can try Ninja Dragon Sword 2+ on its own. With $B200, it can be used in the European version (PCSB00294) and Hong Kong version (PCSG00157).

Clone this wiki locally