Page 1 of 1
[REQUEST]RIFT planes of telara QuickBMS script WITH filename
Posted: Mon Jul 04, 2011 3:23 pm
by moordact
Hello.
I am looking for some mysterious heroe who can make us a script for quickBMS that finds the correct filenames.
Or just a complete new method to unpack the .pak files together with their correct filenames.
this is the current script , that doesn't unpack the filenames. because they have not yet been found inside the files.
Code: Select all
print "Warning: Input file does not store filenames!"
get ONE long
get FILESIZE long
get PADDING long
get HSIZE long
math HEADERS = HSIZE
math HEADERS /= 60 # size of this structure:
for h = 1 to HEADERS
getdstring UNKNOWN 20 # 5*4
get ZSIZE long
get SIZE long
get UNKNOWN long
get POINTER long
getdstring UNKNOWN 24 # 6*4
if ZSIZE == SIZE
log "" POINTER ZSIZE
else
clog "" POINTER ZSIZE SIZE
endif
next h
if u need a .pak file to look into , I could upload one on to a mirror somewhere .
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Mon Jul 04, 2011 9:26 pm
by aluigi
how you can extract the files with names if these names don't exist at all?
anyway you have the extensions, it's a good starting point.
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 10:35 am
by moordact
, well there must be a way the game calls it's files:-/
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 12:00 pm
by chrrox
a game does not need file names to run correctly a lot of games have no file names just hashes.
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 6:11 pm
by moordact
hmm , then how can you inject edited files from inside the .pak archive back in ?
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 6:43 pm
by aluigi
quickbms will load them automatically, you must not rename them.
just use the reimport feature as usual by clicking on the reimport link or by creating a link by yourself as explained in the section 3 of quickbms.txt
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 9:03 pm
by moordact
that's whats not working.
it keeps saying the filenames don't match.
the reason herefore is.
inside the .pak files there r no filesnames.
and what i think QuickBMS does is replacing the file inside the .pak file , with your newer upgraded file.
But since there is no file inside named the same.
It can't be replaced.
Because when extracting with QuickBMS , QuickBMS Generates his own logical names for the nameless files.
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 9:15 pm
by chrrox
Think about this.
I have 10 apples each a different color.
the only thing about the apples that matters is their color.
now i replace a green apple with another green apple and no one notices the difference.
I did not need to name the apples even tho i could have and they still did the same thing.
There will not be any file names for these files they are just extracted in order.
so when quickbms packs them back it just does the same thing so its entirely possible to edit the files as long as they are the same size or less.
If you can not understand this you should not be modding games.
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Tue Jul 05, 2011 10:05 pm
by moordact
il try again , allthough i was pretty sure my files where the same size or less :-/
i'l keep u updated
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Thu Aug 23, 2012 7:08 am
by Ekey
For New Client (1.9+) - New format.
Code: Select all
# Rift: Planes of Telara (v1.9+) (Assests format)
#
# Written by Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org
comtype unzip_dynamic
idstring "TWAD"
get VERSION long
get DUMMY long
get DUMMY long
get FILES long
for i = 0 < FILES
get ID1 long # Pointer for Manifest ?
get ID2 long # Pointer for Manifest ?
get OFFSET long
get SIZE long
get SIZED long
get DUMMY long
getdstring SHA1 0x14
string NAME p= "%08X%08X" ID1 ID2
clog NAME OFFSET SIZE SIZE
next i
Re: [REQUEST]RIFT planes of telara QuickBMS script WITH file
Posted: Fri Dec 21, 2012 11:37 am
by Ekey
Coming soon
Hashes -> FNV1a