Coder Social home page Coder Social logo

gxtconvert's Issues

3d textures support?

I have successfully extracted PsVita's Criminal Girls images/textures. (I'm already translating it into spanish, but I need to update the font and some textures to get a proper localization). It doesn't use gxt directly, but a custom format "imy"; that mixes a non-standard compression with swizzling for power of two textures. I have managed to determine the compression algorithm and to create a decompressor.

Most textures are normal 2d power-of-two textures, and I converted your PostProcessing.UnswizzleTexture to kotlin and works just fine decoding them.
But some textures are swizzled and have a size that is something like 2048x512. I suspect this is instead a 512x512x4 image. And decoding with 2048x512, causes 3/4 of the image to be empty.

I don't have too much experience with Morton, but if I can remember right, the xbox 360 sdk had functions for translating swizzled address/x/y/z with 3d textures, but won't work directly for psvita as far as I know.

So do you know how to implement the 3d lookup?

Example of texture working fine:
ev_ui_00 0000 imy

Example of texture 1024x512 that is cut.
ca_ui_00 0001 imy

Font is cut too (2048x512) (font is white so it won't be displayed on a white background):
font_00 imy

FTX File Container

Hello, sorry for being a nuisance, but I'm totally new at modding game files, so I'm here to ask for guidance/help to edit .FTX at Muramasa Rebirth, I'm translating to spanish, to do so in a full-fledged pack, I need to edit those along with .MBS files.

Here are some examples at the folder /_US/GUI: https://mega.nz/#F!MvhlVQID!qCVohVVfFg_kLgpZeGS8_w

Thanks in advance and sorry for my bad English!

GXT

Hi, I would like to ask a question.
Analyzing the format of the game, I came across a texture format GXT.
I decided to take advantage of your utility. But it does not work with all textures, with only a few. I do not know what it can be connected, but some of it converts so good, but some textures convert with errors like "out of range of array". Samples are included.
https://yadi.sk/d/XFmNn0nPwjEUW

PNG to GXT

Will reverse transformation from png to gxt?

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.