but still gettin confused..
Poll & Discussion: We wish the site to continue (Y/N)
need help to begin reading game archive file structure
need help to begin reading game archive file structure
hi there
. i was trying to findout on extracting this game package.
but still gettin confused..
but still gettin confused..
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 654 times
- Contact:
Re: need help to begin reading game archive file structure
I have made the script but you must specify the full name of the game first.
Re: need help to begin reading game archive file structure
wow.. cool, the game is Age Of wushu.
can you teach me how to read?.. uhm the files is compressed i think?.. i was tries using hex workshop but always fail.. 
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 654 times
- Contact:
Re: need help to begin reading game archive file structure
*EDIT* updated script
the archive contains compressed files so let me know if you receive a compression error with some archives because it's possible that some files may be not compressed (the provided archive contains only compressed files).
for the rest the format is enough simple with a 16bit value that specifies how much long is the information entry.
Code: Select all
# Age of Wushu (script 0.1.1)
# script for QuickBMS http://quickbms.aluigi.org
idstring "PCK"
get TMP byte
savepos MYOFF
get NAMESZ short
get ZERO long
get FILES long
get HEAD_SIZE long
savepos TMP
math TMP -= MYOFF
math NAMESZ -= TMP
getdstring NAME NAMESZ
for i = 0 < FILES
savepos MYOFF
get NAMESZ short
get OFFSET long
get TYPE long
get SIZE long
get ZSIZE long
getdstring DUMMY 5
get DUMMY long
savepos TMP
math TMP -= MYOFF
math NAMESZ -= TMP
getdstring NAME NAMESZ
clog NAME OFFSET ZSIZE SIZE
next ifor the rest the format is enough simple with a 16bit value that specifies how much long is the information entry.
Last edited by aluigi on Mon Dec 19, 2011 7:42 pm, edited 1 time in total.
Re: need help to begin reading game archive file structure
thank's man. i'll post here for any errors.
can you give me some tips and trick about reading game archive using hex?.. i really want to learn. btw, i already check your blog aluigi.altervista.org and read some information about qbms. i love this one
q3infoboom. thank's man 
Re: need help to begin reading game archive file structure
hi, i already test it with larger file. it shows "error: the requested amount of bytes to allocate is negative (-2)" what is it means?.. the filesize is about 292,224,623 bytes. it has 5146 files inside. 
-
finale00
- M-M-M-Monster veteran

- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 303 times
Re: need help to begin reading game archive file structure
The contents of this post was deleted because of possible forum rules violation.
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 654 times
- Contact:
Re: need help to begin reading game archive file structure
yup it works
.. it's gonna be the one of my precious collection.
i already collected some bms script with example of each script... now time for me to learn again.
thank you mr. aluigi for helping.
