summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-08[Audio 1/?] Extract Samplebanks and Soundfonts to XML (#2008)Tharo
* [Audio 1/?] Extract Samplebanks and Soundfonts to XML * Remove config.py and use the version yamls for addresses, other suggested changes * Adjust setup-audio * Remove some commented out dead code (MM review)
2024-08-08Match NTSC z_kaleido_scope.c (#1988)cadmic
* Match NTSC z_kaleido_scope.c * Use new REGs everywhere * Add comments for YREG initialization * Use new REGs everywhere for real * Fix merge
2024-08-06Add make_options.mk (#2016)fig02
* make-options.mk * fix file name * Make more settings overwritable with .make_options.mk and group them together * PAL -> EU --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-08-03Use recomp instead of qemu-irix in Jenkins (#2014)cadmic
2024-08-02Remove tutorial, link to the latest zeldaret/oot:main revision with it (#2013)Dragorn421
* Remove tutorial, link to the latest zeldaret/oot:main revision with it * proofreading here too * rename to decompiling_tutorial --------- Co-authored-by: fig02 <fig02srl@gmail.com>
2024-08-02Automate fixing BSS ordering (#2009)cadmic
* Automate fixing BSS ordering * Typo * Some cleanups * Move pragma check after printing BSS info * Some proofreading * multiprocessing, require version, some colors * Tweak output * Black + mypy * Move logging and sys.exit out of helper functions * Use stdout instead of stderr in fix_bss.py * Add suggestion to conflicting offsets error Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Remove var = list[T]() * Improve error handling Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Add error if no pointers to BSS * Add comment about process_file_worker * Only print updates if stdout is a tty * Use new binary-search-esque candidate generation algorithm Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Add Wikipedia link * More comment tweaks --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-02`InitVars` -> `Profile` (#2011)fig02
* rename ActorInit * rename actorInit * rename initInfo * EffectSs Profile * _InitVars -> _Profile * format, loose ends * revert tutorial
2024-08-02Clean up gitignore (#2012)Dragorn421
* Clean up gitignore * review * reivew
2024-07-31Update vs code config and provide c_cpp_properties.json with all supported ↵Dragorn421
versions (#2010) * Update oot-gc-eu-mq-dbg example vscode config and provide c_cpp_properties.json with all supported versions * remove N64 prefix from config names * newline at end of file
2024-07-29Create build directories for committed assets (#2007)Tharo
2024-07-29Fix Makefile performance regression with OOT_VERSION define (#2006)cadmic
2024-07-28Introduce OOT_VERSION and OOT_REGION defines for build info and ROM header ↵cadmic
(#2003) * Use version defines for build info and ROM header * Use existing REGION_ defines for OOT_REGION instead
2024-07-28Configure incbins in version config instead of using the Debug ROM (#2005)cadmic
* Run CPP for data/*.s * Configure incbins in version config instead of using the Debug ROM
2024-07-28Match NTSC loose ends (#2004)cadmic
* Match NTSC loose ends * Add comment about giObjectSegment size
2024-07-27Document `ANIM_FLAG_PLAYER_2` as `ANIM_FLAG_DISABLE_CHILD_ROOT_ADJUSTMENT` ↵fig02
(#2001) * name ANIM_FLAG_DISABLE_CHILD_ROOT_ADJUSTMENT * reword * typo
2024-07-27Document bottle color bug (#2000)fig02
* bottle color bug * adjust wording * format * small thing * reword * missed a letter
2024-07-27Detect shifted .bss sections in check_ordering.py (#1992)cadmic
* Restrict check_ordering.py to .bss sections by default * Detect shifted .bss sections in check_ordering.py
2024-07-23Restore makefile rules for building asset files out of the assets directory ↵Tharo
(#2002) * Re-add makefile rules for building asset files out of the assets directory * Fix ASSET_FILES_OUT
2024-07-21Match NTSC z_kanfont.c and z_message.c (#1997)cadmic
* Match NTSC z_kanfont.c and z_message.c Co-authored-by: inspectredc <inspectredc@gmail.com> * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Remove now-unnecessary padding * Remove msgBufDecoded comment * Use == NULL for fake match * Rename Message_DrawText{JPN,NES} -> Message_DrawText[Wide] * Font_LoadKanji -> Font_LoadCharWide * Restore FONT_MESSAGE_OFFSET/FONT_MESSAGE_LENGTH --------- Co-authored-by: inspectredc <inspectredc@gmail.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-07-21Rename `ANIM_FLAG_NO_MOVE` to `ANIM_FLAG_ADJUST_STARTING_POS` (#1981)fig02
* rename flag and draft 1 of comment * draft 2 * tweak wording * format * format
2024-07-21Small cleanup of cleararena (bootclear) (#1999)Derek Hensley
* cleararena use boot end * cleararena -> bootclear
2024-07-18Nicer AudioSeq_SequenceChannelProcessScript match (#1996)inspectredc
* Nicer AudioSeq_SequenceChannelProcessScript match * cadmic suggestion
2024-07-18Promote the warnings implicit-int, int-conversion, ↵Tharo
incompatible-pointer-types to errors (#1995)
2024-07-17Fix a couple of render modes (#1994)Tharo
2024-07-17make format.py clean up extra whitespace, also in .h files (#1991)Dragorn421
* make format.py clean up extra whitespace, also in .h files * fixup * cleanup whitespace msg * Update check_format.py to also check non-src files touched by format.py * format
2024-07-17Match NTSC z_en_mag.c (#1989)cadmic
2024-07-17Match NTSC z_parameter.c and z_construct.c (#1987)cadmic
* Match NTSC z_parameter.c and z_construct.c * Comment which REG collide * Use new REGs everywhere * Use new REGs everywhere for real
2024-07-17Create FILENAME_ macros for NTSC filename encoding (#1986)cadmic
* Create FILENAME_ macros for NTSC filename encoding * Add defines/comments for all filename characters * FILENAME_EXCLAMATION_POINT -> FILENAME_EXCLAMATION_MARK to match kanji file * hirigana -> hiragana
2024-07-17Fix extract_assets.py error message (#1985)cadmic
2024-07-17Handle messages with different box types/positions between JPN/NES (#1984)cadmic
* Handle messages with different box types/positions between JPN/NES * Remove redundant case * More asserts * Be a bit more Pythonic
2024-07-17Clean up custom LoadTextureBlock in z_map_mark.c and z_lmap_mark.c (#1896)mzxrules
* experimental inc.c * make it look proper * make table types u32 * ZCONST -> COND_CONST * Tharo suggestion and comment * implement MM Decomp suggestions * fix minor nits * Update header guard
2024-07-06Set up build system and disassembly for gc-us (#1982)cadmic
* Build gc-us * Set up gc-us disassembly * Don't disasm unchanged overlays * Fix gc-eu-mq BSS * romalign link_animetion for NTSC * Explicitly set CPP defines to 0/1 * Add #ifs to segment_symbols.h * Add sButtonTextures now * Fix message _SHIFTL usage * Don't ifdef LANGUAGE_MAX
2024-07-02Reworked text extraction + add JP text extraction (#1980)Tharo
* Reworked text extraction + add JP text extraction * Format * Suggested changes * Correct address for gc-us sJpnMessageEntryTable Co-authored-by: cadmic <cadmic24@gmail.com> --------- Co-authored-by: cadmic <cadmic24@gmail.com>
2024-06-27CCCHECK: Add -Werror=implicit-function-declaration (#1979)Dragorn421
2024-06-26Fix extract_assets.py -s modification check (#1978)cadmic
2024-06-26Extract NTSC assets for gc-us (#1973)cadmic
* Extract NTSC assets for gc-us * Extract kanji https://github.com/zeldaret/mm/pull/1536 Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com> --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-06-25Remove global.h from z_fishing (#1977)cadmic
2024-06-25Rename ANIM_FLAG_PLAYER_7 to ANIM_FLAG_OVERRIDE_MOVEMENT (#1969)fig02
* rename and add comments * format * override movement * format * rework comments * Remove whitespace at end of lines --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-06-25Move `PlayState` to a new `z64play.h` (#1966)Anghelo Carvajal
* ActorContext * frameadvance * SfxSource * GameOverContext * RoomContext * TransitionActorContext * fix bss * Move PlayState * Move play functions to new header * SAC_ENABLE * no longer needed * SAC_ENABLE again * z_demo being silly * comment * format headers * fix retail bss * actually fix bss * Cutscene_ProcessScript comment * bss again * Update src/code/z_demo.c Co-authored-by: cadmic <cadmic24@gmail.com> * rename to frame_advance and remove it from z64.h * move macros too * review * Rename SequenceContext to SceneSequences --------- Co-authored-by: cadmic <cadmic24@gmail.com>
2024-06-24Fix misc 22 (#1971)Dragorn421
* remove trailing whitespace * fix/docbug about dright for next page of fault menu * // size = ...; -> // size = ... * access `ColliderJntSph.elements` as an array * fixup doc in PreRender.c * empty line after decl * gdSPDefLights1 xyz arguments for direction are signed 8bit values * doc bug of bad use of free in EffDust actor * decimal for Actor.colorFilterTimer * shopItemEntries -> sShopItemEntries * HEISHI4_AT_KAKRIKO_ENTRANCE -> HEISHI4_AT_KAKARIKO_ENTRANCE * format
2024-06-24Rename gTitleZeldaShieldLogoMQTex -> gTitleZeldaShieldLogoTex (#1974)cadmic
2024-06-24 Set up multiversion assets with ZAPD and match gc-eu (#1967)cadmic
* Add ZAPD hack to deal with extracted/VERSION/ in include paths * Extract assets to extracted/VERSION * Add ZAPD flags to override virtual address / start offset / end offset * Configure offsets for code and overlay assets * Reorganize ZAPD configs * Match gc-eu-mq * Match gc-eu * Remove old asset dirs during distclean * Revert "Remove old asset dirs during distclean" This reverts commit fc8027a75f82289eee7b1822b82663b70789d63f. * make zapd addresses globals int64_t so they can store uint32_t addresses and -1 * slight cleanup extract_assets.py * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "0285e11f0" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "0285e11f0" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb" --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-06-22Automatically find end of staff message table (#1970)cadmic
2024-06-22Sync gbi.h with MM, move ucode defines to makefile (#1968)Tharo
* Sync gbi.h with MM, move ucode defines to makefile, use GBI_DEBUG instead of OOT_DEBUG * UCODE_DEFS -> GBI_DEFINES, add GBI_DOWHILE toggle
2024-06-21Rename `ANIM_FLAG_0` to `ANIM_FLAG_UPDATE_XZ` (#1964)fig02
* rename anim flag 0 * review * missed a word
2024-06-20Add point lighting gbi features (#1962)Tharo
* Add point lighting gbi features * Maybe fix bss ordering
2024-06-20Introduce version-specific YAML config (#1957)cadmic
2024-06-20Run CC_CHECK with the correct CPP defines (#1963)cadmic
* Run CC_CHECK with the correct CPP defines * Add "CPP_DEFINES ?="
2024-06-19Fix check_ordering.py checking for shifted/nonmatching-besides-relocs (#1961)Dragorn421
2024-06-19Experiment: remove global.h dependency from sys_math, sys_math3d, z_lib (#1956)mzxrules
* split sys_math, sys_math3d, z_lib from global.h * suggestions * forgot this * more math stuff * nit fix * re-add ichain.h * resolve tharo's comments