mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
Merge pull request #155 from Yanis002/decomp_merge
Merge zeldaret/oot changes
This commit is contained in:
262
.vscode/c_cpp_properties.json
vendored
262
.vscode/c_cpp_properties.json
vendored
@@ -1,37 +1,86 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "hackeroot-mq",
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"name": "oot-ntsc-1.2",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"intelliSenseMode": "gcc-x86",
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/hackeroot-mq",
|
||||
"build/ntsc-1.2",
|
||||
".",
|
||||
"extracted/hackeroot-mq"
|
||||
"extracted/ntsc-1.2"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=NTSC_1_2",
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=1",
|
||||
"PLATFORM_GC=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"ENABLE_HACKEROOT=1",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1",
|
||||
"OOT_VERSION=OOT_GC_EU_MQ_DBG",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"OOT_PAL=1",
|
||||
"OOT_MQ=1",
|
||||
"OOT_DEBUG=1",
|
||||
"COMPRESS_YAZ=1"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-jp",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-jp",
|
||||
".",
|
||||
"extracted/gc-jp"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=GC_JP",
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE",
|
||||
"GBI_DEBUG"
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89",
|
||||
"cppStandard": "${default}"
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-jp-mq",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-jp-mq",
|
||||
".",
|
||||
"extracted/gc-jp-mq"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=GC_JP_MQ",
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-us",
|
||||
@@ -48,14 +97,11 @@
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"ENABLE_HACKEROOT=0",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1",
|
||||
"OOT_VERSION=OOT_GC_US",
|
||||
"OOT_VERSION=GC_US",
|
||||
"OOT_REGION=REGION_US",
|
||||
"OOT_NTSC=1",
|
||||
"OOT_MQ=0",
|
||||
"OOT_DEBUG=0",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -64,7 +110,7 @@
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-eu",
|
||||
"name": "oot-gc-us-mq",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
@@ -72,50 +118,17 @@
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-eu",
|
||||
"build/gc-us-mq",
|
||||
".",
|
||||
"extracted/gc-eu"
|
||||
"extracted/gc-us-mq"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"ENABLE_HACKEROOT=0",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1",
|
||||
"OOT_VERSION=OOT_GC_EU",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"OOT_PAL=1",
|
||||
"OOT_MQ=0",
|
||||
"OOT_DEBUG=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-eu-mq",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-eu-mq",
|
||||
".",
|
||||
"extracted/gc-eu-mq"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"ENABLE_HACKEROOT=0",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1",
|
||||
"OOT_VERSION=OOT_GC_EU_MQ",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"OOT_PAL=1",
|
||||
"OOT_MQ=1",
|
||||
"OOT_DEBUG=0",
|
||||
"OOT_VERSION=GC_US_MQ",
|
||||
"OOT_REGION=REGION_US",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -138,22 +151,129 @@
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"ENABLE_HACKEROOT=0",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1",
|
||||
"OOT_VERSION=OOT_GC_EU_MQ_DBG",
|
||||
"OOT_VERSION=GC_EU_MQ_DBG",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"OOT_PAL=1",
|
||||
"OOT_MQ=1",
|
||||
"OOT_DEBUG=1",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=1",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE",
|
||||
"GBI_DEBUG"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-eu",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-eu",
|
||||
".",
|
||||
"extracted/gc-eu"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=GC_EU",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-eu-mq",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-eu-mq",
|
||||
".",
|
||||
"extracted/gc-eu-mq"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=GC_EU_MQ",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "oot-gc-jp-ce",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/gc-jp-ce",
|
||||
".",
|
||||
"extracted/gc-jp-ce"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=GC_JP_CE",
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
},
|
||||
{
|
||||
"name": "hackeroot",
|
||||
"compilerArgs": [
|
||||
"-m32"
|
||||
],
|
||||
"includePath": [
|
||||
"include",
|
||||
"include/libc",
|
||||
"src",
|
||||
"build/hackeroot-mq",
|
||||
".",
|
||||
"extracted/hackeroot-mq"
|
||||
],
|
||||
"defines": [
|
||||
"_LANGUAGE_C",
|
||||
"OOT_VERSION=OOT_GC_EU_MQ_DBG",
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"DEBUG_FEATURES=1",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE",
|
||||
"ENABLE_HACKEROOT=1",
|
||||
"RELEASE_ROM=0",
|
||||
"COMPRESS_YAZ=1"
|
||||
],
|
||||
"cStandard": "gnu89"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
|
||||
pkg-config \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
git \
|
||||
wget \
|
||||
unzip \
|
||||
|
||||
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@@ -29,10 +29,10 @@ pipeline {
|
||||
// The ROMs are built in an order that maximizes compiler flags coverage in a "fail fast" approach.
|
||||
// Specifically we start with a retail ROM for BSS ordering, and make sure we cover all of
|
||||
// N64/GC/NTSC/PAL/MQ/DEBUG as quickly as possible.
|
||||
stage('Build ntsc-1.2') {
|
||||
stage('Build ntsc-1.0') {
|
||||
steps {
|
||||
script {
|
||||
build('ntsc-1.2', 'oot-ntsc-1.2-us.z64')
|
||||
build('ntsc-1.0', 'oot-ntsc-1.0-us.z64')
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,6 +64,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build ntsc-1.2') {
|
||||
steps {
|
||||
script {
|
||||
build('ntsc-1.2', 'oot-ntsc-1.2-us.z64')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build gc-us') {
|
||||
steps {
|
||||
script {
|
||||
@@ -99,6 +106,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build ntsc-1.1') {
|
||||
steps {
|
||||
script {
|
||||
build('ntsc-1.1', 'oot-ntsc-1.1-us.z64')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build gc-us-mq') {
|
||||
steps {
|
||||
script {
|
||||
|
||||
55
Makefile
55
Makefile
@@ -20,6 +20,8 @@ COMPILER ?= gcc
|
||||
|
||||
# Target game version. Ensure the corresponding input ROM is placed in baseroms/$(VERSION)/baserom.z64.
|
||||
# Currently the following versions are supported:
|
||||
# ntsc-1.0 N64 NTSC 1.0 (Japan/US depending on REGION)
|
||||
# ntsc-1.1 N64 NTSC 1.1 (Japan/US depending on REGION)
|
||||
# pal-1.0 N64 PAL 1.0 (Europe)
|
||||
# ntsc-1.2 N64 NTSC 1.2 (Japan/US depending on REGION)
|
||||
# pal-1.1 N64 PAL 1.1 (Europe)
|
||||
@@ -32,9 +34,6 @@ COMPILER ?= gcc
|
||||
# gc-eu-mq GameCube Europe/PAL Master Quest
|
||||
# gc-jp-ce GameCube Japan (Collector's Edition disc)
|
||||
# hackeroot-mq HackerOoT, based on gc-eu-mq-dbg (default)
|
||||
# The following versions are work-in-progress and not yet matching:
|
||||
# ntsc-1.0 N64 NTSC 1.0 (Japan/US depending on REGION)
|
||||
# ntsc-1.1 N64 NTSC 1.1 (Japan/US depending on REGION)
|
||||
#
|
||||
# Note: choosing hackeroot-mq will enable HackerOoT features,
|
||||
# if another version is chosen, this repo will be like
|
||||
@@ -53,6 +52,11 @@ N64_EMULATOR ?=
|
||||
# Set to override game region in the ROM header (options: JP, US, EU). This can be used to build a fake US version
|
||||
# of the debug ROM for better emulator compatibility, or to build US versions of NTSC N64 ROMs.
|
||||
# REGION ?= US
|
||||
# Set to enable debug features regardless of ROM version.
|
||||
# Note that by enabling debug features on non-debug ROM versions, some debug ROM specific assets will not be included.
|
||||
# This means the debug test scenes and some debug graphics in the elf_msg actors will not work as expected.
|
||||
# This may also be used to disable debug features on debug ROMs by setting DEBUG_FEATURES to 0
|
||||
# DEBUG_FEATURES ?= 1
|
||||
|
||||
CFLAGS ?=
|
||||
CPPFLAGS ?=
|
||||
@@ -65,65 +69,63 @@ ifeq ($(VERSION),ntsc-1.0)
|
||||
REGIONAL_CHECKSUM := 1
|
||||
REGION ?= JP
|
||||
PLATFORM := N64
|
||||
DEBUG := 0
|
||||
COMPARE := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),ntsc-1.1)
|
||||
REGIONAL_CHECKSUM := 1
|
||||
REGION ?= JP
|
||||
PLATFORM := N64
|
||||
DEBUG := 0
|
||||
COMPARE := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),pal-1.0)
|
||||
REGION ?= EU
|
||||
PLATFORM := N64
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),ntsc-1.2)
|
||||
REGIONAL_CHECKSUM := 1
|
||||
REGION ?= JP
|
||||
PLATFORM := N64
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),pal-1.1)
|
||||
REGION ?= EU
|
||||
PLATFORM := N64
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-jp)
|
||||
REGION ?= JP
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-jp-mq)
|
||||
REGION ?= JP
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-us)
|
||||
REGION ?= US
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-us-mq)
|
||||
REGION ?= US
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-eu-mq-dbg)
|
||||
REGION ?= EU
|
||||
PLATFORM := GC
|
||||
DEBUG := 1
|
||||
DEBUG_FEATURES ?= 1
|
||||
else ifeq ($(VERSION),gc-eu)
|
||||
REGION ?= EU
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-eu-mq)
|
||||
REGION ?= EU
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),gc-jp-ce)
|
||||
REGION ?= JP
|
||||
PLATFORM := GC
|
||||
DEBUG := 0
|
||||
DEBUG_FEATURES ?= 0
|
||||
else ifeq ($(VERSION),hackeroot-mq)
|
||||
REGION := NULL
|
||||
PLATFORM := GC
|
||||
PAL := 1
|
||||
MQ := 1
|
||||
DEBUG := 1
|
||||
DEBUG_FEATURES ?= 1
|
||||
else
|
||||
$(error Unsupported version $(VERSION))
|
||||
endif
|
||||
@@ -180,23 +182,24 @@ ifeq ($(VERSION),hackeroot-mq)
|
||||
OPTFLAGS := -Os
|
||||
|
||||
ifeq ($(RELEASE),1)
|
||||
CPP_DEFINES += -DRELEASE_ROM=1 -DOOT_DEBUG=0
|
||||
CFLAGS_IDO += -DOOT_DEBUG=0
|
||||
CPP_DEFINES += -DRELEASE_ROM=1 -DDEBUG_FEATURES=0 -DNDEBUG
|
||||
CFLAGS_IDO += -DDEBUG_FEATURES=0
|
||||
else
|
||||
CPP_DEFINES += -DRELEASE_ROM=0 -DOOT_DEBUG=1
|
||||
CPP_DEFINES += -DRELEASE_ROM=0 -DDEBUG_FEATURES=1
|
||||
endif
|
||||
else
|
||||
ifeq ($(DEBUG),1)
|
||||
CPP_DEFINES += -DOOT_DEBUG=1
|
||||
ifeq ($(DEBUG_FEATURES),1)
|
||||
CPP_DEFINES += -DDEBUG_FEATURES=1
|
||||
OPTFLAGS := -O2
|
||||
else
|
||||
CPP_DEFINES += -DNDEBUG -DOOT_DEBUG=0
|
||||
CPP_DEFINES += -DDEBUG_FEATURES=0 -DNDEBUG
|
||||
OPTFLAGS := -O2 -g3
|
||||
endif
|
||||
|
||||
CPP_DEFINES += -DENABLE_HACKEROOT=0
|
||||
endif
|
||||
|
||||
|
||||
# Override optimization flags if using GDB
|
||||
ifeq ($(ARES_GDB),1)
|
||||
OPTFLAGS := -Og -ggdb3
|
||||
@@ -285,7 +288,7 @@ GBI_DEFINES := -DF3DEX_GBI_2
|
||||
ifeq ($(PLATFORM),GC)
|
||||
GBI_DEFINES += -DF3DEX_GBI_PL -DGBI_DOWHILE
|
||||
endif
|
||||
ifeq ($(DEBUG),1)
|
||||
ifeq ($(DEBUG_FEATURES),1)
|
||||
GBI_DEFINES += -DGBI_DEBUG
|
||||
endif
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@ It builds the following versions:
|
||||
|
||||
| Name | Build timestamp | Description | MD5 hash of input ROM(s) |
|
||||
|--------------|-------------------|-------------------------------------------|--------------------------|
|
||||
| ntsc-1.0 | 98-10-21 04:56:31 | NTSC 1.0 (Japan/US) | `9f04c8e68534b870f707c247fa4b50fc`<br>`5bd1fe107bf8106b2ab6650abecd54d6` |
|
||||
| ntsc-1.1 | 98-10-26 10:58:45 | NTSC 1.1 (Japan/US) | `1bf5f42b98c3e97948f01155f12e2d88`<br>`721fdcc6f5f34be55c43a807f2a16af4` |
|
||||
| pal-1.0 | 98-11-10 14:34:22 | PAL 1.0 (Europe) | `e040de91a74b61e3201db0e2323f768a` |
|
||||
| ntsc-1.2 | 98-11-12 18:17:03 | NTSC 1.2 (Japan/US) | `2258052847bdd056c8406a9ef6427f13`<br>`57a9719ad547c516342e1a15d5c28c3d` |
|
||||
| pal-1.1 | 98-11-18 17:36:49 | PAL 1.1 (Europe) | `d714580dd74c2c033f5e1b6dc0aeac77` |
|
||||
|
||||
@@ -2408,7 +2408,11 @@ CHAN_0EDC:
|
||||
|
||||
.layer LAYER_1029
|
||||
/* 0x1029 [0xC6 0x2F ] */ instr SF0_INST_47
|
||||
#if OOT_VERSION < PAL_1_0
|
||||
/* 0x102B [0xCB 0x66 0x4C 0xF0 ] */ env ENVELOPE_664C, 240
|
||||
#else
|
||||
/* 0x102B [0xCB 0x66 0x4C 0xFF ] */ env ENVELOPE_664C, 255
|
||||
#endif
|
||||
/* 0x102F [0x7E 0x0C 0x6C ] */ notedv PITCH_B5, FRAMERATE_CONST(12, 15), 108
|
||||
/* 0x1032 [0xFF ] */ end
|
||||
|
||||
|
||||
@@ -603,7 +603,9 @@ LAYER_0452:
|
||||
/* 0x046C [0xE9 0x0E ] */ notepri 0, 14
|
||||
/* 0x046E [0xE5 0x01 ] */ reverbidx 1
|
||||
/* 0x0470 [0xD4 0x28 ] */ reverb 40
|
||||
#if OOT_VERSION >= PAL_1_0
|
||||
/* 0x0472 [0xC6 0x00 ] */ font Soundfont_0_ID
|
||||
#endif
|
||||
/* 0x0474 [0xFC 0x01 0x56 ] */ call CHAN_0156
|
||||
/* 0x0477 [0xFD 0x60 ] */ delay 96
|
||||
/* 0x0479 [0xFC 0x01 0x56 ] */ call CHAN_0156
|
||||
@@ -1147,7 +1149,7 @@ ENVELOPE_08BA:
|
||||
point 20, 20000
|
||||
hang
|
||||
|
||||
#if !OOT_PAL_N64
|
||||
#if OOT_VERSION == NTSC_1_2 || PLATFORM_GC
|
||||
.filter FILTER_0932
|
||||
filter 0, 0, 0, 0, 0, 0, 0, 0
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
|
||||
<SampleBank Name="SampleBank_2" Index="2">
|
||||
<Sample Name="SAMPLE_2_0" FileName="Sample0" Offset="0x000000" SampleRate="32000" BaseNote="F4"/>
|
||||
<Sample Name="SAMPLE_2_0" FileName="Sample0" SampleRate="32000" BaseNote="F4"/>
|
||||
</SampleBank>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
|
||||
<SampleBank Name="SampleBank_3" Index="3">
|
||||
<Sample Name="SAMPLE_3_0" FileName="Sample0" Offset="0x000000" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_1" FileName="Sample1" Offset="0x008BC0" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_2" FileName="Sample2" Offset="0x00A590" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_3" FileName="Sample3" Offset="0x00B3B0" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_4" FileName="Sample4" Offset="0x016480" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_0" FileName="Sample0" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_1" FileName="Sample1" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_2" FileName="Sample2" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_3" FileName="Sample3" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_3_4" FileName="Sample4" SampleRate="32000" BaseNote="C4"/>
|
||||
</SampleBank>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
|
||||
<SampleBank Name="SampleBank_4" Index="4">
|
||||
<Sample Name="SAMPLE_4_0" FileName="Sample0" Offset="0x000000" SampleRate="24000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_4_1" FileName="Sample1" Offset="0x006410" SampleRate="32000" BaseNote="AF5"/>
|
||||
<Sample Name="SAMPLE_4_2" FileName="Sample2" Offset="0x0072D0" SampleRate="32000" BaseNote="E4"/>
|
||||
<Sample Name="SAMPLE_4_3" FileName="Sample3" Offset="0x008230" SampleRate="32000" BaseNote="E3"/>
|
||||
<Sample Name="SAMPLE_4_4" FileName="Sample4" Offset="0x009030" SampleRate="32000" BaseNote="DF4"/>
|
||||
<Sample Name="SAMPLE_4_0" FileName="Sample0" SampleRate="24000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_4_1" FileName="Sample1" SampleRate="32000" BaseNote="AF5"/>
|
||||
<Sample Name="SAMPLE_4_2" FileName="Sample2" SampleRate="32000" BaseNote="E4"/>
|
||||
<Sample Name="SAMPLE_4_3" FileName="Sample3" SampleRate="32000" BaseNote="E3"/>
|
||||
<Sample Name="SAMPLE_4_4" FileName="Sample4" SampleRate="32000" BaseNote="DF4"/>
|
||||
</SampleBank>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
|
||||
<SampleBank Name="SampleBank_5" Index="5">
|
||||
<Sample Name="SAMPLE_5_0" FileName="Sample0" Offset="0x000000" SampleRate="16000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_5_1" FileName="Sample1" Offset="0x002540" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_5_2" FileName="Sample2" Offset="0x004800" SampleRate="22050" BaseNote="BF4"/>
|
||||
<Sample Name="SAMPLE_5_3" FileName="Sample3" Offset="0x0072D0" SampleRate="16000" BaseNote="DF6"/>
|
||||
<Sample Name="SAMPLE_5_4" FileName="Sample4" Offset="0x007B70" SampleRate="22050" BaseNote="B5"/>
|
||||
<Sample Name="SAMPLE_5_5" FileName="Sample5" Offset="0x008630" SampleRate="22050" BaseNote="A3"/>
|
||||
<Sample Name="SAMPLE_5_0" FileName="Sample0" SampleRate="16000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_5_1" FileName="Sample1" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_5_2" FileName="Sample2" SampleRate="22050" BaseNote="BF4"/>
|
||||
<Sample Name="SAMPLE_5_3" FileName="Sample3" SampleRate="16000" BaseNote="DF6"/>
|
||||
<Sample Name="SAMPLE_5_4" FileName="Sample4" SampleRate="22050" BaseNote="B5"/>
|
||||
<Sample Name="SAMPLE_5_5" FileName="Sample5" SampleRate="22050" BaseNote="A3"/>
|
||||
</SampleBank>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
|
||||
<SampleBank Name="SampleBank_6" Index="6">
|
||||
<Sample Name="SAMPLE_6_0" FileName="Sample0" Offset="0x000000" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_1" FileName="Sample1" Offset="0x00B0D0" SampleRate="32000" BaseNote="BF2"/>
|
||||
<Sample Name="SAMPLE_6_2" FileName="Sample2" Offset="0x00E120" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_3" FileName="Sample3" Offset="0x0103E0" SampleRate="22050" BaseNote="BF4"/>
|
||||
<Sample Name="SAMPLE_6_4" FileName="Sample4" Offset="0x012EB0" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_5" FileName="Sample5" Offset="0x01D3E0" SampleRate="24000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_6" FileName="Sample6" Offset="0x022EE0" SampleRate="24000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_0" FileName="Sample0" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_1" FileName="Sample1" SampleRate="32000" BaseNote="BF2"/>
|
||||
<Sample Name="SAMPLE_6_2" FileName="Sample2" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_3" FileName="Sample3" SampleRate="22050" BaseNote="BF4"/>
|
||||
<Sample Name="SAMPLE_6_4" FileName="Sample4" SampleRate="32000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_5" FileName="Sample5" SampleRate="24000" BaseNote="C4"/>
|
||||
<Sample Name="SAMPLE_6_6" FileName="Sample6" SampleRate="24000" BaseNote="C4"/>
|
||||
</SampleBank>
|
||||
|
||||
@@ -5,16 +5,19 @@
|
||||
<Envelope Name="Env1"/>
|
||||
<Envelope Name="Env2"/>
|
||||
<Envelope Name="Env3"/>
|
||||
<Envelope Name="Env4"/>
|
||||
<Envelope Name="Env4" VersionExclude="ntsc-1.0,ntsc-1.1"/>
|
||||
</Envelopes>
|
||||
<Instruments>
|
||||
<Instrument ProgramNumber="0" Name="INST_0" VersionInclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="1" Name="INST_1" VersionInclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="2" Name="INST_2" VersionInclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="3" Name="INST_3"/>
|
||||
<Instrument ProgramNumber="5" Name="INST_5"/>
|
||||
<Instrument ProgramNumber="6" Name="INST_6"/>
|
||||
<Instrument ProgramNumber="10" Name="INST_10"/>
|
||||
<Instrument ProgramNumber="11" Name="INST_11"/>
|
||||
<Instrument ProgramNumber="12" Name="INST_12"/>
|
||||
<Instrument ProgramNumber="13" Name="INST_13"/>
|
||||
<Instrument ProgramNumber="10" Name="INST_10" VersionExclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="11" Name="INST_11" VersionExclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="12" Name="INST_12" VersionExclude="ntsc-1.0,ntsc-1.1"/>
|
||||
<Instrument ProgramNumber="13" Name="INST_13" VersionExclude="ntsc-1.0,ntsc-1.1"/>
|
||||
</Instruments>
|
||||
<Drums>
|
||||
<Drum Name="DRUM_0"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<Root>
|
||||
<File Name="ydan_scene" Segment="2">
|
||||
<Cutscene Name="gDekuTreeIntroCs" Offset="0xB640"/>
|
||||
<Texture Name="gYdanTex_00BA18" Format="rgba16" Width="32" Height="64" Offset="0xBA08"/>
|
||||
<Texture Name="gYdanTex_00CA18" Format="rgba16" Width="32" Height="64" Offset="0xCA08"/>
|
||||
<Texture Name="gDekuTreeDayEntranceTex" Format="rgba16" Width="32" Height="64" Offset="0xBA08"/>
|
||||
<Texture Name="gDekuTreeNightEntranceTex" Format="rgba16" Width="32" Height="64" Offset="0xCA08"/>
|
||||
|
||||
<Scene Name="ydan_scene" Offset="0x0"/>
|
||||
</File>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<Root>
|
||||
<File Name="ydan_scene" Segment="2">
|
||||
<Cutscene Name="gDekuTreeIntroCs" Offset="0xB650"/>
|
||||
<Texture Name="gYdanTex_00BA18" Format="rgba16" Width="32" Height="64" Offset="0xBA18"/>
|
||||
<Texture Name="gYdanTex_00CA18" Format="rgba16" Width="32" Height="64" Offset="0xCA18"/>
|
||||
<Texture Name="gDekuTreeDayEntranceTex" Format="rgba16" Width="32" Height="64" Offset="0xBA18"/>
|
||||
<Texture Name="gDekuTreeNightEntranceTex" Format="rgba16" Width="32" Height="64" Offset="0xCA18"/>
|
||||
|
||||
<Scene Name="ydan_scene" Offset="0x0"/>
|
||||
</File>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<File Name="spot12_scene" Segment="2">
|
||||
<Cutscene Name="gGerudoFortressFirstCaptureCs" Offset="0x55C0"/>
|
||||
<Cutscene Name="gGerudoFortressIntroCs" Offset="0x6490"/>
|
||||
<Texture Name="gSpot12_009678Tex" Format="rgba16" Width="64" Height="32" Offset="0x9678"/>
|
||||
<Texture Name="gSpot12_00DE78Tex" Format="rgba16" Width="64" Height="32" Offset="0xDE78"/>
|
||||
<Texture Name="gGerudoFortressNightWallTex" Format="rgba16" Width="64" Height="32" Offset="0x9678"/>
|
||||
<Texture Name="gGerudoFortressDayWallTex" Format="rgba16" Width="64" Height="32" Offset="0xDE78"/>
|
||||
<Scene Name="spot12_scene" Offset="0x0"/>
|
||||
</File>
|
||||
<File Name="spot12_room_0" Segment="3">
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<File Name="spot12_scene" Segment="2">
|
||||
<Cutscene Name="gGerudoFortressFirstCaptureCs" Offset="0x55D0"/>
|
||||
<Cutscene Name="gGerudoFortressIntroCs" Offset="0x64A0"/>
|
||||
<Texture Name="gSpot12_009678Tex" Format="rgba16" Width="64" Height="32" Offset="0x9688"/>
|
||||
<Texture Name="gSpot12_00DE78Tex" Format="rgba16" Width="64" Height="32" Offset="0xDE88"/>
|
||||
<Texture Name="gGerudoFortressNightWallTex" Format="rgba16" Width="64" Height="32" Offset="0x9688"/>
|
||||
<Texture Name="gGerudoFortressDayWallTex" Format="rgba16" Width="64" Height="32" Offset="0xDE88"/>
|
||||
<Scene Name="spot12_scene" Offset="0x0"/>
|
||||
</File>
|
||||
<File Name="spot12_room_0" Segment="3">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.include "macro.inc"
|
||||
#include "versions.h"
|
||||
|
||||
/* assembler directives */
|
||||
.set noat /* allow manual use of $at */
|
||||
@@ -11,7 +12,7 @@
|
||||
|
||||
/* temporary file name, rename to something more appropriate when decompiled */
|
||||
|
||||
#if OOT_DEBUG
|
||||
#if DEBUG_ASSETS
|
||||
glabel gMojiFontTLUTs
|
||||
.incbin "incbin/gMojiFontTLUTs"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=1",
|
||||
"PLATFORM_GC=0",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2"
|
||||
],
|
||||
@@ -44,7 +44,7 @@
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -71,7 +71,7 @@
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -98,7 +98,7 @@
|
||||
"OOT_REGION=REGION_US",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -125,7 +125,7 @@
|
||||
"OOT_REGION=REGION_US",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -152,7 +152,7 @@
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=1",
|
||||
"DEBUG_FEATURES=1",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
"GBI_DOWHILE",
|
||||
@@ -179,7 +179,7 @@
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -206,7 +206,7 @@
|
||||
"OOT_REGION=REGION_EU",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
@@ -233,7 +233,7 @@
|
||||
"OOT_REGION=REGION_JP",
|
||||
"PLATFORM_N64=0",
|
||||
"PLATFORM_GC=1",
|
||||
"OOT_DEBUG=0",
|
||||
"DEBUG_FEATURES=0",
|
||||
"NDEBUG",
|
||||
"F3DEX_GBI_2",
|
||||
"F3DEX_GBI_PL",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user