Migrate parts data to assets repo
This commit is contained in:
@@ -166,6 +166,22 @@ outputs:
|
||||
build:
|
||||
keep_existing_haks: false
|
||||
|
||||
generated_assets:
|
||||
topdata_2da:
|
||||
- id: parts
|
||||
source: topdata
|
||||
output: "{paths.cache}/generated-assets/parts-2da"
|
||||
include_datasets: [parts/**]
|
||||
package_root: part
|
||||
autogen:
|
||||
id: parts
|
||||
mode: parts_rows
|
||||
root: part
|
||||
include: ["**/*.mdl"]
|
||||
derive:
|
||||
kind: trailing_numeric_suffix
|
||||
group_from: first_path_segment
|
||||
|
||||
inventory:
|
||||
source_extensions: [] # empty means built-in NWN source extensions
|
||||
asset_extensions: [] # empty means built-in NWN asset extensions
|
||||
@@ -234,6 +250,11 @@ of source, but they must not resolve to the repository root (`.`). Output and
|
||||
cache paths must stay relative to the repository root unless a specific setting
|
||||
documents otherwise.
|
||||
|
||||
`generated_assets.topdata_2da` is for HAK repositories that need a small
|
||||
native-topdata subset packaged as HAK resources. It builds only `.2da` output,
|
||||
injects those generated files into `build-haks`, and rejects TLK-backed text
|
||||
because this path does not produce TLK packages.
|
||||
|
||||
Extraction is deliberately guarded because it writes source files from binary
|
||||
archives. `extract.archives` is a list of glob patterns relative to
|
||||
`paths.build`; the default is only the configured module `.mod`. HAK extraction
|
||||
|
||||
Reference in New Issue
Block a user