Commit Graph

74 Commits

Author SHA1 Message Date
YunataSavior 24c08d322e
e_rd, npc_ks dbg work (#3029)
* Partial e_rd, npc_ks dbg work

* More e_rd matching

* e_rd fixes and dbg ctor matched

* obj_ita dbg equiv

* e_st dbg almost equiv

* Some obj_ladder dbg work

* dbg e_rd PR comments

* Further e_rd dbg clangd fixes
2026-01-11 19:49:05 -08:00
Jcw87 2dd7e2ea62
J2DGraph debug (#3028)
* J2DGraph debug

* J2DGraph debug
2026-01-11 19:00:04 -08:00
Jcw87 5b987084ea
JUtility debug (#3020) 2026-01-05 04:07:04 -08:00
Jcw87 deb7bead20
JKernel debug (#3012) 2026-01-04 17:22:56 -08:00
LagoLunatic ce895330ed
Add missing RVL .init splits (#2989)
* Fix Debug_BBA being in the wrong split for GCN

* Add .init splits/symbols for Wii versions

* Fix incorrect relocations detected to __check_pad3 for Wii

* Add .init splits and fix __check_pad3 for Shield versions
2025-12-22 21:55:51 -08:00
Max Roncace 9767e76ba0
GCN data 100% matching (#2987)
* Update GZ2J01 symbols from linked DOL

* GCN data 100% matching

* Run dtk apply
2025-12-22 15:41:19 -08:00
LagoLunatic b4f931f75f
Miscellaneous data fixes (#2983)
* Replace bss lbl_ with init$0000

* Rename l_HIOInit to hio_set

The name is excluded from TP's weird maps, but hio_set is the name they used in TWW's maps.

* Fix a couple more init$ names

* Fix nbomb missing some bss

* Fix camera localstatics having wrong name

* Rename l_initHIO to hio_set

* A couple manual fixes

* Rename hioInit to hio_set

* Couple more manual fixes

* Fix d_a_npc_cd2 data and function order

* More data fixes

* Fix inconsistent hex vs decimal
2025-12-21 16:43:06 -08:00
Max Roncace c69e31bd0f
Make Debug_BBA symbol global in __start.c (#2982)
This fixes an issue where the virtual address of the symbol would
be appended after the name making it impossible to automatically
match the symbol on more than one version.
2025-12-21 12:36:00 -08:00
LagoLunatic 1b8ea3206d
J3D debug work (#2949)
* J3D debug work

* Clean up JSystem GXColor ctors, remove a couple fakematches

* Update symbols.txt

* Fix res include syntax

* Remove fakematch that isn't necessary anymore

* Fix some Shield regressions
2025-12-12 21:04:03 -08:00
LagoLunatic 4fb3af91b8
Various small matches (#2879)
* Misc debug matches

* Fix JASBasicWaveBank weak func order

* Remove more dol2asm stuff, fix missing includes

* Some data fixes

* Update comments

* d_file_sel_warning is already OK

* Fix Z2 splits

* Fix movebox namespace

* Fix inlining issue in m_Do_ext

* Fix Z2 splits for P and J
2025-11-27 21:34:18 -08:00
TakaRikka 6f96e66518
various Z2Audio / JAudio debug cleanup (#2876)
* some JAudio work

* audio cleanup checkpoint

* checkpoint more audio cleanup

* fix symbols

* more z2 cleanup

* fix regression

* fix build

* some fixes
2025-11-27 21:19:33 -08:00
Max Roncace 3080360a2a
d_kankyo matching (#2872) 2025-11-26 13:52:12 -08:00
Max Roncace 2bff9b49b5
d_particle equivalent (#2869) 2025-11-25 20:55:01 -08:00
Max Roncace 24c1bf1723
Clean up d_msg_unit, misc fixes for PAL and JPN (#2848) 2025-11-22 18:40:49 -08:00
Max Roncace f2ad303961
Link d_msg_class (all) and d_msg_unit (JP only), minor alink fix (#2846) 2025-11-21 21:45:29 -08:00
Max Roncace e6a5d5c3dd
Miscellaneous retail+debug fixes, link several new TUs (#2836) 2025-11-20 23:09:21 -08:00
LagoLunatic 91011befd7
Remove fake matches, fix false equivalencies, and other small matches (#2837)
* Debug matches and remove fake matches

* Fix false equivalencies, regallocs, and vtable orders

* Fix PAL splits
2025-11-20 21:17:51 -08:00
LagoLunatic 4cf2c7e37d
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch

* d_a_obj_item OK

* Fix ninja diff

* Misc debug/nonmatching fixes

* Fix ninja diff for PAL

* Fix bad PAL split
2025-11-19 14:10:03 -08:00
Max Roncace 8956be538e
d_a_npc_grs matching (#2827) 2025-11-19 13:27:28 -08:00
hatal175 158899a16d
debug work on d_a_e_fb (#2819) 2025-11-18 01:34:52 -08:00
hev7 fad2f41e33
d_a_npc_kyury matching (#2808) 2025-11-15 04:04:45 -08:00
hev7 2387021347
d_a_npc_pouya matching (#2806)
* d_a_npc_pouya matching

* mItemPartnerId fix
2025-11-15 04:02:24 -08:00
hev7 e331c37001
d_a_npc_knj matching (#2779)
* d_a_npc_knj matching

* remove casts
2025-11-07 16:51:13 -08:00
hatal175 1704a3acba
d_a_obj_kuwagate OK (#2774) 2025-11-06 14:15:07 -08:00
Max Roncace c428403198
d_a_e_sh matching (#2772) 2025-11-05 19:16:06 -08:00
TakaRikka 226325284d
lv6togetrap, swpush2, tafence done (#2771)
* lv6togetrap, swpush2, tafence done

* fix jp/pal

* Use dEvtCnd_CANDEMO_e

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-11-06 03:19:01 +02:00
Max Roncace 1be8e6c6c8
d_a_e_hm matching (#2764) 2025-10-31 22:04:10 -07:00
TakaRikka 194282d2c2
obj_pdwall / obj_rw / obj_stopper2 done (#2760)
* obj_pdwall / obj_rw / obj_stopper2 done

* fix jp/pal

* Use NULL instead of 0

* Use dEvtCnd_CANDEMO_e

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-10-30 07:56:22 +02:00
hev7 a61d0272a6
NPC work, obj_szbridge matching (#2757)
* Some NPC work

* Fix impal

* Hopefully fix regressions in debug

* HIO work for more NPCs

* fix regressions

* obj_szbridge matching

* Fix literals
2025-10-26 13:03:16 +02:00
hev7 8074d91ff1
d_name matching for PAL (#2751) 2025-10-22 03:52:02 +03:00
hev7 7d2e6ba444
d_a_npc_len matching (#2748)
* d_a_npc_len matching

* HIO

* more work on len

* d_a_midna work for PAL

* mg_rod PAL work
2025-10-21 21:37:13 +03:00
TakaRikka 850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
2025-10-19 20:30:49 +03:00
roeming c215366d9f
link d_a_obj_lv6swturn (#2743)
* link d_a_obj_lv6swturn

* fix pal and jp build

* fix suggestions
2025-10-17 19:56:17 -07:00
hev7 962728ce44
d_name work for PAL (#2742)
* d_name work for PAL

* Fix regressions
2025-10-17 16:46:07 -07:00
Luzagar 9e3d968435
Some henna documentation (#2739)
* henna minor cleanup

* rename light to kankyo

* more cleanup

* pos

* more cleanup

* fix build

* final fix
2025-10-17 15:11:34 -07:00
hatal175 d3c3fd09de
d_a_obj_gadget OK (#2735) 2025-10-13 20:11:30 -07:00
TakaRikka fc6c0fd88c
lv4bridge / lv4prwall done (#2728)
* lv4bridge / lv4prwall

* fix jp/pal
2025-10-07 20:42:10 +03:00
hatal175 8a99c051d1
d_a_e_yh OK (#2727) 2025-10-06 20:23:08 -07:00
Howard Luck 143f19636b
d_a_obj_swLight OK (#2712)
* checkpoint

* d_a_obj_swLight OK

* fixup symbols and splits

* put static assert back

* fixes for taka
2025-09-28 17:35:50 -07:00
Howard Luck 80626def07
d_a_obj_spinLift OK (#2696)
* d_a_obj_spinLift equivalent

* fixes
2025-09-25 17:43:56 -07:00
Max Roncace ca55fe6cc9
Link some newly-matched TUs for PAL and JP (#2699) 2025-09-25 10:27:15 -06:00
Howard Luck f932405784
d_a_obj_smgdoor OK (#2692)
* d_a_obj_smgdoor OK

* symbols

* dEvtCnd_CANDOOR_e

* remove else
2025-09-24 19:51:01 +03:00
Howard Luck 47abdf82fa
d_a_obj_crvlh_up OK (#2687)
* d_a_obj_crvlh OK

* rm padding

* rm test.cpp
2025-09-22 19:16:21 -07:00
Howard Luck c51868e48b
d_a_obj_crvlh_down OK (#2683)
* d_a_obj_crvlh_down OK

* symbols

* Minor fixes

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-22 14:45:02 +03:00
hatal175 e82806047b
d_a_obj_kznkarm OK (#2678)
* d_a_obj_kznkarm OK

* d_a_title GZ2P01 Matching

* More GZ2P01 Matches

* d_s_name matching for PAL

* d_msg_scrn_light Matching for PAL

* d_menu_fishing Matches on PAL

* d_file_sel_info Matches on PAL

* d_a_npc_cd Matching on PAL

* d_error_msg Matches on PAL

* d_cam_param matches as is on PAL

* Fix PAL JSystem and Z2AudioLib splits/symbols

* Aligning the rest of TUs to compile on all GC versions
2025-09-21 13:26:34 -06:00
Howard Luck 9a19ec0c13
d_a_obj_bemos equivalent (#2679)
* checkpoint

* e_wb changes

* checkpoint

* small fix

* d_a_obj_bemos equivalent

* add comment, fix other version symbols

* fixes for hatal
2025-09-21 19:00:19 +03:00
hev7 d912d85322
Link already matching TUs for PAL (#2666) 2025-09-17 17:06:57 -07:00
LagoLunatic 956e84b0e7
Start linking some TUs on debug and PAL (#2612)
* Fix clang union handling (affects all TUs including d_camera.h)

Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix.

* Link all TUs that already match on debug

In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this.

* Remove some fakematches (nosyminline/sym off) for weak func order in retail

* Fix clang not knowing that MSL_C++ is C++

* Link more debug TUs

* Fix missing PAL split

* Fix wrong slashes being used in includes

* RZDE01_00: Fix incorrect capitalization in config.yml

* Add RZDE01_00 to configure task

* Revert configure.py to use MatchingFor

* Fix PAL splits and symbols, link matching PAL TUs
2025-08-27 17:37:31 -07:00
LagoLunatic 0579f4acef
Fix d_a_ykgr retail regalloc and mostly match on debug (#2608)
* d_a_ykgr OK

* Fix sqrtf for shield

* Fix pch caps
2025-08-27 01:40:48 -07:00
LagoLunatic ee6c527735
Add PAL, JPN, and Shield versions to CI, update dtk-template (#2605)
* Add ShieldD to GitHub CI build

* Update dtk-template, add support for CI caching

* Fix PAL and JPN not building on Linux due to case sensitive file paths

* Add PAL and JPN to GitHub CI build

* Fix bad copy paste
2025-08-25 17:45:28 -07:00