Repository navigation
Conversation
Owner
|
Closing as superseded by ecbeae1, which adds the upstream Pokémon Brilliant Diamond 1.3.0 port and includes the shared SDK allocator cut, Unity 2019.4 compute-shader support, and the general AudioOut stop fix. The game note credits this PR for the independent 1.0.0 findings and the AudioOut/FMOD diagnosis. This closes the PR without merging its branch. Its 1.0.0 shader tables and Mac validation remain useful evidence here; upstream currently registers 1.3.0, so this closure does not claim that 1.0.0 is registered or revalidated on current main. Thanks for the contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Pokémon Brilliant Diamond 1.0.0 (
0100000011D90000) support and the generic fixes required to bring it up on the Mac host.Tested on Apple M4.
SDK 11.4.3 AddressRegionManager
Adds the existing AddressRegionManager node-area reduction for SDK build:
2d369d9999e3e10e665106f840ffff9bWithout the cut,
nninitStartupaborts inStandardAllocator::Initializebefore reachingnnMain.The two node-area constants are changed from
0x3fe00000to0x3e00000, following the existing fix used by other affected SDK builds.Unity 2019.4 ComputeShader support
Brilliant Diamond uses Unity 2019.4.27f1.
Adds the
ComputeShaderclass 72 layout for type hash:1a95529ac2eb1a97cd9d2a4356bd722fUnity 2019 stores program code directly in each kernel rather than through
uniqueVariantsorvariantMap, soshader_split.pynow handles that layout as well.Before the fix, the built-in
Internal-SkinningandInternal-BlendShapecompute shaders were omitted.Shader count increases from:
14,366→14,385The runtime-missing shader:
2c1e06378edbd813is now mapped as:
/Data/Resources/unity default resources#Internal-Skinning#main.0This fixes the missing animated character models during the opening sequence.
AudioOut stop / FMOD deadlock
During the transition after character selection, FMOD stopped its AudioOut while four buffers were still pending:
pending=4 released=0StopAudioOutpreviously stopped the backend without returning those pending buffers.The FMOD audio-output thread consequently waited indefinitely for its buffer-release event, while the main thread waited indefinitely for the FMOD thread to terminate.
StopAudioOutnow:This allows FMOD to reclaim its outstanding buffers and terminate its audio-output thread normally. The game then proceeds past the character-selection transition.
Game profile
Adds the Pokémon Brilliant Diamond 1.0.0 profile:
0100000011D90000Build IDs:
main:f87fc6075104ec4d9642a4aa6bb22216subsdk0:507f19d1240d09d00992248e8a0fd77esdk:2d369d9999e3e10e665106f840ffff9bValidation
Verified on the Mac host that:
nninitStartupcompletes and reachesnnMain;