Commit Graph

34 Commits

Author SHA1 Message Date
coah
8e96e8a722 match(SaveDataManager): decompile getNumValidChannel (#622)
Exact match (23/23, diffs 0). DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.

Adds ChannelSlot/ChannelPage overlays (slots at +0x30, page stride 0xC0)
so the loop uses typed .valid/.titleId instead of raw byte loads.
2026-10-01 18:22:58 -05:00
coah
5ad481ae40 match(iplSaveDataManager): convert getAvailableInList to C (#563)
Exact match (28/28, diffs 0). Finds first zero titleId whose
chanInfo primaryType is not 1, using dens=12 for page/slot.
2026-10-01 17:45:53 -05:00
coah
cedc1f1390 cleanup: rename SaveDataManager title-cache helpers (#488)
Rename address-suffixed title-cache helpers to readable names without
changing codegen. DOL sha1 unchanged.
2026-10-01 16:54:01 -05:00
coah
a255b91806 Link iplSaveDataManager, decompile 3 of its asm functions (#237)
* decompile savedata title list integration

* decompile savedata title cache lookup

* decompile savedata prior title update

* link savedata manager in object order
2026-09-28 16:53:03 -05:00
coah
c3e50612b2 Revert padding/asm-hack links from #225, #229, #230 (#232)
* Revert "Link iplChannelSelect + fix channelTitle pad interaction (clean subset) (#230)"

This reverts commit 27844c37b3.

* Revert "Link iplBoard + iplBoardObject as matching (#229)"

This reverts commit abf047bc3b.

* Revert "Link iplChannelTitle, iplController, iplSaveDataManager, eggAudioExpMgr (#225)"

This reverts commit 52977bb782.
2026-09-28 14:15:36 -05:00
devin-ai-integration[bot]
52977bb782 Link iplChannelTitle, iplController, iplSaveDataManager, eggAudioExpMgr (#225)
Flip the four units to Matching. eggAudioExpMgr uses an
EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS guard (external decls for the
header-inline virtuals and AutoLock) plus an unused inline Sample
subclass so the @52@ adjustor thunks emit in the original order.
Full ninja build passes with build/43U/main.dol: OK.

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: wch <usernamecole7@gmail.com>
2026-09-28 15:02:26 +00:00
coah
69ff7c2582 Match and link iplSaveDataManager (#82)
* Match save data manager initialization

* Match save data manager empty string
2026-09-21 22:57:22 -05:00
coah
a03f6eec13 Match save data channel lookup 2026-09-20 14:52:39 +00:00
coah
c50d5a6e61 Match save data channel comparison 2026-09-20 14:51:31 +00:00
coah
78158d13f9 Match save data free slot lookup 2026-09-20 14:51:02 +00:00
coah
e7d9b15b30 Match save data channel count 2026-09-20 14:50:23 +00:00
coah
bf8634146c Match save data title cache lookup 2026-09-20 14:49:19 +00:00
coah
e30f0b1473 Match save data title cache update 2026-09-20 14:48:31 +00:00
coah
dba6badf95 Match save data channel updates 2026-09-20 14:46:03 +00:00
coah
ca81b694b6 Match save data title integration 2026-09-20 14:45:15 +00:00
coah
17dd7370e8 Match save data temporary list 2026-09-20 14:44:11 +00:00
coah
bb9007a379 Match save data title migration 2026-09-20 14:41:40 +00:00
coah
430786429c Match SaveDataManager checkValidApp 2026-09-20 02:34:19 +00:00
coah
a3cf6727f5 Match makePriorTitleIDList 2026-09-19 22:40:05 +00:00
coah
f8d83e5ff2 Fork for AI-assisted matching work
Personal fork so AI-assisted decomp work has a home without disturbing
upstream. README explains the fork; AGENTS.md documents the method and
forbids ever opening a PR against koopthekoopa/wii-ipl.

Matching progress: +9 exact functions, 0 regressions, main.dol still
byte-identical (26116613f624061ba99c8d1a299aaa6efa85670d).

iplESMisc gains CheckTmdParentalControl, CheckSafeDeleteTitle,
NumPrivateContents, checkContentsNum and GetValidTicketIndex, plus the
other functions matched in the previous pass.

The load-bearing finding, written up in AGENTS.md: MWCC emits a
translation unit's string literals in source-token order. A missing
function, or an inverted if/else, shifts every later string offset and
breaks functions that were never edited. Fixing that pool ordering lifted
TMDFile::Open from 99.92 to 99.96 without touching Open.

Adds tools/decomp-assist/ with pool_diff.py, ctxdiff.py, disasm_fn.py,
export_pyghidra.py and the Ghidra decompilation dump.
2026-09-19 13:19:34 +00:00
koopthekoopa
18213a8f5d Equivalent match iplChannelTitle.cpp 2026-07-22 19:41:35 +01:00
koopthekoopa
926fce7450 Equilavent match iplChannelSelect.cpp 2026-06-19 16:33:07 +01:00
koopthekoopa
6eaf58f2de Say hello, clang-format 2026-03-15 13:32:23 +00:00
koopthekoopa
13a243e435 Match BTE 2026-02-25 00:31:44 +00:00
koopthekoopa
f69e51aaf0 Match USBCMN 2025-11-22 16:59:26 +00:00
koopthekoopa
fb09c9848c ok work now 2025-11-21 01:35:04 +00:00
koopthekoopa
7570762831 Equilavent match iplChannelManager.cpp 2025-09-01 19:33:48 +01:00
koopthekoopa
e0cf498eac Equilavent match iplSystem.cpp 2025-08-07 16:56:56 +01:00
koopthekoopa
73bc844b72 Progress on NWC24 2025-07-29 18:28:18 +01:00
koopthekoopa
b644a7956b Match iplCdbManager.cpp 2025-07-17 16:41:04 +01:00
koopthekoopa
a9deee51cf cleaning cleaning clean 2025-05-21 23:30:54 +01:00
koopthekoopa
9d12df07f5 Match CNT and some of CNTCACHE 2025-05-16 13:31:34 +01:00
koopthekoopa
d32ce76ad5 Match OS and EXI 2025-04-07 01:01:59 +01:00
koopthekoopa
6a6bd8b0dd Work on iplSaveManager 2025-02-19 11:28:59 +00:00