XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Oct 21, 2018 9:42 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Kingdom Hearts 0.2 *.uasset
PostPosted: Wed Jan 31, 2018 6:20 pm 
Offline
mega-veteran
mega-veteran

Joined: Sat Sep 24, 2011 7:06 pm
Posts: 189
Has thanked: 55 times
Have thanks: 19 times

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

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Kingdom Hearts 0.2 *.uasset
PostPosted: Thu Feb 01, 2018 12:02 pm 
Offline
mega-veteran
mega-veteran

Joined: Sat Sep 24, 2011 7:06 pm
Posts: 189
Has thanked: 55 times
Have thanks: 19 times
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


Top
 Profile  
 
 Post subject: Re: Kingdom Hearts 0.2 *.uasset
PostPosted: Wed Feb 07, 2018 1:33 pm 
Offline
advanced

Joined: Sun Jul 25, 2010 8:52 pm
Posts: 73
Has thanked: 3 times
Have thanks: 3 times
how did you unpack the PKG?


Top
 Profile  
 
 Post subject: Re: Kingdom Hearts 0.2 *.uasset
PostPosted: Wed Feb 07, 2018 9:07 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1107
Has thanked: 2227 times
Have thanks: 627 times
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:
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



_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group