Skip to content

SDK Merge#570

Merged
JoshSanch merged 14 commits intobfbbdecomp:mainfrom
LivewireCB:dev5
May 25, 2025
Merged

SDK Merge#570
JoshSanch merged 14 commits intobfbbdecomp:mainfrom
LivewireCB:dev5

Conversation

@LivewireCB
Copy link
Contributor

@LivewireCB LivewireCB commented May 25, 2025

All Dolphin SDK files are added and building. With the majority of them being close to Matching.

  • 5/24/25
  • 84.38% Matched
  • 24.90% linked

@github-actions
Copy link

⚠️ 🔥

+434 bytes
🆗 Bot Rating: A decent contribution. Thank you!

Regressions: 23

⚠️ main/SB/Core/x/xAnim - .text -71 bytes -> 92.11%
⚠️ main/SB/Core/gc/iMix - .text -1827 bytes -> 7.94%
⚠️ main/SB/Core/gc/ngcrad3d - .sdata2 -30 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - .text -272 bytes -> 13.38%
⚠️ main/SB/Core/gc/iTRC - .text -19 bytes -> 73.06%
⚠️ main/SB/Core/x/xAnim - std::atan2f(float, float) -36 bytes -> 0.00%
⚠️ main/SB/Core/x/xAnim - std::floorf(float) -36 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInit -100 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInitChannel -1788 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXReleaseChannel -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustInput -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetInput -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustPan -92 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetPan -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustFader -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetFader -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Open_RAD_3D_image -232 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Unlock_RAD_3D_image -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXEnd -4 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXTexCoord2f32 -16 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXColor4u8 -24 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXPosition3s16 -20 bytes -> 0.00%
⚠️ main/SB/Core/gc/iTRC - GXPosition3s16 -20 bytes -> 0.00%

Progress: 6

📈 main/SB/Game/zNPCTypeBossPlankton - .rodata +2 bytes -> 77.64%
📈 main/SB/Core/gc/iMix - __MIXSetPan(MIXChannel*) +140 bytes -> 83.72%
main/SB/Core/gc/iMix - __MIXResetChannel(MIXChannel*) +120 bytes -> 100.00%
📈 main/SB/Core/gc/ngcrad3d - Setup_surface_array() +72 bytes -> 64.29%
main/SB/Core/gc/iMix - __MIXGetVolume(int) +60 bytes -> 100.00%
main/SB/Core/gc/iMix - __MIXClampPan(int) +40 bytes -> 100.00%

@github-actions
Copy link

⚠️ 🔥

+434 bytes
🆗 Bot Rating: A decent contribution. Thank you!

Regressions: 23

⚠️ main/SB/Core/x/xAnim - .text -71 bytes -> 92.11%
⚠️ main/SB/Core/gc/iMix - .text -1827 bytes -> 7.94%
⚠️ main/SB/Core/gc/ngcrad3d - .sdata2 -30 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - .text -272 bytes -> 13.38%
⚠️ main/SB/Core/gc/iTRC - .text -19 bytes -> 73.06%
⚠️ main/SB/Core/x/xAnim - std::atan2f(float, float) -36 bytes -> 0.00%
⚠️ main/SB/Core/x/xAnim - std::floorf(float) -36 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInit -100 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInitChannel -1788 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXReleaseChannel -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustInput -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetInput -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustPan -92 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetPan -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustFader -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetFader -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Open_RAD_3D_image -232 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Unlock_RAD_3D_image -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXEnd -4 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXTexCoord2f32 -16 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXColor4u8 -24 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXPosition3s16 -20 bytes -> 0.00%
⚠️ main/SB/Core/gc/iTRC - GXPosition3s16 -20 bytes -> 0.00%

Progress: 6

📈 main/SB/Game/zNPCTypeBossPlankton - .rodata +2 bytes -> 77.64%
📈 main/SB/Core/gc/iMix - __MIXSetPan(MIXChannel*) +140 bytes -> 83.72%
main/SB/Core/gc/iMix - __MIXResetChannel(MIXChannel*) +120 bytes -> 100.00%
📈 main/SB/Core/gc/ngcrad3d - Setup_surface_array() +72 bytes -> 64.29%
main/SB/Core/gc/iMix - __MIXGetVolume(int) +60 bytes -> 100.00%
main/SB/Core/gc/iMix - __MIXClampPan(int) +40 bytes -> 100.00%

Copy link
Collaborator

@JoshSanch JoshSanch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely fantastic work. This wasn't strictly necessary for the project to be considered a success in the long-term but having a comprehensive decompilation of the game and all of its dependencies is a worthy goal.

Some discussion questions for follow-up for documentation purposes - I mentioned in the Discord but there are some project structure issues that I've determined as out-of-scope for this PR related to our include and the introduced libs folders, but that work does not need to block this PR.

@github-actions
Copy link

⚠️ 🔥

+434 bytes
🆗 Bot Rating: A decent contribution. Thank you!

Regressions: 23

⚠️ main/SB/Core/x/xAnim - .text -71 bytes -> 92.11%
⚠️ main/SB/Core/gc/iMix - .text -1827 bytes -> 7.94%
⚠️ main/SB/Core/gc/ngcrad3d - .sdata2 -30 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - .text -272 bytes -> 13.38%
⚠️ main/SB/Core/gc/iTRC - .text -19 bytes -> 73.06%
⚠️ main/SB/Core/x/xAnim - std::atan2f(float, float) -36 bytes -> 0.00%
⚠️ main/SB/Core/x/xAnim - std::floorf(float) -36 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInit -100 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXInitChannel -1788 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXReleaseChannel -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustInput -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetInput -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustPan -92 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetPan -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXAdjustFader -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/iMix - MIXGetFader -28 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Open_RAD_3D_image -232 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - Unlock_RAD_3D_image -48 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXEnd -4 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXTexCoord2f32 -16 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXColor4u8 -24 bytes -> 0.00%
⚠️ main/SB/Core/gc/ngcrad3d - GXPosition3s16 -20 bytes -> 0.00%
⚠️ main/SB/Core/gc/iTRC - GXPosition3s16 -20 bytes -> 0.00%

Progress: 6

📈 main/SB/Game/zNPCTypeBossPlankton - .rodata +2 bytes -> 77.64%
📈 main/SB/Core/gc/iMix - __MIXSetPan(MIXChannel*) +140 bytes -> 83.72%
main/SB/Core/gc/iMix - __MIXResetChannel(MIXChannel*) +120 bytes -> 100.00%
📈 main/SB/Core/gc/ngcrad3d - Setup_surface_array() +72 bytes -> 64.29%
main/SB/Core/gc/iMix - __MIXGetVolume(int) +60 bytes -> 100.00%
main/SB/Core/gc/iMix - __MIXClampPan(int) +40 bytes -> 100.00%

@JoshSanch
Copy link
Collaborator

Note on regressions: Implemented code in ngcrad3d was straight up incorrect and did not match SDK definitions, so regressions are expected but also just the realization of those issues. For that reason, I am merging anyway.

@JoshSanch JoshSanch merged commit 82e1d6e into bfbbdecomp:main May 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants