mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +00:00
Make needed extracted directories in extract scripts (#2185)
This commit is contained in:
parent
5419a18d79
commit
d9af701b88
3 changed files with 6 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue