Hi
.dat extension with GDAT header from PS3 Gundam Breaker.
Help for .dat extension with GDAT header!!
Somebody can make a bms script for unpacking?
I've attached cut of the .dat files. http://www.mediafire.com/?iic1048l7qd61kp
Any help would be greatly appreciated.
Well i made a quick rough script, anyone can edit it to perfection if they like but it does the job. It will extract the .DAT (GDAT) to .PCK files which can be then decompressed with the same script, the compression used is ZLIB.
# [PS3] Gundam Breaker Unpacker [.DAT]
# Also works on the .PCK
# Script v1.1
# By Gh0stblade!
endian big
#Header
get SIGN long #"GDAT"
get FILES long #File count
#If it's the GDAT container!
if SIGN == 0x47444154
#Filetable
for i = 0 < FILES
get UNK00 long #???
get HASH long #File hash?
get OFFSET long #File offset.
get SIZE long #File size.
#Set the filename
get NAME basename
string NAME += "_"
string NAME += i
string NAME += ".pck"
log NAME OFFSET SIZE #Save the file
next i
else
#This is for the .pck
goto 0x0 #Reset the offset
get TYPE long #File Extension
goto 0x80
getdstring ZTYPE 0x4 #Compression type
#Check if the compression type is valid!
if ZTYPE != "BILZ"
print "Warning: Unknown Compression type! %ZTYPE%"
cleanexit
else
comtype unzip_dynamic #Set the compression type
endif
get SIZE long #Uncompressed size
get ZSIZE long #Compressed size
#Set the name
get NAME basename
string NAME += "."
string NAME += TYPE
clog NAME 0x90 ZSIZE SIZE #Decompress and store the file
endif
Gh0stBlade wrote:Well i made a quick rough script, anyone can edit it to perfection if they like but it does the job. It will extract the .DAT (GDAT) to .PCK files which can be then decompressed with the same script, the compression used is ZLIB.
Gh0stBlade wrote:Well i made a quick rough script, anyone can edit it to perfection if they like but it does the job. It will extract the .DAT (GDAT) to .PCK files which can be then decompressed with the same script, the compression used is ZLIB.
If i helped press the thanks button!
Cheers.
I really appreciate what you're done for me
pckHow to open?
You do not have the required permissions to view the files attached to this post.
thanks for the script. I have also uncompressed tge pck files but i have no idea to convert the extracted files wich I assume that is hexadecimal data to obj.
Is there a way to get those files to obj?
thanks
unfortunately i dom't have the skills to know about what you ask
I'm a texture artist and always looking for new gundam to texture.
If by any chance you manage to get the obj files I would really appreciate that.
Thanks for answering although