Commit Graph

2204 Commits

Author SHA1 Message Date
kipcode66 bda8dc6af8 4th round of standard compiler fixes (#2984)
* 4th round of standard compiler fixes

* use of fpcM_ERROR_PROCESS_ID_e in gWolfBustersID
2025-12-22 02:20:08 -08:00
kipcode66 9ac6dd0044 next round of standard compiler fixes (#2969)
* next round of standard compiler fixes

* Fix weak function order issue

* fix missmatch with ShieldD version
2025-12-21 17:48:09 -08:00
LagoLunatic dd7c91f3d3 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 294ed1689f 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
Max Roncace b519e73db6 d_a_vrbox2 matching (#2981) 2025-12-21 10:52:34 -08:00
LagoLunatic f201824064 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 4e7c478259 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 1f9b56cc65 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 e271d34d20 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 7476c5f8fb 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
Luzagar e82939f0c4 d_a_npc_ks documentation (#2970)
* npc_ks work

* more work

* fix debug

* more documentation
2025-12-20 18:10:44 -08:00
Carco_21 2910d7da76 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
Max Roncace 2d70a14c93 Add config for Wii PAL (RZDP01) (#2975) 2025-12-20 18:04:28 -08:00
LagoLunatic 8b9bc95c38 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 d97e6656dc 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 0d25cfb3b4 Match JFWSystem::init (#2972)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:25:09 -08:00
roeming 811d9c0a8d 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
Jcw87 86729e6597 m_Do_main debug (#2965) 2025-12-19 21:22:03 +02:00
LagoLunatic 7f4456be78 JASAiCtrl OK (#2967) 2025-12-18 13:38:20 -08:00
LagoLunatic f5d2a338ba d_a_npc_kn OK (#2966)
* d_a_npc_kn OK

* Remove nonmatching comment
2025-12-18 13:37:50 -08:00
roeming 3fd414beab Use consistent s32/u32 (#2964)
* cleanup long usage

* fix regression
2025-12-18 13:31:44 -08:00
Luzagar 4ed9bbb8d4 fix ENABLE_REGHIO macro (#2963) 2025-12-18 13:31:00 -08:00
Niklas Bauer ef0c94a809 random debug objects (#2961) 2025-12-17 11:26:51 +02:00
LagoLunatic b81d3cd6b1 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 08f0789ae7 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
Jcw87 57188e25f5 d_meter_HIO debug (#2959) 2025-12-16 16:54:05 +02:00
LagoLunatic 80a6fcb319 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 2776a536dc d_a_alink 100% (#2957)
* Match daAlink_c::checkHorseGetOff

* Match daAlink_c::procCanoeRowInit
2025-12-15 17:09:39 -08:00
Max Roncace be8d6d42af More Wii symbol cleanup (#2956) 2025-12-15 17:08:51 -08:00
LagoLunatic 8168806f22 Fix bugs in weak_order_diff.py (#2955)
* Fix readelf path

* Improve diffing of literal/in-function data order
2025-12-15 17:08:14 -08:00
Max Roncace 4c0d88015d Enable regHIO for Wii USA R0 (#2953) 2025-12-15 17:06:10 -08:00
Luzagar 4fca13aa49 d_a_e_b +d_a_e_bi_leaf documentation (#2952)
* some e_bi documentation

* fix match issue

* fix error

* e_bi_leaf documentation
2025-12-15 17:04:20 -08:00
Carco_21 3bd5017133 d_a_obj_bemos debug work (#2947)
* debug work

* PR cleanup
2025-12-15 17:02:29 -08:00
kipcode66 dcbdd76f0b Resource (#2939)
* matching Do_destroy from resource.cpp

* add missing constants from `float.c`

* add numeric_limits for double

* set TObject::reset for each version in stb.cpp

* improve debug matching
2025-12-15 17:00:16 -08:00
TakaRikka 1901b7b78f 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 7307474c62 Add configuration for GZ2J01 (Wii JPN) (#2950) 2025-12-12 22:22:03 -08:00
LagoLunatic e48c55555c 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
roeming 0711c087ba d_a_obj_movebox debug work (#2948)
* match lots of debug for d_a_obj_movebox

* the rest of the debug work
2025-12-12 21:01:48 -08:00
Carco_21 9c0a57db60 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
roeming 3f6558eeb7 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
Max Roncace 76be59440c Wii .text symbol fixes (#2945) 2025-12-11 15:40:05 -08:00
Max Roncace 4fa301a6da Clean up conditional compilation a bit (#2943) 2025-12-11 15:34:16 -08:00
Jcw87 d9ca13c7b5 fix functions not returning values (#2942)
* fix functions not returning values

* implement functions that should return values
2025-12-11 15:31:44 -08:00
hatal175 b278ac8fb0 Work on d_a_obj_ice_s debug (#2941) 2025-12-10 15:06:57 -08:00
LagoLunatic c67ef281a3 Fakematch JASTrack::TList::seqMain (#2940)
* Fakematch JASTrack::TList::seqMain

* Add debug ifdef
2025-12-10 21:54:25 +02:00
Max Roncace e54ea46674 Fix Wii USA v2 configuration & add file checksums (#2938) 2025-12-09 22:35:23 -08:00
LagoLunatic 65cacf174c JASAramStream OK (#2937) 2025-12-09 14:52:31 -07:00
hatal175 b241a5728b Match resource.cpp with a small fake match (#2936) 2025-12-09 13:44:27 -08:00
LagoLunatic f3ee3edf57 d_a_npc_cdn3 OK (#2935) 2025-12-09 22:41:11 +02:00
Carco_21 14738e6b49 d_a_e_gb debug + documentation (#2916)
* cleanup and documentation

* PR cleanup
2025-12-08 20:33:55 -08:00