Jump to content

Nicktoons Nitro Arcade .IMG Texture


HorsePlant
Go to solution Solved by Durik256,

Recommended Posts

Can you decompress the IDAT chunk? Maybe (given the same engine) it uses the same compression as Winter X-Games Snocross? TextureFinder (and the other generic graphics viewers here) just display textures and don't know anything about game-specific compression. Presumably the two uint32's after IDAT are the uncompressed and compressed byte length of the chunk. Despite the similarity in name to the PNG IDAT chunk, it's not PNG because in PNG, the length comes before the fourCC.

image.png.2f3fde254a0806cabcb712f65a224230.png

Edited by piken
Add PNG comment.
Link to comment
Share on other sites

  • 3 weeks later...
  • Engineer
  • Solution
Posted (edited)

I research this a little, compression TDCB_lzw15v (in qbms)

structure:

4BYTE magic(IMG )
UINT dataOFs?
UINT width
UINT height
UINT unk(pixel type?)
UINT numMipMap?
8BYTE chunkLabel(\x00\x00ММIDAT)
UINT chunkSize
while numMipMap:
	UINT pixelSize

UINT chunkLabel(IEOF\x00\x00\x00\x00)

EDIT: i made plugin for qbms and Noesis fmt_UIMG.py

unpack *.IMG using qbms to *.UIMG, and open in Noesis

bandicam2024-01-0223-33-48-680.gif.19a5ae88e5c61a175d98d6a1c5c237e2.gif

Edited by Durik256
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...

HorsePlant: If there are no remaining questions, want to click "Mark as Solution" on Durik's post? (it helps when looking at the list of active posts to know ones are solved already vs which are not)

Edited by piken
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...