Commit Graph

970 Commits

Author SHA1 Message Date
Howard Luck c84cb99c4e d_a_obj_ndoor OK (#2681)
* d_a_obj_ndoor matching

* fixes for taka
2025-09-22 03:29:25 +03:00
hatal175 292cfe8fa3 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 09dff7d76f 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
Carco_21 91fbe6e853 d_a_e_gm matching (#2669)
* initial work

* Almost matching

* missed formatting changes

* matching

* changed to equivalent

* PR cleanup, now matching
2025-09-20 03:44:42 +03:00
Carco_21 933cc63185 d_a_npc_grz matching (#2664)
* initial work

* Over half done

* equivalent

* not sure what the issue is?

* matching

* PR cleanup
2025-09-19 21:48:19 +03:00
Carco_21 64eb771dd7 Various regalloc fixes and linking (#2673)
* some d_a_b TUs matching

* reworked d_a_b_ob enums

* d_a_b_oh seems to be linking fine

* d_a_b_oh actually not good (i think), but npc_zrc matching

* d_a_b_oh is indeed matching!

* d_a_cam_param linked

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-19 21:38:54 +03:00
YunataSavior 9e16e947eb d_a_obj_lv6bemos2 OK (#2672)
* d_a_obj_lv6bemos2 OK

* Forgot to remove NONMATCHING comment

* Link d_a_obj_lv6bemos2 for JP

---------

Co-authored-by: Max Roncace <me@caseif.net>
2025-09-19 21:32:38 +03:00
Max Roncace 783b0d9dfe Link all oustanding US-matched TUs for JP (#2671) 2025-09-19 21:32:05 +03:00
hatal175 14f9e44595 d_a_e_wb equivalent (#2667)
* Some work d_a_e_wb

* Match more in e_wb

* d_a_e_wb equivalent
2025-09-17 18:09:59 -06:00
Max Roncace 42034fd364 More miscellaneous TU improvements (#2665) 2025-09-17 15:01:59 +03:00
Carco_21 0f74fc0142 d_a_npc_aru matching (#2660)
* foundational work

* lots of work

* matching

* cleanup

* fixed error with status enum

* PR cleanup
2025-09-16 14:54:08 -07:00
TakaRikka e90826bef3 swpush5 / bhashi done (#2663)
* swpush5 done

* bhashi done

* gptaru done
2025-09-16 17:31:37 +03:00
Max Roncace 7dcbea4798 Miscellaneous TU fixes (#2662) 2025-09-15 02:53:53 -07:00
YunataSavior b6d0d885ac d_a_obj_kago OK (#2661)
* d_a_obj_kago OK

* Mark d_a_obj_kago as matching for JP

---------

Co-authored-by: Max Roncace <me@caseif.net>
2025-09-15 02:49:35 -07:00
Carco_21 2868c78840 d_a_npc_zelro matching and some npct's linked (#2649)
* npc_zero matching and some other npcts cleaned and linked

* debug fix

* okay actual debug fix... i hope

* this isnt funny anymore

* please

* this should fix things

* added JP matching to zelR and zelRo

* added attention flag enum
2025-09-15 02:44:07 -07:00
Carco_21 394b83e4a0 d_a_npc_raca matching (#2648)
* initial work

* most functions matching

* matching

* PR cleanup
2025-09-15 02:40:19 -07:00
LagoLunatic 8c5d05cd54 Finish renaming subtype to argument (#2659) 2025-09-14 13:17:54 -07:00
Trueffel 475234e08d d_a_obj_stairBlock OK (#2656) 2025-09-14 10:56:51 +03:00
TakaRikka 39da9a3a77 npc_kkri done (#2655) 2025-09-14 10:55:16 +03:00
Max Roncace d3d34b03bc Improve several almost-matching TUs (#2653) 2025-09-13 23:02:28 +03:00
YunataSavior 1bec780a36 d_a_e_gb and d_a_obj_bosswarp OK (#2652)
* d_a_e_gb and d_a_obj_bosswarp OK

* fix e_gb and obj_bosswarp symbols

* mark e_gb and obj_bosswarp as OK for JPN

* Remove nonmatching comment

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-13 14:11:05 +03:00
TakaRikka ab64210b40 npc_kakashi done (#2651) 2025-09-13 00:29:20 +03:00
TakaRikka 50a818a25d npc_tkj done (#2647) 2025-09-12 15:03:17 +03:00
Max Roncace f28c8efc08 Minor d_a_alink improvements (#2646) 2025-09-10 21:10:04 -07:00
hatal175 49a677c21a Some work on d_a_e_wb (#2639)
* Some work d_a_e_wb

* Match more in e_wb
2025-09-09 21:45:07 -07:00
Carco_21 b26f66b11f d_a_e_zm matching (#2638)
* initial work

* a little more work

* matching

* pr cleanup

* changed 'subtype' to 'argument'

* fixed debug error
2025-09-10 01:53:13 +03:00
Carco_21 b56a001e5d d_a_obj_ornament_cloth matching (#2643)
* initial work

* More work. Also just realized I pushed TU work to my main fork lol

* about halfway through

* matching
2025-09-10 01:36:38 +03:00
Carco_21 759afc43c9 d_a_obj_kshutter matching (#2635)
* fixed branch issue

* matching

* fixed debug error

* pr cleanup
2025-09-09 19:51:44 +03:00
TakaRikka 819ad98ac2 Lv4railwall / lv4sand / lv4slidewall done. fix wii build (#2637)
* lv4railwall / lv4sand / lv4slidewall done and wii build fix

* fix Mtx** parameters

* add some notes about wii compiler version

* Remove dol2asm include

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-09-09 17:30:32 +03:00
Max Roncace 6b1f5b95de d_camera almost matching (equivalent) (#2633) 2025-09-08 14:41:07 +03:00
TakaRikka 5fce8ea1e1 scannon / scannon_crs / scannon_ten done (#2632)
* scannon done

* scannon_crs done

* scannon_ten done

* pr

* attention debug stuff

* attn flags

* fix build
2025-09-08 12:01:20 +03:00
Carco_21 b35204b0c8 d_a_obj_kag matching + some weak order fixes (#2631)
* obj_kag matching. Also fixed weak func order in e_ww and e_sm

* adding matching for JP
2025-09-06 11:59:41 +03:00
Carco_21 09cbf8b9b5 d_a_e_ww equivalent (#2629)
* equivalent

* cleanup
2025-09-05 14:07:02 +03:00
Carco_21 2ae872e2c4 d_a_e_sm equivalent (#2627)
* solid work

* equivalent

* tiny work

* fixed error

* include fix

* fixed debug build
2025-09-05 14:00:56 +03:00
TakaRikka 87069235c0 some J3D/misc cleanup (#2628)
* some j3d cleanup

* begin using uintptr_t

* j3dgraphbase cleanup

* j3dgraphanimator cleanup
2025-09-04 17:56:59 +03:00
Carco_21 35029ba909 d_a_obj_crvfence matching (#2622)
* equivalent

* kasi_mng_c work

* class work and create function work

* kasi_mng_c is matching

* little more work

* almost matching

* enums defined

* kasi_hana almost matching

* more mich work

* mich almost matching

* kyu almost matching

* potentially fixed issue

* Now maybe good?

* Should be fixed now

* PR Cleanup

* Over 50% done

* matching

* pr cleanup
2025-09-03 22:23:46 +03:00
Carco_21 5380801ce9 d_a_npc_tks almost matching (#2616)
* initial work

* one more demo func left

* almost matching

* almost matching

* pr cleanup
2025-09-03 22:23:04 +03:00
Max Roncace 30afae62d1 d_camera improvements (part 1) (#2623)
* Rename several dCamera_c fields

* Refactor mWork to generic buffer instead of union

* d_camera match improvements

* Implement several dCamera_c functions

* Remove d_camera.h from PCH

The symbol names in d_camera indicate that this header wasn't
included in the PCH (as they're compiled directly in d_camera.cpp).
2025-09-03 10:32:02 +03:00
Stbn-antier 2fa0c3947a Work on e_ww (#2618) 2025-09-03 10:27:58 +03:00
Max Roncace 66763277c8 Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -07:00
Howard Luck 37fd33e575 d_a_obj_beamos / d_a_e_wb WIP (#2620)
* WIP

* daE_WB_Draw

* checkpoint

* more matches

* checkpoint

* fixes

* fix debug build

* fix daObjBm_c alignment

* fixes for luz

* fixes for hatal

* manual spacing changes

* run clang-format

* move header back
2025-08-31 01:11:52 +03:00
TakaRikka e13c4b2c93 obj_geyer and obj_ktOnFire done (#2619)
* obj_geyer and obj_ktOnFire done

* pr
2025-08-31 01:10:43 +03:00
TakaRikka b17c29f4f5 d_a_e_ai done (#2617)
* d_a_e_ai done

* pr
2025-08-30 10:31:22 +03:00
Max Roncace 40eb5cb1ca d_a_npc_ykw almost matching (#2613) 2025-08-30 10:30:51 +03:00
Carco_21 589ad79dc4 d_a_npc_kasi_hana, mich, and kyu work (#2610)
* equivalent

* kasi_mng_c work

* class work and create function work

* kasi_mng_c is matching

* little more work

* almost matching

* enums defined

* kasi_hana almost matching

* more mich work

* mich almost matching

* kyu almost matching

* potentially fixed issue

* Now maybe good?

* Should be fixed now

* PR Cleanup
2025-08-29 22:40:14 +03:00
hatal175 874ec18845 d_a_obj_kbox matching (#2615)
* Align dKy_darkworld_check with debug return type

* d_a_obj_kbox matching

* Revert "Align dKy_darkworld_check with debug return type"

This reverts commit f0b9e5f8fb251bb1b3a6acd13c0550bec2c9a310.
2025-08-29 04:33:35 -07:00
TakaRikka f7febdde44 d_a_e_fk equivalent (#2614)
* d_a_e_fk equivalent

* pr
2025-08-29 01:25:36 +03:00
TakaRikka 642c06851e npc_kn mostly done (#2609)
* npc_kn mostly done

* fix shieldD

* pr fixes

* weak func fixes
2025-08-28 13:49:24 +03:00
LagoLunatic aed8fe8cd3 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 c23f046a13 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