FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   XTool - Successor of ZTool (https://fileforums.com/showthread.php?t=101729)

Razor12911 12-05-2018 15:11

Update available

Changes

- added dunia engine lz4hc stream precompression support (Far Cry 5)
- fixed unity engine support

Notes

In terms of the Dunia engine, I advise that you use the latest liblz4.dll to avoid some streams being skipped due to their major difference, this could be because even I myself am not sure if I used the correct parameters for recompression, if you have an idea of what is used, please comment. (I used lz4hc, level 9)

Only Far Cry 5 is what I think is supported currently, that's the only game I had installed so run tests to see if all is good, if so then I'll be moving on to Far Cry 3 and 4. Add the dat files in xtool.ini, make sure in that same location, the dat files are with the fat files else they'll be errors.

Parsing the fat file is a pain in the ass especially for the big files (farcry5.dat and installpkg.dat), so xtool might seem stuck when running those, at most it should take 5-10 minutes before it begins actual precompression.

darkwolves 12-05-2018 15:17

@Razor12911
excellent you have been on a roll with this tool the past couple of days

KaktoR 12-05-2018 15:45

Oh, this updates come out like a machine gun.

Thank you rezor

Razor12911 12-05-2018 17:50

Quote:

Originally Posted by doofoo24 (Post 470919)
any idea of xtool parameters for lz4hc

packcmd = ???

:confused:

and what game to test lz4hc ???

:rolleyes:

Levels are set by program

doofoo24 12-05-2018 17:53

and what game's to test lz4
run on YookaLaylee with v and the same nothing as xtool v4 ???
did you test on any unity games ?

Razor12911 12-05-2018 17:58

Quote:

Originally Posted by doofoo24 (Post 470922)
and what game's to test lz4
run on YookaLaylee with v and the same nothing as xtool v4 ???
did you test on any unity games ?

XTool works on none of the unity games I have but I was sent samples to work on the tool and was told not all Unity Games are compressed therefore, perhaps the game you're testing it on are not compressed or do not follow the headers which are read by the tool.

doofoo24 12-05-2018 18:01

ok i will test on other unity game's and report...
any future support for COD GAMES : Warfare Remastered , Advanced Warfare , Infinite Warfare . WWII :)

Razor12911 12-05-2018 18:03

I currently have no leads on the header structure of those games quite yet.

Razor12911 12-05-2018 18:36

Quote:

Originally Posted by doofoo24 (Post 470926)
seems to crash on cuphead...

try isolating the issue then upload result, I'm not planning on downloading the game just to see what's really wrong. Some of us are on caps :)

Simorq 12-05-2018 18:45

XTool 0.4 Zlib

Code:

Creating archive: Warriors All-Stars.Bin.001 using xprecomp:c32mb,zlib+srep:m3f+lolz:d64:mc1023:tt2+diskspan:4096mb:4096mb
Memory for compression 0b, decompression 0b, cache 0b
Compressed 342 files, 23,626,897,455 => 4,294,967,331 bytes. Ratio 18.18% 
Compression time: cpu 1869.13 sec/real 13768.85 sec = 14%. Speed 1.72 mB/s
All OK

Code:

Testing Archive: Warriors All-Stars.Bin.001
WARNING: CRC failed in "LINKDATA.BIN". File is broken.
WARNING: CRC failed in "KTSLXA2C.dll". File is broken.
WARNING: CRC failed in "steam_api64.dll". File is broken.
WARNING: CRC failed in "KTSLXA27.dll". File is broken.
WARNING: CRC failed in "KTSLXA29.dll". File is broken.
WARNING: CRC failed in "Config.exe". File is broken.
WARNING: CRC failed in "Star_US.exe". File is broken.
WARNING: CRC failed in "Star_KR.exe". File is broken.
WARNING: CRC failed in "Star_JP.exe". File is broken.
WARNING: CRC failed in "Star_TW.exe". File is broken.
WARNING: CRC failed in "Star_.ico". File is broken.
WARNING: CRC failed in "LINKDATA.IDX". File is broken.
WARNING: CRC failed in "steam_emu.ini". File is broken.
Tested 342 files, 4,294,967,331 => 23,626,897,455 bytes. Ratio 18.18%     
Testing time: cpu 45.33 sec/real 657.06 sec = 7%. Speed 35.96 mB/s
There were 13 warning(s)


Razor12911 12-05-2018 19:07

Quote:

Originally Posted by Simorq (Post 470928)
XTool 0.4 Zlib

Code:

Creating archive: Warriors All-Stars.Bin.001 using xprecomp:c32mb,zlib+srep:m3f+lolz:d64:mc1023:tt2+diskspan:4096mb:4096mb
Memory for compression 0b, decompression 0b, cache 0b
Compressed 342 files, 23,626,897,455 => 4,294,967,331 bytes. Ratio 18.18% 
Compression time: cpu 1869.13 sec/real 13768.85 sec = 14%. Speed 1.72 mB/s
All OK

