Join also our Discord channel! Click here.

PSVITA Dynasty Warriors 8 G1TG files

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
greenbingo
n00b
Posts: 15
Joined: Tue Nov 08, 2011 3:21 pm
Has thanked: 4 times

PSVITA Dynasty Warriors 8 G1TG files

Post by greenbingo » Fri Feb 08, 2019 4:04 pm

Please hlep

PSVITA Dynasty Warriors 8 G1TG file to dds

www.mediafire.com/file/kcsxss661spmavi/G1TG.7z/file

User avatar
Acewell
VIP member
VIP member
Posts: 1317
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2658 times
Been thanked: 816 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by Acewell » Fri Feb 08, 2019 9:09 pm

here is Noesis python script to open your 2 samples. :D
tex_DynastyWarriors8_PSVita_g1t.zip
supports dxt5 and morton swizzled dxt5

need more samples to extend the script.
You do not have the required permissions to view the files attached to this post.

greenbingo
n00b
Posts: 15
Joined: Tue Nov 08, 2011 3:21 pm
Has thanked: 4 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by greenbingo » Sat Feb 09, 2019 1:03 am

Acewell wrote:here is Noesis python script to open your 2 samples. :D
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

User avatar
Acewell
VIP member
VIP member
Posts: 1317
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2658 times
Been thanked: 816 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by Acewell » Sat Feb 09, 2019 2:21 am

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. :)

greenbingo
n00b
Posts: 15
Joined: Tue Nov 08, 2011 3:21 pm
Has thanked: 4 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by greenbingo » Mon Feb 11, 2019 6:33 am

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

mxscrr
ultra-n00b
Posts: 3
Joined: Sun May 10, 2020 5:10 pm
Has thanked: 1 time
Been thanked: 1 time

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by mxscrr » Sun May 10, 2020 7:22 pm

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

User avatar
Acewell
VIP member
VIP member
Posts: 1317
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2658 times
Been thanked: 816 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by Acewell » Mon May 11, 2020 1:14 am

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")
:D

mxscrr
ultra-n00b
Posts: 3
Joined: Sun May 10, 2020 5:10 pm
Has thanked: 1 time
Been thanked: 1 time

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by mxscrr » Mon May 11, 2020 7:09 pm

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 ?

Image

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

User avatar
Acewell
VIP member
VIP member
Posts: 1317
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2658 times
Been thanked: 816 times

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by Acewell » Mon May 11, 2020 11:40 pm

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. :]

mxscrr
ultra-n00b
Posts: 3
Joined: Sun May 10, 2020 5:10 pm
Has thanked: 1 time
Been thanked: 1 time

Re: PSVITA Dynasty Warriors 8 G1TG files

Post by mxscrr » Tue May 12, 2020 7:51 am

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 "imageToMortonOrder" 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 ! :cry:

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

Post Reply