#151
|
|||
|
|||
Good but can we somehow compress modded android games like dragon city?
Last edited by humorlesslumber; 06-10-2020 at 08:41. |
Sponsored Links |
#152
|
||||
|
||||
Quote:
![]() |
The Following User Says Thank You to Razor12911 For This Useful Post: | ||
shazzla (24-08-2020) |
#153
|
|||
|
|||
On it.. maybe 10 hrs from now... maybe.
|
#154
|
|||
|
|||
The Following User Says Thank You to FitGirl For This Useful Post: | ||
Razor12911 (24-08-2020) |
#155
|
|||
|
|||
The Following User Says Thank You to shazzla For This Useful Post: | ||
Razor12911 (24-08-2020) |
#156
|
||||
|
||||
@FitGirl
using -mzlib+reflate Code:
Tested 1 file, 92,646,762 => 48,529,408 bytes. Ratio 190.91% Testing time: cpu 0.06 sec/real 2.62 sec = 2%. Speed 18.56 mB/s Code:
Tested 1 file, 90,385,191 => 48,529,408 bytes. Ratio 186.25% Testing time: cpu 0.08 sec/real 3.60 sec = 2%. Speed 13.46 mB/s using -mzlib+reflate Code:
"localizations.dat". File is broken. Tested 1 file, 67,329,029 => 9,663,657 bytes. Ratio 696.72% Testing time: cpu 0.00 sec/real 1.10 sec = 0%. Speed 8.75 mB/s Code:
Tested 1 file, 9,663,731 => 9,663,657 bytes. Ratio 100.00% Testing time: cpu 0.02 sec/real 0.59 sec = 3%. Speed 16.34 mB/s in the sample FitGirl provided reflate gave better output, not sure if it's because of bigger hifs but this is why preflate doesn't replace reflate and why both are used, you just need to pick one to work with if the default zlib method doesn't process streams by itself. that said, reflate no longer gets updates so at times, it breaks crc of files like in thr sample provided by shazzla so this means you need to use preflate. I hope this clears up a few things about the program's usage. Tests were performed using xtool_2008_R1 (the current version), arc.ini Code:
[External compressor:xtool] header = 0 packcmd = xtool.exe precomp -mzlib+preflate -c32mb -t100p-1 -d0 - - <stdin> <stdout> unpackcmd = xtool.exe decode -t100p-1 - - <stdin> <stdout> the next version of xtool will have reflate automatically verify the streams it processes to avoid checksum errors and if it fails but preflate was enabled, it will jump to preflate. may take longer to process but I guess there is no other alternative at this point. Last edited by Razor12911; 25-08-2020 at 18:53. |
The Following 3 Users Say Thank You to Razor12911 For This Useful Post: | ||
#157
|
||||
|
||||
Update available
Changes - fixed command line parser - updated deflate scanner - added stream deduplication - added stream database - added decompression memory limiter - added grittibanzli (also handles deflate stream but slow af) Notes stream deduplication doesn't allow you to set max decompression memory so it uses VM file, this will be in future versions. stream deduplication also produces a file that is required for decompression, this file must always exist else xtool will always fail restoring the data Code:
[External compressor:xtool] header = 0 packcmd = xtool.exe precomp -mzlib+preflate -c32mb -t100p-1 --dbase --dedup=xtool.bin - - <stdin> <stdout> unpackcmd = xtool.exe decode -t100p-1 --dedup=xtool.bin - - <stdin> <stdout> if you have multiple archives, the same xtool.bin file can be used. meaning if you used xtool in data1.bin and data2.bin, xtool.bin can be used for both, the program itself will decide which section of the xtool.bin belongs to which archive. This is better than having xtool1.bin and xtool2.bin for each archive ![]() Last edited by Razor12911; 26-08-2020 at 17:56. |
The Following 14 Users Say Thank You to Razor12911 For This Useful Post: | ||
Cesar82 (26-08-2020), darkwolves (27-08-2020), DiCaPrIo (27-08-2020), dixen (26-08-2020), elit (04-12-2020), ffmla (27-08-2020), Harsh ojha (26-08-2020), L0v3craft (03-09-2020), Masquerade (28-08-2020), oltjon (27-08-2020), Perykles (27-08-2020), shazzla (26-08-2020), vint56 (26-08-2020), ZAZA4EVER (29-08-2020) |
#158
|
|||
|
|||
Thanks for the awesome tool.
It works wonderfully in 99% cases but I recently came across with a game called UnderMine and xtool seems to not do anything.. GFS shows zlib 135 MB > 226 MB and I'm using the following method: -mzlib+preflate -c128mb -t2 Any guidance would be greatly appreciated. *edit: I used different keywords to search and found my answer in a different thread (issue being it was dynamic stream). But any other input may be helpful! Last edited by nicholas2006; 27-08-2020 at 22:01. |
#159
|
|||
|
|||
????
hi razor12911
in any data type we can use xtool 2008 and 1908 |
#160
|
||||
|
||||
Thank you for the dedup mode, it is working well.
Mad Max = 43kb deduplication file made I expect that with more duplicated streams, the file size of course will increase - is there a limit on how large the file could reach? or could it reach astronomical sizes (20+mb), in which case, packaging it inside a setup would appear irregular. |
#161
|
||||
|
||||
Quote:
2008 currently only supports deflate compressed data. Quote:
![]() Last edited by Razor12911; 28-08-2020 at 15:10. |
#162
|
||||
|
||||
Update available
Changes - fixed deduplication memory calculation error - added virtual memory support for deduplication - added --mem=# parameter to control deduplication memory usage the virtual memory files xtool creates look like this and they are placed in same temp directory freearc creates, this way you can change where they are supposed to be created by setting temp/work directory |
#163
|
|||
|
|||
good old GTA 5
compressing x64a.rpf...x64k.rpf with xtool+srep+lolz, crc error at x64d.rpf compress x64a.rpf...x64d.rpf with xtool decompression never finishes xtool precomp -mzlib+reflate -c64mb -t100p-1 --dbase=gtav.xdb --dedup=xtool.bin
__________________
XD |
The Following User Says Thank You to Gupta For This Useful Post: | ||
Razor12911 (29-08-2020) |
#164
|
||||
|
||||
try without reflate
|
#165
|
|||
|
|||
here is offended part of file https://drive.google.com/file/d/1HA-...ew?usp=sharing
I didn't test much but other method seems to be working fine on this file atleast
__________________
XD Last edited by Gupta; 29-08-2020 at 23:35. |
The Following User Says Thank You to Gupta For This Useful Post: | ||
Razor12911 (01-09-2020) |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Dev]XTool | Razor12911 | Conversion Tutorials | 180 | 23-10-2020 06:26 |
Project Cars Digital Edition (3xDVD5) (srep+lzma) | GTX590 | PC Games - CD/DVD Conversions | 10 | 28-08-2017 08:34 |
Project IGI Anthology 1xCD700 CIUV2 2039 | mausschieber | PC Games - CD/DVD Conversions | 0 | 24-07-2017 15:12 |
Space Channel 5 Part 2 Translation Project | Christuserloeser | DC Games | 0 | 21-06-2004 18:16 |