# ---------------------------------------------------------------------------
# NOTHING FROM THE GAME, THE FIRMWARE OR SONY GOES IN THIS REPOSITORY.
# Everything below is generated locally from the player's own disc.
# ---------------------------------------------------------------------------

# Toolkit checkout (tools/setup_toolkit.sh recreates it)
/ps3recomp/
/.venv/

# Disc images, executables, metadata
*.iso
*.ISO
*.BIN
*.bin
*.elf
*.ELF
*.self
*.SELF
*.sprx
*.SPRX
*.prx
*.PRX
*.SFO
*.sfo
*.psarc
*.PSARC
*.pkg
*.PKG
*.PUP
*.pup
*.edat
*.EDAT
*.sdat
*.SDAT
*.SFB
*.sfb

# Decrypted game files, captured modules, analysis and lifted output
game/
modules/
analysis/
recompiled/
build/
spu_images/
jobmods/
missed/
# The disc, when extracted rather than mounted
PS3_GAME/
PS3_UPDATE/
# Lifted SPU code and the raw SPU bytes it is lifted from are game code:
# regenerate them with tools/rebuild.sh spu, never commit them.
port/spu/*/spu_recomp.c
port/spu/*/spu_recomp.h
port/spu/*/image.bin
port/spu/*/functions.json
port/spu/*/lift.json
port/spu/jobmods/
port/spu/relocmods/
port/spu/images/
port/spu/raw_dump/
port/spu/captured/
# Generated by tools/prepare_r2_rawspu.py beside the lifted code
port/spu/r2_bink/register.c
port/spu/r2_rawspu_a/register.c
port/spu/r2_rawspu_b/register.c
port/spu/jobmods_register.c
port/spu/jobmods_manifest.json
generated_spu/
ppu_hle_nids.cpp
port/recompiled/
# The game's 01.60 update (tools/build_online.sh, online play): the packages,
# what is extracted from them and the decrypted EBOOT go to
# game/BCUS98120_v160/, the analysis, the lift and the build to
# analysis/, recompiled/ and build/BCUS98120_v160 (all ignored above); its SPU
# code to port/spu_v160/
port/spu_v160/
*.part

# Firmware and keys
fw/
dev_flash/
dev_flash*/
*.keys
*.KEYS
*.rap
*.RAP
*.rif
*.act.dat
idps*
act.dat

# Saves, installed game data, run directories
saves/
gamedata/
dev_hdd0/
dev_hdd1/
dev_bdvd/
vfs/
out/
runs/
*.cwd/
*.sav
*.SAV
*.done

# Frame dumps, captures and logs
*.ppm
*.wav
*.log
*.sample
*.trace
game.pid
pad

# Editor / OS noise
.DS_Store
.vscode/
.idea/
__pycache__/
*.pyc
