mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-02 22:14:33 +00:00
Hacks for building nes_font_static and nes_message_data_static with gc-eu-mq (#1721)
* Hack nes_font_static and nes_message_data_static * Make hardcoded config a bit more consistent * Put debug ROM first * Reword comment * Move nes_font_static hack to spec * Restore extracted/gc-eu-mq
This commit is contained in:
parent
feb64e6ad8
commit
0407594107
3 changed files with 44 additions and 17 deletions
6
Makefile
6
Makefile
|
@ -67,10 +67,6 @@ BUILD_DIR := build/$(VERSION)
|
|||
EXPECTED_DIR := expected/$(BUILD_DIR)
|
||||
BASEROM_DIR := baseroms/$(VERSION)
|
||||
EXTRACTED_DIR := extracted/$(VERSION)
|
||||
ifeq ($(VERSION),gc-eu-mq)
|
||||
# TODO: for now, we only extract assets from the Debug ROM (see setup rule)
|
||||
EXTRACTED_DIR := extracted/gc-eu-mq-dbg
|
||||
endif
|
||||
VENV := .venv
|
||||
|
||||
MAKE = make
|
||||
|
@ -369,10 +365,10 @@ setup: venv
|
|||
$(MAKE) -C tools
|
||||
$(PYTHON) tools/decompress_baserom.py $(VERSION)
|
||||
$(PYTHON) tools/extract_baserom.py $(BASEROM_DIR)/baserom-decompressed.z64 -o $(BASEROM_SEGMENTS_DIR) --dmadata-start `cat $(BASEROM_DIR)/dmadata_start.txt` --dmadata-names $(BASEROM_DIR)/dmadata_names.txt
|
||||
$(PYTHON) tools/msgdis.py --oot-version $(VERSION) --text-out $(EXTRACTED_DIR)/text/message_data.h --staff-text-out $(EXTRACTED_DIR)/text/message_data_staff.h
|
||||
# TODO: for now, we only extract assets from the Debug ROM
|
||||
ifeq ($(VERSION),gc-eu-mq-dbg)
|
||||
$(PYTHON) extract_assets.py -j$(N_THREADS)
|
||||
$(PYTHON) tools/msgdis.py --text-out $(EXTRACTED_DIR)/text/message_data.h --staff-text-out $(EXTRACTED_DIR)/text/message_data_staff.h
|
||||
endif
|
||||
|
||||
disasm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue