Persona 4 Golden

Persona 4 Golden is the portable re-release of Persona 4. It features a new dungeon, several enhancements to gameplay and graphics, and some new online features. It uses elements from the Persona 3 Portable engine, but the overworld elements from the PS2 version make a return. Some of the files from Persona 4 are still compatible with Persona 4 Golden, such as TMX files.

data.cpk
This is the main CPK file for the game, similar to DATA.CVM from previous titles.

MOVIE
This folder contains all videos. They use the USM container in the Japanese version, and MP4 in all other versions.

EBOOT.BIN
The game's executable.

Files (PC)
Although CPK files are present, they don't contain the game's files. Instead, they're found in PAC files named after those CPKs. These aren't traditional Atlus PAC files, but rather the ones used in the Hyperdimension Neptunia games. BGM and voices can be found in the game's SND folder in Microsoft_ADPCM format.

Filetypes

 * CPK
 * BIN/ARC
 * TMX
 * SPR
 * EPL
 * ACB/AWB
 * AT9
 * USM (replaced with MP4 internationally)
 * TBL
 * MSG
 * BVP
 * BF
 * PM1
 * AMD

Vita Firmware <= 3.60
It's possible to run mods on a Vita or PSTV system by using the ux0:patch directory of the PSVita memory card. This is where update data is normally loaded from. On firmware 3.60 and below, when substituted with unencrypted files, the game will load those in place of the originals. Alternatively, you can put your replacement data.cpk in ux0:patch/PCSE00120/data if you don't have a patched eboot with mod support. Note: Use compression and include extracted files from the original CPK. It may take awhile to create and transfer as it's over 1 GB of data.
 * 1) Install Vitashell via Henkaku.
 * 2) In Vitashell (with Wi-fi or Ethernet connected), press Select.
 * 3) Using an FTP client like Filezilla, connect to the port and IP shown onscreen.
 * 4) Drop your patched eboot.bin in ux0:patch/PCSE00120.
 * 5) Drop your mod.cpk in ux0:patch/PCSE00120/data. (Note: mod.cpk does not need to be compressed or include any unmodified files.)

Vita Firmware > 3.60
Loading unencrypted content from ux0:patch was patched out in a security update ever since 3.61. As a result, you'll need to enable a homebrew plugin called rePatch to restore the functionality. Alternatively, you can put your replacement data.cpk in ux0:rePatch/PCSE00120/data if you don't have a patched eboot with mod support. Note: Use compression and include extracted files from the original CPK. It may take awhile to create and transfer as it's over 1 GB of data.
 * 1) Install Vitashell via Henkaku.
 * 2) In Vitashell (with Wi-fi or Ethernet connected), press Select.
 * 3) Using an FTP client like Filezilla, connect to the port and IP shown onscreen.
 * 4) Send Autoplugin.vpk to your Vita. Install it with Vitashell and then run the bubble it creates.
 * 5) Install the rePatch plugin and reboot.
 * 6) In Vitashell, using FTP again, drop your patched eboot.bin in ux0:rePatch/PCSE00120.
 * 7) Drop your mod.cpk in ux0:rePatch/PCSE00120/data. (Note: mod.cpk does not need to be compressed or include any unmodified files.)

PC
The PC version is mostly identical to the PS Vita version. Hence, most instructions for that will apply as well. Take respect for the slightly changed formats (mainly the movie data and other small changes). You can apply patches through the TGE's p4gpc.modloader and Reloaded II.

Save data
You can use the P4G Save Editor (Vita) or P4G Save Editor (PC) to edit the data0xx.bin file dumped from your save.

Dumping Vita save file:
 * 1) Use Vitashell to install Vita-Savemgr.
 * 2) Select P4G, choose back up, and pick any slot.
 * 3) Using FTP, transfer the dumped save to your computer from the ux0:data/savegames directory.
 * 4) Replace the file when you're done editing and choose Restore in Vita-Savemgr.

ID Tables

 * Personas - a list of all personas in the game
 * Encounters - a list of all encounters in the game
 * Skills - a list of all skills in the game
 * Items - a list of all items in the game. That includes weapons, clothes, cards, etc.
 * SND/BGM - a list of all music tracks from game's XSB-XWB
 * BGM Loop Points - a list of the loop points in each audio file of the BGM.xwb
 * SND/ROOT_E - a list of all (english) voice lines
 * Enemies - a list of all enemies in the game
 * Fields - a list of all fields ID in the game

Models

 * Battle Models - all models used in battle:
 * Characters - a list of all characters battle models (Image-heavy page)
 * Enemies - a list of all enemy models
 * Weapon models - a list of all weapons models
 * NPC - a list of npc models
 * Field models - a list of all character models used on normal fields