mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
scripts: adjust scripts to ensure better decompiling consistency (#2093)
This commit is contained in:
parent
15a8a9c8ef
commit
8f4dfa27dd
|
@ -38,7 +38,7 @@ tasks:
|
||||||
- sh: test -f {{.DECOMP_BIN_RELEASE_DIR}}/decompiler{{.EXE_FILE_EXTENSION}}
|
- sh: test -f {{.DECOMP_BIN_RELEASE_DIR}}/decompiler{{.EXE_FILE_EXTENSION}}
|
||||||
msg: "Couldn't locate decompiler executable in '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler'"
|
msg: "Couldn't locate decompiler executable in '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler'"
|
||||||
cmds:
|
cmds:
|
||||||
- '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler "./decompiler/config/{{.DECOMP_CONFIG}}" ./iso_data ./decompiler_out --config-override "{\\\"decompile_code\\\":false,\\\"allowed_objects\\\":[]}"'
|
- "{{.DECOMP_BIN_RELEASE_DIR}}/decompiler \"./decompiler/config/{{.DECOMP_CONFIG}}\" \"./iso_data\" \"./decompiler_out\" --config-override '{\"decompile_code\": false, \"levels_extract\": true, \"allowed_objects\": []}'"
|
||||||
boot-game:
|
boot-game:
|
||||||
desc: "Boots the game, it will fail if it's not already compiled!"
|
desc: "Boots the game, it will fail if it's not already compiled!"
|
||||||
preconditions:
|
preconditions:
|
||||||
|
@ -86,10 +86,10 @@ tasks:
|
||||||
# DECOMPILING
|
# DECOMPILING
|
||||||
decomp:
|
decomp:
|
||||||
cmds:
|
cmds:
|
||||||
- '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler "./decompiler/config/{{.DECOMP_CONFIG}}" "./iso_data" "./decompiler_out"'
|
- "{{.DECOMP_BIN_RELEASE_DIR}}/decompiler \"./decompiler/config/{{.DECOMP_CONFIG}}\" \"./iso_data\" \"./decompiler_out\" --config-override '{\"levels_extract\": false}'"
|
||||||
decomp-file:
|
decomp-file:
|
||||||
cmds:
|
cmds:
|
||||||
- "{{.DECOMP_BIN_RELEASE_DIR}}/decompiler \"./decompiler/config/{{.DECOMP_CONFIG}}\" \"./iso_data\" \"./decompiler_out\" --config-override '{\"allowed_objects\": [\"{{.FILE}}\"]}'"
|
- "{{.DECOMP_BIN_RELEASE_DIR}}/decompiler \"./decompiler/config/{{.DECOMP_CONFIG}}\" \"./iso_data\" \"./decompiler_out\" --config-override '{\"levels_extract\": false, \"allowed_objects\": [\"{{.FILE}}\"]}'"
|
||||||
decomp-clean:
|
decomp-clean:
|
||||||
cmds:
|
cmds:
|
||||||
- python ./scripts/tasks/clean-decomp.py --game "{{.GAME}}"
|
- python ./scripts/tasks/clean-decomp.py --game "{{.GAME}}"
|
||||||
|
|
Loading…
Reference in a new issue