GreatEmerald / OggVorbisFix

Corrupt OGG Vorbis file header fix tool
Apache License 2.0
11 stars 4 forks source link

fsb file with no headers at all #2

Open john-peterson opened 1 year ago

john-peterson commented 1 year ago

fsbext -l speech-english.fsb |head
                                              FSB files extractor 0.3.5
by Luigi Auriemma                             e-mail: me@aluigi.org                         web:    aluigi.org                            
- input file:   speech-english.fsb            - FSB5 mode 0
                                              Filename                         Size       Mode frequency channels bits                    ========================================================================                    PM_CON_BOSS_GRAPPLE_SPIDER_TEASER_000_0 32672      ogg 44100 1 16                           PM_CON_BOSS_GRAPPLE_SPIDER_TEASER_001_0 45792      ogg 44100 1 16                           PM_CON_RADIO_TRANSMISSION_FROM_BOSS_GRAPPLE_SPIDER_ARENA_001_0 25376      ogg 44100 1 16    PM_CON_RADIO_TRANSMISSION_FROM_BOSS_GRAPPLE_SPIDER_ARENA_005_0 26624      ogg 44100 1 16    PM_CON_BOSS_GRAPPLE_SPIDER_TEASER_002_0 21632      ogg 44100 1 16
john-peterson commented 1 year ago

They are playable with the frequency channels bits info

I just don't know how to stitch together a working header with that information

john-peterson commented 1 year ago

There is code for that exact purpose but I can't get the heads and tails of it

Maybe tonight I will understand it

https://github.com/tmiasko/fsb-vorbis-extractor/blob/master/src/fsb/vorbis/headers_generator.cpp