Page 1 of 1
PSVITA Dynasty Warriors 8 G1TG files
Posted: Fri Feb 08, 2019 4:04 pm
by greenbingo
Please hlep
PSVITA Dynasty Warriors 8 G1TG file to dds
www.mediafire.com/file/kcsxss661spmavi/G1TG.7z/file
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Fri Feb 08, 2019 9:09 pm
by Acewell
here is Noesis python script to open your 2 samples.
tex_DynastyWarriors8_PSVita_g1t.zip
supports dxt5 and morton swizzled dxt5
need more samples to extend the script.
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Sat Feb 09, 2019 1:03 am
by greenbingo
Acewell wrote:here is Noesis python script to open your 2 samples.
tex_DynastyWarriors8_PSVita_g1t.zip
supports dxt5 and morton swizzled dxt5
need more samples to extend the script.
Thank you very much~!
One more question.
Can I convert pc font to vita font?
pc font is broken in the game(vita)
http://www.mediafire.com/file/970m74v34 ... kor%29.dat
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Sat Feb 09, 2019 2:21 am
by Acewell
greenbingo wrote:Can I convert pc font to vita font?
pc font is broken in the game(vita)
i'm sure you can, you'd need to reswizzle the image for PSV,
but that is game modding and is not my area.

Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Mon Feb 11, 2019 6:33 am
by greenbingo
Acewell wrote:greenbingo wrote:Can I convert pc font to vita font?
pc font is broken in the game(vita)
i'm sure you can, you'd need to reswizzle the image for PSV,
but that is game modding and is not my area.

Can I see other kinds of g1t files?
https://www.mediafire.com/file/ywqnzyza ... et.7z/file
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Sun May 10, 2020 7:22 pm
by mxscrr
Hello,
Thank you very much, I was desperately looking for such a script, it's the only one that appears to work in my case :
tex_DynastyWarriors8_PSVita_g1t.zip
I am a n00b and litterally crawled the web day and night (yes, I didn't sleep...) to open that G1TG asset.
The game I am modding is
Attack on Titans 2 on PS Vita, this is really my 1st experience and I know nothing at programming.
You saved my weekend, you can't imagine how many tools I tryed because I don't understand what I am doing, but at least I found your message !
Next step, try to pack it back into PS Vita
https://www.romhack.org/viewtopic.php?f ... 69#p121269
Mmmh how can this script be adapted to DTX1 for my ".GT1" files ? example 1024x1024
https://anonfile.com/dc49eayfof/000000a0_gt1
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Mon May 11, 2020 1:14 am
by Acewell
there is universal script here to open these sample types from multiple games:
viewtopic.php?p=158890#p158890
the script is set to open g1t extension instead of gt1 extension.
you will either have to change the extension to g1t or change line 9
in the script to this to support both extensions:
Code: Select all
handle = noesis.register("G1T Image", ".g1t;.gt1")

Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Mon May 11, 2020 7:09 pm
by mxscrr
Hi,
Thank you, this universal script works very well.
Now I am done with texture editing in PNG, and I converted it to DDS "
BC3/DTX5", the same format than the original.
But I need to swizzle back before rebuilding the BIN package, so basically doing the reverse operation of your suggested link !
Do you know any tool doing this ? I was not successful with my own research...
Also, the headers are different, shall I remove some bytes because the DDS is bigger ?
Left is the original file extracted from PSVita.
There are not many file to process so I can do the operation manually if necessary, but most importantly I need this swizzle operation.
Cya
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Mon May 11, 2020 11:40 pm
by Acewell
im not a game modder so i can't give advice on swizzling for PSVita or headers etc
except maybe check out other modding sites and see what others have been doing.
![Satisfied :]](./images/smilies/%5Bcolon%5D%5D.gif)
Re: PSVITA Dynasty Warriors 8 G1TG files
Posted: Tue May 12, 2020 7:51 am
by mxscrr
Yes, sure,
But I thought it was just about reversing the command lines of the Noesis script.
For example :
Code: Select all
if TEXFMT in (0x10,0x12): data = rapi.imageFromMortonOrder(data, width>>1, height>>2, BytesPerBlock) # PSVita specific swizzling, thanks Acewell
Is there any way to do "image
ToMortonOrder" function or such a modification in the .py ?
Then I process it with Noesis and export the image. So once the PS Vita is reading the image and 'unswizzling' the data, it just displays like normal. Unfortunately I don't understand the code, it could take me years to achieve it !
Yay SUCCESS !! The kukki software can export to .g1t if you add "vita" in the file name and I realized that it's no different to G1TG when I load it in the PS Vita