Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Need help for JX3ONLINE PAK file !!

Old posts about game archives and other formats.
Post Reply
yianti
beginner
Posts: 36
Joined: Tue Apr 01, 2008 10:03 am
Has thanked: 1 time
Been thanked: 1 time

Need help for JX3ONLINE PAK file !!

Post by yianti » Tue Jan 12, 2010 2:09 pm

Hello everyone,
I need help for JX3ONLINE .It is a cool and beautiful game.Who can help me take a look at the game's files.
Here some pictures:
33333_1.gif
The game's website:http://jx3.xoyo.com/
This is a link to the client :http://jx3.client.cdn3.kingsoft.com/jx3_v1.4.0.1820.rar
Thanks。
You do not have the required permissions to view the files attached to this post.

yianti
beginner
Posts: 36
Joined: Tue Apr 01, 2008 10:03 am
Has thanked: 1 time
Been thanked: 1 time

Re: Need help for JX3ONLINE PAK file !!

Post by yianti » Tue Jan 12, 2010 2:12 pm

mt11.gif
You do not have the required permissions to view the files attached to this post.

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

Re: Need help for JX3ONLINE PAK file !!

Post by aluigi » Tue Jan 12, 2010 2:20 pm

just fyi, if you don't upload one of the archives nobody will ever take a look at it

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Re: Need help for JX3ONLINE PAK file !!

Post by Mr.Mouse » Tue Jan 12, 2010 3:16 pm

aluigi wrote:just fyi, if you don't upload one of the archives nobody will ever take a look at it
I agree. We don't want to be forced to install a game just to look at the files. I only do that when it is clear I really need to take a look at the executable while the game is running to find an algorithm of some kind.

Upload an example file somewhere.

yianti
beginner
Posts: 36
Joined: Tue Apr 01, 2008 10:03 am
Has thanked: 1 time
Been thanked: 1 time

Re: Need help for JX3ONLINE PAK file !!

Post by yianti » Wed Jan 13, 2010 11:58 am

The contents of this post was deleted because of possible forum rules violation.

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

Re: Need help for JX3ONLINE PAK file !!

Post by aluigi » Wed Jan 13, 2010 3:14 pm

job done, the following is the script for quickbms

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

comtype NRV2b
idstring PACK
get FILES long
get INFO_OFF long
get BASE_OFF long
goto INFO_OFF
for i = 0 < FILES
    get CRC long
    get OFFSET long
    get SIZE long
    get ZSIZE long

    set doit long 0
    if CRC == -360607879    # some files are invalid!
    #elif CRC == 12345678   # put their crc/name here
    else                    # for skipping them!
        set doit long 1
    endif

    if doit != 0
        if ZSIZE & 0x10000000
            math ZSIZE &= 0x0fffffff
            callfunction unpack_0x10000000
        elif ZSIZE & 0x20000000
            math ZSIZE &= 0x0fffffff
            clog CRC OFFSET ZSIZE SIZE
        elif ZSIZE & 0x40000000
            print "Error: type 0x40000000 not supported"
            cleanexit
        elif ZSIZE & 0x80000000
            print "Error: type 0x80000000 not supported"
            cleanexit
        else
            log CRC OFFSET SIZE
        endif
    endif
next i

startfunction unpack_0x10000000
    savepos TMP
    goto OFFSET
    get CHUNKS long
    get CHUNKS_OFFSET long
    math CHUNKS_OFFSET += OFFSET
    goto CHUNKS_OFFSET
    putvarchr MEMORY_FILE SIZE 0    # pre-allocate for speed
    log MEMORY_FILE 0 0             # reset
    append
    for x = 0 < CHUNKS
        get OFFSETX long
        get SIZEX long
        get ZSIZEX long
        math OFFSETX += OFFSET
        if ZSIZEX & 0x10000000
            print "Error: type2 0x10000000 not supported"
            cleanexit
        elif ZSIZEX & 0x20000000
            math ZSIZEX &= 0x0fffffff
            clog MEMORY_FILE OFFSETX ZSIZEX SIZEX
        elif ZSIZEX & 0x40000000
            print "Error: type2 0x40000000 not supported"
            cleanexit
        elif ZSIZEX & 0x80000000
            print "Error: type2 0x80000000 not supported"
            cleanexit
        else
            log MEMORY_FILE OFFSETX SIZEX
        endif
    next x
    append
    log CRC 0 SIZE MEMORY_FILE
    goto TMP
endfunction
note that ui.pak contains a file that is archive wrongly, I mean that the file table claims it's compressed but its decompression fails, so I have added its name/crc to the list of files to skip.
if you encounter errors during the extraction of the other archives it's enough that you add their name where is located the example of "#elif CRC == 12345678" or simply let me know their names and I will tell you what to add in the script

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Re: Need help for JX3ONLINE PAK file !!

Post by Mr.Mouse » Wed Jan 13, 2010 8:39 pm

Also, read the rules on which upload services are allowed (RAPIDSHARE is not !)

yianti
beginner
Posts: 36
Joined: Tue Apr 01, 2008 10:03 am
Has thanked: 1 time
Been thanked: 1 time

Re: Need help for JX3ONLINE PAK file !!

Post by yianti » Thu Jan 14, 2010 5:01 am

I am sorry my English is not very good Mr.Mouse. I did not find a suitable space for uploading.
I will continue to upload if there is a suitable space. Thank you for reminding me.Mr.Mouse

to aluigi :
thanks for you script.
I used your script, but the extract all files out of the same type. I do not know the real name of the file and format.
I think, The image format in data.pak file is the "DDS", the model format is "mesh",
In "UI.pak" file ,the image format is"TGA".
There are other formats, such as". Ani" ". Bsp" ". Block" and so on.
You can look at "dat.rar".
data.rar - 1.00MB
If you need, I will provide more resources.
Hope that these examples to give you the help.
Very very thank you.

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

Re: Need help for JX3ONLINE PAK file !!

Post by aluigi » Thu Jan 14, 2010 2:39 pm

I forgot to say that the filenames are not stored in the archive, the only thing stored is the crc of the filenames so that's the only thing you can use as name

yianti
beginner
Posts: 36
Joined: Tue Apr 01, 2008 10:03 am
Has thanked: 1 time
Been thanked: 1 time

Re: Need help for JX3ONLINE PAK file !!

Post by yianti » Fri Jan 22, 2010 12:11 pm

sorry, I did not complete it.
BMS script is very difficult to me . I think I have to spend some time to learn it.
Hope to see aluigi and more friends to help.

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

Re: Need help for JX3ONLINE PAK file !!

Post by aluigi » Fri Jan 22, 2010 9:15 pm

I don't understand what's the problem now:
there are NO filenames stored in the archives.

if you have other problems with the extraction, be more specific

troll1981
n00b
Posts: 18
Joined: Mon Jun 09, 2014 7:28 pm
Has thanked: 1 time

Re: Need help for JX3ONLINE PAK file !!

Post by troll1981 » Sun Jul 13, 2014 12:55 pm

error when unpacking with QuickBMS on new Client (version 3.3.3)

can aluigi update the quickbms script ?

Thx
You do not have the required permissions to view the files attached to this post.

Post Reply