1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 21:40:03 +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 account linked to committer's email address
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_HEADERS := $(foreach f,$(SOUNDFONT_BUILD_XMLS),$(f:.xml=.h))
SOUNDFONT_DEP_FILES := $(foreach f,$(SOUNDFONT_O_FILES),$(f:.o=.d)) SOUNDFONT_DEP_FILES := $(foreach f,$(SOUNDFONT_O_FILES),$(f:.o=.d))
# create extracted directories # create extracted directory
$(shell mkdir -p $(EXTRACTED_DIR) $(EXTRACTED_DIR)/assets $(EXTRACTED_DIR)/text) $(shell mkdir -p $(EXTRACTED_DIR))
ASSET_BIN_DIRS_EXTRACTED := $(shell find $(EXTRACTED_DIR)/assets -type d) 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) 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 version: str = args.oot_version
outputDir: Path = args.output_dir outputDir: Path = args.output_dir
args.output_dir.mkdir(parents=True, exist_ok=True)
versionConfig = version_config.load_version_config(version) versionConfig = version_config.load_version_config(version)
global ZAPDArgs global ZAPDArgs

View file

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