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

Help for .arc extension with EZBIND header!!

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
kenn
beginner
Posts: 22
Joined: Mon Mar 22, 2010 5:59 pm

Help for .arc extension with EZBIND header!!

Post by kenn »

The contents of this post was deleted because of possible forum rules violation.
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: Help for .arc extension with EZBIND header!!

Post by aluigi »

script for QuickBMS:

Code: Select all

comtype gzip
idstring "EZBIND\0\0"
get FILES long
get DUMMY long
for i = 0 < FILES
    get NAME_OFF long
    get SIZE long
    get OFFSET long
    get CRC long

    savepos TMP
    goto NAME_OFF
    get FNAME string
    goto TMP

    get NAME basename
    string NAME += /
    string NAME += FNAME

    clog NAME OFFSET SIZE SIZE
next i
I have programmed it to create a folder with the same name of the archive so that you will have no troubles with duplicated names
kenn
beginner
Posts: 22
Joined: Mon Mar 22, 2010 5:59 pm

Re: Help for .arc extension with EZBIND header!!

Post by kenn »

thanks it works perfectly
now i can see those text that i need

but i have another one request..

is this possible to repack it again using quickbms? i cant find a repacker of this EZBIND header
can you please help to deal with this.. i really really need to pack it again after editing some of the dialogues please..
User avatar
damimavpl
ultra-n00b
Posts: 8
Joined: Sat Jul 16, 2011 9:03 am

Re: Help for .arc extension with EZBIND header!!

Post by damimavpl »

aluigi wrote:script for QuickBMS:

Code: Select all

comtype gzip
idstring "EZBIND\0\0"
get FILES long
get DUMMY long
for i = 0 < FILES
    get NAME_OFF long
    get SIZE long
    get OFFSET long
    get CRC long

    savepos TMP
    goto NAME_OFF
    get FNAME string
    goto TMP

    get NAME basename
    string NAME += /
    string NAME += FNAME

    clog NAME OFFSET SIZE SIZE
next i
I have programmed it to create a folder with the same name of the archive so that you will have no troubles with duplicated names
This is work also for "Tales of The Worlds Radiant Mythology 2" :) but how to pack again (finish translating) files to *.arc ??
Truthkey
beginner
Posts: 20
Joined: Fri Jul 23, 2010 10:39 pm
Has thanked: 1 time

Re: Help for .arc extension with EZBIND header!!

Post by Truthkey »

If you wait until tomorrow I can code a C++ program to unpack/pack the files.
User avatar
damimavpl
ultra-n00b
Posts: 8
Joined: Sat Jul 16, 2011 9:03 am

Re: Help for .arc extension with EZBIND header!!

Post by damimavpl »

Truthkey wrote:If you wait until tomorrow I can code a C++ program to unpack/pack the files.
Yes, please :)
Truthkey
beginner
Posts: 20
Joined: Fri Jul 23, 2010 10:39 pm
Has thanked: 1 time

Re: Help for .arc extension with EZBIND header!!

Post by Truthkey »

damimavpl wrote:
Truthkey wrote:If you wait until tomorrow I can code a C++ program to unpack/pack the files.
Yes, please :)
That package in the first post doesn't seem to have any text file (the facechats thingy). Can any of you provide me with an actual text file (compressed) so I can make the program? Send it to me through PM, don't post here.
User avatar
damimavpl
ultra-n00b
Posts: 8
Joined: Sat Jul 16, 2011 9:03 am

Re: Help for .arc extension with EZBIND header!!

Post by damimavpl »

Truthkey wrote:
damimavpl wrote:
Truthkey wrote:If you wait until tomorrow I can code a C++ program to unpack/pack the files.
Yes, please :)
That package in the first post doesn't seem to have any text file (the facechats thingy). Can any of you provide me with an actual text file (compressed) so I can make the program? Send it to me through PM, don't post here.
here: viewtopic.php?f=21&t=6996
Truthkey
beginner
Posts: 20
Joined: Fri Jul 23, 2010 10:39 pm
Has thanked: 1 time

Re: Help for .arc extension with EZBIND header!!

Post by Truthkey »

Does anyone know what kind of checksum do the arc files have? I'm trying with crc32 but the result number is not the same as the ones in the package.

EDIT: I already finished the program, but until I can add the CRC data it probably won't work ingame.
Post Reply