11-26-2015, 01:15 AM
(11-25-2015, 09:27 PM)ThatTrueStruggle Wrote:(11-25-2015, 08:06 PM)Demonslayerx8 Wrote: As lilo said, it doesnt work. even tho it GAVE me a BCH file thats about 230MB, and shows no model or texture data in Ohana.
Right now, I've written one that just extracts CGFX files. However, I'm working on one that extracts BCH files also. Hope I can get that out by tommorow.
Though I'm not exactly sure how it'll do that :/
EDIT:
Are you using the hex editor?Code:idstring "FARC"
get Size asize
for i = 0
SavePos Position
if Position == SIZE
break
endif
get PATH basename
FindLoc Offset string "CGFX"
goto Offset
idstring "CGFX"
get Endianness short
get Length short
get Revision long
get FileLength long
goto Offset
goto FileLength 0 SEEK_CUR
string PATH += i
string PATH += ".cgfx"
log PATH Offset fileLength
next i
So far this extracts the CGFX files but not BCH. Hopefully I figure that out soon.