I extracted the cpk archive using cpk_unpack and among some compressed archives I found some pak archives which were uncompressed (a lot of them had "RIFF WAVE" near the top)
The format is looks simple and should take some people only a couple minutes (just a table at the top followed by the data afterwards) but ya here are some samples:
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Fate/Extra pak archives
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
Fate/Extra pak archives
You do not have the required permissions to view the files attached to this post.
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Fate/Extra pak archives
Code: Select all
get FILES short
get UNKNOWN short
for f = 0 < FILES
get TMP long
putarray 0 f TMP
next f
padding 16
for f = 0 < FILES
getdstring NAME 64
savepos POS
getarray SIZE 0 f
log NAME POS SIZE
math POS += SIZE
goto POS
next f
Useful tool links:
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
- makcar
- veteran
- Posts: 154
- Joined: Mon May 12, 2014 10:41 pm
- Has thanked: 22 times
- Been thanked: 45 times
Re: Fate/Extra pak archives
Someone decompressor\compressor or fix WRS script?
Аll .cmp: http://www120.zippyshare.com/v/o04JRKjc/file.html
000001.cmp (original) - https://zenhax.com/download/file.php?mode=view&id=4339
000001.cmp (decompress) - https://zenhax.com/download/file.php?mode=view&id=4338
Аll .cmp: http://www120.zippyshare.com/v/o04JRKjc/file.html
000001.cmp (original) - https://zenhax.com/download/file.php?mode=view&id=4339
000001.cmp (decompress) - https://zenhax.com/download/file.php?mode=view&id=4338
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Fate/Extra pak archives
this bms script will decompress your samplemakcar wrote:000001.cmp (original) - https://zenhax.com/download/file.php?mode=view&id=4339
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
comtype lzss0
idstring "IECP"
get ZSIZE asize
get SIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
string NAME + _decmp.cmp
clog NAME OFFSET ZSIZE SIZE
- makcar
- veteran
- Posts: 154
- Joined: Mon May 12, 2014 10:41 pm
- Has thanked: 22 times
- Been thanked: 45 times
Re: Fate/Extra pak archives
Thanks a lot AceWell! How to edit string "bla-bla-bla" for all files compression?
cmp_compressor.bms:
cmp_compressor.bms:
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
comtype lzss0
idstring "bla-bla-bla"
get ZSIZE asize
get SIZE long
savepos OFFSET
math ZSIZE - OFFSET
get NAME basename
string NAME + _decmp.cmp
clog NAME OFFSET ZSIZE SIZE
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Fate/Extra pak archives
if you're sure they all use the same compression you could just replace that line with one of these
or
or
i hope i'm understanding what you mean
Code: Select all
get blablabla long
Code: Select all
goto 0x4
Code: Select all
getdstring blablabla 4
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: Fate/Extra pak archives
i guess so, modding is not my area, but it looks okay.makcar wrote:That's right?