MelonSpeedruns
e1844d55da
Time Stones now with Song of Time
2026-04-13 13:03:28 -04:00
TakaRikka
4a7ea9d85b
Merge https://github.com/zeldaret/tp
2026-03-30 02:21:28 -07:00
TakaRikka
5685fa58c6
Z2Audio player debug work / fix actor method returns ( #3140 )
...
* Z2Audio player debug work
* fix actor method returns
* wii build fix
2026-03-30 02:10:42 -07:00
Max Roncace
0ce0182f50
Fix Clang compile error due to introduction of PCH
2026-03-29 22:23:44 -04:00
PJB3005
248f3945b4
Merge branch 'main' into pjb-audio
2026-03-27 17:18:11 +01:00
Max Roncace
12966c3b12
Merge remote-tracking branch 'decomp/main'
2026-03-27 02:02:24 -04:00
Roman Sandu
0fc019dcfa
JAHostIO and friends ( #3131 )
2026-03-26 18:54:07 -07:00
PJB3005
79ddc6815d
Names mixed in with some BE fixes
2026-03-15 01:23:11 +01:00
PJB3005
61b6111954
Fix sound userdata pointers being truncated
2026-03-14 16:43:29 +01:00
PJB3005
ab389c5f49
Merge remote-tracking branch 'decomp/main' into 26-02-27-pjb-dev-2
2026-03-02 12:36:59 +01:00
Luke Street
9649319ec4
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
Luke Street
32c32a73ca
Merge decomp/main into dusk
...
Merges 44 upstream commits from zeldaret/tp decomp/main.
Conflict resolutions:
- .github/workflows/build.yml: keep deleted (not needed for PC port)
- README.md: keep PC port README
- J3DAnimation.h: keep OFFSET_PTR macro + add upstream forward decl
- J3DModelLoader.h: keep BE(u32) mBlockNum + add field_0x1c
- d_com_inf_game.h: keep PC port inlines + add upstream declarations
- global.h: keep MULTI_CHAR macro + add FABSF macro
- JUTConsole.cpp: keep uintptr_t cast for 64-bit
- JUTDbPrint.cpp: keep PC enter_() helper + add cstring include
- JUTResFont.cpp: take upstream loop/struct improvements with BE types
- JUTCacheFont.cpp: take upstream decomp fix
- float.h: use upstream !PLATFORM_GCN guard
- d_a_npc_bouS/theB.cpp: keep MULTI_CHAR() for PC portability
- d_a_npc_henna.cpp: keep uintptr_t + use upstream var name
- d_demo.cpp: keep near_/far_ field renames for PC
- d_resorce.cpp: keep uintptr_t + fix var name to res
- d_s_room.cpp, m_Do_graphic.cpp: keep dusk includes + add cstring
- m_Do_main.cpp: keep JHIComPortManager + use JAS_GLOBAL_INSTANCE_INIT
- angle_utils.h: remove redundant types.h include
2026-02-28 13:33:16 -07:00
Pieter-Jan Briers
f54661f878
Fix MORE wrong forward declares (struct/class) ( #3110 )
2026-02-24 14:20:45 -08:00
PJB3005
08ab1e1106
Fix wrong forward declares (struct/class)
...
Requires removing the now-matching symbols from jsystem_stubs.cpp
2026-02-24 16:58:12 +01:00
Max Roncace
803bc041c7
Implement Z2AudioCS ( #3103 )
2026-02-20 02:53:27 -08:00
Lurs
143c973b49
Merge branch 'wip/linkfix2' into wip/linkfix
2026-02-11 07:20:44 +01:00
roeming
ef1e1e954c
Fix errors for msvc
...
Use less strict compiler flags instead of modifying source code
Add ugly defines so MSVC stops complaining about zero length arrays
2026-02-01 15:37:26 -08:00
TakaRikka
5867eaf68b
general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug ( #3065 )
...
* typedef for cPhs_Step
* make sdk includes consistent
* d_menu_quit / d_msg_scrn_explain debug
* d_a_obj_testcube mostly done
* d_debug_pad mostly done
* jstudio tool library headers
* some JStudioCameraEditor headers
* d_jcam_editor mostly done
* try fixing some shield regressions
* d_bg_parts mostly done
* fix merge errors
* debug fix
2026-01-24 23:36:23 -08:00
Jcw87
87a3705039
m_Do debug ( #3052 )
...
* m_Do debug
* m_Do wii data
2026-01-18 17:59:57 -08:00
TakaRikka
b1f44ce532
d_a_alink cleanup / debug work ( #3045 )
...
* start d_a_alink debug cleanup
* d_a_alink_damage debug
* d_a_alink_guard debug
* d_a_alink_bow debug
* d_a_alink_boom debug
* d_a_alink_copyrod debug
* d_a_alink_hvyboots debug
* d_a_alink_grab debug
* d_a_alink_sumou debug
* d_a_alink_horse debug
* d_a_alink_canoe debug
* d_a_alink_crawl / d_a_alink_hang debug
* d_a_alink_swim debug
* d_a_alink_hook / d_a_alink_iceleaf debug
* d_a_alink_bottle debug
* d_a_alink_whistle / d_a_alink_kandelaar / d_a_alink_ironball debug
* d_a_alink_demo debug
* d_a_alink_effect debug
* d_a_alink_wolf debug
* d_a_alink debug / cleanup
* cleanup button status enums
2026-01-17 15:44:37 +02:00
Jcw87
767e3ba17e
Z2AudioLib debug ( #3016 )
2026-01-05 03:54:00 -08:00
Jcw87
f156a2a413
JAHostIO, JAWExtSystem debug ( #2985 )
2025-12-22 12:27:31 -08:00
Carco_21
87732304d1
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
Max Roncace
8ad2d661a2
Clean up conditional compilation a bit ( #2943 )
2025-12-11 15:34:16 -08:00
LagoLunatic
251d49c6f1
JASBNKParser OK, Z2Audience OK ( #2929 )
2025-12-07 21:49:42 -08:00
Max Roncace
a30e617e5a
Various debug conditional compilation cleanup ( #2915 )
...
* Global: Define DEBUG as 0 if not already defined
* Clean up DEBUG-guarded code
2025-12-06 13:34:47 -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
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
YunataSavior
d21e22f9ed
npc_kn almost matching + dbg work ( #2802 )
...
* npc_kn almost matching + dbg work
* more npc_kn dbg work
* fix npc_kn select action functions
* Z2AudioMgr dbg change for taka
2025-11-15 18:40:47 -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
TakaRikka
23a6cf91cd
start shield final config ( #2726 )
...
* checkpoint
* shield final half building
2025-10-06 12:48:39 +03:00
Max Roncace
8420c94854
Minor JSystem/Z2Audio fixes ( #2650 )
2025-09-11 23:39:23 -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
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
Max Roncace
513816ce5c
Add a precompiled header for RELs ( #2597 )
2025-08-24 09:52:08 +03: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
92e14253ca
d_a_npc_zelda equivalent ( #2528 )
2025-07-11 22:00:18 +03:00
TakaRikka
227cf2353a
some more wii tests/improvements ( #2512 )
...
* some more wii tests/improvements
* merge Z2AudioCS changes
2025-07-01 01:17:50 +03:00
hatal175
214cfce7f6
d_a_bg_obj equivalent + misc ( #2509 )
...
* d_a_bg_obj equivalent + misc
* More Z2LinkMgr Matches
2025-06-29 20:38:04 -07:00
TakaRikka
79c56b2548
add wii usa rev0 support ( #2505 )
...
* wii usa rev0 dol building ok
* wii dol cleanup
* some wii tests
* most rels building
2025-06-27 13:14:58 +03:00
hatal175
b2d665c911
d_msg_class mostly equivalent ( #2403 )
2025-04-20 17:46:09 -07:00
hatal175
3df5c7bb42
Various alignments to debug + matching TUs ( #2391 )
2025-04-13 11:55:52 -07:00
hatal175
cc3e0856bf
Misc Matches using debug ( #2388 )
2025-04-11 14:54:08 -07:00
Caroline Madsen
c6f76e7240
Various JSystem work ( #2383 )
...
* JKernel and JStudio cleanup
* JMessage cleanup
* JAudio cleanup
* JASBNKParser work
* functionvalue work
* fvb work
* J2D and J3D cleanup
* steal from tww
* J2DPictureEx mostly done
* fix build
2025-04-09 13:45:30 -07:00
TakaRikka
a4cdad86f4
b_gnd equivalent ( #2340 )
...
* b_gnd equivalent
* fix dEvt_info_c inlines
* fix some more inlines
2025-03-23 21:55:28 +02:00
LagoLunatic
4dc0cd9d09
Debug version now builds OK and all_source compiles ( #2343 )
...
* Fix missing arg to JUT_ASSERT
* Fix some MWCC version diff errors
* Compile m_Do_ext, d_demo, actor_mng
* Add VSCode task to quickly switch between versions
* Unlink magLift for debug
* Update the hash of the debug dol
The old cbea5fa... hash here was for the dol generated by the alf2dol.py script, which produces incorrect alignment.
The dol with the new hash can be obtained by using `dtk elf2dol` to convert the debug .alf file to a dol.
The DOL now builds OK.
* Fix all debug REL dtor splits
All RELs now also build OK, meaning `ninja build/ShieldD/ok` now succeeds.
* Add genMessage declarations to all HIO subclasses
* Fixing more compilation errors
* m_Do_mtx 100% on debug
Cannot be linked due to weak function name mangling?
* Improve various matches
* Fix all remaining compilation errors
* Fix new compilation errors from main
* Fix retail regression
* Link f_pc_profile_lst
2025-03-22 18:00:51 -07:00
Caroline Madsen
5a7b9f62d6
Z2AudioLib work ( #2339 )
...
* Z2LinkMgr work, Z2AudioArcLoader matching
* Z2SeMgr matching
* Z2SpeechMgr2 almost done, Z2SoundHandles matching
2025-03-21 23:03:43 -07:00
TakaRikka
2453c0e333
copy dolsdk2004 to tp / b_bh + e_mb done ( #2299 )
...
* move dolsdk2004 over
* cleanup some temp work
* finish and cleanup gf
* b_bh done
* d_a_e_mb done
2025-02-10 21:20:42 +02:00
TakaRikka
9948a6371f
wip debug / pal building, b_gm mostly done ( #2285 )
...
* b_gm mostly done
* wip debug / pal building
* fix configure.py
* fix some debug macros / flags
2025-01-16 19:37:39 +02:00
hatal175
d874f05f44
d_a_obj_wsStick, d_a_obj_onsenTaru OK ( #2268 )
...
* d_a_obj_wsStick, d_a_obj_onsenTaru OK
* d_a_obj_pdtile OK
* d_a_obj_stone equivalent
* d_a_npc_lf OK
* Z2SoundMgr OK
* Remove fixed nonmatching comment
* d_a_obj_kantera OK
* Remove unneeded header
* daMyna_c::deleteItem matching
* d_a_obj_crvsteel OK
2024-12-24 02:36:01 -08:00