help me unpack pak sound file

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
yukiisama
ultra-n00b
Posts: 2
Joined: Sun Jun 10, 2012 3:54 pm

help me unpack pak sound file

Post by yukiisama »

i guys

i really need help

i want to unpack a pak sound file and re pack it after i edit it =) [roll] plssssssss help me

this is the files

http://www.mediafire.com/file/tqi0pt09e2ccgfo/BOSS.rar


thanks alot guys ^_^

sorry for my bad english...
yukiisama
ultra-n00b
Posts: 2
Joined: Sun Jun 10, 2012 3:54 pm

Re: help me unpack pak sound file

Post by yukiisama »

anyone =_=???
snailium
ultra-n00b
Posts: 3
Joined: Wed Feb 16, 2011 4:34 am

Re: help me unpack pak sound file

Post by snailium »

Here is the file structure.

Data is devided by truncks. Two kinds of truncks are observed - descriptive and data.

Descriptive trunck
- always 0x100 long.
- aligned to 0x1000000 address boundary (16K)
- file name is from 0x0
- file length is at 0xFC, uint32, big endian

Data trunck
- located just after corresponding descriptive trunck
- zero padding to 16K boundary, for the next descriptive trunck


Take E1A0.PAK as an example. It has 3 files.
- e1A0.scx, descriptor from 0x0 to 0xFF, data from 0x100 to 0x68F
- e1A0_00.BED, descriptor from 0x6C0 to 0x7BF, data from 0x7C0 to 0x273F
- e1A0_99.BED, descriptor from 0x2740 to 0x283F, data from 0x2840 to 0xA1BF
Post Reply