summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2024-12-02More descriptive names for CS_BEGIN_CUTSCENE and CS_END (#2311)mracsys
* rename CS_BEGIN_CUTSCENE and CS_END * matching * naming consistency for END command, improved comments * remove CS_CMD_NONE Co-authored-by: mzxrules <mzxrules@gmail.com> * remove comma from end of enum * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "c04562d30" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "c04562d30" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cce3d93" --------- Co-authored-by: mzxrules <mzxrules@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com>
2024-11-14fix_bss.py: Fix infinite loop after linker errors (#2297)cadmic
2024-11-12[Audio 9/?] Multiversion samplebank and soundfont extraction xmls, 1.0 and ↵Tharo
1.1 audio extraction (#2291) * [Audio 9/?] Multiversion samplebank and soundfont extraction xmls, 1.0 and 1.1 audio extraction * Rework multiversion samplebanks to reduce duplicates
2024-10-24Remove hardcoded bash location in tools/preprocess.sh (#2280)Charles Averill
* Remove hardcoded bash location in tools/preprocess.sh * Add more tolerant shebang to tools/preprocess.sh
2024-10-09[ntsc-1.0/1.1] Extract assets (except audio) for ntsc-1.0 and ntsc-1.1 (#2253)cadmic
* [ntsc-1.0/1.1] Extract assets (except audio) for ntsc-1.0 and ntsc-1.1 * Fix merge with pal-1.0/1.1
2024-10-02Fix build on certain Linux distributions (#2257)cadmic
2024-09-28[PAL N64] Completely match pal-1.0 and pal-1.1 and add to CI (#2246)cadmic
* [PAL N64] Match pal-1.0 and pal-1.1 and add to CI * bss fixes from Jenkins
2024-09-26[PAL N64] Set up build system and extract assets for pal-1.0 and pal-1.1 (#2205)cadmic
* [PAL N64] Set up build system and extract assets * TOOD -> TODO * Apparently this is what the formatter wants
2024-09-26Fix typos found by codespell (#2229)cadmic
2024-09-16Colliders: elemType -> elemMaterial (#2189)Dragorn421
* elemType -> elemMaterial * format
2024-09-15[Audio 8/?] Check-in handwritten sequences, build sequences, automate ↵Tharo
various sfx arrays (#2137) * [Audio 8/?] Check-in handwritten sequences, build sequences, automate various sfx arrays * Fix whitespace in aseq.h * Fix sequence 0 sfx id generator * Suggested changes, adjust some MML syntax and add more instruction descriptions * Correct some formatting in aseq.h * Add the dir of the input .seq file to the list of includes to sequence assembling so that assembler-level includes like .include or .incbin work intuitively * aseq.h tweaks * MM review suggestions, aseq.h adjustments
2024-09-12Delete disassembly data for ntsc-1.2 (#2178)cadmic
2024-09-12[ntsc-1.2] Match ntsc-1.2 BSS and add to CI (#2187)cadmic
* Match ntsc-1.2 * Add ntsc-1.2 to CI * Apply fixes from Jenkins * Promote ntsc-1.2 to "supported" in Makefile * Declare D_80858AD8 as a u64 array * Tweak wording * Hopefully make ntsc-1.2 bss more stable * Restore segmented_address.h include
2024-09-11Colliders: colType -> colMaterial (#2186)Dragorn421
* colType -> colMaterial * fixups
2024-09-11Make needed extracted directories in extract scripts (#2185)Derek Hensley
2024-09-11Cleanup gSPMatrix, rename `Matrix_New` -> `Matrix_Finalize`, add ↵Dragorn421
`MATRIX_FINALIZE_AND_LOAD` (#1983) * clean up gSPMatrix usage * add weird hybrid macro gSPMATRIX_SET_NEW * Matrix_NewMtx, MATRIX_NEW -> Matrix_Finalize, MATRIX_FINALIZE * gSPMATRIX_SET_NEW -> MATRIX_FINALIZE_AND_LOAD * format
2024-09-08fix_bss.py: Restore z_locale special case (#2179)cadmic
2024-09-08Run fix_bss.py in Jenkins and generate a patch (#2168)cadmic
* fix_bss.py: Disable colors if stdout is not a tty * Run fix_bss.py in CI and output a patch * Wording tweaks
2024-09-08[headers 9] Add src/libc64/ and new "z64" rand.h (#2164)Dragorn421
* rand.h -> libc64/qrand.h * Add rand.h with z64 rand wrappers * yeet comment * code/rand.c -> libc64/qrand.c * fixup * move libc64 source to src/libc64/ * fix * bss * update file splits disasm metadata
2024-09-08Document `ACTOR_FLAG_SFX_` flags and functions (#2162)Dragorn421
* Document `ACTOR_FLAG_SFX_` flags and functions * format
2024-09-08fix_bss.py: Subtract addend for relocations against global symbols (#2169)cadmic
2024-09-08Player Docs - Parallel (#2167)fig02
* name func and flag * rest of the docs * format and comment change * comment
2024-09-07Pause doc: Cursor drawing (#2159)Dragorn421
* Pause doc: Cursor drawing * bss
2024-09-07rename gBuildTeam to gBuildCreator (#2160)fig02
2024-09-08[ntsc-1.2] Import n64dd code from Decompollaborate/n64dd (#2136)cadmic
* Import n64dd code from Decompollaborate/n64dd Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com> * Don't stub out missing textures * Remove @brief * Add low-effort file comments * Match OoT if style * Fix n64dd matching due to int vs long * Fix English n64dd error textures * Compress n64dd segment * Align n64dd to 0x40 --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
2024-09-07Target -> Attention (System Rename) (#2149)fig02
* TargetContext -> Attention * targetCtx -> attention * Target_ -> Attention_ * FindTargetableActor -> FindActor * targetableActorP -> attentionActorP * data vars (and 1 function I missed) * targetMode -> attentionRangeType * attention range enum comments * ATTENTION_RANGE_ * attention range data * TargetColor -> AttentionColor * missed one * fixup color variables * targetArrowOffset -> lockOnArrowOffset * focus pos comment * targetPriority -> attentionPriority * assets * loose-ends * Attention System Description * format * skj range type * enemy bgm
2024-09-07Freeze SFX IDs in msgdis.py (#2154)cadmic
* Freeze SFX IDs in msgdis.py * Remove remove_comments
2024-09-07[ntsc-1.2] Match z_file_choose.c and z_boss_tw.c (#2146)cadmic
* Match z_file_choose.c * Match z_boss_tw.c * Format * end: -> close_disps:
2024-09-05Document `Target_ShouldReleaseLockOn` [Target Docs 8/8] (#2135)fig02
* target range and leash docs * format
2024-09-05Naming a function (#2124)Ozero4
* Naming a function * Naming function * Update functions.txt * Update function name * Update function name * Update function name * Update function name
2024-09-05Update Room Documentation (#2015)mzxrules
* Update Room Documentation * Write more complete documentation, implement suggestions. * Function name changes; minor comment tweaks * nit * Resolve Dragorn fixes * Resolve Fig suggestions, fix comment wording * fix bss, fig suggestion * bss
2024-09-04istargeted -> islockedon (#2132)fig02
2024-09-05[ntsc-1.2] Organize n64dd declarations and convert to 1.0 addresses (#2127)cadmic
* Reorganize n64dd declarations * Fix bss * Really fix bss
2024-09-05Cleanup: Pass all paths to tools rather than tools constructing them (#2017)Dragorn421
* Pass all paths to tools rather than tools constructing them * fix: make --baserom-segments required * sync with mm reviews * --version everywhere
2024-09-05[Audio 7/?] Extract sequences to assembly (#2119)Tharo
* [Audio 7/?] Extract sequences to assembly Co-authored-by: MNGoldenEagle <17274702+MNGoldenEagle@users.noreply.github.com> Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com> * Suggested changes, some extra sequence disassembler cleanup * Remove unused multiprocessing import and regen assets/xml/audio/sequences --------- Co-authored-by: MNGoldenEagle <17274702+MNGoldenEagle@users.noreply.github.com> Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com>
2024-09-04[ntsc-1.2] Match __osMalloc.c and code_800FC620.c (new/delete) (#2106)cadmic
* Match __osMalloc * Match src/code/code_800FC620.c (new/delete) * Wrap versions-specific files in ifdefs to fix compilation * Fix bss * Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64 * Fix __osMalloc data splits, add unused strings * __osMalloc.h -> osMalloc.h * Fix merge
2024-09-04[ntsc-1.2] Match game.c, z_play.c, z_room.c (#2117)cadmic
* Match z_room.c * Match game.c and z_play.c * Add undefined syms * Rewrite condition based on other file matches
2024-09-04Match fp_math.c (#2116)cadmic
2024-09-04[ntsc-1.2] Update spec for boot and code (#2114)cadmic
* Update spec for boot and code * Fix merge
2024-09-03Document Target_Update [Target Docs 4/?] (#2123)fig02
* document Target_Update * add comments * try CLAMP (dbg is ok but ci will check retail)
2024-09-03[ntsc-1.2] Match audio (#2122)cadmic
* general.c mostly ok * match remaining audio funcs * comments * Finish matching audio --------- Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
2024-09-03[ntsc-1.2] LoadFragment2 OK (#2118)Derek Hensley
* [ntsc-1.2] LoadFragment2 OK * Add insight about bssSize
2024-09-03Target System Docs: Actor Searching [3/?] (#2120)fig02
* document target actor searching * missed something * review * mzx review
2024-09-01Document Target_Draw [Target Docs 2/?] (#2115)fig02
* document Target_Draw Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * fix missed renames * retail fix * another fix --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-08-31Target Docs [1/?] (#2110)fig02
* Target Docs Part 1 Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * review --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-08-29Move driverominit and sprintf to src/boot/ (#2105)cadmic
2024-08-29[ntsc-1.2] Fix some data / disassembly / undefined_syms (#2103)cadmic
* Fix some data splits * Use real fault functions in cic6105.c * Fix fault_n64.c data sizes * Format
2024-08-28[ntsc-1.2] Match N64 libultra (#2081)cadmic
* Match N64 libultra * INITIALIZE_FUNC -> OSINITIALIZE_FUNC * Document osGetIntMask * Refer readers of osGetIntMask to osSetIntMask comment * Whitelist new static functions in disasm unksyms check
2024-08-28Check disasm metadata for missed renames (#2069)Dragorn421
* Check disasm metadata (look for symbols in metadata that no longer exist, indicating renames but the metadata was not updated) * -us.z64 * Update disasm metadata with renamed functions in #2057 * sort IGNORE_NTSC_1_2_SYMS_MISSING
2024-08-28[ntsc-1.2] Decompile fault.c (#2046)Dragorn421
* wip decomp ntsc-1.2 fault.c * more ntsc-1.2 fault.c * decompiled fault_v1.c * name fault_v1 functions, wip * try to clean up build system (two versions of the fault system coexisting) * cleanup * cleanup2 * fix build gc-eu-mq-dbg * match 2 more, ty anon * matched * review * more review * fixup spec * `(uintptr_t)ptr op int` instead of `ptr op (type*)int` * move fault.h out of global headers, properly include fault.h and versions.h * compile all fault_*.c files regardless of version by overriding FAULT_VERSION * n64 FaultMgr.framebuffer s32 -> u16* * FaultMgr.framebuffer -> FaultMgr.fb * make gc FaultMgr.fb u16* (yes, thats everything) * bss * fix Fault_Printf return type * noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64 * fault_color_ stuff is only for fault_gc * rm empty line in makefile * I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures` * bss * `Fault_WaitInput` -> `Fault_WaitForInput` * use named fault funcs in pointers array * FAULT_OOT{N64,GC} -> FAULT_{N64,GC} * Apply suggestions from code review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * review, sync fault_{gc,n64} * Apply `FPCSR_CE` suggestions from code review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>