FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XTool 2020 (Main Project) (https://fileforums.com/showthread.php?t=102832)

L33THAK0R 08-07-2021 01:01

those are just the files used for unpacking the archive(s), the majority of the tools you need for data compression/decompression can be found here, under the "stickied" / "pinned" posts.

doofoo24 08-07-2021 02:57

@Game Repacker
this is XTOOL THREAD :mad::mad::mad:
there is guide threads on the site how to compress games..

Game Repacker 08-07-2021 07:35

I know
 
Quote:

Originally Posted by doofoo24 (Post 493147)
@Game Repacker
this is XTOOL THREAD :mad::mad::mad:
there is guide threads on the site how to compress games..

I know that but usage?

infovs 12-07-2021 16:47

Anyone noticed xtool and unreal.dll plugin are broken for Street Fighter V since xtool 0.3.9 + unrealplugin R3?
Don't know about other games, I own SF5 and did personal repack with 0.3.9 + unreal.dll R3, .pak files are decrypted normally.
Tried to use it on 0.3.21 + unreal.dll R5 -> nothing is decrypted at all

Btw, yes, I used -d1. Maybe I overlooked something, but if that's true can you please explain to me what am I doing wrong.

For sample I used small 20mb pakchunk50-WindowsNoEditor.pak

With xtool.exe 0.3.9 + unreal.dll R3 - WORKING, decrypted, inflated
Code:

[External compressor:xtool]
header = 0
packcmd  = xtool precomp -mue4:m1:k5F6153346D665A4B384D3573354B5743324C7A325673466E474B4937617A676C+zlib -d1 -c128mb -t100p --dbase - - <stdin> <stdout>

With xtool.exe 0.3.21 + unreal.dll R5 - NOT WORKING, nothing is decrypted (m1 is not needed in latest unreal.dll version)
Code:

[External compressor:xtool]
header = 0
packcmd  = xtool precomp -mue4:k5F6153346D665A4B384D3573354B5743324C7A325673466E474B4937617A676C+zlib -d1 -c128mb -t100p --dbase - - <stdin> <stdout>

Used -mxtool+srep:m2f:l512+lolz arc.exe pack command on both.

Joe Forster/STA 13-07-2021 10:00

Quote:

Originally Posted by Game Repacker (Post 493155)
I know that but usage?

If you have specific questions then ask them. Otherwise, I quote from the first post of this thread: "Read the documentation to find out how it works and how to use it."

L33THAK0R 03-08-2021 02:31

Does using the "LZ4" codec require a specific library version? I'm currently trying to pack the Sony "PlayStation 3" exclusive, "Demon's Souls" (which has LZ4 streams). Attempting to use xtool 2020 results in this output as soon as the temp file has been generated. Utilising xtool 2019 only inflates the input by ~1kb. I'm not able to find any prior examples of the codec being used so I'm not quite sure whats going on.

L33THAK0R 31-08-2021 04:44

Has anyone encountered this error before? I've had it happen with a handful of game-data files, curiously I was able to pack this title ("DOOM", the 2016 reboot of the series) previously, when using the default scanning range (I think 16mb), but I'm redoing it since some files failed to decompress properly.

MineRocker 25-09-2021 06:51

Quote:

Originally Posted by L33THAK0R (Post 493812)
Has anyone encountered this error before? I've had it happen with a handful of game-data files, curiously I was able to pack this title ("DOOM", the 2016 reboot of the series) previously, when using the default scanning range (I think 16mb), but I'm redoing it since some files failed to decompress properly.

maybe it's an issue with the -t100p-1? :confused:

Razor12911 28-09-2021 03:09

1 Attachment(s)
Here's the documentation. It took weeks to write this as I'm very busy.

I'm still unavailable for two more months but the documentation should give insights as to how to fully utilize xtool and how to create plugins.

PsYcHo_RaGE 28-09-2021 10:56

Quote:

Originally Posted by Razor12911 (Post 494131)
Here's the documentation. It took weeks to write this as I'm very busy.

Thank you very much @Razor12911 👍

KaktoR 29-09-2021 09:48

@Razor12911
Thanks for the documentation. Brought me a few steps further (I didn't even know that xtool has mermaid/leviathan support until I read your documentation lol).
But what I don't understand right now is what to do if there is no signature (or repeating pattern) before an oodle header or if the pattern is different before many headers.

Currently I'm dealing with mermaid (8C 0A) and there is no visible pattern before the header, just always different random bytes.

---

In a different test I was looking for kraken header (8C 06). There seems to be a repeating pattern, namely 6 bytes (00 00 00 00 01 00) + 1 or 2 random byte. The 9th byte is always X (58).

https://i.imgur.com/qEKZ9IK.png

Maybe I have to work with Conditions, but unfortunatelly you forgot to explain them somehow in the documentation :D

dixen 01-10-2021 00:29

LZMA Codec for TTW2. It possible?)

Razor12911 06-10-2021 16:49

1 Attachment(s)
Quote:

Originally Posted by kaktor (Post 494166)
maybe i have to work with conditions, but unfortunatelly you forgot to explain them somehow in the documentation :d

Attachment 30469

:(

Quote:

Originally Posted by dixen (Post 494181)
lzma codec for ttw2. It possible?)

yes, read documentation and make plugin :rolleyes:

KaktoR 06-10-2021 21:43

@Razor12911
Sorry, I already found it (I just forgot to edit my post) and I made some steps forward (on my sample I made +3% ratio compared to xtool without configutation, I will see if there are more) :)

Razor12911 22-12-2021 18:34

Update available

Changes

- updated search support (speed improvements)
- updated command line parser
- added partial universal scanner for lzo1x streams
- added universal scanner for lz4f streams
- fixed issue with configuration files failing to execute without conditions

Notes

The previous update is still up, in case if there are issues with this one as I'm rusty af at the moment. (I haven't coded in months)
The lzo1x codec uses LZO1X-999 (level 1-9) and should only be used if you have no alternatives for precompression such as no plugins as this thing can be slow at times.


All times are GMT -7. The time now is 01:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com