2021-02-05 20:00:17 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
format:
|
|
|
|
cmds:
|
2021-03-06 15:46:26 +00:00
|
|
|
- python ./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test -i
|
|
|
|
run-game:
|
|
|
|
cmds:
|
2021-05-01 14:33:41 +00:00
|
|
|
- ./out/build/Debug/bin/gk.exe -fakeiso -debug -nodisplay
|
2021-03-06 15:46:26 +00:00
|
|
|
repl:
|
|
|
|
cmds:
|
2021-05-29 00:11:06 +00:00
|
|
|
- ./out/build/Release/bin/goalc.exe -auto-lt
|
2021-05-08 02:56:37 +00:00
|
|
|
decomp:
|
|
|
|
cmds:
|
2021-05-29 00:11:06 +00:00
|
|
|
- ./out/build/Release/bin/decompiler.exe "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data/jak1" "./decompiler_out/jak1"
|
2021-05-08 02:56:37 +00:00
|
|
|
decomp-clean:
|
|
|
|
cmds:
|
|
|
|
- rm ./decompiler_out/**/*.asm
|
2021-05-09 21:03:58 +00:00
|
|
|
- rm ./decompiler_out/**/*disasm.gc
|
|
|
|
decomp-next:
|
|
|
|
cmds:
|
|
|
|
- python ./scripts/next-decomp-file.py --skip "{{.SKIP}}"
|
|
|
|
- task: decomp
|
|
|
|
vars:
|
|
|
|
SKIP: '{{default "0" .SKIP}}'
|
|
|
|
decomp-file:
|
|
|
|
cmds:
|
|
|
|
- python ./scripts/next-decomp-file.py --file "{{.FILE}}"
|
|
|
|
- task: decomp
|
|
|
|
decomp-list:
|
|
|
|
cmds:
|
2021-05-14 00:46:37 +00:00
|
|
|
- python ./scripts/next-decomp-file.py --list "{{.LIST}}"
|
|
|
|
vars:
|
|
|
|
LIST: '{{default "0" .LIST}}'
|
2021-05-15 23:42:23 +00:00
|
|
|
# python -m pip install -U watchdog[watchmedo]
|
|
|
|
decomp-watch:
|
|
|
|
cmds:
|
|
|
|
- watchmedo shell-command --drop --patterns="*.gc;*.jsonc" --recursive --command='task decomp-file FILE="{{.FILE}}"' ./decompiler/config/
|
2021-05-09 02:19:36 +00:00
|
|
|
cleanup-all-types:
|
|
|
|
cmds:
|
2021-05-09 21:09:40 +00:00
|
|
|
- python ./scripts/cleanup-all-types.py
|
2021-05-20 18:18:28 +00:00
|
|
|
analyze-ee-memory:
|
|
|
|
cmds:
|
|
|
|
- ./out/build/Debug/bin/memory_dump_tool.exe "{{.FILE}}" > ee-analysis.log
|
|
|
|
watch-pcsx2:
|
|
|
|
cmds:
|
|
|
|
- watchmedo shell-command --drop --patterns="*.p2s" --recursive --command='task analyze-ee-memory FILE="${watch_src_path}"' "{{.SAVESTATE_DIR}}"
|
|
|
|
vars:
|
|
|
|
SAVESTATE_DIR: '{{default "." .SAVESTATE_DIR}}'
|
2021-05-26 23:40:12 +00:00
|
|
|
offline-tests:
|
|
|
|
cmds:
|
2021-05-29 00:11:06 +00:00
|
|
|
- ./out/build/Release/bin/offline-test.exe "./iso_data/jak1"
|
2021-05-26 23:40:12 +00:00
|
|
|
update-reference-tests:
|
|
|
|
cmds:
|
|
|
|
- ./out/build/Debug/bin/offline-test.exe "./iso_data/jak1" --dump-mode
|
|
|
|
- python .\scripts\update_decomp_reference.py .\failures\ .\test\decompiler\reference\
|
|
|
|
- task: offline-tests
|
2021-05-20 18:18:28 +00:00
|
|
|
|