Page 1 of 1
Kingdom Hearts 0.2 *.uasset
Posted: Wed Jan 31, 2018 6:20 pm
by TRDaz
KH 0.2 works fine with UModel for models, however the textures display wrong. I don't know if this is a case of it being a PS4 specific format like GNF that UModel can't read or some other issue, but the uassets can be exported from UModel at least. I don't know much about textures so some assistance would be appreciated for this, thanks!
http://www112.zippyshare.com/v/uMmmTjBw/file.html
Re: Kingdom Hearts 0.2 *.uasset
Posted: Thu Feb 01, 2018 12:02 pm
by TRDaz
DDS versions extracted from umodel, in case this is any help, don't know much about swizzling but it could be that.
http://www44.zippyshare.com/v/yTYSnZCJ/file.html
Re: Kingdom Hearts 0.2 *.uasset
Posted: Wed Feb 07, 2018 1:33 pm
by philip92dk
how did you unpack the PKG?
Re: Kingdom Hearts 0.2 *.uasset
Posted: Wed Feb 07, 2018 9:07 pm
by Acewell
just posting a solution in case others find your thread
use the instruction here to convert the dds headers to gnf headers with the bms script then open the gnf files with Noesis.
http://www.gildor.org/smf/index.php?PHP ... 1#msg26641
local copy of post:
chrrox wrote:here is a bms script to convert these textures to ps4 sdk format.
use umodel to export the textures with the -dds option.
then run this quickbms script on them to convert them to ps4 sdk format.
Code: Select all
get NAME basename
string NAME += _fixed
string NAME += .gnf
goto 0xC
get WIDTH long
get HEIGHT long
get SIZE long
set SIZE2 SIZE
math SIZE2 + 0x30
goto 0x54
getdstring TYPE 4
set MEMORY_FILE binary "\x47\x4E\x46\x20\x28\x00\x00\x00\x02\x01\x00\x00\x30\x00\x10\x00\x00\x00\x00\x00\x01\x00\x50\x92\xFF\xC3\xFF\x70\xAC\x0F\xD0\xA4\x01\xE0\x7F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00"
math WIDTH - 1
math WIDTH + 0xC000
math HEIGHT - 1
math HEIGHT > 2
math HEIGHT + 0x7000
print "%HEIGHT%"
putVarChr MEMORY_FILE 0X1A HEIGHT short
putVarChr MEMORY_FILE 0x18 WIDTH short
putVarChr MEMORY_FILE 0xC SIZE2 long
putVarChr MEMORY_FILE 0x2C SIZE long
if TYPE == "DXT1"
putVarChr MEMORY_FILE 0x16 0x30 BYTE
putVarChr MEMORY_FILE 0x17 0x92 BYTE
elif TYPE == "DXT5"
putVarChr MEMORY_FILE 0x16 0x50 BYTE
putVarChr MEMORY_FILE 0x17 0x92 BYTE
elif TYPE == "ATI2"
putVarChr MEMORY_FILE 0x16 0x70 BYTE
putVarChr MEMORY_FILE 0x17 0x92 BYTE
endif
append
log MEMORY_FILE 0x80 SIZE
append
log NAME 0 SIZE2 MEMORY_FILE