#391
|
|||
|
|||
DB generator no longer works.
|
Sponsored Links |
#392
|
|||
|
|||
XNB
Code:
[Stream1] Name=xnb Codec=xmemcompress BigEndian=0 Signature=0x77424E58 Structure=Signature(4),XNBFormatVersion(1),Compressed(1),FileSize(4),DSize(4),Stream CompressedSize=FileSize-14 DecompressedSize=DSize Condition1=Compressed = 0x80 |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
Gehrman (18-07-2024) |
#393
|
|||
|
|||
Quote:
Code:
xtool decode pakchunk1-WindowsNoEditor.pak.xt pakchunk1-WindowsNoEditor.pak Fitgirl seems to have made a custom THPS12 encryption tool which gets close and then uses hdiff to fix things up. |
#394
|
|||
|
|||
^^
Did you even read Razor's post? "This only removes the custom encryption used in the game (Not tested)" Ofc decode isn't sopprted! |
#395
|
||||
|
||||
hi, anyone have plugin or other method for Megaton Musashi W ? i try use unity plugin for *.bundle file but not work
thanks |
#396
|
||||
|
||||
Sample
__________________
Haters gonna hate
|
#397
|
||||
|
||||
#398
|
||||
|
||||
Either not compressed, crypted or something else. There is no unityfs header, so maybe this is the problem.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
kuyhaa (29-04-2024) |
#399
|
||||
|
||||
hi, anyone have plugin or database creator The Legend of Heroes: Trails through Daybreak
.p3a files sample Code:
https://pixeldrain.com/u/sFp3YTHU Last edited by kuyhaa; 07-07-2024 at 01:16. |
#400
|
||||
|
||||
I will quote masquerade, maybe he will tell you how to process this.
Quote:
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
kuyhaa (07-07-2024) |
#401
|
|||
|
|||
^^
These p3a archives are made with dictionary ZSTD just like Zelda Tears of the Kingdom files. You can rebuild the archives using p3a_tool and decide for no compression. If you decide on the zstd compression with p3a_tool, you still need to brute force a stream to figure out what version and settings for ZSTD were used. I think there is more than one dictionary, they can be dumped from memory at runtime but that's about as far as I have got. |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
kuyhaa (07-07-2024) |
#402
|
|||
|
|||
I cannot believe I was unbelievably stupid to not check the archives themselves for the dictionary. After looking more closely at the syntax for the p3a_tool, there is the option "info". So:
Code:
CMD> p3a_tool.exe info scene.p3a PH3 archive scene.p3a: 916 files, v1200 Extended header available: 16 bytes, 304 bytes per index entry compression stats: none:0 lz4:0 zStd:0 zStdDict:916 compressed size: 89239105 (15%) uncompressed size: 578417191 Has dictionary, 112640 bytes The ZSTD dictionary compression format tells us that the magic number for a ZSTD dictionary is 0xEC30A437 (little endian). So, by searching for this magic number in HXD, sure enough we have our dictionary beginning at location 0x44000 for scene.p3a. Next, select a block and set the length to the dictionary length from earlier - 112640 bytes. Copy the select bytes and dump them to a new file, I called it scene.zdict. Now, if you unpack scene.p3a with: Code:
CMD> p3a_tool extract scene.p3a Code:
CMD> p3a_tool archive scene.MSQ scene --comp=zstd --dictionary=scene.zdict -- Code:
File: scene.MSQ CRC-32: 04492de2 MD5: b2c8a40571e8673ed3682df82544281d SHA-1: 95d40b6e693641ef8c7692531370fecd0378290c BLAKE3: 79c13b93a662d4789949c228e116a52ac10a47d91562bd39023a61cabd09d0ca File: scene.p3a CRC-32: 04492de2 MD5: b2c8a40571e8673ed3682df82544281d SHA-1: 95d40b6e693641ef8c7692531370fecd0378290c BLAKE3: 79c13b93a662d4789949c228e116a52ac10a47d91562bd39023a61cabd09d0ca |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
kuyhaa (10-07-2024) |
#403
|
||||
|
||||
i have run HxD application and open the file, but i didn't understand
Quote:
by the way, thanks Masquerade for the information |
#404
|
|||
|
|||
^^
In HXD, CTRL+F to search for "37 A4 30 EC" as shown in the image below: Why are they reversed? Endianness. When you find your result, place your cursor on the "37" byte, change "hex" to "dec" at the top of the screen and press CTRL+E to select a block of data. Select the radio button for length and paste the length of the dictionary in bytes that you found from the p3a_tool info. You will now get a selected section of bytes. CTRL+C to copy and then CTRL+N to open a new file. CTRL+V to paste these bytes (they will appear in red) and CTRL+S to save the file. The bytes will go black when saved. |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
kuyhaa (13-07-2024) |
#405
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
XTool 2020 (Main Project) | Razor12911 | Conversion Tutorials | 697 | 10-10-2024 05:30 |
XTool - Successor of ZTool | Razor12911 | Conversion Tutorials | 584 | 22-04-2023 19:16 |
[Dev]XTool | Razor12911 | Conversion Tutorials | 180 | 23-10-2020 07:26 |
XTool 2019 (Plugins) | Razor12911 | Conversion Tutorials | 50 | 16-05-2020 07:14 |