summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-25Add docs/ to doxygen input (#2761)Dragorn421
2026-05-25Document DemoSa (Saria's cutscene actions) (#2669)Jordan Longstaff
* Document DemoSa (Saria's cutscene actions) * Add missing include * Add another missing include * Change struct to enum * add action enum comments to action funcs array * comment on `DemoSa_InitChamberOfSages` not setting action and relying on the struct being zerod * fixup demosa action enum numbering formatting * Rename Unknown -> Unused * Rename init function * Missed rename * Use `ANIMMODE` enum Co-authored-by: Copilot <copilot@github.com> * Remove redundant includes * Rename Ganon actions to SageAction * Rename sage-related actions * More renames * SageAction -> SageMagic * Restore duplicate eye/mouth enums * Minor style fixes * Better action function name matching --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: Copilot <copilot@github.com>
2026-05-23Document `EnHs` and `EnHs2` (Carpenter's son) (#2758)Jordan Longstaff
* Document `EnHs` and `EnHs2` (Carpenter's son) * focusOffset -> sFocusOffset * Rename tracking flag fields * Roll back subrepo changes * Remove comment on trackingFlags Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-11GHA: Compiler archives from runner image instead of download (#2757)Dragorn421
2026-05-10Split data/rsp asm files into individual files for each microcode (#2756)Tharo
2026-05-09Assets system: reconcile xml versions using implicit and relative offsets ↵Dragorn421
(#2614) * Assets system: reconcile xml versions using implicit offsets * simplify * remove other object_mag xmls * Introduce relative offsets: `Offset=".+0x421"`, more sizable `ResourceDesc`s, update spec * fix * reconcile object_mo xml * reconcile object_tw xml * reconcile object_xc xml (and add Tlut="gNameTLUT" to Texture resources) * reconcile object_fd xml * reconcile object_kingdodongo xml * bss * reconcile gameplay_keep.xml
2026-05-08Readme: fix GHA build badge (#2754)Dragorn421
2026-05-08Compiler binaries download: separate from extract and checksum (#2753)Dragorn421
2026-05-06Child Ruto Actions Part 6: Sitting (#2623)Jordan Longstaff
* Child Ruto Actions Part 6: Sitting * Format * Enum indices in comments * Remove trailing whitespace * Rename room number fields * Rename to EnRu1_UpdateBgCheckInfo * Revert "Rename to EnRu1_UpdateBgCheckInfo" This reverts commit 7926cfeeca3e27166e7eeebc65d6d6832a6d9202. * Rename to UpdateBouncing * Rename INFTABLE flags * Rename to actorIter * Remove unneeded parentheses * Rectify comments in `EnRu1_UpdateSittingAction` * Reformat * Proposed name changes * Change comment * Multiple reversions
2026-05-06Partial linking of spec segments (#2661)Tharo
* Partial linking of overlay segments, relax linker script alignment * Partial linking of all spec segments * Fix update, remove _RomPos from linker script * iQue version working pending COM-plugin update * Add plf map file resolution to sym_info.py, local symbol merging is broken * git subrepo pull tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "c4f3ba845" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "c4f3ba845" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Make tools compatible with partial linking Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Remove unused files * Fix some makefile bits * mkspecrules cleanup * Comment on the makerom linker layout in mkldscript * Revert linker padding strategy back to pad_text spec directives * Comment on objcopy elf -> rom step * Adjust tool descriptions * Fix compressed builds * rm reloc_prereq, no longer used * Makefile merge fix Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06BgSpot11Oasis: name functions and static variables (#2751)Nathan Casabieille
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06EnBox: name unknown functions and struct fields (#2749)Nathan Casabieille
* EnBox: name unknown functions and struct fields * ovl_En_Box: name ENBOX_TYPE_9/10, rename render mode DList functions * ovl_En_Box: formatting --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06BgSpot09Obj: document params type enum (#2747)Nathan Casabieille
* BgSpot09Obj: document params type enum * Address review comments - Remove "objects" from description (has specific meaning in Zelda64 engine) - Move BgSpot09ObjType enum to .h for use by external files - Replace return 0/1 literals with false/true in func_808B1AE0 - Fix enum comments: remove "visible" terminology, correct tent is adult-only --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-06Document CIC6105 (#2739)Tharo
* Document CIC6105 * Changes, AUDIOMGR_DEBUG_LEVEL -> AUDIOMGR_ACTIVITY_LEVEL
2026-05-06Remove makeromfs (#2752)Tharo
This is a tool introduced a long time ago that ended up not being used at any point in the build system and has no prospects of future use. There's no reason for keeping it around.
2026-05-03Finish `EnDivingGame` documentation (#2733)Jordan Longstaff
* Finish `EnDivingGame` documentation * Rupee phase enum * Fix overlooked field rename * Shorten some field names for formatting * Reformat * Revert "unthrown Rupees" rename * Parenthesize textId conditions * Rename `GiveScale` functions * Rename `nextTextState` * Clang-format --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-05-03Fixups around textboxSegment (#2743)Dragorn421
2026-05-03Add all_versions_built dummy job for github status check (#2746)Dragorn421
* Add all_versions_built dummy job for github status check * the joys of gha, take 2 * the joys of gha, take 3 * ruin bss for testing * the joys of gha, take 4 * refix bss
2026-04-29Migrate CI to Github Actions (#2742)Dragorn421
* Migrate CI to Github Actions (#2740) Changes the CI system from Jenkins to Github Actions (GHA) as discussed on discord. I tried to adapt the original jenkinsfile as I could. One major difference from the old system is each version will now be built in parallel instead of sequentially. Also, the mapfiles will be uploaded as an GHA artifact to the Action workflow. I think having them easily available would be nice. This specific approach to handle GHA for decomp projects was adapted from the one used by the GC/Wii community. It is documented here https://github.com/encounter/dtk-template/blob/main/docs/github_actions.md There's a writeup about this adaptation for N64 projects [here](https://github.com/AngheloAlf/drmario64/pull/19). * Rename generate_patch_from_gha -> gha_fix_bss_and_generate_patch * Make check formatting always on the full repo * ruin z_fishing bss for CI testing purposes * fix not passing VERSION to tools/gha_fix_bss_and_generate_patch.sh * debugging gha_fix_bss_and_generate_patch.sh * fix the debugging... * git config safe.directory * rm debugging stuff from gha_fix_bss_and_generate_patch.sh * fix_bss gha-side machinery, attempt 1 * fix1 * fix2 * debug1 * checkout repo in merge_bss_fixes job * fix3 * fix4 * fix5 * some prettify * apply_fix_bss_patches.py complete * fix6 * generate_patch.sh is back * apply fix bss changes from gha! it works! * generate_patch.sh suggestion * ruin bss again for testing * unruin bss * Update .github/workflows/format.yml Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * update matrix version list * finalize apply_fix_bss_patches.py --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2026-04-25Format extracted params: ObjSwitch (#2722)Dragorn421
* ObjSwitch params macros * format extracted ObjSwitch params
2026-04-24`Item_DropCollectibleRandom`: params macro and drop tables enum (#2707)Dragorn421
* `Item_DropCollectibleRandom`: params macro and drop tables enum * fixup
2026-04-24Rename NoteSubEu -> NoteSampleState (#2738)Tharo
2026-04-22Update Makefile versions list (#2741)Dragorn421
2026-04-17Simplify or comment on the remaining complex render mode settings (#2713)Tharo
* Simplify or comment on the remaining complex render mode settings * Suggested changes * Format
2026-04-17n64texconv: Improve automatic palette generation (#2731)Tharo
* n64texconv: Improve automatic palette generation * Reword documentation on automatic palettes
2026-04-16Macro-ify access to pauseCtx->playerSegment regions (#2693)Tharo
* Macro-ify access to pauseCtx->playerSegment regions. Using macros to indicate which region in the player segment is being accessed makes the memory layout more obvious and indicates the intended level of memory ownership, particularly in the case of the texture image at the start of the segment. * Add clarifications for gameplay_keep details * Uniform macro name for the render texture * Comment
2026-04-15Split `spec` more (#2710)Dragorn421
2026-04-13Finish `EnExRuppy` documentation (#2732)Jordan Longstaff
* Finish `EnExRuppy` documentation * Rename throw distance field * Move comments to enum type * Use `EnHeishi1` type for guard * Add comment on `EnHeishi1` supposition
2026-04-12Texture software fixups (#2709)Dragorn421
* fixup n64texconv app usage text and check u32|u64 * fix memory leaks in build_from_png * yeet -Werror * Remove n64texconv/ap and create build_jfif * gitignore build_jfif binary, oops * Makefile: Add BUILD_FROM_PNG and BUILD_JFIF variables
2026-04-12`tools/assets` cleanup pass (mostly typing) (#2705)Dragorn421
* address easy todos * add type asserts * format * add type hints * more typing fixes * more asserts for typing * break long f string
2026-04-12Correct field offsets in header files (#2730)Philip Dubé
2026-04-10Commit objects 2: `object_spot15_obj`, `object_spot16_obj`, ↵Dragorn421
`object_spot17_obj`, `object_syokudai`, `object_ta`, `object_timeblock` (#2645) * commit object_timeblock * commit object_ta * commit object_syokudai * commit object_spot17_obj * format * commit object_spot16_obj * fixup * commit object_spot15_obj
2026-04-07oot-gc-eu-dbg-2 OK (#2714)Dragorn421
* oot-gc-eu-dbg-proto OK * add gc-eu-dbg-proto to readme * mention overdump trimming for all debug roms * rename gc-eu-dbg-proto to gc-eu-dbg-2 Rationale: first version to make it into decomp (which should also be the first one that surfaces) gets an un-numbered version name, then the second version gets -2, and so on
2026-03-22Document bug where fog factors are not restored upon switching back from ↵Tharo
S2DEX2 after drawing a room background (#2725)
2026-03-21Comment more original names for audio functions from animal crossing (#2721)Tharo
* Comment more original names for audio functions from animal crossing * Drop delayparam, not original
2026-03-14tools/assets: fix build_from_png with Apple clang (#2724)Tanner Johnson
* tools/assets: fix build_from_png with Apple clang * tools/assets: use macro for build_from_png suffix limit
2026-03-12Add `@bug` comment on an Actor_Spawn printf (#2717)Dragorn421
2026-03-10Audio: Fix note values (#2716)Tharo
Due to the layout of the pitch_frequencies lookup table, note values computed in extraction were reflected around middle C (midi note number 60). This didn't matter for matching, values would successfully roundtrip. However when using samples in external programs or converting soundfonts to standard formats the note values would lead to incorrect playback of sounds. This change corrects the note values so that external programs correctly infer the pitch of the sound when played at a particular MIDI key.
2026-03-09Allow `atblgen` to process `sequence_order.in` with empty lines in between ↵Anghelo Carvajal
lines for building on Macos (#2718) The present changes are a direct copy-paste from https://github.com/zeldaret/mm/pull/1850 This fixes building on macos due to a kinda specific issue with Apple clang. When trying to build on Macos (specifically MacOS 12, Monteray with Apple clang 13.0.0 (clang-1300.0.29.30), idk if other versions have this issue too) `make` stops with the following error from `atblgen`: ``` Failed to match line 1: "" regexec error: "regexec() failed to match" Error: Malformed build/n64-us/assets/audio/sequence_order.in? ``` `atblgen` makes the assumption that the `sequence_order.in` file has no extra data, spaces, empty lines, etc. but the file somehow ends up having empty lines between each line on macos. This file is created by using the C preprocessor to process `include/tables/sequence_table.h`. In normal circumstances this file should look like this snip, ``` (Sequence_0,NA_BGM_GENERAL_SFX) (Sequence_1,NA_BGM_AMBIENCE) (Sequence_2,NA_BGM_TERMINA_FIELD) (Sequence_3,NA_BGM_CHASE) (Sequence_4,NA_BGM_MAJORAS_THEME) ``` but it ends up looking like this instead ``` (Sequence_0,NA_BGM_GENERAL_SFX) (Sequence_1,NA_BGM_AMBIENCE) (Sequence_2,NA_BGM_TERMINA_FIELD) (Sequence_3,NA_BGM_CHASE) (Sequence_4,NA_BGM_MAJORAS_THEME) ``` which `atblgen` doesn't like. I believe this happens because there are lines with comments between each macro in [`sequence_table.h`](https://github.com/zeldaret/mm/blob/0877ce4adf28a8e73e05c3c58682273b8bf28749/include/tables/sequence_table.h) and for some reason this Apple clang version decided to preserve those empty lines The fix just makes `atblgen` skip empty lines. I threw `atblgen` to valgrind to check the fix was working as intended and noted a bunch of memory that was being free before exit, so I fixed them. I also noted the tools/audio makefile was not using `OPTFLAGS` when building those tools, so I fixed that too.
2026-03-02gc-eu-dbg OK (#2700)Dragorn421
* gc-eu-dbg OK * cleanup/fortify makefile and line_numbers.h changes * fill segments.csv * add gc-eu-dbg to Jenkinsfile * cleanup/fortify dmadata_table.h * add gc-eu-dbg to readme * fix checksum check and compressed checksum
2026-02-26Finish `EnMThunder` documentation (#2702)Jordan Longstaff
* Finish `EnMThunder` documentation * Boolean conversion * Hex to decimal conversions * Rename static variables
2026-02-25Update README and build instructions (#2704)Dragorn421
* Remove libpng from requirements * Remove unnecessary packages from dockerfile * Update README * update binutils and gcc versions in macos build instructions
2026-02-25Make bool return values of SkelAnime_Update and LinkAnimation_Update clear ↵Tharo
(#2706) * Make bool return values of SkelAnime_Update and LinkAnimation_Update clear * formatting: empty line after decl --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-02-24Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep (#2703)Dragorn421
* Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep * bss
2026-02-22Fix F3DEX2 ucode name on N64 versions (not PosLight) (#2701)Dragorn421
* Fix F3DEX2 ucode name on N64 versions (not PosLight) * put the not-PosLight / PosLight differences under F3DEX_GBI_PL * revert bss changes
2026-02-22Fix misc 23 (#2699)Dragorn421
* remove noop macros Fault_SetFontColor Fault_SetCharPad under PLATFORM_N64 * remove duplicate declarations in sfx.h * use render mode presets more * decimal for alpha values * fix some z_camera comments typos * fix references to preprocess.sh (used to be preprocess.py) * remove outdated comment on deps in makefile * code_800AD920 was renamed to z_viszbuf * fix capitalization typo: gOcarinaofTimeDesignTex -> gOcarinaOfTimeDesignTex * fix typo: gLinkAdultEyesClosedfTex, gLinkChildEyesClosedfTex -> remove extra f * fix typo: gCrstalSwitchRedTex, gCrstalSwitchBlueTex -> gCrystal * fix PARAMS_GET_U amount of bits
2026-02-22Assets system: format extracted actor params (and EnDoor params) (#2698)Dragorn421
* Assets system: format extracted actor params (and EnDoor params) * and actor list too... * and actor list required inclues too... * ENDOOR_PARAMS_GENERAL, ENDOOR_PARAMS -> ENDOOR_PARAMS, ENDOOR_PARAMS_NODATA
2026-02-22z_bg_haka_meganebg documentation pass (#2685)mzxrules
* document z_bg_haka_meganebg * Dragorn suggestions and @bug documentation * i swear i was good at grammar as a child
2026-02-22Child Ruto Actions Part 5: Speakable (#2619)Jordan Longstaff
* Child Ruto Actions Part 5: Speakable * Rename to "Speakable Jabu"
2026-02-21Document src/n64dd/n64dd_error_headers.c (#2667)Gabriel Ravier
* Document src/n64dd/n64dd_error_headers.c * Incorporate feedback from PR review. (see also https://github.com/zeldaret/oot/pull/2667) * Put translation of gN64DDLocalizedErrorNumberHeaders[0] in a line comment (From feedback to https://github.com/zeldaret/oot/pull/2667)