mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
Merge remote-tracking branch 'decomp/main' into decomp_merge
This commit is contained in:
20
Makefile
20
Makefile
@@ -707,9 +707,9 @@ setup: venv
|
||||
$(V)$(PYTHON) tools/decompress_baserom.py $(VERSION)
|
||||
$(call print_no_args,Decompressing baserom: Done!)
|
||||
$(V)$(PYTHON) tools/extract_baserom.py $(BASEROM_DIR)/baserom-decompressed.z64 $(EXTRACTED_DIR)/baserom -v $(VERSION)
|
||||
$(V)$(PYTHON) -m tools.assets.extract $(EXTRACTED_DIR)/baserom $(EXTRACTED_DIR) -v $(VERSION) -j$(N_THREADS)
|
||||
$(V)$(PYTHON) tools/extract_incbins.py $(EXTRACTED_DIR)/baserom $(EXTRACTED_DIR)/incbin -v $(VERSION)
|
||||
$(V)$(PYTHON) tools/extract_text.py $(EXTRACTED_DIR)/baserom $(EXTRACTED_DIR)/text -v $(VERSION)
|
||||
$(V)$(PYTHON) tools/extract_assets.py $(EXTRACTED_DIR)/baserom $(EXTRACTED_DIR)/assets -v $(VERSION) -j$(N_THREADS)
|
||||
$(V)$(PYTHON) tools/extract_audio.py -b $(EXTRACTED_DIR)/baserom -o $(EXTRACTED_DIR) -v $(VERSION) --read-xml
|
||||
$(call print_no_args,Extracting files: Done!)
|
||||
|
||||
@@ -938,21 +938,25 @@ $(BUILD_DIR)/src/overlays/%_reloc.o: $(BUILD_DIR)/spec
|
||||
$(V)$(POSTPROCESS_OBJ) $(@:.o=.s)
|
||||
$(V)$(AS) $(ASFLAGS) $(@:.o=.s) -o $@
|
||||
|
||||
$(BUILD_DIR)/assets/%.inc.c: assets/%.png
|
||||
$(V)$(N64TEXCONV) $(subst .,,$(suffix $*)) "$(findstring u32,$(subst .,,$(suffix $(basename $*))))" $< $@ $(@:.inc.c=.pal.inc.c)
|
||||
# Assets from assets/
|
||||
|
||||
$(BUILD_DIR)/assets/%.inc.c: $(EXTRACTED_DIR)/assets/%.png
|
||||
$(V)$(N64TEXCONV) $(subst .,,$(suffix $*)) "$(findstring u32,$(subst .,,$(suffix $(basename $*))))" $< $@ $(@:.inc.c=.pal.inc.c)
|
||||
$(BUILD_DIR)/assets/%.inc.c: assets/%.png
|
||||
$(V)tools/assets/build_from_png/build_from_png $< $(dir $@) assets/$(dir $*) $(wildcard $(EXTRACTED_DIR)/assets/$(dir $*))
|
||||
|
||||
$(BUILD_DIR)/assets/%.bin.inc.c: assets/%.bin
|
||||
$(V)$(BIN2C) -t 1 $< $@
|
||||
|
||||
$(BUILD_DIR)/assets/%.bin.inc.c: $(EXTRACTED_DIR)/assets/%.bin
|
||||
$(V)$(BIN2C) -t 1 $< $@
|
||||
|
||||
$(BUILD_DIR)/assets/%.jpg.inc.c: assets/%.jpg
|
||||
$(V)$(N64TEXCONV) JFIF "" $< $@
|
||||
|
||||
# Assets from extracted/
|
||||
|
||||
$(BUILD_DIR)/assets/%.inc.c: $(EXTRACTED_DIR)/assets/%.png
|
||||
$(V)tools/assets/build_from_png/build_from_png $< $(dir $@) $(wildcard assets/$(dir $*)) $(EXTRACTED_DIR)/assets/$(dir $*)
|
||||
|
||||
$(BUILD_DIR)/assets/%.bin.inc.c: $(EXTRACTED_DIR)/assets/%.bin
|
||||
$(V)$(BIN2C) -t 1 $< $@
|
||||
|
||||
$(BUILD_DIR)/assets/%.jpg.inc.c: $(EXTRACTED_DIR)/assets/%.jpg
|
||||
$(V)$(N64TEXCONV) JFIF "" $< $@
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<Array Name="sTransCircleVtx" Count="34" Offset="0x1000">
|
||||
<Vtx/>
|
||||
</Array>
|
||||
<!-- ZAPD isn't finding symbols correctly, instead finding them much later in `code`-->
|
||||
<!--<DList Name="sTransCircleDL" Offset="0x1220"/>-->
|
||||
<DList Name="sTransCircleDL" Offset="0x1220"/>
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
<Vtx/>
|
||||
</Array>
|
||||
<Texture Name="sTransWipeTex" OutName="trans_wipe" Format="i4" Width="64" Height="64" Offset="0x190"/>
|
||||
<!-- ZAPD isn't finding symbols correctly, instead finding them much later in `code`-->
|
||||
<!-- <DList Name="sTransWipeDL" Offset="0x990"/> -->
|
||||
<DList Name="sTransWipeDL" Offset="0x990"/>
|
||||
</File>
|
||||
</Root>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile XmlPath="misc/link_animetion.xml" OutPath="assets/misc/link_animetion/"/>
|
||||
<ExternalFile OutPath="assets/misc/link_animetion/"/>
|
||||
<File Name="gameplay_keep" Segment="4">
|
||||
<Texture Name="gHilite1Tex" OutName="hilite_1" Format="rgba16" Width="16" Height="16" Offset="0x0"/>
|
||||
<Texture Name="gHilite2Tex" OutName="hilite_2" Format="rgba16" Width="16" Height="16" Offset="0x200"/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile XmlPath="misc/link_animetion.xml" OutPath="assets/misc/link_animetion/"/>
|
||||
<ExternalFile OutPath="assets/misc/link_animetion/"/>
|
||||
<File Name="gameplay_keep" Segment="4">
|
||||
<Texture Name="gHilite1Tex" OutName="hilite_1" Format="rgba16" Width="16" Height="16" Offset="0x0"/>
|
||||
<Texture Name="gHilite2Tex" OutName="hilite_2" Format="rgba16" Width="16" Height="16" Offset="0x200"/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile XmlPath="objects/gameplay_dangeon_keep.xml" OutPath="assets/objects/gameplay_dangeon_keep/"/>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_dangeon_keep/"/>
|
||||
<File Name="object_bdoor" Segment="6">
|
||||
<!-- One of the Boss Door Textures -->
|
||||
<Texture Name="gBossDoorGanonsCastleTex" OutName="boss_door_ganons_castle" Format="rgba16" Width="32" Height="64" Offset="0x0"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_demo_6k" Segment="6">
|
||||
<Texture Name="object_demo_6k_Tex_000000" OutName="tex_00000000" Format="i8" Width="64" Height="64" Offset="0x0"/>
|
||||
<DList Name="object_demo_6k_DL_001040" Offset="0x1040"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_demo_kekkai" Segment="6">
|
||||
<!-- Demo_Kekkai -->
|
||||
<DList Name="gTowerBarrierDL" Offset="0x4930"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_efc_erupc" Segment="6">
|
||||
<Texture Name="object_efc_erupc_Tex_000000" OutName="tex_00000000" Format="i8" Width="32" Height="64" Offset="0x0"/>
|
||||
<Texture Name="object_efc_erupc_Tex_000800" OutName="tex_00000800" Format="i4" Width="64" Height="64" Offset="0x800"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_fish" Segment="6">
|
||||
<Animation Name="gFishingFishAnim" Offset="0x7C"/>
|
||||
<DList Name="gFishingFishDL_000940" Offset="0x940"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_fz" Segment="6">
|
||||
<DList Name="gFreezardIntactDL" Offset="0x1130"/>
|
||||
<DList Name="gFreezardTopRightHornChippedDL" Offset="0x21A0"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_arrow" Segment="6">
|
||||
<DList Name="gGiArrowSmallDL" Offset="0x0340"/>
|
||||
<DList Name="gGiArrowMediumDL" Offset="0x0B90"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_arrowcase" Segment="6">
|
||||
<DList Name="gGiQuiver30InnerColorDL" Offset="0x08D0"/>
|
||||
<DList Name="gGiQuiver40InnerColorDL" Offset="0x08F0"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_bean" Segment="6">
|
||||
<DList Name="gGiBeanDL" Offset="0x0580"/>
|
||||
</File>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_bomb_1" Segment="6">
|
||||
<DList Name="gGiBombDL" Offset="0x09A0"/>
|
||||
</File>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_bomb_2" Segment="6">
|
||||
<DList Name="gGiBombchuDL" Offset="0x04B0"/>
|
||||
</File>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_bombpouch" Segment="6">
|
||||
<DList Name="gGiBombBag20BagColorDL" Offset="0x0AD0"/>
|
||||
<DList Name="gGiBombBag30BagColorDL" Offset="0x0AF0"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_boomerang" Segment="6">
|
||||
<DList Name="gGiBoomerangDL" Offset="0x0A30"/>
|
||||
</File>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_boots_2" Segment="6">
|
||||
<DList Name="gGiIronBootsDL" Offset="0x1630"/>
|
||||
<DList Name="gGiIronBootsRivetsDL" Offset="0x1A98"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Root>
|
||||
<ExternalFile OutPath="assets/objects/gameplay_keep"/>
|
||||
<File Name="object_gi_bosskey" Segment="6">
|
||||
<DList Name="gGiBossKeyDL" Offset="0x0CA0"/>
|
||||
<DList Name="gGiBossKeyGemDL" Offset="0x0F08"/>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user