Commit Graph

58 Commits

Author SHA1 Message Date
TakaRikka cefe919b8d
msl_c mostly matching for wii/shield (#2994) 2025-12-24 16:54:21 -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
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 bf4a07ca52
More Wii symbol cleanup (#2956) 2025-12-15 17:08:51 -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
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
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
Max Roncace 638e30d28d
Wii .text symbol fixes (#2945) 2025-12-11 15:40:05 -08:00
hatal175 2c6986f1cc
Work on d_a_obj_ice_s debug (#2941) 2025-12-10 15:06:57 -08: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
Max Roncace 136f6b3f40
d_kankyo debug work (#2918)
* Global: Define DEBUG as 0 if not already defined

* Clean up DEBUG-guarded code

* d_kankyo debug almost matching
2025-12-06 13:39:30 -08:00
TakaRikka 139722c731
shieldD revolution OS mostly done (#2892)
* begin revolution sdk setup

* wii rvl test

* revo OS mostly done for shieldD
2025-11-30 08:59:04 +02: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
Carco_21 4d4444ca18
d_a_b_mgn debug almost equivalent (#2842)
* debug almost equivalent

* PR cleanup
2025-11-27 14:22:27 -08:00
hatal175 e0f996e6c3
work on d_a_movie_player (#2868) 2025-11-25 20:52:22 -08:00
Niklas Bauer d7909a7652
d_a_e_mk_bo ShieldD work (#2864)
* d_a_e_mk_bo ShieldD work

* PR comments
2025-11-25 20:19:53 -08:00
LagoLunatic 2f2f37a734
Misc fixes (#2860)
* Misc matches

* Remove more old dol2asm stuff

* Remove dCcS::SetMass-related fakematches

No longer necessary with the PCH for some reason.

* Use attention types enum in more places

* Remove more dol2asm stuff

* Clean up matDL_dis.py
2025-11-25 18:32:34 +02:00
YunataSavior 818bd2f0bf
Some npc_ks dbg work (#2854) 2025-11-23 21:14:20 -08:00
hatal175 5dce13b8c6
vrbox2 debug almost matching (#2847)
* vrbox2 debug almost matching

* Putting variable declaration at the top in daVrbox2_Draw
2025-11-22 15:20:44 -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
hatal175 158899a16d
debug work on d_a_e_fb (#2819) 2025-11-18 01:34:52 -08:00
roeming 977aee7c94
add debug functionality + close to linking hozelda (#2804) 2025-11-14 16:10:46 -08:00
LagoLunatic ba7cdd4fe9
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
2025-11-09 11:43:14 -08:00
Max Roncace c428403198
d_a_e_sh matching (#2772) 2025-11-05 19:16:06 -08:00
TakaRikka 9a2df2162b
d_debug_camera mostly done (#2695)
* d_debug_camera mostly done

* update some alink demo stuff

* some misc debug stuff
2025-09-25 18:20:46 +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
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 e09f037fa3
Fix ShieldD REL hash checks (#2611) 2025-08-27 20:52:40 +03: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 a945ef4fb8
Fix all REL module names for ShieldD (#2607) 2025-08-25 18:46:46 -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
hatal175 ef75333735
d_a_obj_msima OK (#2593) 2025-08-21 04:07:41 -07:00
hatal175 a23984e74d
d_a_obj_lv4chandelier equivalent (#2590) 2025-08-17 19:06:17 -07:00
Max Roncace 41c72dc6d9
d_a_e_hp almost matching (#2585) 2025-08-15 12:50:49 +03:00
hatal175 8b93a8761f
d_a_obj_kita OK (#2582)
* d_a_obj_kita OK

* Remote ctor and dtor
2025-08-13 12:53:43 -07:00
hatal175 58a6d8d793
d_a_obj_gomikabe OK (#2580)
* d_a_obj_gomikabe OK

* Remove unneeded include
2025-08-11 17:18:42 -07:00
hatal175 ee608ceaac
d_a_obj_fallobj OK (#2568)
* d_a_obj_fallobj OK

* J3DMatBlock equivalent
2025-08-05 18:10:43 -07:00
Max Roncace d629cc383b
d_a_e_bg matching (#2567) 2025-08-05 11:37:09 +03:00
Stbn-antier c32789eb60
d_a_bd Matching (#2560)
* Matching daPoFire

* Adressed comments

* Matching text

* Some cleanup

* Adressed review comments, added CUT_TYPE_NONE in cut type enum
2025-07-30 20:27:05 +03:00
hatal175 a1b63ae940
d_a_obj_thdoor,d_a_obj_zra_rock OK (#2557)
* d_a_obj_thdoor,d_a_obj_zra_rock OK

* Remove ;
2025-07-26 12:34:45 -07: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
hatal175 aae19575bf
Work on d_a_obj_toby (#2552)
* Work on d_a_obj_toby

* d_a_obj_tatigi matching

* Deleted automatic ctor and dtor
2025-07-24 12:19:48 -07:00
Max Roncace d528862dd0
d_a_obj_tobyhouse equivalent (#2546) (#2543)
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-07-22 15:22:58 +03:00
Max Roncace c4ec1a5402
d_a_kago almost matching (#2541) 2025-07-19 18:12:27 +03:00
hatal175 aeeaf91054
d_a_ppolamp OK (#2535)
* d_a_ppolamp OK

* Remove include

* d_a_tag_Lv6Gate OK
2025-07-15 01:28:47 -07:00
LagoLunatic 23cba4d117
getDemoIDData matched, fix up various inlines and template classes (#2489)
* Fix debug build

* getDemoIDData matched, fix up various inlines and template classes

* Remove nonmatching comments
2025-06-17 22:11:53 -07:00
TakaRikka 657ea58023
d_a_bg mostly matching. update version symbols / add platform macros (#2410)
* d_a_bg mostly matching

* update version symbols from new dtk

* add version platform macros

* small fix
2025-04-25 20:53:30 +03:00
LagoLunatic f891887626
d_stage cleanup (#2392) 2025-04-13 20:54:57 -07:00