Code:

Testing Archive: Warriors All-Stars.Bin.001
WARNING: CRC failed in "LINKDATA.BIN". File is broken.
WARNING: CRC failed in "KTSLXA2C.dll". File is broken.
WARNING: CRC failed in "steam_api64.dll". File is broken.
WARNING: CRC failed in "KTSLXA27.dll". File is broken.
WARNING: CRC failed in "KTSLXA29.dll". File is broken.
WARNING: CRC failed in "Config.exe". File is broken.
WARNING: CRC failed in "Star_US.exe". File is broken.
WARNING: CRC failed in "Star_KR.exe". File is broken.
WARNING: CRC failed in "Star_JP.exe". File is broken.
WARNING: CRC failed in "Star_TW.exe". File is broken.
WARNING: CRC failed in "Star_.ico". File is broken.
WARNING: CRC failed in "LINKDATA.IDX". File is broken.
WARNING: CRC failed in "steam_emu.ini". File is broken.
Tested 342 files, 4,294,967,331 => 23,626,897,455 bytes. Ratio 18.18%     
Testing time: cpu 45.33 sec/real 657.06 sec = 7%. Speed 35.96 mB/s
There were 13 warning(s)


Try isolating error

ZakirAhmad 12-05-2018 19:12

since u do not need to set parameter in case of xtool (like plz4, pzstd, pzlib), during compression. soppose u r expanding a zlib compressed file with xtool, so during decompression u have to nclude only xtool + zlibapi.dll with decompresser. But in my case i got crc errors. when i included whole xtool (that is xtool, zlibapi, liblz4etc) the error got away.

@Razor. Is this farcry primal or farcry 5

Razor12911 12-05-2018 20:14

1 Attachment(s)
Dude, the input files must have a header structure that has those

doofoo24 12-05-2018 20:15

game with unity tested : Firewatch, Syberia 3, cuphead, Yooka-Laylee nothingfound with xtool 0.5

setting for arc.ini
[External compressor:xprecomp]
header = 0
packcmd = xtool.exe e:precomp:c32mb,t100p:zlib,crilayla,lz4,zstd - - <stdin> <stdout>

Razor12911 12-05-2018 20:29

Quote:

Originally Posted by doofoo24 (Post 470936)
what game did you sample :(

I don't know lol, I got my samples from FitGirl. I don't have good memory of the games the samples came from.

Just google search "Fitgirl Repack uses pUnity library by Razor12911"

From the search I get NASCAR Heat 2, Hand of Fate 2, The Raven Remastered: Digital Deluxe Edition...

Razor12911 12-05-2018 20:38

1 Attachment(s)
Quote:

Originally Posted by doofoo24 (Post 470938)
better edit fit**** re**** :D

In any case, I didn't break rule 1-12 :)

Grumpy 12-05-2018 21:25

Quote:

Originally Posted by doofoo24 (Post 470938)
better edit fit**** re**** :D

Quote:

Originally Posted by Razor12911 (Post 470939)
In any case, I didn't break rule 1-12 :)

Just to clear something up regarding rules ...

You can not say things like "I downloaded the Fitgirl release ... "

You can say things like "I want to repack my games like Fitgirl does .."

Therefore Razor did not break any rules ;)

darkwolves 12-05-2018 21:50

-clears throat loudly- :D

ShivShubh 13-05-2018 00:22

Quote:

Originally Posted by doofoo24 (Post 470935)
game with unity tested : Firewatch, Syberia 3, cuphead, Yooka-Laylee nothingfound with xtool 0.5

Don't know about the other games but Firewatch and Cuphead doesn't have any LZ4 streams. Unity Engine games doesn't always have compression, mostly they come with no compression.

doofoo24 13-05-2018 00:29

seems to work on super lucky tale but the ratio after srep+lolz not good...

ShivShubh 13-05-2018 00:41

Quote:

Originally Posted by doofoo24 (Post 470954)
seems to work on super lucky tale but the ratio after srep+lolz not good...

Not good as compared to without xtool ? Make sure you used xt 0.5.

masen485 13-05-2018 01:48

xtool_v05 Do you have any information, do you know how to use it?
I have a few games with 3 game engines and how do I use them with xtool v0.5?
methods and compression tools and ArC.in content, please help

unity engine support -----Cuphead
dunia engine support-----Far Cry 5
Frostbite engine support--Battlefield 4

ShivShubh 13-05-2018 02:04

Quote:

Originally Posted by masen485 (Post 470958)
xtool_v05 Do you have any information, do you know how to use it?
I have a few games with 3 game engines and how do I use them with xtool v0.5?
methods and compression tools and ArC.in content, please help

