Skip to content

Fix a few crashes and list files with unknown types#2

Open
jnm2 wants to merge 15 commits intoTomahnaProject:masterfrom
jnm2:misc_fixes
Open

Fix a few crashes and list files with unknown types#2
jnm2 wants to merge 15 commits intoTomahnaProject:masterfrom
jnm2:misc_fixes

Conversation

@jnm2
Copy link
Copy Markdown

@jnm2 jnm2 commented Jul 12, 2025

Great project! Thanks for starting something. I miss Revelator and was overjoyed to see an open-source project.

I wanted to extract in-game audio. This required a change so that files with unknown types are listed. I'm still figuring out how the .ss0 and .seq files relate to each other, but there's plenty of Ogg Vorbis audio content inside the .ss0 files.

I also fixed a pretty bad bug. Due to a mistaken assumption that a folder would not contain its own files if it also has subfolders, the app was failing to read the file entries, but the file entries were there. The app did not read the file entries and thus did not increment the index past the file entries, and thus when it tried to read subsequent folder entries, the index was still pointing at file entries. After this was fixed, there were some chances to simplify the code since there's no difference between reading folders anywhere now, whether root m4b, or folders with subfolders, or folders without subfolders.

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.

1 participant