game: add SDL controller database (#1328)

* game: add SDL controller database

* lint: formatting
This commit is contained in:
Tyler Wilding
2022-04-20 18:20:59 -04:00
committed by GitHub
parent 5369932fcd
commit 0d4b5f8df4
5 changed files with 1671 additions and 3 deletions
+5
View File
@@ -6,18 +6,21 @@ includes:
tasks:
# GENERAL
extract-jak1:
desc: "Extracts Jak 1 - NTSC - Black Label assets"
preconditions:
- sh: test -f {{.DECOMP_BIN_RELEASE_DIR}}/decompiler{{.EXE_FILE_EXTENSION}}
msg: "Couldn't locate decompiler executable -- Have you compiled in release mode?"
cmds:
- '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data" "./decompiler_out" "decompile_code=false"'
boot-game:
desc: "Boots the game"
preconditions:
- sh: test -f {{.GK_BIN_RELEASE_DIR}}/gk{{.EXE_FILE_EXTENSION}}
msg: "Couldn't locate runtime executable -- Have you compiled in release mode?"
cmds:
- "{{.GK_BIN_RELEASE_DIR}}/gk -boot -fakeiso -debug -v"
run-game:
desc: "Start the game's runtime"
preconditions:
- sh: test -f {{.GK_BIN_RELEASE_DIR}}/gk{{.EXE_FILE_EXTENSION}}
msg: "Couldn't locate runtime executable -- Have you compiled in release mode?"
@@ -30,6 +33,7 @@ tasks:
cmds:
- "{{.GK_BIN_RELEASE_DIR}}/gk -fakeiso"
repl:
desc: "Start the REPL"
env:
OPENGOAL_DECOMP_DIR: "jak1/"
preconditions:
@@ -39,6 +43,7 @@ tasks:
- "{{.GOALC_BIN_RELEASE_DIR}}/goalc"
# DEVELOPMENT
format:
desc: "Format code"
cmds:
- cmd: python ./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test -i
# npm install -g prettier