unity engine support -----Cuphead
dunia engine support-----Far Cry 5
Frostbite engine support--Battlefield 4

What is your problem dude ? Why dont you check topics before asking these stupid question everytime ? arc.ini was already included with xtool so its very clear that you never even checked the tool itself :|

masen485 13-05-2018 02:09

I checked all of them,

-NORO- 13-05-2018 03:22

xtool 0.5 lz4 doesnt seem to work on life is strange before the storm

masen485 13-05-2018 04:20

CAR MECHANIC SIMULATOR 2018 unity engine xtool 0.5 not working

ShivShubh 13-05-2018 04:24

Quote:

Originally Posted by -NORO- (Post 470961)
xtool 0.5 lz4 doesnt seem to work on life is strange before the storm

Hmmm then I wonder how I have already repacked the game with it xD

Quote:

Originally Posted by masen485 (Post 470962)
CAR MECHANIC SIMULATOR 2018 unity engine xtool 0.5 not working

Can you please upload some of the files ? Supported streams should be in the StreamingAssets folder.

masen485 13-05-2018 05:03

StreamingAssets folder.
Upload Status %55

masen485 13-05-2018 05:23

CAR MECHANIC SIMULATOR 2018 unity engine
http://s7.dosya.tc/server6/jg5ujg/cms2018_Data.rar.html

-NORO- 13-05-2018 05:25

Quote:

Originally Posted by ShivShubh (Post 470963)
Hmmm then I wonder how I have already repacked the game with it xD


ok lol

Razor12911 13-05-2018 06:30

2 Attachment(s)
Quote:

Originally Posted by masen485 (Post 470966)
CAR MECHANIC SIMULATOR 2018 unity engine
http://s7.dosya.tc/server6/jg5ujg/cms2018_Data.rar.html

Your files

Look at this post:
http://fileforums.com/showpost.php?p...&postcount=174

Razor12911 13-05-2018 06:45

Update available

Changes

- updated unity engine support for closely packed files
- older zstd libraries now supported

Notes

A sample of Unity is included in the attachment in "xtool_v06.7z\FA_example\pack", check via Hex as to how the headers should look like.

Don't use lz4 with other codecs when packing FC5 at the moment to avoid errors, work incomplete.

If you're planning to use zlib codec, use version 0.5's, I only remembered now after upload that I was doing something to it last night and might result in errors.

darkwolves 13-05-2018 07:07

@Razor12911
already? i just got done putting in update 5 lol :p

LuzhinE 13-05-2018 10:12

Does this happen to anyone else

ERROR: write error (disk full?) in compression algorithm srep

there will be a way to fix it

darkwolves 13-05-2018 10:42

Quote:

Originally Posted by LuzhinE (Post 470971)
Does this happen to anyone else

ERROR: write error (disk full?) in compression algorithm srep

there will be a way to fix it

no i get crc errors and have to make adjustments
has this happened to you before xtool?
did it work fine before?
wich srep do you have?
do you have cls dll files?

LuzhinE 13-05-2018 11:44

It never happened to me, but the problem is not xtool, if not srep

darkwolves 13-05-2018 11:45

Quote:

Originally Posted by LuzhinE (Post 470973)
It never happened to me, but the problem is not xtool, if not srep

what is the compression method used on that command line in wich the error was caused?

ShivShubh 13-05-2018 21:06

Quote:

Originally Posted by Simorq (Post 470978)
FC5 no work /Ratio 100%

It works, tried on common.dat

Perykles 13-05-2018 23:53

Mr. Razor12911,

There is a problem of CRC with these files of "Trials Evolution Gold Edition"
"data.pak" and "data_tex.pak"
I use the xtool version 0.5
I tested with version 0.6 but the files are not deflated !
The files being small I give you a link with "FA_Example" in pack directory of xtool 0.5

https://transfernow.net/5679c22198j4

Thank you for your hard work on pzlib, xtool and the other tools.

Simorq 14-05-2018 08:36

Quote:

Originally Posted by Perykles (Post 470982)
Mr. Razor12911,

There is a problem of CRC with these files of "Trials Evolution Gold Edition"
"data.pak" and "data_tex.pak"
I use the xtool version 0.5
I tested with version 0.6 but the files are not deflated !
The files being small I give you a link with "FA_Example" in pack directory of xtool 0.5

https://transfernow.net/5679c22198j4

Thank you for your hard work on pzlib, xtool and the other tools.

[External compressor:xprecomp]
header = 0
packcmd = xtool.exe e:precomp:t25p:zlib,crilayla,lz4,zstd - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t1 - - <stdin> <stdout>

t1 Only CRC is OK


All times are GMT -7. The time now is 17:06.

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