Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release [C#] [LIBRARY] SABSFile library (open sound files)
#31
(07-07-2013, 16:05)master131 Wrote:
(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.

me and red-eyex32 figured it out.

I re-mapped.

Mine makes a LOT more sense...

I posted on the cod modding wiki. You can check it here..

http://codresearch.wikia.com/wiki/Call_of_Duty:_Sabs
Reply

#32
(07-07-2013, 17:06)Jake625 Wrote:
(07-07-2013, 16:05)master131 Wrote:
(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.

me and red-eyex32 figured it out.

I re-mapped.

Mine makes a LOT more sense...

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

struct hash_table_t
{
    
char md5[0x10];
}

struct entry_table_t
{
    
int unk;
    
int size;
    
int offset;
    
u64 unk2;
};

struct sabs_header_t
{
    
char magic[0x10];
    
int nameLength//length of each name entry - little endian
    
int entryCount//little endian
    
int unk;
    
int unk2
    
int fileLength//Size of the whole file - little endian 
    
int unk3;
    
entry_table_t** entries//entryCount
    
int unk4;
    
hash_table_t** hashes//entryCount
    
int unk5;
};

struct sabs_file
{
    
sabs_header_t header;
    
char md5[0x10];
    
char** nameEntries//not proper syntax as it's not a pointer... but it's 0x40 long (nameLength) and are .sabs extension


this makes way more sense lol
Reply



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

Forum Jump:


Users browsing this thread:
4 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.