187 Commits

Author SHA1 Message Date
madeline 9c562ff740 state packs and partial states 2026-04-22 02:44:58 -07:00
TakaRikka 5a82b3b8ef remove unneeded decomp stuff pt2 2026-04-09 20:13:54 -07:00
PJB3005 8c52a386d5 Merge remote-tracking branch 'decomp/main' into 26-02-27-pjb-dev-2 2026-03-02 12:36:59 +01:00
Luke Street 4df8ccc871 Reorganize library code into libs/ (#3119)
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}

* Update configure.py and project.py for new libs structure

* Refactor `#include <dolphin/x.h>` -> `<x.h>`

* Remove `__REVOLUTION_SDK__` forwards from dolphin

* Fix dolphin/ references in revolution

* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`

* Always build TRK against dolphin headers

* Resolve revolution SDK header resolution issues
2026-03-01 14:35:36 -08:00
Jeffrey Crowell 91c940bc1e fix more compile errors with clang 2026-02-26 23:03:55 -08:00
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
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
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
LagoLunatic f3b67150aa 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 dfa8efa97b 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 1bd947b6dd 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 1420aa0d0d 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 342b68959d d_a_grass Matching (#2858) 2025-11-24 15:28:20 -08:00
Luke Street 48ed85d95f 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 71f3fcdaf1 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 bf8c4efcc4 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 663045b6a4 Add python file to create enums from .arc files (#2670) 2025-09-18 17:55:18 -07:00
Max Roncace 66763277c8 Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606) 2025-08-30 20:57:35 -07:00
LagoLunatic 93f908ebff 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 c897597fc1 Add a precompiled header for RELs (#2597) 2025-08-24 09:52:08 +03:00
hatal175 a8e555bc14 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 2df0df9cb3 d_a_obj_brg matching (#2539) 2025-07-18 10:53:45 +03:00
YunataSavior 4f976cba4d 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 d3d675b215 beautify_anm_data v2.0 (#2508) 2025-06-28 14:55:20 +03:00
YunataSavior c48fb2f545 Further beautify anm data param handling (#2496) 2025-06-21 21:22:44 -07:00
YunataSavior 93f3efcf0f Improve beautify anm data (#2487) 2025-06-16 11:36:22 +03:00
LagoLunatic d3d79cb0a0 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 b72c72b35e 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 0e5aa55be3 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 4ba9e77b25 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 51a6a0f4fb daObjCBlk_c equivalent (#2326) 2025-03-12 16:03:14 -07:00
LagoLunatic 7349c37bfb 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 52f299456c 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 3b0eaa81a0 Update dtk-template & fix source paths (#2231) 2024-10-30 16:35:28 -07:00
TakaRikka 2f804f2609 update dtk (#2221) 2024-10-21 04:46:00 +03:00
Luke Street c1ada3693f 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 178194ccb2 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 f90ee9ed68 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 0d0c363ba6 Tools: update packageISO and move yaz0 function to config (#2183) 2024-07-22 12:33:16 -06:00
jdflyer ac01026346 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 3179dd2322 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 f3db5c187f Setup d_a_npc actors (#2165) 2024-06-05 09:54:15 -06:00
Pheenoh e19170daac 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 7cd664aa05 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 7154ac08e1 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 34203a6049 Fix make game (#2097) 2024-03-15 00:35:29 -07:00
TakaRikka 799b9bbb26 remove dkp dependency (#2078) 2024-02-25 06:46:55 -07:00
TakaRikka eafd2bd13e fix compiler zip endpoint (#2077) 2024-02-25 04:03:58 +01:00
hatal175 2f055bd3c5 Fix _stack_addr to match OSInit and __OSThreadInit (#2042) 2024-01-21 16:51:34 -08:00
jdflyer 8f7ec02644 fix yaz0.py (#2022) 2024-01-02 21:59:58 -08:00