Commit Graph

1889 Commits

Author SHA1 Message Date
Anghelo Carvajal e16d4f9bc5
Merge 6833c6d402 into 43a3ad88dc 2025-07-31 13:01:08 -04:00
Tharo 43a3ad88dc
Handwritten asm build prep, add handwritten asm for the code segment (#1807)
* Convert entry.s to IDO, use objcopy instead of ipl3.s and audio/lib/stack.s, add handwritten asm for the code segment

* Fix disasm, review comments

* Other suggestions
2025-07-31 13:00:42 -04:00
Anghelo Carvajal 6833c6d402 Include `gcc-mips-linux-gnu` in the dockerfile 2025-07-31 12:31:06 -04:00
Anghelo Carvajal 8ff236f60f Update docker docs.
Some references were broken in the markdown files, and there's no longer a need to run the git `safe.directory` command since the docker file was doing it already
2025-07-31 10:50:14 -04:00
Anghelo Carvajal 80807f47ae Fix dockerfile.
It was broken because the practicerom package changed stuff and apt didn't like whatever changed.
This is the commit that seems to have broken how the old practicerom package worked: e7bec93b0b (diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5)
2025-07-31 10:50:14 -04:00
Eblo a6411b4ba2
Replace erroneous CsCmdStartSeq with CsCmdStopSeq (#1812) 2025-07-05 12:54:47 -04:00
engineer124 d31ceacfdf
Document Player's Face and z_actor FaceChange functions (#1777)
* player face docs

* more docs

* cleanup

* toto

* more comments

* fix bss, names

* better comment

* PR, fix comment

* fix bss

* sEyeTextures comment

* FaceChange_UpdateBlinkingNonHuman

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-06-03 18:59:25 -07:00
Tharo ace4043d1a
Some sequence 0 improvements (#1811)
* Some sequence 0 improvements

* Fix writing s16
2025-05-25 22:48:29 -07:00
Derek Hensley 13d92a413b
Misc Fixes (#1809)
* EnAn MsgScriptCallback

* Version check

* Write .extracted-assets.json to outputDir

* Fix m2ctx

* Fix boot_functions.csv
2025-05-25 19:10:03 -07:00
Derek Hensley c99e2328ef
Fix_bss script update and fixes (#1805)
* Hardcode dealing with unreference bss at the start of files

* format
2025-05-25 09:33:14 -07:00
Derek Hensley 530e6d7fe7
Seperate baserom segments dir from output dir (#1802) 2025-05-24 09:58:06 -04:00
tomtee 2ab028b465
Document inconsistent empty C-button disabling bug (#1810)
* Document inconsistent empty C-button disabling bug

* Fixed formatting
2025-04-23 17:47:01 -04:00
louist103 dc81d2285c
Fix OOB in bom bowl man (#1808)
* Fix OOB access

* Remove rej

* Remove comment

* Forgot headers don't auto build

* Use 4 elements

* rename CSID3
2025-04-23 09:55:54 -04:00
Tharo a4056abd3c
Split RSP files (#1806) 2025-04-11 21:17:26 -07:00
Derek Hensley 03f12527e1
Remove us specific dmadata table (#1801) 2025-03-24 11:01:04 -03:00
Derek Hensley 9ca02c79b5
Misc fixes (#1800)
* disasm_fix

* dtor

* Fault_LogThreadContext

* rearrange microcode

* sGfxPrintFont size of 0x800

* Move (null) to stackcheck

* vimgr bss

* sfx

* Remove code_801D1E80

* z_en_hy_code

* Fix assembler messages with endlabels and dlabels

* xlitob data

* Move skin unused bss pad to rumble
2025-03-24 10:52:10 -03:00
Ozero4 9213dc7a5e
func_80183070 to Sys_Freeze (#1686) 2025-03-04 19:06:23 -08:00
Derek Hensley 16fbbef6f5
Document credits dog OOB access (#1796)
* Document credits dog OOB access

* PR review

* Add speculation why dog is drawn upside down

* typo
2025-03-03 13:36:59 -03:00
Derek Hensley b9c7cbcbf6
EffectSs Sync (#1799)
* gEffectSsOverlayTable

* Sync with OoT docs
2025-03-03 13:22:56 -03:00
Isghj fde2b78a92
`En_Kaizoku` and `object_kz` documented: the pirate fighter miniboss (#1788)
* Kaizoku: some docs

* Kaizoku: more docs

* Kaizoku: more docs

* Kaizoku: all object labeled

* Kaizoku: more docs

* More docs

* Kaizoku: more docs

* Kaizoku: more docs

* Kaizoku: more docs

* Kaizoku: first pass complete

* format

* Kaizoku: minor tweaks

* Kaizoku: Anghelos requested changes pass1

* Kaizoku: minor docs

* Kaizoku: get'n't

* Kaizoku: format

* Apply suggestions from code review

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Kaizoku: back to OK

* Kaizoku: more requested changes

* Kaizoku: outfit and lipstick color enums

* Kaizoku: rename object assets from gKaizoku to gFighterPirate

* Kaizoku: LIMB_FULL

* Kaizoku: some requested changes

* Kaizoku: more requested changes

* Apply suggestions from code review

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Kaizoku: back to matching

* Kaizoku: requested changes

* Kaizoku: missed change

* Apply suggestions from code review

Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>

* Kaizoku: back to matching and more requested changes

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
2025-02-26 16:59:58 -08:00
Dragorn421 679ae89099
Macroify MML opcodes (#1798)
* Macroify MML opcodes

* format

* sync w/ oot: shorten macro names, -DMML_VERSION in Makefile
2025-02-23 06:41:05 -08:00
Derek Hensley 61961fb938
Remove asm-processor in favor of preprocess.sh (#1760)
* Remove asm-processor in favor of preprocess.sh

* Remove duplicate CMD_F

* preprocess_pragmas gitignore

* Mac fixes

* Macos + clang as cc check fixes

* Need quotes for paths with spaces

* Fix bss
2025-02-21 18:02:19 -08:00
Derek Hensley a96c93d936
Small Misc fix cleanups (#1797)
* MapDisp_AllocDungeonMap

* func_80B833C4

* func_80ABD92C

* EnFirefly comment offsets
2025-02-21 17:24:51 -08:00
Derek Hensley 8d9750652e
Small sys_flashrom clean up (#1795)
* sys_flashrom cleanup

* Remove uncessary data word from function names

* format
2025-02-21 17:00:11 -08:00
Isghj 6f626d9186
`EnIshi` documentation pass, and `gameplay_field_keep` assets labeled (#1794)
* Ishi: some docs

* Ishi: more docs

* Ishi: more docs

* Ishi: field_keep assets labeled

* Ishi: format

* Ishi: minor docs/fixes

* Ishi: requested changes

* Spawn and Dust Funcs

* Ishi: only us version

* Ishi/Bombiwa: more requested changes

* Ishi: format

* Apply suggestions from code review

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Ishi: back to matching

* Ishi: a value got inverted somehow

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-02-21 16:31:45 -08:00
Derek Hensley 4780abbfd8
Misc FAKE fixes (#1783)
* CutsceneCamera_UpdateSplines fake match

* CutsceneCamera_Init -1 splineIndex

* Eye Point comment

* func_80B781DC better fake

* func_80B32F04

* ObjSwitch_Update

* ObjSwitch_InitTrisCollider

* ObjAqua_Init

* EnTrt_ItemGiven

* func_80C10E98 partly

* EnTest7_WarpCsWarp this to 1

* EnTest6_InvertedSoTCutscene better fake

* EnTest6_DrawAmmoDropRupee

* EnPoSisters_MatchPlayerY

* func_8095B76C

* EnMinifrog_Init

* func_80A5C0B8

* EnKnight_UpdateEffects

* EnKnight_FlyingHeadAttack

* EnKakasi_Init

* EnInvadepoh_ModelInfo_GetNextFaceAnim

* BgAstrBombwall_InitCollider like func_809CE068

* Player_UpdateInterface

* Player_CsAction_TranslateReverse

* DynaPoly_AddBgActorToLookup better fake

* CutsceneManager_FindEntranceCsId

* func_800AE930 better fake

* Math3D_CylVsLineSeg better fake

* MapDisp_InitBossRoomStorey

* Play_Init

* EnTimeTag_Diary_Wait better fake

* Remove fake label from Player_SwordFromIA

* Player_PostLimbDrawGameplay partly

* EffectBlure_AddVertex prev temp

* Player_PostLimbDrawGameplay attempt 2

* AudioMgr_StopAllSfxExceptSystem

* Camera_Normal0

* Camera_Jump2

* Camera_Normal3

* PR review
2025-02-16 09:30:27 -08:00
Derek Hensley 1241a8ca5c
Move spec to spec folder (#1790) 2025-02-02 13:37:38 -08:00
Tharo 84a89c8f46
GCC Compiler Support (#1791)
* GCC Compiler Support

* Update mkldscript
2025-02-02 13:15:55 -08:00
Sirius902 89b7bb0d71
Fix /bin/bash -> /usr/bin/env bash (#1793) 2025-01-29 21:16:26 -08:00
Derek Hensley c767f49455
Extract Incbins (#1776)
* extract incbins infastructure

* rspboot incbin

* rsptext incbin

* rspdata incbin

* aspMainStack incbin

* ipl3 incbin
2025-01-27 13:15:16 -03:00
Derek Hensley 982ca889e2
Misc Cleanup (#1782)
* Remove some unnecessary casts in Graph_TaskSet00

* gGfxSPTaskYieldBuffer as u64

* gGfxSPTaskStack size macro

* R_THREE_DAY_CLOCK_Y_POS set to negative number

* scope cfb in Graph_TaskSet00

* Graph_ThreadEntry types

* func_80124618

* SysCfb_SetHiResMode
2025-01-27 12:48:59 -03:00
Derek Hensley b9267f0550
GCC Testing Vanilla bugs (#1789)
* doc desbreko draw damage effect bug

* doc like like sfx bug

* doc shellblade incorrect sfx id

* document powder keg text incorrect sfx

* Doc more sfx bugs with shellblade
2025-01-27 11:35:50 -03:00
Isghj 44d593f5f1
Torch: arrow lit type enum (#1792) 2025-01-24 23:57:03 -08:00
Tharo 2b069011be
Provide AVOID_UB for some bugs found in GCC compiler testing (#1785)
* Provide AVOID_UB for some bugs found in GCC compiler testing

Co-authored-by: Fig02 <fig02srl@gmail.com>

* Format

* Fix silly typo

* Mention MM3D in en_dnq bug comment

---------

Co-authored-by: Fig02 <fig02srl@gmail.com>
2025-01-20 19:52:03 -03:00
Tharo 37e5653755
Add makefile rule to build sample blobs out of assets/ (#1787) 2025-01-20 09:53:59 -08:00
Tom Overton 680829d394
Document original player animation names in `gameplay_keep` (#1786) 2025-01-20 08:40:06 -08:00
Derek Hensley 74266850b0
Download IDO recomp instead of commiting binaries (#1781)
* download ido

* silence curl
2025-01-12 08:52:50 -08:00
Tharo e8e73fe771
Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx (#1784)
* Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx

* Fix bss
2025-01-12 08:30:17 -08:00
Derek Hensley 385c45ad48
Match SysCfb_Init without extra symbols (#1780) 2024-12-28 08:47:11 -03:00
Derek Hensley da09352606
Move D_80097508 out of system_heap.c (#1779) 2024-12-28 08:27:25 -03:00
Derek Hensley 602053c349
Misc Fixes (#1778)
* kaleido_map double parens

* ObjUm PostLimbDraw fake match

* z_parameter double parens

* voice_internal func_801A541C return type

* audio load missing return comments

* EnTest7_DrawFeathers

* EnTest7_UpdateFeathers

* format
2024-12-26 11:19:36 +11:00
Derek Hensley cb6a10208c
Add D_801D1E80 to data in audio lib (#1775)
* Add D_801D1E80 to data in audio lib

* comment

* Update src/audio/lib/data.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

---------

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-12-24 14:15:16 +11:00
Tharo 06b06ab507
Check in makerom files (#1758)
* Check in makerom files

* Fix disasm for asm files in src
2024-12-22 15:48:13 -08:00
Yanis 187e75c441
bgcheck macros from OoT (#1774) 2024-12-22 15:34:35 -08:00
Tharo 2a152a9676
Apply the NORETURN attribute to functions that do not return (#1768)
* Apply the NORETURN attribute to functions that do not return

* Add NORETURN to debug.c functions
2024-12-22 15:24:47 -08:00
Tom Overton 16d8f4870d
Add original asset names to `gameplay_field_keep` and `gameplay_dangeon_keep` (#1772) 2024-12-22 20:10:12 -03:00
engineer124 4724a2b7fe
Standardize "ActorMovement" over "ActorMove" (#1773)
* actor movement

* cleanup

* missed one
2024-12-21 14:15:10 +11:00
ptweezy a8eb7e327f
Updated Docker Image (#1764)
* dockerfile improvement, ubuntu upgrade, reducing docker layers, increased parity with ooo project

* changing to apt-get

* reducing steps based off PR feedback

* improved comments

* revert

* you have to install curl first

* no need to change this
2024-12-21 13:55:39 +11:00
Tharo 5a9c2871ed
Move gAudioTatumInit and gAudioHeapInitSizes to their own file, using data-with-rodata instead of const qualifiers (#1771)
* Do not qualify gAudioHeapInitSizes with const under AVOID_UB

* Move gAudioTatumInit and gAudioHeapInitSizes to their own file, move data to rodata

* Space
2024-12-21 12:41:28 +11:00
Tharo 047c505b96
Remove gSystemHeap and the system_heap spec segment, use _buffersSegmentEnd to represent the start of the system heap (#1767) 2024-12-19 16:38:44 +11:00