# --- Never commit anything derived from a game disc ---
# This project recompiles a game you own into a native program. The repo ships only our own
# tools, docs and small patch *offsets* (not game code or data). Nothing below this line is ever
# meant to be tracked; see README.md "What's in this repo" / ps2-native-recomp's own README.
*.iso
*.bin
*.cue
*.img
*.chd
*.cso

# Everything build.sh/port.sh produce from your disc image: the extracted boot executable, the
# C++ translated from the game's own code, and the built game program. These belong to the game's
# owners, not to this repo (ps2-native-recomp/README.md "Your own disc").
/analysis/
/dist/
/ps2-native-recomp/games/
/ps2-native-recomp/generated/
/ps2-native-recomp/build/

# Packaged builds: a built game is the game's code.
*.zip

# Pictures/recordings taken from a running game (except the README's screenshot collages, allowed below).
/screenshots/
*.ppm
*.png
*.jpg
*.jpeg
*.gif
!/legaia2_collage*.png
*.webp
*.bmp
*.mp4
*.webm
*.avi
*.mkv

# Memory cards (game saves), save states, raw memory dumps.
*.ps2
*.mcd
*.mc2
*.sav
*.state
*.sstate
*.dmp

# --- Local build tooling (regenerated by build.sh, not source) ---
/deps/
/ps2-native-recomp/third_party/wgpu-native/
/ps2-native-recomp/third_party/wgpu-native-win/
/ps2-native-recomp/third_party/llvm-mingw/
/ps2-native-recomp/third_party/sdl2/
/ps2-native-recomp/third_party/dxc/
/ps2-native-recomp/tools/emsdk/
/ps2-native-recomp/tools/*
!/ps2-native-recomp/tools/ps2_disc_toolkit/

# --- Logs, caches, editor/session noise ---
*.log
__pycache__/
*.pyc
.DS_Store
/.claude/

# --- The game build.sh puts in this folder (a built game is the game's code: never committed) ---
/disc/*
!/disc/PUT_YOUR_ISO_HERE.txt
/Legaia2
/Legaia2.exe
/libSDL2-2.0.so.0
/SDL2.dll
/dxcompiler.dll
/dxil.dll
/standalone.ini
/LICENSES/
/userdata/
