The Forum is up for sale: XeNTaX Forum looking for new owner

Binary Domain .Par Archive

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

Binary Domain .Par Archive

Post by michalss »

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/
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Binary Domain .Par Archive

Post by chrrox »

This is the same people who made yakuza.
They use an unkown lzss compression.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi »

*sorry, my error*
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Binary Domain .Par Archive

Post by chrrox »

i get this error
invalid command "while" or arguments -1 at line 37
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Binary Domain .Par Archive

Post by aluigi »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Binary Domain .Par Archive

Post by michalss »

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/
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Binary Domain .Par Archive

Post by chrrox »

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