XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Dec 09, 2018 10:22 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 7:08 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times

Hello all,

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

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


mirror:
Code:
https://www.rapidshare.com/files/473367003/Pars.rar


You can make the ads go away by registering


_________________
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 12:06 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2503
Has thanked: 57 times
Have thanks: 1248 times
This is the same people who made yakuza.
They use an unkown lzss compression.


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 12:14 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
*sorry, my error*


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 12:20 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2503
Has thanked: 57 times
Have thanks: 1248 times
i get this error
invalid command "while" or arguments -1 at line 37


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 12:29 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 1:17 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
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:
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.


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 2:59 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 3:11 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
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


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 5:55 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 6:17 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
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?


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 6:40 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 6:48 pm 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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:
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Thu Feb 16, 2012 7:05 pm 
Offline
VVIP member
VVIP member
User avatar

Joined: Thu Dec 08, 2005 12:26 pm
Posts: 1925
Location: www.ZENHAX.com
Has thanked: 4 times
Have thanks: 644 times
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.


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Fri Feb 17, 2012 9:05 am 
Offline
Moderator

Joined: Sun Mar 27, 2011 8:42 pm
Posts: 941
Has thanked: 10 times
Have thanks: 130 times
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/


Top
 Profile  
 
 Post subject: Re: Binary Domain .Par Archive
PostPosted: Fri Feb 17, 2012 1:12 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2503
Has thanked: 57 times
Have thanks: 1248 times
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.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: CobraGamer, Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group