Did you know? Xentax started the Unepic SID Channel, that brings the latest music composed for the SID chip! Support us by listening and subscribing! Over 50.000 songs already there!

Kingdom Hearts 0.2 *.uasset

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
TRDaz
mega-veteran
mega-veteran
Posts: 210
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 75 times
Been thanked: 26 times

Kingdom Hearts 0.2 *.uasset

Post by TRDaz » Wed Jan 31, 2018 6:20 pm

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

TRDaz
mega-veteran
mega-veteran
Posts: 210
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 75 times
Been thanked: 26 times

Re: Kingdom Hearts 0.2 *.uasset

Post by TRDaz » Thu Feb 01, 2018 12:02 pm

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

philip92dk
advanced
Posts: 78
Joined: Sun Jul 25, 2010 8:52 pm
Has thanked: 3 times
Been thanked: 3 times

Re: Kingdom Hearts 0.2 *.uasset

Post by philip92dk » Wed Feb 07, 2018 1:33 pm

how did you unpack the PKG?

User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 841 times

Re: Kingdom Hearts 0.2 *.uasset

Post by Acewell » Wed Feb 07, 2018 9:07 pm

TRDaz wrote: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
just posting a solution in case others find your thread :D
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

Post Reply