ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Oct 22, 2018 7:56 pm

All times are UTC




Post new topic  Reply to topic  [ 30 posts ]  Go to page Previous 1 2
Author Message
 Post subject: Re: FSB OGG Unpacker
PostPosted: Sun Oct 19, 2014 9:52 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
The problems are not the effects, it's just the target of the fsbext tool that is different.
The idea is a tool that dumps the data as-is and, if necessary, adapts the data for creating a playable file (like what happens with mp3 that are very similar to ogg in their concept).

Regarding the raw pcm topic I already expressed my opinion, it's not possible to recognize a raw pcm stream inside a file contaiing any random data.


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Sun Oct 19, 2014 10:40 pm 

Joined: Sun Aug 24, 2014 5:26 pm
Posts: 229
I've ansvered about raw on that topic. That is possible and that tool recognizes raw data. Search the dumped file for TAK entries. It extracts raw, adds header, compress it with TAK and put it back in a whole file. So there are a way to recognize that data. Also you can just try to extract it with "e" command, but it will extract raw data without header.


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Tue Oct 21, 2014 10:56 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
I made a test and that tool didn't work with me.
The reason is logic, go on Linux and make: cat /dev/urandom > /tmp/audio_data.raw

The generated file can be a sequence of random bytes or just a "noisy" PCM 8 or 16bit raw audio file, nobody can tell or maybe a valid PCM raw in the middle of other non-audio data.

That's the reason why it's not possible to find headerless raw PCM audio data (no RIFF, no other magic signatures to search) in a file, and I already tested the tool and it failed.

I want to be sure that we are in sync on the correct terms, with PCM raw data I mean just the sequence of audio without headers.
If the data has an header then it's a format (RIFF WAV for example) and, yes, in that case it's possible to search the files, but it's a format scanner and not a "raw" scanner.

Hope it's clear now.


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Fri Jul 24, 2015 3:56 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
https://github.com/tmiasko/fsb-vorbis-extractor


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Fri Jul 24, 2015 10:53 pm 

Joined: Sun Aug 24, 2014 8:54 am
Posts: 150
hi~aluigi
I do not compile them,how to get compiled exe download link?


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Fri Jul 24, 2015 10:59 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
I have the same problem on both Windows and Linux so I can't help much.
Hope to update fsbext soon.


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Fri Jul 24, 2015 11:34 pm 

Joined: Sun Aug 24, 2014 8:54 am
Posts: 150
ok,wait fsbext update


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Sun Jul 26, 2015 11:46 am 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 802
aluigi wrote:
https://github.com/tmiasko/fsb-vorbis-extractor


Requires a lot of external libraries. C++ coders always use tons of external stuff so they can't even remember where did they get them.


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Sun Jul 26, 2015 11:53 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
Yeah, I already told that to the developer.
It's bad because they are not requirements so there is no reason to have those google stuff, they are used only for logging and argv parsing.
My dream would be to not even rely on libogg and libvorbis but I guess I'm asking too much :)


Top
   
 Post subject: Re: FSB OGG Unpacker
PostPosted: Sun Jul 26, 2015 11:09 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9077
An update: the first test to make a standalone samples->ogg rebuilder in C just failed.
After having spent many time solving C++ to C problems of the rebuilder.cpp code, there are still things not working.
Honestly if it takes too much time and effort I will probably just not update fsbext.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 30 posts ]  Go to page Previous 1 2

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited