Commit Graph

2355 Commits

Author SHA1 Message Date
Dragorn421 ae89a8e47b
Polish up docs on EnDaiku and EnDaikuKakariko (#2463) 2025-02-11 09:02:05 -05:00
Dragorn421 3dd893c210
Cleanup colliders struct members 1 (#2462)
* Standardize some ColliderJntSphElement buffer members on `colliderElements`

* Standardize some ColliderTrisElement buffer members on `colliderElements`

* format
2025-02-10 20:02:56 -05:00
cadmic be1f9e75f0
Read static symbols from .mdebug in sym_info.py (#2460)
* Patch .mdebug for data_with_rodata objects

* Read static symbols from .mdebug in sym_info.py

* Add ability to print all symbols

* Add license

* Fix bug when missing .mdebug section

* /patch_data_with_rodata_mdebug.py license + nitpicks
2025-02-09 18:16:18 -05:00
Dragorn421 36b71ca2de
Update csdis.py (#2459)
* csdis: move filemap import to main() as it is only needed there

* csdis: fix CS_TIME macro

* csdis: make `disassemble_cutscene` return cutscene size in words

* add comment on why total_entries+1
2025-02-09 16:42:39 -05:00
mzxrules 130ac11458
Reduce overlay dependencies on global.h (4) (#2456)
* remove more global.h references

* .bss
2025-02-08 19:30:24 -05:00
mzxrules 03a2612246
Rename gMtx(F)Clear to gIdentityMtx(F) (#2458) 2025-02-08 19:00:32 -05:00
Dragorn421 924d8e81b9
Assets fixups (#2454)
* Assets fixups

* gDCRoom0TLUT, also object_mo.xml and ddan.xml

* gMegami3TLUT -> Tex

* yeet gDCRoom0TLUT (crashes ZAPD for an unknown reason)
2025-02-07 12:43:09 -05:00
cadmic e63d2b73b7
Use CIC 6102 for iQue decompressed ROMs (#2457)
* Use CIC 6102 for iQue decompressed ROMs

* Future-proof is_ique

* Make things more readable
2025-02-06 21:10:30 +01:00
Tharo 9a3878ec7e
git subrepo clone --force git@github.com:Thar0/com-plugin.git tools/com-plugin (#2455)
subrepo:
  subdir:   "tools/com-plugin"
  merged:   "fc5aa5eda"
upstream:
  origin:   "git@github.com:Thar0/com-plugin.git"
  branch:   "main"
  commit:   "fc5aa5eda"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "110b9eb"
2025-02-05 22:53:35 -05:00
mzxrules 54939bac3a
Reduce overlay dependencies on global.h (3) (#2449)
* kill more global.h references

* .format.py

* bss

* ique
2025-02-05 21:07:19 +01:00
cadmic 8b82eb1ff7
Delete disassembly data for ique-cn (#2453) 2025-02-04 13:17:57 +01:00
Tharo c028db03b4
Finish matching ique-cn (#2451)
* git subrepo clone git@github.com:Thar0/com-plugin.git tools/com-plugin

subrepo:
  subdir:   "tools/com-plugin"
  merged:   "e8543312d"
upstream:
  origin:   "git@github.com:Thar0/com-plugin.git"
  branch:   "main"
  commit:   "e8543312d"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "110b9eb"

* ique-cn OK

* Review suggestions

* Most suggestions

* git subrepo pull tools/com-plugin

subrepo:
  subdir:   "tools/com-plugin"
  merged:   "81595ed1c"
upstream:
  origin:   "git@github.com:Thar0/com-plugin.git"
  branch:   "main"
  commit:   "81595ed1c"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "110b9eb"

* Fix other versions
2025-02-04 06:55:04 -05:00
cadmic 6c06168e72
fix_bss.py: Gracefully handle EGCS-compiled files (#2452) 2025-02-03 01:42:31 -05:00
cadmic ef53bfd693
[iQue] Match z_file_copy_erase (#2447)
* [iQue] Match z_file_copy_erase

* Reword comment
2025-01-29 14:17:13 -05:00
Sirius902 dfe232533f
Fix /bin/bash -> /usr/bin/env bash (#2448)
* Fix /bin/bash -> /usr/bin/env bash

* Add curl to docker container
2025-01-28 18:45:56 -05:00
Dragorn421 b0c713b2bc
spec_includes/ -> spec/, spec -> spec/spec (#2422) 2025-01-28 11:23:01 -05:00
cadmic 748859595a
[iQue] Match z_fishing (#2445) 2025-01-28 02:36:07 -05:00
cadmic ac70cf8fb7
[iQue] Fix audio library pad_text (#2446) 2025-01-27 16:12:05 -05:00
mzxrules d855f2bfd8
Split z64debug_display.h, z64draw.h, z_en_item00.h (#2443)
* z64debug_display.h

* z64draw.h

* z_en_item00.h

* bss
2025-01-27 13:01:54 -05:00
mzxrules 7dd3a83313
Reduce overlay dependencies on global.h (2) (#2442)
* reduce overlay dependencies on global.h

* merge cleanup

* more missed headers
2025-01-27 12:17:50 -05:00
cadmic bb55be60fe
Error on invalid OOT_REGION (#2444) 2025-01-26 17:08:13 -05:00
cadmic cd21783a44
[iQue] Match z_en_mag (#2439)
* [iQue] Match z_en_mag

* Add comment for iQue "PRESS"

* Format
2025-01-24 23:41:32 -05:00
cadmic 5bca304cbc
[iQue] Unify file select actionButtonAlpha and confirmButtonAlpha (#2436)
* Fix all confirmButtonAlpha indices

* Unify actionButtonAlpha and confirmButtonAlpha

* Restore ConfirmButtonIndex

* Add comment for actionButtonAlpha
2025-01-24 23:00:46 -05:00
cadmic f8d050bf7f
git subrepo pull --force tools/ZAPD (#2441)
subrepo:
  subdir:   "tools/ZAPD"
  merged:   "35ea376da"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "35ea376da"
git-subrepo:
  version:  "0.4.6"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "110b9eb"
2025-01-24 14:02:44 -05:00
mzxrules f448a48cd6
Create headers for some libu64 files (#2440)
* Create headers for some libu64 files

* apply bss patch
2025-01-24 13:25:05 -05:00
mzxrules ab37332793
Reduce overlay dependencies on global.h (1) (#2438)
* Reduce actor dependencies on global.h

* move dependency on z64play.h into the .c files

* add some missing dependencies
2025-01-23 14:39:23 -05:00
cadmic b97a21c253
git subrepo pull tools/fado (#2437)
subrepo:
  subdir:   "tools/fado"
  merged:   "a45f99b46"
upstream:
  origin:   "git@github.com:EllipticEllipsis/fado.git"
  branch:   "master"
  commit:   "a45f99b46"
git-subrepo:
  version:  "0.4.6"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "110b9eb"
2025-01-22 13:42:19 -05:00
cadmic 06904e1ee7
[iQue] Match z_message (#2435)
* [iQue] z_message: work around EGCS bug

* [iQue] z_message: finish matching

* Yabusame -> Horseback archery

* Add missing PRINTF parameter

* Collapse for loops

* Better-looking macros

* gold stars -> gold skulls
2025-01-21 21:16:39 -05:00
Tharo afa0842de4
[iQue] Import libultra audio library files (#2433)
Note about comments in these files:
The libultra audio library was originally available to developers in
source code form, unlike most of libultra. These files are based on
these source code forms, adapted to meet the style of this project.
The comments in the files as of this commit are, apart from the style,
comments from the original SGI authors.
2025-01-21 15:21:48 -05:00
cadmic 5346c978a9
format.py: Allow empty files (#2434) 2025-01-20 17:30:54 -05:00
cadmic 11b7bf2914
Write about IDO and EGCS in compilers.md (#2432)
* Write about IDO and EGCS in compilers.md

* Fix typo

* Fix another typo

* Apply suggestions from code review

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

---------

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2025-01-20 16:15:13 -05:00
cadmic 284ecb114e
[iQue] Match z_actor (#2431)
* [iQue] Match z_actor

* Reword comment
2025-01-19 22:29:35 -05:00
cadmic c3806155c3
[iQue] Don't use -funsigned-char for z_std_dma (#2427) 2025-01-19 21:41:57 -05:00
cadmic c76d2a8a4d
[iQue] Match z_kanfont (#2428) 2025-01-19 19:41:14 -05:00
mzxrules 161c789886
Restructure event flags in z64save.h (4/?): Haggling Townsfolk (#2395)
* Haggling Townsfolk flags

* suggestion

* so there's not going to be a We U?
2025-01-17 22:23:23 -05:00
cadmic 260d92dfb6
Preserve NULL/true/false macros in permuter/decomp.me import (#2430) 2025-01-17 15:37:40 -05:00
cadmic d066586872
[iQue] Match z_sram (#2426)
* [iQue] z_sram: Use iQue-specific read/write macros

* [iQue] z_sram: Make checksum a struct

* [iQue] z_sram: Finish matching

* Call the trigraph usage a bug

* Fix bss

* Sram_iQueReadWrite -> Sram_ReadWriteIQue

* Use SRAM_HEADER_MAGIC for loop bound

* Rename sZeldaMagic -> sSramDefaultHeader and use less char literals
2025-01-17 06:56:22 -05:00
cadmic 4a205b9d4c
[iQue] Fix osMotorInit (#2425) 2025-01-15 16:27:16 -05:00
cadmic 2b9b7a40b0
[iQue] Match z_end_title, z_construct, z_common_data, z_parameter, z_title, z_opening (#2424)
* [iQue] Match z_end_title

* [iQue] Match z_construct

* [iQue] Match z_common_data

* [iQue] Match z_parameter

* [iQue] Match z_title, z_opening

* Actually match z_parameter

* Give up on stack issues

* this->exit = true
2025-01-14 11:55:47 -05:00
cadmic e2ed5568e5
[iQue] Match ovl_kaleido_scope (#2421)
* [iQue] Match ovl_kaleido_scope

* Add bug comment for OOB reads

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Preemptively fix merge conflicts

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-01-14 08:32:00 -05:00
cadmic bdc6b50153
[iQue] Define EGCS macro instead of relying on `__GNUC__` (#2423)
* [iQue] Define EGCS macro instead of relying on __GNUC__

* Revert longlong.h
2025-01-13 08:32:25 -05:00
Ben Villalobos dbfa95fd01
Descriptions for Gohma Larva vs Boss Gohma (#2420)
* Add descriptions for gohma vs boss gohma

* Fix capitalization
2025-01-12 14:22:18 -05:00
cadmic 7aa9808b7e
[iQue] Use CPP includes in spec and update for iQue (#2399)
* Update spec for iQue

* Use CPP includes for spec overlays, scenes, and libultra

* Fix iQue + DEBUG_FEATURES

* Define BBPLAYER, merge function definitions

* Add Makefile dependency on spec_includes

* Fix libc order for iQue

* Match src/libultra/bb/sa/common.c to fix linker errors

* Use C versions of getcount/setcompare for iQue

* Format

* Small fixes to line up boot segment

* Remove zlib.c
2025-01-11 22:44:14 -05:00
Tharo 8d213e61cf
[iQue] Match PI-related files in libultra/io (#2408)
* [iQue] Match PI-related files in libultra/io, set correct thread ID for vimgr

* Create a define for the hardcoded address in devmgr.c

* Fix BSS
2025-01-10 21:15:43 -05:00
Tharo b19b06a531
[iQue] Match remaining libultra/os files (#2414)
* Match remaining libultra/os files

* Align box id macros

* Fix bss, format

* Fix BSS

* Clarify some comments

* More bug comment

* Comment

* Fix BSS
2025-01-10 18:54:02 -05:00
cadmic 1549f34e8e
[iQue] Update permuter/decompme import (#2415)
* [iQue] Update permuter/decompme import

* Fix GCC build
2025-01-10 18:05:10 -05:00
cadmic 5773b12241
[iQue] Match libgcc (#2412)
* [iQue] Match libgcc

* Delete old stubs

* Squash warning

* Put GPL modification notice in libgcc2.inc.c too

* Comment wording

* Run clang-tidy on libgcc2.inc.c
2025-01-10 23:31:34 +01:00
Tharo 62c0effccd
[iQue] Match libultra/gu (#2402)
* [iQue] Match libultra/gu

* Match sqrtf
2025-01-10 15:24:37 -05:00
cadmic 0f6c2f9e78
Fix circular Makefile dependency with assets/text/*.o (#2419) 2025-01-10 13:47:09 -05:00
cadmic e4ad4e5eee
[iQue] Match remaining src/boot files (#2417)
* [iQue] Match remaining src/boot files

* Fix debug ROM

* Use -funsigned-char

* Sort ique before gc in LNx macros
2025-01-10 18:47:55 +01:00