mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
7edfc8bcec
* blocked: `part-tester` - `code` handler thinks it returns nothing * blocked: `crates` finished but `go` is returning none causing issues * blocked: `(event ram-boss-idle)::snow-ram-boss` expression building fails due to delay slot issue * decomp: finish `snow-ram` | `seagull` blocked, new static data issue * decomp: finish `snow-bumper` * stuck: `snow-ball` close, can't figure out a type made on the stack * decomp: finish `spider-egg` * decomp: finish `puffer` * decomp: finish `driller-lurker` * decomp: finish `dark-crystal` * stuck: `kermit` - mostly done but stuck on a joint related callback arg * decomp: finish `gnawer` * decomp: finish `mother-spider-egg` * decomp: finish `swamp-blimp` * stuck: `mistycannon` prebind function signature * decomp: finish `citb-plat` * decomp: finish `darkvine` * blocked: `jungle-mirrors` - issues with `link` macro * decomp: finish `launcherdoor` * decomp: finish `quicksandlurker` except for 1 unused function * stuck: `balloonlurker` - `(code balloonlurker-mine-explode)` has some weird joint related code * stuck: need to decompile an asm func in `orbit-plat` * decomp: finish `voicebox` * blocked: `mother-spider` has issues where `go` returns none * decomp: finish `bully` * decomp: finish `seagull` * fixed up after merge conflicts * decomp: finish `jungle-mirrors` * update gsrc * double checked files, fixed issues * decomp: revert change to projectile methods * decomp: some more fixes * address feedback * fix up remaining method calls in `cam-states` * fix jungle-mirrors
95 lines
3.2 KiB
YAML
95 lines
3.2 KiB
YAML
version: '3'
|
|
|
|
tasks:
|
|
format:
|
|
cmds:
|
|
- 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
|
|
run-game:
|
|
cmds:
|
|
- ./out/build/Release/bin/gk.exe -fakeiso -debug
|
|
run-game-headless:
|
|
cmds:
|
|
- ./out/build/Release/bin/gk.exe -fakeiso -debug -nodisplay
|
|
repl:
|
|
env:
|
|
OPENGOAL_DECOMP_DIR: "jak1/"
|
|
cmds:
|
|
# (mi) | (test-play)
|
|
- ./out/build/Release/bin/goalc.exe -auto-lt
|
|
decomp:
|
|
cmds:
|
|
- ./out/build/Release/bin/decompiler.exe "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data/jak1" "./decompiler_out/jak1"
|
|
decomp-clean:
|
|
cmds:
|
|
- rm ./decompiler_out/**/*.asm
|
|
- rm ./decompiler_out/**/*disasm.gc
|
|
decomp-file:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
|
- task: decomp
|
|
decomp-list:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --list "{{.LIST}}"
|
|
vars:
|
|
LIST: '{{default "0" .LIST}}'
|
|
# python -m pip install -U watchdog[watchmedo]
|
|
decomp-watch:
|
|
cmds:
|
|
- watchmedo shell-command --drop --patterns="*.gc;*.jsonc" --recursive --command='task decomp-file FILES="{{.FILES}}"' ./decompiler/config/
|
|
clean-all-types:
|
|
cmds:
|
|
- python ./scripts/cleanup-all-types.py
|
|
analyze-ee-memory:
|
|
cmds:
|
|
- ./out/build/Release/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}}'
|
|
offline-tests:
|
|
cmds:
|
|
- ./out/build/Release/bin/offline-test.exe "./iso_data/jak1"
|
|
add-reference-test:
|
|
cmds:
|
|
- task: decomp-file
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
|
- task: offline-tests
|
|
add-reference-test-no-decomp:
|
|
cmds:
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
|
- task: offline-tests
|
|
update-reference-tests:
|
|
cmds:
|
|
- cmd: python ./scripts/default-file-or-folder.py --path failures
|
|
- cmd: ./out/build/Release/bin/offline-test.exe "./iso_data/jak1" --dump-mode
|
|
ignore_error: true
|
|
- python ./scripts/update_decomp_reference.py ./failures ./test/decompiler/reference/
|
|
- task: offline-tests
|
|
find-label-types:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
|
- task: decomp
|
|
- python ./scripts/find-label-types.py --file "{{.FILES}}"
|
|
type-test:
|
|
cmds:
|
|
- cmd: ./out/build/Release/bin/goalc-test.exe --gtest_brief=0 --gtest_filter="*MANUAL_TEST_TypeConsistencyWithBuildFirst*"
|
|
ignore_error: true
|
|
check-gsrc-file:
|
|
cmds:
|
|
- python ./scripts/check-gsrc-file.py --files "{{.FILES}}"
|
|
update-gsrc:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
|
- task: decomp
|
|
- task: find-label-types
|
|
- python ./scripts/update-goal-src.py --files "{{.FILES}}"
|
|
- task: type-test
|
|
- task: check-gsrc-file
|
|
cast-repl:
|
|
cmds:
|
|
- cmd: python ./scripts/cast-repl.py
|