Commit Graph

67 Commits

Author SHA1 Message Date
LagoLunatic 229527daf7
Resolve all gameInfo fakematches (#2995)
* Clean up various inlines/fakematches/comments

* Copy OptRuby inline name from TWW debug

* Resolve all dEvt_control_c related fakematches, return pointer instead of reference

* Fix some more missing inline usages
2025-12-24 16:57:36 -08:00
LagoLunatic 877889c510
Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)
* Remove NDEBUG_DEFINED fakematch, clean up getName temps

* Fix ifdef

* Fix bad JSystem pch ifdef breaking decomp.me

* Remove Acch Chk fakematches

* Private Acch fields

* Fix some clangd errors in headers

* Add UNUSED macro for matching debug parameters

* Enable clangd unused-parameter warning

* Remove extern from initializers

Probably added by dol2asm?

* Fix process profile definitions

* Remove leftover dol2asm address comments

* Remove some unnecessary double casts

* Enable some more clangd warnings

* Fix missing usages of fopAcM_ct

* Fix wrong enum usage

* Fix more fakematches
2025-12-23 15:53:10 -08:00
TakaRikka bd0c601a52
m_Do_MemCard/d_file_select wii/debug work (#2976)
* m_Do_MemCard/d_file_select wii/debug work

* fix builds
2025-12-20 18:30:04 -08:00
Carco_21 c434c2edde
Various d_ work (#2968)
* map work

* various meter work

* d_meter_button ShieldD almost equivalent

* error fix
2025-12-20 18:06:17 -08:00
Carco_21 87732304d1
d_particle debug work (#2944)
* misc work

* more work

* fixed error

* more work

* PR cleanup

* missed cleanup

* error fix

* wii fix
2025-12-12 20:54:42 -08:00
LagoLunatic ae9fa8922a
Work on weak function ordering (#2917)
* Fix functionvalue weak func order

* Add script to help diffing weak function order

* Improve alink weak func order (44 -> 15)

* Improve m_Do_ext weak order (12 -> 7)

* Remove old hack

* Fix d_a_tbox weak func order

* Fix d_a_npc_ks weak func order

* Fix error when trying to diff weak func order for ShieldD due to hidden function alignment gap symbols
2025-12-05 18:46:58 -08:00
LagoLunatic f97d334732
Debug+retail matches and clean up some fakematches (#2910)
* Debug matches

* Match daAlink_c::procGrassWhistleWait

* Match JASAramStream::channelProc

* More debug matches

* Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines

* Fix some fakematches

* Fix gameinfo player info not being a struct

* Update bug comments

* Fix procids in alink

* d_a_scene_exit OK
2025-12-03 15:09:56 -08:00
TakaRikka a6e76c0841
project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07: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 90133fb1cb
Small d_a_mg_rod fixes (#2874) 2025-11-26 20:01:55 -08:00
Max Roncace 7f863c069b
d_a_npc_chin matching (#2822) 2025-11-18 21:10:04 -08:00
TakaRikka 540217c31b
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work

* d_meter_HIO debug cleanup

* wii m_Do_graphic stuff

* tag_attack_item OK, mirror_chain almost

* fix build

* mg_fshop matching
2025-11-17 20:01:03 +02:00
TakaRikka 4b5277295e
npcinko / myna2 done (#2780)
* npcinko done

* myna2 done

* Use sound enum

* Use FALSE instead of false when returning BOOL

* Use look mode enum

* TRUE instead of true when returning bool

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-11-09 11:20:51 +02: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
TakaRikka 73927f50a9
kankyo / m_do_ext debug stuff (#2759)
* kankyo debug work

* finish draw packets
2025-10-28 05:55:46 +02: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
TakaRikka 125f2325a5
cleanup event stuff (#2688)
* cleanup event stuff

* fix debug
2025-09-23 14:20:38 +03:00
Max Roncace 11ebeb3fe0
Link all oustanding US-matched TUs for JP (#2671) 2025-09-19 21:32:05 +03:00
Max Roncace fe5e8aff98
More miscellaneous TU improvements (#2665) 2025-09-17 15:01:59 +03:00
Carco_21 2106c56f60
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
Max Roncace adb62e947b
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
Max Roncace c1615cdfff
d_a_npc_ykw almost matching (#2613) 2025-08-30 10:30:51 +03:00
Carco_21 179189c758
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
Max Roncace 513816ce5c
Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
TakaRikka 0a8679f92e
d_a_mg_rod mostly done (#2598)
* d_a_mg_rod mostly done

* pr
2025-08-23 08:58:29 +03:00
Carco_21 b0d08c5188
d_a_obj_swpush equivalent (#2589)
* initial work

* Create method done

* tiny work

* more work

* swpush equivalent
2025-08-17 19:00:03 -07:00
Max Roncace 41c72dc6d9
d_a_e_hp almost matching (#2585) 2025-08-15 12:50:49 +03:00
TakaRikka 8785882261
e_hb equivalent / some pal work (#2577)
* some pal work

* e_hb equivalent

* update config
2025-08-10 10:27:45 -06:00
Carco_21 e49ed1213d
d_a_npc_ykm work (#2566)
* initial work

* got to cut functions

* Tiny work

* All functions worked on

* took out param dtor

* naming work

* cleanup

* pr cleanup
2025-08-04 22:25:39 +03:00
hatal175 70a1741977
d_a_obj_twGate Matching (#2555)
* d_a_obj_twGate Matching

* d_a_obj_volcbom OK
2025-07-25 17:44:23 -07:00
Stbn-antier 522f06458d
d_a_e_po 99% Matching (#2517)
* anm_init and nodeCallBack, need to review nodeCallBack as weird code

* First pass on class, 86% match

* Cleanup for PR, still work to do

* Solve error after pull

* Clangd format

* Adressing PR comments

* Update l_HIOInit

* Fix debug building, 60% match on debug :')
2025-07-15 23:35:50 +03:00
TakaRikka 79c56b2548
add wii usa rev0 support (#2505)
* wii usa rev0 dol building ok

* wii dol cleanup

* some wii tests

* most rels building
2025-06-27 13:14:58 +03:00
TakaRikka 288a08b798
cleanup/doc JMessage / d_msg_class (#2484)
* jmessage cleanup pass

* more JMessage cleanup

* d_msg_class cleanup
2025-06-13 15:33:33 +03:00
Carco_21 3318b5e936
Continued monkey work (monkey business if you will) - Monkey-related TUs (#2469)
* Initial work

* Work on ori2 and others

* Work on npc_ks_home

* Work on npc_ks_demo_022

* Chugging through

* Started on demo_camera

* More demo_camera work

* 51% equivalent

* General cleanup

* Fixed compile error in d_a_e_mk

* Small d_a_e_mk fix

* d_a_e_fs fix

* PR cleanup

* Started work on d_a_obj_sw

* d_a_obj_sw work

* Small fixes

* d_a_obj_so work

* d_a_obj_so almost equivalent and small work on d_a_npc_ks

* Work on npc_ks_guide_00

* Work on guide functions

* 80% matching

* Almost have all functions worked on

* All functions worked on

* Initial d_a_npc_saru work

* Tiny bit more work

* daNpc_Saru almost matching

* fixed array issue

* obj_kago work

* d_a_obj_kago almost matching

* sare_npc brief fix

* PR cleanup
2025-06-07 19:41:01 +03:00
Max Roncace 23bee3b523
d_a_e_dk matching (#2476) 2025-06-06 08:16:44 +03:00
Max Roncace 12ee8c9fb7
d_a_npc_henna equivalent (#2473) 2025-06-03 23:31:22 +03:00
hatal175 588b20679d
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer

* d_a_obj_sakuita_rope Matching
2025-06-01 20:36:19 -07:00
Carco_21 bc94559904
d_a_npc_ks work (#2461)
* Initial work

* Work on ori2 and others

* Work on npc_ks_home

* Work on npc_ks_demo_022

* Chugging through

* Started on demo_camera

* More demo_camera work

* 51% equivalent

* General cleanup

* Fixed compile error in d_a_e_mk

* Small d_a_e_mk fix

* d_a_e_fs fix

* PR cleanup

* Started work on d_a_obj_sw
2025-05-30 13:49:24 +03:00
YunataSavior fe0c894daa
Used dbg rom to fix some mismatched functions in d_a_ep (#2442) 2025-05-16 15:59:12 +03:00
soruh 885981cd0b
d_a_cstatue Matching (#2419)
* d_a_cstatue

* fix includes in d_com_inf_game

* remove todos

* create daCstatue_TYPE enum

* name fields and add enums

* fix procCopyRodSwingInit

* apply suggestions
2025-05-05 19:56:03 +03:00
hatal175 cfb614e8b2
d_menu_letter equivalent (#2407) 2025-04-23 11:39:12 -07:00
hatal175 b2d665c911
d_msg_class mostly equivalent (#2403) 2025-04-20 17:46:09 -07:00
hev7 f63b2db2f9
d_a_npc_uri almost matching (#2400)
* d_a_npc_uri almost matching

* Fix various issues

* Fix
2025-04-19 14:35:06 +03:00
LagoLunatic f891887626
d_stage cleanup (#2392) 2025-04-13 20:54:57 -07:00
LagoLunatic c0e111b081
Debug JStudio fix + match one retail func (#2378)
* Fix debug build

* Minor fixes

* Match daAlink_c::getDemoLookActor

* Fix JStudio paths in ShieldD splits

* Fix JStudio not compiling on debug

* Fix JStudio not compiling on retail, add fake header
2025-04-06 17:57:52 -07:00
TakaRikka 54dd764096
GCN pal / jpn support, some debug work (#2375)
* d_save debug cleanup / d_s_menu debug

* gameinfo / kankyo struct debug fixes

* pal building ok

* jp building ok

* some tests with jp

* some more pal/jp tests
2025-04-06 21:08:25 +03:00
Caroline Madsen e55c504f28
d_camera work (#2369)
* bumpCheck matching

* checkGroundInfo matching

* chaseCamera matching

* lockonCamera attempted

* talktoCamera matching

* subjectCamera, magneCamera matching

* colosseumCamera close, plus various fixes

* towerCamera attempted

* hookshotCamera matching
2025-04-01 19:05:30 -07:00
Huitzi 4ccca6b893
d_event_debug equivalent & modifications to dEvLib_callback_c (#2359)
* WIP d_event_debug
* Implemented most functions close to matching
* Removed erroneous comment in d_com_inf_game.h
* Implemented getEventP in dEvDtBase_c
* Retyped dEvLib_callback_c function returns from BOOL to bool
* Implemented getHeader, getEventList, and setDbgData in dEvent_manager_c
* Moved relevant dEvDb_* classes from d_event.h to d_event_debug.h and changed to structs
* Extended JORFile mFilename character array from 8 to 256 characters
* Implemented combo boxes and update slider functionalities in JORMContext
* Named field_0xC of JORProperyEvent as id, based on use of field in d_event_debug.cpp
* Corrected debug event tables and created missing table
* Debug tables explicitly pasted in d_event_debug.cpp to circumvent ShiftJIS not properly encoding tables via #include directive

* Change return types for implemented virtual functions of actors that inherit from dEvLib_callback_c

* Add const modifier to several d_com_inf_game functions called in d_event_debug, and change respective fields in dEvDb_bit & reg_c to be const

* d_event_debug Equivalent
* Changed configure.py entry to equivalent instead of matching
* Preliminary documentation

* Remove debug tables from d_event.cpp
2025-03-30 20:11:50 -07:00
TakaRikka 19e18654c9
tag_allmato almost, swhit0 treesh swball done, misc cleanup (#2312)
* d_a_tag_allmato almost done

* d_a_swhit0 done

* some SSystem cleanup

* treesh done

* swball done, some other rel cleanup
2025-03-01 14:48:49 +02:00
Caroline Madsen e3d0b94122
d_a_npc work (#2306) 2025-02-23 14:43:25 -08:00