Skip to content

Replace SDATTool with nitrosfx v0.1 - #1250

Open
h2o-DS wants to merge 2 commits into
pret:mainfrom
h2o-DS:nitrosfx
Open

Replace SDATTool with nitrosfx v0.1#1250
h2o-DS wants to merge 2 commits into
pret:mainfrom
h2o-DS:nitrosfx

Conversation

@h2o-DS

@h2o-DS h2o-DS commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Replaces SDATTool with nitrosfx v0.1

Unpacks swar files into wav.
Replaces generated/sdat.h with res/sound/pl_sound_data.naix generated from the sdat file.
Moves files related to pokemon cries into their respective species folders. Adding species will cause the added cries to be added to the sdat's private folder, but will require editing res/sound/pl_sound_data.json in order to be added to the SDAT; this will be addressed in a future PR.

Files in res/sound/WAVARC are IMA-ADPCM encoded due to some of them not currently being able to round-tripped in PCM16.

Comment thread docs/datafiles/moves.md
Func_FadeBattlerSprite BATTLE_ANIM_DEFENDER, 0, 1, BATTLE_COLOR_RED, 10, 0
Func_Shake 1, 0, 1, 2, BATTLE_ANIM_BATTLER_SPRITE_DEFENDER
PlayLoopedSoundEffectR SEQ_SE_DP_W052, 3, 4
PlayLoopedSoundEffectR SEQ_SE_DP_W052_sseq, 3, 4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

question: Could we strip the extension before generating the NAIX? That would greatly reduce the scope of changes. As-is, GitHub is choking on this PR quite a bit due to the number of files that have been touched.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I would prefer the extensions, but that can be reverted if required

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