xdanieldzd / GXTConvert

Somewhat rudimentary PS Vita GXT to PNG converter - UNMAINTAINED
Other
33 stars 6 forks source link

Steins;Gate 0 GXT support #10

Open Makein opened 7 years ago

Makein commented 7 years ago

Can you add support for bg files and character files? https://www.mediafire.com/?p29tazjn644irpy Some samples

xdanieldzd commented 7 years ago

The samples you linked already convert as of the last commit (with one caveat), although the latest release build is a bit older and doesn't support them yet. I'll likely post a new release over the next couple of days, which will work with these GXTs.

The caveat is that, for the character portraits, only the base GXT image is supported, i.e. they're come out "scrambled" as can be seen below. I'm assuming the .lay files contain the information needed to properly assemble and animate the portraits ("lay" == "layout"?), but that is beyond the scope of this project. I might try and implement support for them in Scarlet, but don't expect that anytime soon if at all.

1 2

Makein commented 7 years ago

Thanks, i think about chars like that too (saw similar files on some ps3 game with animations xD) Waiting for new release for bg :) Because noesis extract 1 image with 2 clicks.... Thanks for help!)

Rinoka commented 7 years ago

Hey there, adding on here - I'd be interested in seeing you do this/implement a method of doing this. However, I was going to ask - could you take a look at NAK_ASA's .gtx & .lay and see if you notice anything there? I've been doing photoediting to recreate the images, but I found with him there were two major things going on: His base face is sliced with layers that are 2 pixels off of each other (aka, you overlap the top one by 2 pixels onto the next, etc), while it also has some visual doppeling along the vertical axis as well (128 pixels apart, from my measurement). If you could give it a look and see if that helps you understand the .lay, I would appreciate it. I'm in need of the portraits and I'd like to access them asap.

Rinoka commented 7 years ago

Actually going to recorrect myself.

It looks more like it's... 64 pixels? I'm not 100% sure, but I did finish up editing together exactly where the doppels were and such. Here's the finished image without the doppeling corrected, and then with it corrected. The bottom of it is still a bit weirdly doppled, but that's because of a personal editing error. I think it still conveys just about how the image should look - I just had a disalignment between the top and bottom when I fixed it. It's corrected now, but [sad trombone], I'm not messing with it again just for that. nak_asa nak_asadoppeled