1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 01:34:18 +00:00

Make needed extracted directories in extract scripts (#2185)

This commit is contained in:
Derek Hensley 2024-09-11 07:51:53 -06:00 committed by GitHub
parent 5419a18d79
commit d9af701b88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -353,8 +353,8 @@ SOUNDFONT_O_FILES := $(foreach f,$(SOUNDFONT_BUILD_XMLS),$(f:.xml=.o))
SOUNDFONT_HEADERS := $(foreach f,$(SOUNDFONT_BUILD_XMLS),$(f:.xml=.h))
SOUNDFONT_DEP_FILES := $(foreach f,$(SOUNDFONT_O_FILES),$(f:.o=.d))
# create extracted directories
$(shell mkdir -p $(EXTRACTED_DIR) $(EXTRACTED_DIR)/assets $(EXTRACTED_DIR)/text)
# create extracted directory
$(shell mkdir -p $(EXTRACTED_DIR))
ASSET_BIN_DIRS_EXTRACTED := $(shell find $(EXTRACTED_DIR)/assets -type d)
ASSET_BIN_DIRS_COMMITTED := $(shell find assets -type d -not -path "assets/xml*" -not -path assets/text)

View file

@ -137,6 +137,8 @@ def main():
version: str = args.oot_version
outputDir: Path = args.output_dir
args.output_dir.mkdir(parents=True, exist_ok=True)
versionConfig = version_config.load_version_config(version)
global ZAPDArgs

View file

@ -2060,6 +2060,8 @@ def main():
version : str = args.oot_version
output_dir : Path = args.output_dir
args.output_dir.mkdir(parents=True, exist_ok=True)
config = version_config.load_version_config(version)
code_vram = config.dmadata_segments["code"].vram