A cheat table for Persona 5, a game developed by Atlus.
For use while playing on RPCS3.
WARNING: Generally untested, use at your own discretion, don't blame me for borked saves, etc.
NOTE: The table is mostly dynamically generated, due to some limitations opening certain group records for the first time can take a while.
- Latest Cheat Engine version + Big Endian Types.
- Latest RPCS3 master.
- Persona 5. This table has been tested with NPEB02436.
- Download and install Cheat Engine (or use the portable version).
- Install Big Endian Types in Cheat Engine.
- Clone or download this repository.
- Open RPCS3 and launch
Persona 5
. - Open Cheat Engine and load the cheat table.
- If prompted, allow the main table script to run.
Internal table records.
Miscellaneous utilities.
By entering a value in the level field, you can get the minimal required experience to reach that level for a given persona or party member.
See Experience for calculation details.
Using this tool, you can change the Hero's first and last name, as well as your group name.
This tool limits you to the available characters for names in the English release of the game as the game might crash when using an invalid character.
Click the checkbox to unlock or lock a persona in the compendium.
WARNING: Locking a persona and then unlocking it would reset all persona stats.
Due to the way RPCS3 handles the elf
file spec (i.e. properly, unlike real hardware), enabling TGE's Randomized Encounter Music mod via a patch.yml
file causes RPCS3 to throw a memory access violation exception.
RPCS3 protects the elf
memory page as ro
(read-only), in accordance with the elf
flags.
Real hardware seems to ignore said flags, and the page is writable (rw
).
TGE's mod tries to write 2 bytes to the elf
memory page, therefore works on real hardware (rw
protection) but fails on RPCS3 (ro
protection).
Below is a modified version of TGE's mod that does not write to the problematic protected page. Instead, a Cheat Engine script is used, which prevents RPCS3 from throwing an error.
To use the script, follow these steps:
Step 1: Add the following to your Persona 5 patch.yml
file, above the Persona 5 PPU-<hash>
segment:
# Game: Persona 5
# Subject: Shuffled/randomized encounter music (modified)
# Author: TGE
p5_RandomizedEncounterMusicCE: &p5_RandomizedEncounterMusicCE
# patch Btl_PlayBgm
# branch to trampoline
- [ be32, 0x0063ACE4, 0x48B44B87 ] # bla 0xB44B84 (trampoline)
- [ be32, 0x0063ACE8, 0x4806CCBB ] # bla 0x6CCB8 (SoundManager__GetBgmId)
# trampoline
# check and return if not normal battle bgm
- [ be32, 0x00B44B84, 0x2C1F012C ] # cmpwi r31, 300 # normal battle
- [ be32, 0x00B44B88, 0x41820008 ] # beq 8 # return if not normal battle music
- [ be32, 0x00B44B8C, 0x4E800020 ] # blr
# randomize sound bank
- [ be32, 0x00B44B90, 0x4806CCCB ] # bla 0x6CCC8 (SoundManager__SetEquipBgm)
# return
- [ be32, 0x00B44B94, 0x4863ACEA ] # ba 0x63ACE8
Step 2: Add the following to your Persona 5 patch.yml
file, under the Persona 5 PPU-<hash>
segment:
- [ load, p5_RandomizedEncounterMusicCE ] # Enabled via a Cheat Engine script
Step 3: Restart the game for the patch.yml
changes to take effect.
Step 4: Enable the Randomized Encounter Music tool via the [ENABLE] p5_RandomizedEncounterMusicCE
script in the cheat table.
As an alternative to the steps above, you can apply elf_page_protection_rw.patch to the rpcs3 source before building:
cp elf_page_protection_rw.patch <rpcs3_src_dir>
cd <rpcs3_src_dir>
git apply elf_page_protection_rw.patch
This patch will mark the elf page with rw protection and allow TGE's original mod to work on RPCS3.
WARNING: This is a hack. Using it might have unforeseen side effects. Using the resulting build in general, and for any reason other than allowing TGE's original Randomized Encounter Music mod for Persona 5 to work in RPCS3 is not recommended.
Edit stats relating to party members:
-
HP, SP: Should be obvious.
-
Ailments: Various ailment flags.
-
Level, EXP:
- Only relevant to the Hero.
- Use the Experience Calculator in the Tools section to get correct values for these entries.
- Editing the level is not recommended, instead edit the EXP, then enter and win a battle to initiate the game's level-up process.
- Party member's level and EXP are tied to their persona's level and EXP.
-
Buff Status: Flags that determine whether a buff is active or not.
-
Buff Direction: Determines a buff's direction (e.g. ATK+ or ATK-).
-
Buff Duration: The amount of turns in which a buff is active.
-
Persona: A collection of the combatant's persona. Note that only the hero can have more than one persona, however all party members (and enemies) use the same data structure and so the table accounts for that. Available stats for each persona include:
- Level, EXP: Should be obvious. These also represent each party member's (but not the Hero's, see above) Level and EXP.
- Skills: Should be obvious. Entries are tagged, see Tags for more details.
- Stats: Should be obvious.
-
Equip: Equipped gear. Entries are tagged, see Tags for more details.
-
Bullets: Should be obvious.
-
HP Gain, SP Gain: The HP and SP gained from training. Normally can only be increased by the Hero, however you can set these manually for other party members and their HP and SP will increase accordingly.
Items are grouped in the table as they are grouped in the game's memory.
Entries are tagged, see Tags for more details.
Contains various game stats that didn't fit in any other category: Money, Romance, Batting, Training, Fishing and Palace stats.
You can also edit time related values:
- To repeat a day's first timeslot, during an event, set
Day Timeslot
to3
. - To repeat a day's second timeslot, during an event, set
Day Timeslot
to5
.
Editing the day count itself, Day #
, is highly discouraged.
Various trophy counters that track when a trophy is unlocked.
This is particulary helpful to track the progress of the "Passionate Listener" trophy. Contrary to popular belief, this trophy only tracks lines spoken during combat using either navigator.
Allows you to edit persona records in the compendium.
You can also unlock or lock persona records using the Compendium Unlocker.
Allows you to edit both the confidant’s current rank and the confidant's affinity (determines whether the confidant will rank up the next time you meet with them).
Changing a confidant's rank via the table is not recommended, instead change the affinity and then initiate a rank up in game.
Edit the Hero's Knowledge, Charm, etc.
Numbers in parentheses indicate how many points are needed to level up a stat per each possible level.
Stat | Level 2 | 3 | 4 | 5 |
---|---|---|---|---|
Knowledge | 34 | 82 | 126 | 192 |
Charm | 6 | 52 | 92 | 132 |
Proficiency | 12 | 34 | 60 | 87 |
Guts | 11 | 29 | 57 | 113 |
Kindness | 14 | 44 | 91 | 136 |
- 1 note - 2 points.
- 2 notes - 3 points.
- 3 notes - 5 points.
View the persona base stats table.
View the persona base skill table.
When in battle, enable this record to view enemy stats.
This record does not auto-update, so you'd have to toggle the record to see newly summoned enemies.
The sum of persona stats, depending on level x
is defined using:
S(x) = x * 3 + 7 ( = St + Ma + En + Ag + Lu )
The in-game relationship between a party member or persona's experience E
and level x
can be described using:
C
is the base level coefficient:
- for party members,
C
is always1.4
. - for personas,
C
depends on the persona's base levelb
and is calculated using:
The amount of time played is represented using a "frame counter" (each second equals 30 ticks):
BLN
- BlankFLR
- FillerDLC*
- Obtained from DLCUNK
- Unknown if validVAL
- Obtainable itemHAW
- Hawaii gift<ALLY_NAME>
- Default equipment for...
BLN
- BlankFLR
- FillerUNK
- Unknown if valid<ALLY_NAME>
- Can be equipped by...DEF
- Default equipment
BLN
- BlankUNK
- Unknown if valid<ALLY_NAME>
- Can be equipped by...DEF
- Default equipment
BLN
- BlankUNK
- Unknown if valid<TYPE>
- Can be equipped by...DLC*
- Obtained from DLC<ALLY_NAME>
- Default equipment for...
BLN
- BlankUNK
- Unknown if valid<ALLY_NAME>
- Can be equipped by...DEF
- Default equipment
VAL
- Obtainable itemBLN
- BlankDLC_CARD
,DLC_PRS
- Obtained from DLCINV
- Invalid itemFLR
- FillerUNO
- Valid but unobtainableREW
- Obtained as mission rewardNET
- Network skill, valid but unobtainable
BLN
- BlankFLR
- FillerUNK
- Unknown if validIWAI
- Special confidant itemFUSE
- Fusion enablerBOSS
- Boss giftXMAS
- Christmas giftCNF
- Confidant giftPAL
- Palace item
BLN
- BlankFLR
- FillerUNK
- Unknown if validBOOK
,DVD
,TOOL
,GAME
,GIFT
,FISH
,FISH*
- Should be obviousDEC
- Room decorationCAP
- Capsule game rewardREW
- Game rewardMAT
- Tool materialsITM
,ITM*
- Misc. itemHP
,BUFF
,HP+BUFF
,HP+CURE
,HP+SP
,SP
,SP+BUFF
,CURE
- Should be obviousIN
- Can be used only in battleOUT
- Can be used only out of battleBTH
- Can be used anytimeREV
- Revival itemSHI
- Shield itemVLN
- Valentine's giftDMG
- Damage dealing itemFES
- Festival gift
BLN
- BlankVAL
- Obtainable itemUNK
- Unknown if validFLR
- Filler
BLN
- BlankUNK
- Unknown if validFLR
- FillerVAL
- Valid arcana
BLN
- BlankINV
- Invalid personaDLC
- DLC exclusive personaDUP
- Duplicate personaFLR
- Filler<ALLY_NAME>
- Valid persona, carried by...
BLN
- BlankNET
- Network fusion skillUNO
- Valid but unobtainable skillFUT
- Futaba skillDLC
- DLC exclusive skillLCK
- Lockdown exclusive skillDUP
- Duplicate skillFLR
- FillerVAL
- Obtainable skillINV
- Invalid skill<PERSONA>
- Skill unique to this persona