Binary Domain .Par Archive

The Original Forum. Game archives, full of resources. How to open them? Get help here.
michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 7:08 am

Hello all,

Can anyone have a look please here on this archive ? It is from X360 version.

Code: Select all

http://dl.dropbox.com/u/38234344/Pars.rar
mirror:

Code: Select all

https://www.rapidshare.com/files/473367003/Pars.rar
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Binary Domain .Par Archive

Post by chrrox » Thu Feb 16, 2012 12:06 pm

This is the same people who made yakuza.
They use an unkown lzss compression.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1925
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 643 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi » Thu Feb 16, 2012 12:14 pm

*sorry, my error*

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Binary Domain .Par Archive

Post by chrrox » Thu Feb 16, 2012 12:20 pm

i get this error
invalid command "while" or arguments -1 at line 37

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 12:29 pm

so is there any chance to unpack/repack/reimport ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
aluigi
VVIP member
VVIP member
Posts: 1925
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 643 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi » Thu Feb 16, 2012 1:17 pm

don't consider the post I deleted, I made confusion with another topic.

I have seen the files and yes they are the same of yakuza 3 viewtopic.php?f=21&t=5061 so there is the problem of the SLLZ compression algorithm.

in the meantime I have created a script based completely on the code made by MrAdults that may help who is working on this format:

Code: Select all

comtype COMPRLIB_RLE3   # wrong algorithm!
endian big
idstring "PARC"
   int            hdr_unknownA;
   int            hdr_unknownB;
   int            hdr_unknownC;
   int            hdr_numFolders;
   int            hdr_foldersOfs;
   int            hdr_numFiles;
   int            hdr_filesOfs;

math foldNames = 32
math fileNames = hdr_numFolders
math fileNames *= 64
math fileNames += 32
math foldInfos = hdr_foldersOfs
math fileInfos = hdr_filesOfs

for i = 0 < hdr_numFolders
    goto foldInfos
   int            foi_unknownA;
   int            foi_unknownB;
   int            foi_numFiles;
   int            foi_fileOfs;
   int            foi_unknownE;
   int            foi_unknownF;
   int            foi_unknownG;
   int            foi_unknownH;
    savepos foldInfos

    goto foldNames
    char           foiName[64];
    savepos foldNames

    for j = 0 < foi_numFiles
    math TMP = foi_fileOfs
    math TMP += j
    math TMP *= 32
    math TMP += fileInfos
    goto TMP
   int            fi_comprFlags;
   int            fi_fileSize;
   int            fi_fileSizeComp;
   int            fi_fileOfs;
   int            fi_unknownE;
   int            fi_unknownF;
   int            fi_unknownG;
   DWORD          fi_chkSum; //guessing

    math TMP = foi_fileOfs
    math TMP += j
    math TMP *= 64
    math TMP += fileNames
    goto TMP
   char           fiName[64];

        set fn string foiName
        string fn += /
        string fn += fiName
        if fi_comprFlags & 0x80000000
            goto fi_fileOfs
            getdstring SIGN 4
            if SIGN == "SLLZ"
                math fi_fileOfs += 0x10
                math fi_fileSizeComp -= 0x10
                clog fn fi_fileOfs fi_fileSizeComp fi_fileSize
            else
                log fn fi_fileOfs fi_fileSizeComp   # ???
            endif
        else
            log fn fi_fileOfs fi_fileSize
        endif        
    next j
next i
the chosen compression algorithm is NOT the correct one but it's enough close so you can continue your tests.

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 2:59 pm

thx aluigi, but is this can be normally use or we have to wait for some modifications of the script?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
aluigi
VVIP member
VVIP member
Posts: 1925
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 643 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi » Thu Feb 16, 2012 3:11 pm

it doesn't work with the compressed files, so it's of no use or maybe partial use.

I have posted it only for giving a chance to extract the uncompressed files and studying the compressed ones, so nothing "stable" because the compression algorithm remains the only problem

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 5:55 pm

aluigi wrote:it doesn't work with the compressed files, so it's of no use or maybe partial use.

I have posted it only for giving a chance to extract the uncompressed files and studying the compressed ones, so nothing "stable" because the compression algorithm remains the only problem

I tested many archives and non of them work :( . Aluigi did u test it on some archive posted by me ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
aluigi
VVIP member
VVIP member
Posts: 1925
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 643 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi » Thu Feb 16, 2012 6:17 pm

here it works with all the files you provided.

are you sure you are not using an old (very old in this case) version of quickbms?

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 6:40 pm

aluigi wrote:here it works with all the files you provided.

are you sure you are not using an old (very old in this case) version of quickbms?
DUMP :( Shame on me mate sorry for that update it and now it is ok:) thx mate again
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Thu Feb 16, 2012 6:48 pm

all i care about it is archive file call font.par, which can be unpack ok, but its giving some strange DDS files and it cannot be open :( Any idea anyone pls ?

Code: Select all

http://dl.dropbox.com/u/38234344/font.rar
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
aluigi
VVIP member
VVIP member
Posts: 1925
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 643 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi » Thu Feb 16, 2012 7:05 pm

the strange dds files are probably those compressed.
as already said it decompresses them using a wrong algorithm ONLY because who wants to work on the real algorithm can have a starting point.

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Binary Domain .Par Archive

Post by michalss » Fri Feb 17, 2012 9:05 am

anyone working on it pls ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Binary Domain .Par Archive

Post by chrrox » Fri Feb 17, 2012 1:12 pm

the problem is its an unkown compression th eonly way to get the compression is to reverse the game on a devkit xbox 360.
there are several files that include compressed and uncompressed versions of the files in yakuza 3 but i dont hink even that would help to much with reversing the compression.

Post Reply