Coder Social home page Coder Social logo

Comments (4)

xdanieldzd avatar xdanieldzd commented on September 9, 2024 1

No problem, and I sadly haven't found a "perfect" CPK unpacker yet, either (nor do I think I'd be able to write one), so I can't help you with that, sorry.

from gxtconvert.

xdanieldzd avatar xdanieldzd commented on September 9, 2024

Sorry, but judging from their GXT headers, it looks like these files all do only contain a single texture each.

If you want to follow along, the value at offset 0x08 in a GXT file holds the number of textures contained within, which is 0x00000001 in every file in the archive (mind the byte order).

Next, at offset 0x0C and 0x10 you have the offset and size of the texture data - for each of your files, they're 0x00000040 and 0x00040400 respectively, and if you check the actual size of each file, you'll see that it's these two values added together (i.e. 0x00040440).

So, no, as best as I can tell, GXTConvert is working correctly.

from gxtconvert.

Makein avatar Makein commented on September 9, 2024

Yeap, works perfect sorry...
Looks i cant unpack cpk right, because in it files have the same names
And they overwrite each other when unpacked

from gxtconvert.

Makein avatar Makein commented on September 9, 2024

No worries, because you do gtx to png converter)
Oh, looks like Noesis can do that thing too Oo

from gxtconvert.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.