Commit Graph

180 Commits

Author SHA1 Message Date
LagoLunatic a11e3d6016
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
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
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
roeming da03a43cef
Adding tons of enum resource files (#2886)
* add shield assets

* add shieldD assets

* add GCN US assets

* add GCN JP asset enums

* add GCN PAL asset enums

* add WII asset enums

* add WII Rev 2 asset enums

* add all other files

* change asset include directory to force "res/" prefix

* remove wrong duplicate marks

* Allow cpp files to reference arc enums

* rename all resource files to not begin with "res_"

* update res_arc tool to use argparse

* remove Stage enums
2025-11-28 19:10:04 -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
hatal175 c4df6a5771
d_a_grass Matching (#2858) 2025-11-24 15:28:20 -08:00
Luke Street cb08a259a5
Update dtk-template & use wibo on macOS (#2829)
* Update dtk-template & use wibo on macOS

* Update to wibo 1.0.0-beta.5

* Fix implicit dependencies for pch rules
2025-11-20 01:16:44 -08:00
YunataSavior db219f067f
NPC str cleanup and misc for 100% linkability (#2723)
* NPC str cleanup and misc for 100% linkability

* d_msg_object equiv
2025-10-03 01:10:14 -07:00
roeming 3f37bad921
Add ability to extract joint enums from bmd/bdl files (#2704)
* arc extraction will auto-create resource files

* Update enum extraction to extract joint enums

* Update enum extraction to use pathlib

* Move enum extraction to converters folder

* Added check to extract bmd file if src file is modded
2025-09-27 15:30:13 -07:00
roeming 818dec837f
Add python file to create enums from .arc files (#2670) 2025-09-18 17:55:18 -07:00
Max Roncace 8c94dc8608
Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -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
Max Roncace 513816ce5c
Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03: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
YunataSavior 6bc4faa5f7
d_a_obj_brg matching (#2539) 2025-07-18 10:53:45 +03:00
YunataSavior 712c880710
d_a_npc_besu equivalent (#2510)
* beautify_anm_data v2.0

* d_a_npc_besu 50% done

* d_a_npc_besu 70% done

* d_a_npc_besu until wait + indent fix

* d_a_npc_besu equivalent!

* Mark d_a_npc_besu as equiv in configure py
2025-07-06 03:07:33 -07:00
YunataSavior c5eeeda337
beautify_anm_data v2.0 (#2508) 2025-06-28 14:55:20 +03:00
YunataSavior 4278b8ad8d
Further beautify anm data param handling (#2496) 2025-06-21 21:22:44 -07:00
YunataSavior bb008ca9cf
Improve beautify anm data (#2487) 2025-06-16 11:36:22 +03:00
LagoLunatic 0212d1d18e
Update dtk-template (#2453)
* Update dtk-template

* Fix debug build

* Fix d_event_debug includes

* Progress reports: Enable function relocation diffing (data_value)

* Fix some diffs

* Fix a few more diffs

* More fixes
2025-05-22 22:25:06 -07:00
YunataSavior 430dc32da9
Utility script 'beautify_anm_data.py' to assist getting started with d_a_npc TUs (#2413) 2025-04-27 21:06:44 -07:00
TakaRikka 556bfc958c
d_menu_dmap_map equivalent / update dtk-template (#2409)
* d_menu_dmap_map equivalent

* update dtk-template
2025-04-23 10:08:13 +03:00
TakaRikka 60748d0924
b_dr equivalent, update dtk-template (#2327)
* d_a_tag_allmato almost done

* d_a_swhit0 done

* some SSystem cleanup

* treesh done

* swball done, some other rel cleanup

* b_dr equivalent

* update dtk-template

* rename j3dframectrl mode enum
2025-03-14 04:46:21 -04:00
hatal175 34c5d8272e
daObjCBlk_c equivalent (#2326) 2025-03-12 16:03:14 -07:00
LagoLunatic ca3e900835
Fix false pointer relocations in data breaking shiftability (#2296)
* Fix false pointer relocations in data breaking shiftability

* Update matDL_dis.py from tww

* remove debug prints from matDL build script
* matDL build rule: Allow specifying global/local scope

* Use asset extraction for ShieldD

* Set mode `+x` on executable Python scripts

* set `+x` on matDL_dis
2025-01-31 23:58:59 +02:00
TakaRikka 499d4dfe74
alink_grab done (#2234)
* work on alink grab

* some grab work

* grab almost done

* finish alink grab

* alink_wolf mostly done

* fix cLib_minMaxLimit

* alink guard mostly done

* extract some embedded assets

* extract grass data. wip, alignment wrong
2024-11-03 06:47:23 -05:00
Luke Street 30777a85b5
Update dtk-template & fix source paths (#2231) 2024-10-30 16:35:28 -07:00
TakaRikka 66bc920f4e
update dtk (#2221) 2024-10-21 04:46:00 +03:00
Luke Street 0db466edfa
Add clangd support for VS Code (#2207)
* Add clangd support for VS Code

* Revert accidental change
2024-10-12 21:43:10 -07:00
TakaRikka 12eb254d76
switch to dtk setup (#2203)
* switch to dtk setup

* some cleanup / fixes

* cleanup d_a_alink literals

* Restore doxygen, update CI & README.md (#1)

* Fix build image ref (#2)

---------

Co-authored-by: Luke Street <luke@street.dev>
2024-10-10 08:29:58 -06:00
TakaRikka e7e5453771
zramark work, sWallShutter / firewood2 done (#2187)
* obj_zramark done except weaks

* setup fixes

* obj_sWallShutter done

* firewood2 done

* remove asm
2024-08-07 09:32:04 -06:00
jdflyer 70e278ee84
Tools: update packageISO and move yaz0 function to config (#2183) 2024-07-22 12:33:16 -06:00
jdflyer ab7d0b88c3
Tools: add libbti and assets_config (#2182)
* Start d_menu_fmap2d

* checkpoint

* checkpoint

* Add libbti and bti packaging, start libjaudio

* Add asset config, move libast, formatting
2024-07-18 09:04:43 -06:00
Pheenoh 3a2e38dc5c
Setup d_a_b + misc actors (#2166)
* setup d_a_b actors

* misc actor checkpoint

* misc actor finish

* add d_a_b class comments

* add misc actor class comments wip

* add misc actor class comments
2024-06-10 00:34:52 -07:00
Pheenoh 946b2e81d9
Setup d_a_npc actors (#2165) 2024-06-05 09:54:15 -06:00
Pheenoh 2e7510db5f
Setup d_a_obj Actors (#2161)
* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* finish

* add class comments

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* finish

* add class comments

* rm duplicate comments

* fix build
2024-05-29 00:49:10 -07:00
Pheenoh 38ac3e9227
Setup d_a_e actors (#2157)
* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* finish

* add class comments
2024-05-23 23:31:16 -07:00
Pheenoh a61e3491f7
d_a_e_fz work, doxygen revamp (#2127)
* initial freezard actor struct + setActionMode OK

* daE_FZ_Draw

* setReflectAngle

* mBoundSoundset

* daE_FZ_Execute & execute

* demoDelete

* daE_FZ_Delete & _delete

* CreateHeap

* useHeapInit

* cc_set

* mtx_set

* action WIP

* way_gake_check

* executeRollMove

* executeMove

* draw WIP

* executeDamage

* checkpoint

* create

* checkpoint

* daE_FZ_c::executeWait

* checkpoint

* daE_FZ_c::damage_check almost done

* rm asm

* rm headers

* setup_profile WIP + doxygen update

* fix merge issues

* docs fix?

* fix2

* doxygen updates

* setup g_profile_E_FZ, profile setup script WIP

* update github actions

* update progress.md
2024-04-12 00:10:30 -06:00
jdflyer df77eae2b3
Fix make game (#2097) 2024-03-15 00:35:29 -07:00
TakaRikka d72e2c95e5
remove dkp dependency (#2078) 2024-02-25 06:46:55 -07:00
TakaRikka 9cf4926464
fix compiler zip endpoint (#2077) 2024-02-25 04:03:58 +01:00
hatal175 5a735a4956
Fix _stack_addr to match OSInit and __OSThreadInit (#2042) 2024-01-21 16:51:34 -08:00
jdflyer f5bf24c77e
fix yaz0.py (#2022) 2024-01-02 21:59:58 -08:00
jdflyer be10df4760
libstage.py (#2019)
* libstage.py

* Cleanup and VRB Extract
2024-01-02 20:59:37 +02:00
TakaRikka dde6a466b1
kgate / d_meter_button / d_meter_haihai done, obj_ice_l wip (#2018)
* kgate OK, ice_l wip

* d_meter_button done

* remove asm

* d_meter_haihai done

* remove asm
2024-01-02 01:09:41 +02:00
hatal175 68e857b4da
Match most of d_attention (#2016)
* Make decompctx work with MSL includes

* Match most of d_attention
2023-12-29 21:59:33 +02:00
Keith Lazuka eda795addf
Fix build for new contributors (#1994)
* Add pyyaml to Python dependencies

* Add Jetbrains IDE dir to gitignore

* Check magic number on the ISO file
2023-12-01 10:22:38 -07:00
Pheenoh 2d5c38e022
d_a_obj_carry work, setup static shape data (#1890) 2023-08-20 22:10:09 -06:00
Pheenoh 7fd7d0c1f3
d_a_obj_carry work, SETUP_ACTOR macro, header cleanup (#1885)
* d_a_obj_carry work, SETUP_ACTOR macro

* rm headers, add script

* progress

* macro rename, consistent spacing
2023-08-16 12:07:52 -07:00
jdflyer 7e8fd320bd
Fix Build Scripts (#1879) 2023-08-13 17:46:24 -07:00