ItsMods

Full Version: [C#] [LIBRARY] SABSFile library (open sound files)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
hey,
thanks for the great tool!
is there anyway to know the original name of the sound file, cause right now it shows as "1b3c66ea.flac" or something?
atm not, but I'm sure @TwoPumpChump knows how
you can play .flac files, if you only change the extension to .mp3 Smile... just letting you guys know
FLAC files can be played with any decent media player, it's a pretty well known audio format. So no need to rename anything
Hey bro, for some reason this library doesn't wok for me.. if you have an update version of this .sabs library can you please post it or send it to me in a private message. Thank You.
(12-07-2012, 03:02)master131 Wrote: [ -> ]Yeah, I don't know about that. Do a less than zero of out of bounds check before attempt to extract data.

Hey, maybe help on a ps3 version of this? So far this is what I mapped..

PHP Code:
typedef unsigned char byte;
typedef unsigned short int u16;
typedef unsigned long int u32;
typedef unsigned long long int u64;

struct header_s
{
    
char magic[4]; //2UX#    =}
    
uint h1;    //unk             }
    
uint h2//unk             }    Same for each sabs file
    
uint h3//unk             }
    
uint h4//unk            =}
    
uint unk[9];
    
byte hash[16]; //128 bit hash  possible: Snefru, MD2, MD4, MD5
};

struct nameTable_e
{
    
char name[0x40];
};

struct table_t
{
    
u16 mag// 0xFFFB 
    
bytedata//length is probably in entryCount usually 0x120, 0x150, 0x4E0 (divisible by 0x10)
};

struct sab_file
{
    
header_s header;
    
nameTable_enameTable// entryCount
    // padding or something? idk nullbytes to 0x800
    
table_tentryTable;
}; 
(07-07-2013, 10:33)kokole Wrote: [ -> ]http://www.itsmods.com/forum/Thread-Rele...2#pid91852

Yeah, that's not the struct for ps3 though :p I'm not sure about pc.
(07-07-2013, 15:55)Jake625 Wrote: [ -> ]
(07-07-2013, 10:33)kokole Wrote: [ -> ]http://www.itsmods.com/forum/Thread-Rele...2#pid91852

Yeah, that's not the struct for ps3 though :p I'm not sure about pc.

Structures are identical (little endian). Only difference is that PS3 uses MP3 instead of FLAC.
Pages: 1 2 3 4