One Piece Pirate Warriors 3 .gt1
-
- Posts: 65
- Joined: Sat Aug 29, 2015 1:13 am
One Piece Pirate Warriors 3 .gt1
gt1 files texture please.GT1G0600
transform .dss please
Filecutter http://www.4shared.com/rar/gMeVB5qace/Desktop.html
transform .dss please
Filecutter http://www.4shared.com/rar/gMeVB5qace/Desktop.html
-
- Posts: 1
- Joined: Tue May 17, 2016 8:19 pm
Re: One Piece Pirate Warriors 3 .gt1
Also looking to open this format. Hyrule Warriors Legends uses the same format. I can provide samples if needed.
-
- Posts: 376
- Joined: Sun May 31, 2015 2:23 am
Re: One Piece Pirate Warriors 3 .gt1
Well I have samples from Hyrule Warriors Legends.
https://www.dropbox.com/s/2o9yu4t8jeow1ox/GT1.zip?dl=0
I really need these figured out.
https://www.dropbox.com/s/2o9yu4t8jeow1ox/GT1.zip?dl=0
I really need these figured out.
-
- Posts: 330
- Joined: Fri Nov 21, 2014 4:03 am
Re: One Piece Pirate Warriors 3 .gt1
Ues my bms script.
Code: Select all
idstring GT1G0600
set MEMORY_FILE binary "\x44\x44\x53\x20\x7C\x00\x00\x00\x07\x10\x08\x00\x80\x00\x00\x00\x80\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x04\x00\x00\x00\x44\x58\x54\x31\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
get dataSize long
get dataOffset long
get texCount long
goto dataOffset
savepos OFFTABLE
set NUM 0
for i = 0 < texCount
math NUM + 1
get NAME BASENAME
string NAME + "_"
string NAME += NUM
string NAME + ".dds"
goto OFFTABLE
set JUMP 0
get JUMP long
savepos OFFTABLE
math JUMP + dataOffset
goto JUMP
get ukn4 byte #0x10
get texC byte #0x06
get texD byte #0x99
get NULL byte
set set1 texD #0x99
set set2 texD #0x99
math set1 & 0xF0 #0x99 to 0x90 = 144
print "%set1% 1st set1"
math set1 / 16 #144 / 16 = 9
print "%set1% 2nd set1"
math set2 & 0x0F #0x99 to 0x09 = 9
get unk5 longlong
get unk6 longlong
savepos OFFSET
set texH 2
set texW 2
Math texW p set1 #2^9 = 512
Math texH p set2 #2^9 = 512
putVarChr MEMORY_FILE 0x0C texH short
putVarChr MEMORY_FILE 0x10 texW short
if texC == 0x06
print "{0x06} DXT1 Found!"
set bbp 4
math MAGIC = texW
math MAGIC * texH
putVarChr MEMORY_FILE 0x14 MAGIC long
putVarChr MEMORY_FILE 0x50 0x04 long
putVarChr MEMORY_FILE 0x54 0x44 byte
putVarChr MEMORY_FILE 0x55 0x58 byte
putVarChr MEMORY_FILE 0x56 0x54 byte
putVarChr MEMORY_FILE 0x57 0x31 byte
putVarChr MEMORY_FILE 0x58 0x00 long
putVarChr MEMORY_FILE 0x5E 0x00 Short
putVarChr MEMORY_FILE 0x61 0x00 Short
putVarChr MEMORY_FILE 0x64 0x00 Short
putVarChr MEMORY_FILE 0x6B 0x00 Short
endif
if texC == 0x08
print "{0x08} DXT5 Found!"
set bbp 8
math MAGIC = texW
math MAGIC * texH
putVarChr MEMORY_FILE 0x14 MAGIC long
putVarChr MEMORY_FILE 0x50 0x04 long
putVarChr MEMORY_FILE 0x54 0x44 byte
putVarChr MEMORY_FILE 0x55 0x58 byte
putVarChr MEMORY_FILE 0x56 0x54 byte
putVarChr MEMORY_FILE 0x57 0x35 byte
putVarChr MEMORY_FILE 0x58 0x00 long
putVarChr MEMORY_FILE 0x5E 0x00 Short
putVarChr MEMORY_FILE 0x61 0x00 Short
putVarChr MEMORY_FILE 0x64 0x00 Short
putVarChr MEMORY_FILE 0x6B 0x00 Short
endif
set SIZE texH #0x200 = 512
math SIZE * texW #SIZE = 0x200 * 0x200 = 0x40000
math SIZE / 8
math SIZE * bbp
log NAME 0 0x80 MEMORY_FILE
append
log NAME OFFSET SIZE
append
next i
-
- Posts: 376
- Joined: Sun May 31, 2015 2:23 am
Re: One Piece Pirate Warriors 3 .gt1
Doesn't seem to work. All output files are just 1kb unreadable DDS.
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: One Piece Pirate Warriors 3 .gt1
I haven't seen such texture data, so I can't convert to DDS for ex., just extract.
Any more samples?
Any more samples?
-
- Posts: 376
- Joined: Sun May 31, 2015 2:23 am
Re: One Piece Pirate Warriors 3 .gt1
https://www.dropbox.com/s/2o9yu4t8jeow1ox/GT1.zip?dl=0
There's all the GT1's, take your pick, haha...
There's all the GT1's, take your pick, haha...
-
- Posts: 330
- Joined: Fri Nov 21, 2014 4:03 am
Re: One Piece Pirate Warriors 3 .gt1
Doctor Loboto wrote:https://www.dropbox.com/s/2o9yu4t8jeow1ox/GT1.zip?dl=0
There's all the GT1's, take your pick, haha...
Your GT1 file is not extracted correctly from Linkdata.
My script works perfectly for PC version of Pirate Warriors 3
-
- Posts: 376
- Joined: Sun May 31, 2015 2:23 am
Re: One Piece Pirate Warriors 3 .gt1
Then I apparently need a new script to extract Linkdata too.
-
- Posts: 330
- Joined: Fri Nov 21, 2014 4:03 am
Re: One Piece Pirate Warriors 3 .gt1
Doctor Loboto wrote:Then I apparently need a new script to extract Linkdata too.
Use this tool which is made from Russian forum. It also convert g1t to dds however, it does not extract whole g1t. This is because there are several different type of g1t. Some block data contains g1t files, so if you also want to handle that hidden image, you have to unpack block data into g1t files and then get that kind of image by using my bms script.
Last edited by sigroon365 on Tue Sep 06, 2016 7:26 am, edited 1 time in total.
-
- Posts: 376
- Joined: Sun May 31, 2015 2:23 am
Re: One Piece Pirate Warriors 3 .gt1
And how does one operate this tool? Seems no matter what I do it just errors and does nothing.