• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] [C#] [LIBRARY] SABSFile library (open sound files)
#21
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?
  Reply
#22
atm not, but I'm sure @TwoPumpChump knows how
  Reply
#23
you can play .flac files, if you only change the extension to .mp3 Smile... just letting you guys know
  Reply
#24
FLAC files can be played with any decent media player, it's a pretty well known audio format. So no need to rename anything
  Reply
#25
I was actually thinking of VLC, the opensource player that can open any type of media, ever
  Reply
#26
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.
  Reply
#27
(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;
}; 
  Reply
#28
http://www.itsmods.com/forum/Thread-Rele...2#pid91852
  Reply
#29
(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.
  Reply
#30
(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.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help mod not reading .iwd files? hmann 4 4,167 10-13-2013, 20:14
Last Post: hmann
  i need help with the sabs files duckywson 2 3,040 08-31-2013, 19:46
Last Post: duckywson
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 2,848 08-15-2013, 13:52
Last Post: Yamato
  .FF Files tugay12 1 4,111 08-14-2013, 17:11
Last Post: DidUknowiPwn
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 8,663 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  Help GSC Reading Files?! Howl3r 11 7,535 07-30-2013, 04:00
Last Post: DidUknowiPwn
Question Help what program, open and edit plugins ??? lexa__33 1 2,643 06-24-2013, 09:36
Last Post: EnVi Sweden Rocks
Wink [Tutorial] Playing mp3,mid,etc... audio files on VB 2010! barata 2 17,452 05-07-2013, 08:03
Last Post: kmne68
Music unlimited breath scope+sound when walking aim LE3* 0 1,972 04-21-2013, 08:42
Last Post: LE3*
  ranked server files for mw3 with DLC odok 5 4,275 04-19-2013, 12:09
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 1 Guest(s)