2021-02-05 20:00:17 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
format:
|
|
|
|
cmds:
|
2021-10-17 01:01:23 +00:00
|
|
|
- cmd: python ./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test -i
|
|
|
|
# npm install -g prettier
|
|
|
|
- cmd: prettier --write ./decompiler/config/jak1_ntsc_black_label/*.jsonc
|
|
|
|
ignore_error: true
|
2021-03-06 15:46:26 +00:00
|
|
|
run-game:
|
|
|
|
cmds:
|
2022-01-18 06:14:47 +00:00
|
|
|
- ./out/build/Release/bin/gk.exe -fakeiso -debug -v
|
2021-11-14 03:41:15 +00:00
|
|
|
run-game-headless:
|
|
|
|
cmds:
|
|
|
|
- ./out/build/Release/bin/gk.exe -fakeiso -debug -nodisplay
|
2021-03-06 15:46:26 +00:00
|
|
|
repl:
|
2021-11-14 03:41:15 +00:00
|
|
|
env:
|
|
|
|
OPENGOAL_DECOMP_DIR: "jak1/"
|
2021-03-06 15:46:26 +00:00
|
|
|
cmds:
|
2021-11-14 03:41:15 +00:00
|
|
|
# (mi) | (test-play)
|
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-file:
|
|
|
|
cmds:
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
2021-05-09 21:03:58 +00:00
|
|
|
- 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:
|
2021-09-20 01:45:14 +00:00
|
|
|
- watchmedo shell-command --drop --patterns="*.gc;*.jsonc" --recursive --command='task decomp-file FILES="{{.FILES}}"' ./decompiler/config/
|
2021-06-02 02:41:37 +00:00
|
|
|
clean-all-types:
|
2021-05-09 02:19:36 +00:00
|
|
|
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:
|
2021-07-04 22:25:08 +00:00
|
|
|
- ./out/build/Release/bin/memory_dump_tool.exe "{{.FILE}}" ./ > ee-analysis.log
|
2021-05-20 18:18:28 +00:00
|
|
|
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-06-07 03:01:30 +00:00
|
|
|
add-reference-test:
|
|
|
|
cmds:
|
|
|
|
- task: decomp-file
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
2021-06-07 03:01:30 +00:00
|
|
|
- task: offline-tests
|
2021-09-07 01:10:19 +00:00
|
|
|
add-reference-test-no-decomp:
|
|
|
|
cmds:
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
2021-09-07 01:10:19 +00:00
|
|
|
- task: offline-tests
|
2021-05-26 23:40:12 +00:00
|
|
|
update-reference-tests:
|
|
|
|
cmds:
|
2021-07-04 22:25:08 +00:00
|
|
|
- cmd: python ./scripts/default-file-or-folder.py --path failures
|
2021-06-07 03:01:30 +00:00
|
|
|
- cmd: ./out/build/Release/bin/offline-test.exe "./iso_data/jak1" --dump-mode
|
|
|
|
ignore_error: true
|
2021-06-13 01:52:55 +00:00
|
|
|
- python ./scripts/update_decomp_reference.py ./failures ./test/decompiler/reference/
|
2021-05-26 23:40:12 +00:00
|
|
|
- task: offline-tests
|
2021-08-14 01:14:05 +00:00
|
|
|
find-label-types:
|
|
|
|
cmds:
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
2021-08-14 01:14:05 +00:00
|
|
|
- task: decomp
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/find-label-types.py --file "{{.FILES}}"
|
2021-09-06 18:29:06 +00:00
|
|
|
type-test:
|
|
|
|
cmds:
|
2021-12-11 18:27:24 +00:00
|
|
|
- cmd: ./out/build/Release/bin/goalc-test.exe --gtest_brief=0 --gtest_filter="*MANUAL_TEST_TypeConsistencyWithBuildFirst*"
|
|
|
|
ignore_error: true
|
2021-11-24 05:33:10 +00:00
|
|
|
check-gsrc-file:
|
|
|
|
cmds:
|
|
|
|
- python ./scripts/check-gsrc-file.py --files "{{.FILES}}"
|
2021-09-20 01:45:14 +00:00
|
|
|
update-gsrc:
|
|
|
|
cmds:
|
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
|
|
|
- task: decomp
|
2021-11-24 05:33:10 +00:00
|
|
|
- task: find-label-types
|
2021-09-20 01:45:14 +00:00
|
|
|
- python ./scripts/update-goal-src.py --files "{{.FILES}}"
|
|
|
|
- task: type-test
|
2021-11-24 05:33:10 +00:00
|
|
|
- task: check-gsrc-file
|
2021-10-17 01:01:23 +00:00
|
|
|
cast-repl:
|
|
|
|
cmds:
|
|
|
|
- cmd: python ./scripts/cast-repl.py
|