Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

One Piece Pirate Warriors 3 .gt1

Featured Replies

  • Author
  • Localization

telespentry, posted Tue May 17, 2016 8:22 pm (13483)


Also looking to open this format. Hyrule Warriors Legends uses the same format. I can provide samples if needed.
  • Author
  • Localization

sigroon365, posted Thu Aug 18, 2016 3:03 am (16605)


Ues my bms script.

Code:
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
  • Author
  • Localization

Doctor Loboto, posted Tue Aug 23, 2016 8:32 pm (16808)


Doesn't seem to work. All output files are just 1kb unreadable DDS.
  • Author
  • Localization

TheUkrainianBard, posted Wed Aug 24, 2016 9:52 am (16817)


I haven't seen such texture data, so I can't convert to DDS for ex., just extract.
Any more samples?
  • Author
  • Localization

Doctor Loboto, posted Tue Aug 30, 2016 12:35 am (17036)


Then I apparently need a new script to extract Linkdata too.
  • Author
  • Localization

sigroon365, posted Tue Aug 30, 2016 2:41 pm (17059)


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.

oppw3_tool.zip

  • Author
  • Localization

Doctor Loboto, posted Wed Aug 31, 2016 8:16 pm (17101)


And how does one operate this tool? Seems no matter what I do it just errors and does nothing.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.