
Can somebody make a script or tool expory/import for these files?
How about three?Acewell wrote:i may eventually combine the two scripts for convenience.
Code: Select all
bs = NoeBitStream(data)
bs.seek(0x04)
imgWidth = bs.readUShort()
imgHeight = bs.readUShort()
bs.seek(0x10)
imgFmt = bs.readByte()
bs.seek(0x20)
if imgFmt == 0x00:
data = bs.readBytes(imgWidth*imgHeight*4)
data = rapi.imageUntwiddlePSP(data, imgWidth, imgHeight, 32)
texFmt = noesis.NOESISTEX_RGBA32
texList.append(NoeTexture(rapi.getInputName(), imgWidth, imgHeight, data, texFmt))
return 1