summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-23match z_title.c (#2075)Dragorn421
2024-08-23T() macro 2 (#2073)Dragorn421
* T() in idle.c, irqmgr.c, padmgr.c, z_locale.c * T() in z_sram.c * T() in z_bgcheck.c, z_scene.c * format
2024-08-23Convert z_std_dma.c translations to full string rather than inserted string ↵mzxrules
(#2074) * full string translation z_std_dma * Remove FORMAT TEST
2024-08-23Add NO_SQRTF_INTRINSIC for z_rumble.c and audio/general.c (#2067)cadmic
2024-08-22Add T macro for translated debug strings (#2064)Dragorn421
* Add T macro for translated debug strings * Hyral -> Hyrule * put some more care into z_std_dma
2024-08-22Pause docs: page backgrounds vertices and quads (#2065)Dragorn421
* Pause docs: page backgrounds vertices and quads * update disasm metadata
2024-08-22Grab bag of fix_bss.py fixes (#2066)cadmic
2024-08-21Document `z_player` AnimSfxType and related functions (#2057)Pepe20129
* Document AnimSfxType and related functions * Rename ANIMSFX_TYPE_DEFAULT to ANIMSFX_TYPE_NO_OFFSET * Fix format * Rename walking types and improve comments * Apply comment suggestion * Address review * Fix format * Address review
2024-08-20Fix memmove file splits (#2063)cadmic
2024-08-20Match n64dd text in code (#2058)Dragorn421
* match n64dd text * format * fixups * add n64dd segment using baserom * cleanup syms 1 * cleanup symbols 2 * cleanup D_800FF4B0 * fix declaration usage and linking for D_800FF4B0
2024-08-20Add versions.h (#2060)Dragorn421
2024-08-20Match more ntsc-1.2 overlay draw functions (#2061)cadmic
* Match more overlay draw functions * Review
2024-08-20Move non-libultra libc functions to src/libc/ (#2055)cadmic
* Move non-libultra libc functions to src/libc/ * Add explicit nops in delay slots * Don't rely on CPP expanding undefined macros to 0 * Delete old Makefile rules * Fix type of memset()
2024-08-19Fix missing DEG_TO_BINANG2 (#2059)cadmic
2024-08-19Add "disasm sym_info.py" script (#2054)Dragorn421
* Add "disasm sym_info.py" script for investigating the expected memory layout * review * add friendly error if context.csv is missing * rom as hexadecimal * require spimdisasm 1.28.1 (technically not *required* but may as well) * some fixups on symbol lookup logic
2024-08-19Allow building the Debug ROM without debug features (#2052)cadmic
* Allow building the Debug ROM without debug features * Fix bss * Add comment * Reword again * Fix bss
2024-08-19[ntsc-1.2] Match boot_main.c, logutils.c, z_locale.c (text) (#2053)Dragorn421
* Match boot_main.c, logutils.c, z_locale.c (text) * review * review 2
2024-08-19Use incremental link for z_message/z_game_over data shenanigans (#2051)cadmic
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-08-19Match ntsc-1.2 z_scene_table.c (#2050)cadmic
* Match z_scene_table.c * Attempt to fix bss ordering * Forward declare PlayState instead * Untangle circular includes in z64scene.h
2024-08-19Miscellaneous N64 actor changes (#2048)cadmic
* Misc N64 actor changes * Apply naming suggestions
2024-08-18Add DEG_TO_BINANG2/RAD_TO_BINANG2 to match ntsc-1.2 z_en_gs.c, z_en_mm.c, ↵cadmic
z_en_toryo.c (#2047) * Add DEG_TO_BINANG2/RAD_TO_BINANG2 * Remove redundant cast
2024-08-18Use BSS section start from map file in fix_bss.py instead of guessing (#2045)cadmic
* Use BSS section start from map file * Expand comment about section start heuristic * Reword
2024-08-17[Audio 5/?] Build the Samplebank Table (#2044)Tharo
2024-08-17Fixup printf args fake matches (#2049)Dragorn421
2024-08-15Decompile N64 anti-piracy checks in overlays (#2042)cadmic
* Decompile N64 anti-piracy checks in overlays * Fix BSS splits (I think) * Use physical address and comment on meaning Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-08-15Update links in readme (#2043)Dragorn421
2024-08-15Match ntsc-1.2 z_skelanime.c, z_view.c, z_viszbuf.c (#2041)cadmic
2024-08-14Build all GC retail ROMs in Jenkins (#2027)cadmic
* Build all GC retail ROMs in Jenkins * Delete progress tracking Doesn't play nicely with deleting extracted/ and build/ after each version, and it currently serves no purpose * Update Jenkinsfile Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Reorder ROMs * Symlink ROMs instead of copying --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-14padutils.c, line numbers (#2040)Dragorn421
2024-08-14[ntsc-1.2] Match z_construct.c, z_draw.c, z_kaleido_setup.c and partially ↵Dragorn421
z_actor.c (#2039) * func_80033C30 * Interface_Init * z_draw.c * KaleidoSetup_Destroy , n64dd.h * z_kaleido_setup.c * add n64dd files to spec according to tools/disasm/ntsc-1.2/files_code.csv , they're between irqmgr.o and fault.o putting them before or after malloc_debug.o in the spec is an arbitrary choice
2024-08-14[Audio 4/?] Build Samplebanks, match Audiotable (#2032)Tharo
* [Audio 4/?] Build Samplebanks, match Audiotable * Fix some makefile formatting * Add missing scope in MARK chunk handling * Add comment to generate asm file when buffer bug data is emitted, remove duplicate CC4 definition * Adjust comment * SBCFLAGS * Remove unnecessary comments on notes_lut * Split build directories creation command into several to avoid it becoming too long * objcopy -j -> --only-section * Fix mkdir warning when extracted/VERSION/assets doesn't exist
2024-08-14checksums for ntsc 1.2 JP and US, accept both as baserom (#2030)Dragorn421
2024-08-14Generic actor params getters (#1359)Tharo
* Initial PARAMS_GET macros * NOSHIFT macro * Use number of bits rather than raw mask values * Add descriptions for each generic macro * Reformat * Adjust comment * format * edit en_door macro names * edit redead macro name * edit bdan switch macro name, and remove unneeded comments in go2 * mizushutter macro names * remove PARAMS_GET_S, rework ishi switch flag handling * actually remove PARAMS_GET_S * remove PARAMS_GET2_S * PARAMS_GET_U and PARAMS_GET_S * format * fix merge * format --------- Co-authored-by: fig02 <fig02srl@gmail.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-14fix preprocess_pragmas and add tests (#2038)Dragorn421
2024-08-14Fix a few function names in disassembly (#2036)cadmic
* Fix z_message.c function names in disassembly * Fix more functions
2024-08-14Rewrite preprocess.py with bash and C (#2035)Dragorn421
* add C preprocess_pragmas and Bash preprocess * "line return" -> newline * align tools sources * fix: handle files that are not newline-terminated * use a temp directory with a same-basename file instead of a temp file * macos compat * remove debug code
2024-08-12Fix tools/ido_block_numbers.py (#2037)cadmic
2024-08-12Match a bunch of overlay draw functions (#2034)cadmic
* Match a bunch of actor draw functions * Change z_demo_gt.c draw functions to take Actor* thisx
2024-08-12Add names to all typedef'd structs, unions, and enums (#2028)cadmic
* Add names to all typedef'd structs, unions, and enums * wtf vs code * Use a better regex
2024-08-11Match ``z_fbdemo.c`` and ``z_fbdemo_fade.c`` for NTSC-1.2 (#2031)Yanis
* matched ntsc-1.2 fbdemo/fbdemo_fade * remove ifdef for fbdemo * remove macro for 's match
2024-08-11Update c_cpp_properties.json for VSCode (#2033)Dragorn421
2024-08-11[Doc] name function func_8002DBD0 to Actor_WorldToActorCoords (#2029)krm01
* name function Actor_WorldToActorCoords * clean up some misleading usages
2024-08-11[Audio 3/?] Set up building samples (#2024)Tharo
* [Audio 3/?] Set up building samples * AIFF -> SAMPLE
2024-08-11Set up build system and disassembly for ntsc-1.2 (#2021)cadmic
* Set up build system for ntsc-1.2 * Set up disassembly for ntsc-1.2 * Add all unnamed functions to functions.txt * Update docs/retail_versions.md for ntsc-1.2 * Format * Update docs/retail_versions.md Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Remove mention of US * OOT_N64 -> PLATFORM_N64, OOT_GC -> PLATFORM_GC * Move mtxutil to libultra/gu * Fix libultra/io bss splits * Fix merge --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-10doc pass for gravestone actor (#2026)krm01
2024-08-10Add "do {} while (0);" to CLOSE_DISPS (#2025)cadmic
2024-08-09Match remaining GC retail versions (#2019)cadmic
* Match the remaining GC retail versions * Fix BSS ordering for existing versions * Disable clang-format for #pragma increment_block_number * sramResetCode -> sSramResetCode * Replace 0xFF3F with or-ing all buttons together * Revert "Disable clang-format for #pragma increment_block_number" This reverts commit 406b6d26c92911c676a7ea9f07a1612211760e11. --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-09Handle multiline `#pragma increment_block_number` (#2023)Dragorn421
* Handle multiline #pragma increment_block_number * fix: align all continuation characters vertically * simplify continuation line character alignment * Update tools/fix_bss.py Co-authored-by: cadmic <cadmic24@gmail.com> --------- Co-authored-by: cadmic <cadmic24@gmail.com>
2024-08-09Add -DF3DEX_GBI_2 to format.py flags (#2022)cadmic
2024-08-08[Audio 2/?] Extract audio samples to wav (#2020)Tharo
* [Audio 2/?] Extract audio samples to wav Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com> * How * Hopefully fix warning I don't get locally * Pad default sample filenames, comment on the vadpcm frame encoder functions, other suggested changes * Small tweaks to above * Remove some obsolete code --------- Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com>