Document asset extraction
This commit is contained in:
parent
bc31a5b90d
commit
90a464aea1
|
@ -3,7 +3,8 @@
|
|||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/include/**"
|
||||
"${workspaceFolder}/include/**",
|
||||
"${workspaceFolder}/build/*/include"
|
||||
],
|
||||
"cStandard": "c99",
|
||||
"cppStandard": "c++98",
|
||||
|
|
|
@ -98,3 +98,18 @@ modules:
|
|||
# (optional) Custom template for `ldscript.lcf`, if needed.
|
||||
# See https://github.com/encounter/decomp-toolkit/blob/main/assets/ldscript_partial.lcf
|
||||
ldscript_template: config/GAMEID/module/ldscript.tpl
|
||||
|
||||
# (optional) Configuration for asset extraction.
|
||||
extract:
|
||||
|
||||
- # The symbol name to extract.
|
||||
symbol: SomeSymbol
|
||||
|
||||
# (optional) The path to extract raw binary data to.
|
||||
# Path is relative to `build/GAMEID/bin`.
|
||||
binary: Lib/SomeSymbol.bin
|
||||
|
||||
# (optional) The path to extract a C array representation to.
|
||||
# In a C/C++ file, the symbol can be included with `#include "Lib/SomeSymbol.inc"`.
|
||||
# Path is relative to `build/GAMEID/include`.
|
||||
header: Lib/SomeSymbol.inc
|
|
@ -118,7 +118,7 @@ if not is_windows():
|
|||
|
||||
# Tool versions
|
||||
config.compilers_tag = "20231018"
|
||||
config.dtk_tag = "v0.6.0"
|
||||
config.dtk_tag = "v0.6.2"
|
||||
config.sjiswrap_tag = "v1.1.1"
|
||||
config.wibo_tag = "0.6.9"
|
||||
|
||||
|
@ -150,8 +150,9 @@ cflags_base = [
|
|||
"-RTTI off",
|
||||
"-fp_contract on",
|
||||
"-str reuse",
|
||||
"-i include",
|
||||
"-multibyte", # For Wii compilers, replace with `-enc SJIS`
|
||||
"-i include",
|
||||
f"-i build/{config.version}/include",
|
||||
f"-DVERSION={version_num}",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue