Commit Graph

537 Commits

Author SHA1 Message Date
hatal175 be3efedee3
Work on d_jdpreviwer (#3067) 2026-01-25 21:20:02 -08:00
Jcw87 c256a9965e
J2DMaterial linked (#3060) 2026-01-20 16:35:53 -08:00
Jcw87 623ba48542
JKernel wii (#3059) 2026-01-20 16:35:11 -08:00
Max Roncace e023387d7b
Add missing d_bg_* TUs (#3058)
* Implement d_bg_s_capt_poly

* Add d_bg_s_func

* Ad d_bg_w_deform

* Add empty source file for d_bg_w_hf
2026-01-20 16:29:47 -08:00
Max Roncace a0a5b0cc38
d_a_tag_* TUs mostly matching for debug (#3054)
* d_a_tag_event debug almost matching

* d_a_tag_msg debug almost matching

* d_a_tag_attention almost matching

* d_a_tag_chkpoint debug almost matching (weak func order)

* d_a_tag_evt debug almost matching (extra weak fns)

* d_a_tag_evtarea debug almost matching (weak func order)

* d_a_tag_evtmsg debug almost matching (weak func order)

* d_a_tag_mist debug almost matching (weak func order)

* d_a_tag_howl debug almost matching (weak func order)

* d_a_tag_lantern debug almost matching (weak func order)

* d_a_tag_push debug almost matching (weak func order)

* d_a_tag_telop debug almost matching (weak func order)

* d_a_tag_CstaSw debug almost matching (weak func order)

* d_a_tag_ajnot debug almost matching (weak func order)

* d_a_tag_attack_item debug almost matching (weak func order)

* d_a_tag_gstart debug almost matching (weak func order)

* d_a_tag_hinit debug almost matching (debug weak func order)

* d_a_tag_hjump debug almost matching (weak func order)

* d_a_tag_hstop debug almost matching (weak func order)

* d_a_tag_lv2prchk debug almost matching (weak func order)

* d_a_tag_magne debug almost matching (weak func order)

* d_a_tag_mhint debug almost matching (weak func order)

* d_a_tag_mstop debug almost matching (weak func order)

* d_a_tag_spring debug almost matching (weak func order)

* d_a_tag_statue_evt debug almost matching (weak func order)

* d_a_tag_arena debug almost matching (weak func order)

* d_a_tag_Lv6Gate debug almost matching (weak func order)

* d_a_tag_Lv7Gate debug almost matching (weak func order)

* d_a_tag_Lv8Gate debug almost matching (.data + weak func order)

* d_a_tag_TWgate debug almost matching (weak func order)

* d_a_tag_lv6CstaSw debug almost matching (weak func order)

* d_a_tag_assistance debug almost matching (weak func order)

* d_a_tag_bottle_item debug almost matching (weak func order)

* d_a_tag_chgrestart debug almost matching (weak func order)

* d_a_tag_csw debug almost matching (weak func order)

* d_a_tag_escape debug almost matching (weak func order)

* d_a_tag_firewall debug almost matching (weak func order)

* d_a_tag_gra debug almost matching (weak func order)

* d_a_tag_guard debug almost matching (weak func order)

* d_a_tag_instruction debug almost matching (weak func order)

* d_a_tag_kago_fall debug almost matching (weak func order)

* d_a_tag_lightball debug almost matching (weak func order)

* d_a_tag_lv5soup debug almost matching (weak func order)

* d_a_tag_mmsg debug almost matching (weak func order)

* d_a_tag_mwait debug almost matching (weak func order)

* d_a_tag_myna2 debug almost matching (weak func order)

* d_a_tag_myna_light debug almost matching (weak func order)

* d_a_tag_pachi debug almost matching (weak func order)

* d_a_tag_poFire debug almost matching (weak func order)

* d_a_tag_qs debug almost matching (small mismatch in search)

* d_a_tag_ret_room debug almost matching (weak func order)

* d_a_tag_river_back debug almost matching (weak func order)

* d_a_tag_rmbit_sw debug almost matching (weak func order)

* d_a_tag_schedule debug almost matching (weak func order)

* d_a_tag_setBall debug almost matching (weak func order)

* d_a_tag_setrestart debug almost matching (weak func order)

* d_a_tag_shop_item debug almost matching (weak func order)

* d_a_tag_smk_emt debug almost matching (weak func order)

* d_a_tag_spinner debug almost matching (weak func order)

* d_a_tag_sspath debug almost matching (weak func order)

* d_a_tag_ss_drink debug almost matching (weak func order)

* d_a_tag_stream debug almost matching (weak func order)

* d_a_tag_theB_hint debug almost matching (weak func order)

* d_a_tag_watchge debug almost matching (weak func order)

* d_a_tag_waterfall debug almost matching (weak func order)

* d_a_tag_allmato debug almost matching (weak func order)

* d_a_tag_camera debug almost matching (extra weak fns)

* d_a_tag_wara_howl debug almost matching (RTTI mismatch?)

* d_a_tag_yami debug almost matching (weak func order)

* Fix Shield regressions related to d_a_tag_* debug work
2026-01-19 18:11:54 -08:00
Max Roncace 6a59c5231f
Fix errors when building with -ipa program (#3035) 2026-01-11 19:25:26 -08:00
Max Roncace fd863582d6
f_pc mostly linked for Wii/Shield (#3015) 2026-01-06 04:45:15 -08:00
Max Roncace 3679e7abab
Misc debug include/class order improvements + link remaining Z2AudioLib TUs (#3014)
* Improve dolzel.pch ordering

* Improve JSystem include order

* Various class ordering fixes

* Link remaining Z2AudioLib TUs

* Fix some symbols in Shield and weak functions in ShieldD
2026-01-06 04:38:40 -08:00
Max Roncace e15ba03caa
Link d_a_npc and d_a_npc_cd2 (#3019) 2026-01-05 03:58:09 -08:00
Max Roncace b72be3074a
m_Do_ext retail linked + debug improvements (#3009) 2026-01-04 17:20:35 -08:00
Niklas Bauer c3213e0c67
f_op work (#3008)
* f_op debug 1

* f_op debug 2

* f_op debug 3

* f_op debug 4

* f_op debug 5

* f_op_debug fix build

* f_op linking

* remove goto in fopac_create

* fix regressions

* fix regressions

* pr comments

* f_op debug 6

* f_op debug 7

* f_op debug 8

* f_op debug 9

* f_op debug 10

* f_op work, linking, symbols, heap

* regressions 1

* regressions 2

* pr comments
2025-12-30 14:22:38 +02:00
Jcw87 038b8fd62f
JAudio2 debug (#3006) 2025-12-27 15:23:15 -07:00
LagoLunatic 09280ae00b
Fix optimization flag for Shield (#3004)
* Fix optimization flag for Shield

* Minor debug work

* Fix NULL asserts
2025-12-26 16:20:21 -08:00
Niklas Bauer 67b576ad9a
f_op debug work (#2991)
* f_op debug 1

* f_op debug 2

* f_op debug 3

* f_op debug 4

* f_op debug 5

* f_op_debug fix build

* f_op linking

* remove goto in fopac_create

* fix regressions

* fix regressions

* pr comments
2025-12-26 13:17:51 -08:00
TakaRikka cefe919b8d
msl_c mostly matching for wii/shield (#2994) 2025-12-24 16:54:21 -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 c9d0c58ffe
MSL_C header cleanup (#2988)
* msl_c header cleanup

* math header cleanup

* fix rest of shieldD configs

* cleanup cflag configs a bit

* fix shield build
2025-12-23 10:20:32 -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
Jcw87 f156a2a413
JAHostIO, JAWExtSystem debug (#2985) 2025-12-22 12:27:31 -08:00
Max Roncace ee32f5db55
d_a_vrbox2 matching (#2981) 2025-12-21 10:52:34 -08:00
LagoLunatic 16a2980f5a
Update to objdiff 3.5.0 (#2980)
* Update to objdiff 3.5.0

* Fix symbols being in .data instead of .rodata for Wii/Shield
2025-12-21 10:46:14 -08:00
LagoLunatic 48f1d47690
Work on weak order (#2979)
* JAUSectionHeap OK

* Slightly improve d_camera weak func order (12 -> 10)

* Minor d_a_alink fixes

* weak_order_diff.py: Change to take source file as cli argument instead of .o file

For cli autocompletion to work.

* Reorganize J3D structs (no change in weak order)
2025-12-21 14:13:21 +02:00
YunataSavior 69bdaaca19
Link d_a_e_fb + npc_shad wii NA 1.0 ifdef (#2978)
* Link d_a_e_fb

* revert npc_ks changes
2025-12-21 14:11:50 +02:00
LagoLunatic f6e2cbca9d
Match d_a_obj_ice_s rideCallBack (#2977)
* Match d_a_obj_ice_s rideCallBack

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Fix debug regression

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-20 18:53:41 -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
Max Roncace a1c691ec92
Add config for Wii PAL (RZDP01) (#2975) 2025-12-20 18:04:28 -08:00
LagoLunatic 917d93664d
Match dMsgUnit_c::setTag (#2974)
* Match dMsgUnit_c::setTag for GCN USA

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Match dMsgUnit_c::setTag for debug

* Minor cleanup

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 23:00:17 -08:00
LagoLunatic 0395053737
Match dNpcLib_lookat_c::action and daBaseNpc_lookat_c::calc (#2973)
* Match dNpcLib_lookat_c::action and daBaseNpc_lookat_c::calc

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Improve d_a_npc weak func order

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 22:59:16 -08:00
LagoLunatic ac9a361676
Match JFWSystem::init (#2972)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:25:09 -08:00
roeming f9d69372a1
match last function in d_camera.cpp (#2971)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:24:18 -08:00
LagoLunatic 9771ae6879
JASAiCtrl OK (#2967) 2025-12-18 13:38:20 -08:00
LagoLunatic 21ce84ae43
d_a_npc_kn OK (#2966)
* d_a_npc_kn OK

* Remove nonmatching comment
2025-12-18 13:37:50 -08:00
LagoLunatic 6a02f5b387
d_a_npc_wrestler 100% (#2962)
* Match sumouPunchMiss, improve sumouPunchChaseShock

Removing these consts also matches several functions on debug.

* Match sumouSideStep and sumouPunchChaseShock
2025-12-16 22:45:46 +02:00
TakaRikka 8185d87f85
copy homebuttonLib from oot-vc (#2960)
* initial copy of hbm from sdk_2009-12-11

* some more nw4hbm cleanup

* nw4hbm db mostly done

* nw4hbm snd copied from oot-vc

* nw4hbm ut copied

* nw4hbm lyt copied

* nw4hbm copied, mostly matching usa 1.0

* setup nw4hbm debug define

* fix HBMDataInfo struct

* add rvl sdk card lib
2025-12-16 16:55:07 +02:00
LagoLunatic 497aa20aa9
d_a_movie_player OK (#2958)
* Match THPAudioDecode

* Match daMP_MixAudio

* Fix weak func order

* Fix global.h
2025-12-16 16:52:28 +02:00
LagoLunatic d4859f8595
d_a_alink 100% (#2957)
* Match daAlink_c::checkHorseGetOff

* Match daAlink_c::procCanoeRowInit
2025-12-15 17:09:39 -08:00
Max Roncace b9cb15ad98
Enable regHIO for Wii USA R0 (#2953) 2025-12-15 17:06:10 -08:00
TakaRikka 4e6dffff5a
most of shieldD revo sdk matching (#2951)
* shieldD revo wpad done

* shieldD revo hio2 done

* shieldD revo aralt, ppcarch, gf done

* shieldD revo exi done

* shieldD revo SI done

* shieldD revo vi done

* shieldD revo mtx done

* shieldD revo GX mostly done

* shieldD revo ai/dsp done

* shieldD revo sc mostly done

* shieldD revo esp/euart/wenc mostly done

* build fixes
2025-12-13 18:21:32 +02:00
Max Roncace 25dfef320b
Add configuration for GZ2J01 (Wii JPN) (#2950) 2025-12-12 22:22:03 -08:00
roeming 2481e184fb
Link J2DWindowEX (#2946)
* Add debug for J2DWindowEx, link GCN version

* locking non-const copy ctor behind GCN check

* fix typo for define

* fix another define typo

* update bugged ctor and leave a comment
2025-12-11 15:41:44 -08:00
LagoLunatic 50f0876194
Fakematch JASTrack::TList::seqMain (#2940)
* Fakematch JASTrack::TList::seqMain

* Add debug ifdef
2025-12-10 21:54:25 +02:00
LagoLunatic 26f4c5a0fe
JASAramStream OK (#2937) 2025-12-09 14:52:31 -07:00
hatal175 cfded01caa
Match resource.cpp with a small fake match (#2936) 2025-12-09 13:44:27 -08:00
LagoLunatic 2447d5a02a
d_a_npc_cdn3 OK (#2935) 2025-12-09 22:41:11 +02:00
kipcode66 3b26aae532
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters

* Rename ShiftJIS to SJIS

* Separate JASSeqReader read methods implementation between compilers.

* Fix pointer.h

* fix d_item_data typo

* fix gcn matching issue
2025-12-08 20:31:22 -08:00
LagoLunatic a3d6bafcdd
Match JASTaskThread::run (#2934) 2025-12-08 22:12:42 +02:00
LagoLunatic 7820b4590e
Match JStudio_JStage::TAdaptor_light::adaptor_do_begin (#2932) 2025-12-08 22:11:03 +02:00
Max Roncace 1669731d6c
Add missing RELs for Wii USA v0 (#2930) 2025-12-08 22:08:33 +02:00
TakaRikka 353721578d
shieldD revolution dvd/nand mostly done (#2922)
* shieldD revo dvd mostly done

* shieldD revo nand mostly done

* shieldD revo fs mostly done

* shieldD revo ipc mostly done

* shieldD revo sdk pad done
2025-12-08 12:44:29 +02:00
LagoLunatic 251d49c6f1
JASBNKParser OK, Z2Audience OK (#2929) 2025-12-07 21:49:42 -08:00