|
|
|
#1
|
||||
|
||||
|
The log information via xtool when repacking FH5:
Code:
Duplicates: 409792 (8.55 GB) [13.1 GB >> 22.2 GB] Srep decompression memory: 5.30 GB [19.9 GB*] The speed reductions seems to be related to you not having enough memory to install the game without srep or xtool making virtual temp files which incur speed penalty. Games like these are the reason I added GPU memory feature in xtool because it would offload some memory onto the GPU which typically isn't used when installing games (if you have 8GB GPU, xtool would require 1GB instead of 8.5 GB, while 7.5GB will be on the GPU then installation would need 6GB instead of 20 GB which srep initially required), though not ready because it's not thoroughly tested on a lot of systems to see if it works without issues. ![]() I ran a test between 0.7.4 against older releases, they all produce the same results and have the same speeds when decoding (at least within margin of error) and 0.7.0+ encodes faster. Decoding speed in 0.7.4 is slightly slower but reasonable because of memory usage optimisations that were made in 0.7.2, all versions used 220 MB+ for decoding while 0.7.4 used 73 MB. ForzaHorizon5\DLC\MicrosoftExpansion2FH5\media\Tra cks\Falcon\bin.zip Code:
0.7.4 Compressed 1 file, 1,893,356,830 => 2,847,735,336 bytes. Ratio 150.41% Compression time: cpu 1.36 sec/real 20.95 sec = 6%. Speed 90.39 mB/s Tested 1 file, 2,847,735,336 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.19 sec/real 22.40 sec = 1%. Speed 84.52 mB/s 0.7.0 Compressed 1 file, 1,893,356,830 => 2,847,735,336 bytes. Ratio 150.41% Compression time: cpu 1.41 sec/real 20.57 sec = 7%. Speed 92.05 mB/s Tested 1 file, 2,847,735,336 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.33 sec/real 22.06 sec = 1%. Speed 85.84 mB/s 0.6.9 Compressed 1 file, 1,893,356,830 => 2,847,735,092 bytes. Ratio 150.41% Compression time: cpu 1.48 sec/real 25.08 sec = 6%. Speed 75.50 mB/s Tested 1 file, 2,847,735,092 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.14 sec/real 21.56 sec = 1%. Speed 87.81 mB/s 0.6.5 Compressed 1 file, 1,893,356,830 => 2,847,735,092 bytes. Ratio 150.41% Compression time: cpu 1.38 sec/real 24.58 sec = 6%. Speed 77.03 mB/s Tested 1 file, 2,847,735,092 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.30 sec/real 22.06 sec = 1%. Speed 85.83 mB/s 0.5.3 Compressed 1 file, 1,893,356,830 => 2,847,735,104 bytes. Ratio 150.41% Compression time: cpu 1.39 sec/real 25.08 sec = 6%. Speed 75.51 mB/s Tested 1 file, 2,847,735,104 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.16 sec/real 21.56 sec = 1%. Speed 87.81 mB/s 0.4.0 Compressed 1 file, 1,893,356,830 => 2,847,735,104 bytes. Ratio 150.41% Compression time: cpu 1.38 sec/real 24.39 sec = 6%. Speed 77.64 mB/s Tested 1 file, 2,847,735,104 => 1,893,356,830 bytes. Ratio 150.41% Testing time: cpu 0.41 sec/real 21.56 sec = 2%. Speed 87.82 mB/s Last edited by Razor12911; 07-07-2023 at 15:37. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
@Razor12911, can the new -sm# parameter be used from the freearc command line using comma "," to separate srep parametters?
Code:
xtool:mzlib:dd3:spa0,s100gb Thanks! Last edited by Cesar82; 07-07-2023 at 17:01. |
|
#3
|
||||
|
||||
|
Update available
Changes - added footer feature in configuration plugins - added thread priority controller via -T# parameter Notes Footer detection has been added to configuration which means if there's no way of knowing the size of a stream but if within the stream itself has a footer or end of file/stream marker, you can input that as a signature for xtool to look for which will help you in determining the size of the stream. For example, jpeg image file has the header 0xE0FFD8FF but if you looked at the last 3 bytes, you'll notice that in all of them, they end with 99 FF D9, this will be the footer and your configuration should look something like this Code:
[Stream1] Name=jpg Codec=packjpg BigEndian=0 Signature=0xE0FFD8FF Footer=0xD9FF99 Structure=Signature(4),Stream,Footer(3) StreamOffset=-4 CompressedSize=Footer+7 DecompressedSize=0 Another use case for this is if you have streams stored in sequence, if their signature is 59 61 7A 30 and the next stream has the same signature, you can write the next stream as the "footer" of the current stream. Code:
[Stream1] Name=Yaz0 Codec=Yaz0 BigEndian=0 Signature=0x307A6159 Footer=0x307A6159 Structure=Signature(4),Stream,Footer(4) StreamOffset=-4 CompressedSize=Footer+4 DecompressedSize=0 Thread priority option is added and can be used via -T and the values are 0..6 with zero being idle and 6 being real-time (time critical), if you have laggy mouse while installing a game knowing full well that you have set 100p for xtool and have lolz or lzma working and toasting your CPU and saying it's xtool's problem then you should use this but know that setting this too high means your system will be unresponsive or setting too low making installation longer, well... up to you. Too many notes... @Cesar82 You can use commas to separate parameters. For GPU, xtool performs a check to see if the system has a GPU with at least 1GB VRAM and even then it makes sure that there's at least VRAM 512MB left unused. If the condition is not met, it doesn't use GPU at all. Last edited by Razor12911; 07-07-2023 at 21:52. |
|
#4
|
||||
|
||||
|
Update available
Changes - Minor bug fixes Notes This release contains recompiled zlibwapi.dll, preflate_dll.dll, lzo2.dll (to remove Visual C++ 2010 requirement) and xdelta3_dll.dll simply because there are people who are using Windows XP in this day and age, shocking I know... |
| The Following 10 Users Say Thank You to Razor12911 For This Useful Post: | ||
Cesar82 (10-07-2023), Gehrman (11-07-2023), kj911 (11-07-2023), kuyhaa (13-07-2023), L0v3craft (12-07-2023), Lord.Freddy (11-07-2023), NERV (12-07-2023), ScOOt3r (10-07-2023), seryogakms (12-07-2023), Wanterlude (11-07-2023) | ||
|
#5
|
|||
|
|||
|
Quote:
Unpacking speed of zlibwapi.dll 1.2.11/2020-07-18/535552 bytes is _always_ faster than any of your other, newer, 1.2.13 compiles (2022-12-31/544768 bytes and 2023-07-11/512000 bytes) Newest XP compatible zlibwapi.dll is by far slowest during unpacking, probably because it does not use some of advanced CPU instructions available after XP. Anyway, I truly welcome XP support because I consider games that are playable on XP should be able to unpack on XP...but if making .dlls XP compatible comes with obligatory speed loss than maybe it is better to provide separate XP compiled libs, just my thoughts of course. Ideally, one compile should work on all OSes with max speeds but don't really sure if this is possible... Following are examples of decompression speed of _same_ arc packed with xtool:zlib+srep:m3f+lolz ,all that is changed is zlibwapi.dll before unpacking (encoding speed is not primary important to me, arc is packed using one of mentioned zlibwapi.dll but this does not impact decompression speed, tested) Tested on Windows 11, 20 threads CPU, xtool 0.7.4 used, -t100p in arc.ini Code:
Using zlibwapi.dll 1.2.11/2020-07-18/535552 bytes: Extracted 4 files, 2,649,948,418 => 4,683,666,810 bytes. Ratio 56.58% Extraction time: cpu 0.97 sec/real 74.49 sec = 1%. Speed 62.87 mB/s All OK Using zlibwapi.dll 1.2.13/2022-12-31/544768 bytes: Extracted 4 files, 2,649,948,418 => 4,683,666,810 bytes. Ratio 56.58% Extraction time: cpu 1.59 sec/real 83.01 sec = 2%. Speed 56.42 mB/s All OK Using zlibwapi.dll 1.2.13/2023-07-11/512000 bytes: Extracted 4 files, 2,649,948,418 => 4,683,666,810 bytes. Ratio 56.58% Extraction time: cpu 0.63 sec/real 106.93 sec = 1%. Speed 43.80 mB/s All OK Regards Last edited by infovs; 14-07-2023 at 08:29. |
| The Following 4 Users Say Thank You to infovs For This Useful Post: | ||
|
#6
|
|||
|
|||
|
Damn. I'm lame
![]() How can i use this with XTool076 for JPG stream compression? [Stream1] Name=jpg Codec=brunsli BigEndian=0 Signature=0xE0FFD8FF Footer=0xD9FF99 Structure=Signature(4),Stream,Footer(3) StreamOffset=-4 CompressedSize=Footer+7 DecompressedSize=0 Solved : My sample JPG have different header. Last edited by shazzla; 23-07-2023 at 20:42. |
|
#7
|
|||
|
|||
|
infovs: Please testing more version older dlls...
Example: 1.2.11/172 544byte and 104 448byte releases. And older 1.2.8/1.2.3 and more. This (p)reflate library impact or not decompression speed? hif/raw dlls and preflate dll present it unpacker files folders. |
|
#8
|
|||
|
|||
|
Quote:
Also, if you use MS VC and want your compile to be XP compatible you are pretty much forced to use VC 2010..yes, you can use XP platform toolset on some later MS VC versions but I had some issues with it. Never compiled with MinGW though so I can't comment on that. Last edited by infovs; 15-07-2023 at 06:22. |
| The Following User Says Thank You to infovs For This Useful Post: | ||
kj911 (16-07-2023) | ||
|
#9
|
||||
|
||||
|
Code:
vc22_vista_1.2.13: 24688ms 24687ms 24750ms 24750ms 24782ms vc17_winxp_1.2.13: 24375ms 24172ms 24156ms 24266ms 24359ms rad_studio_1.2.13: 24359ms 24219ms 24203ms 24265ms 24313ms vc19_vista_1.2.11: 21734ms 21672ms 21610ms 21843ms 21578ms vc22_vista_1.2.11: 21391ms 21359ms 21391ms 21343ms 21282ms vc17_winxp_1.2.11: 21453ms 21469ms 21359ms 21328ms 21360ms vc22_vista_1.2.8: 21282ms 21281ms 21266ms 21281ms 21281ms zlib-ng_1.2.13: 7843ms 7797ms 7781ms 7813ms 7828ms Quote:
There's an issue opened on github regards to the speed which can be found here. https://github.com/madler/zlib/issues/820 There was also a security vulnerability discovered in 1.2.11 and I don't know if patching this issue is what made zlib slower or not moving forward. https://www.cybersecurity-help.cz/vdb/gnu/zlib/1.2.11/ The beauty of xtool is that the user can swap libraries if they prefer to use their own, there's also zlib-ng (utilizes modern CPU features) benchmarks added, as you can see it is faster however I doubt it produces matching crc as standard zlib but good to know nonetheless.
|
|
#10
|
||||
|
||||
|
Update available
Changes - added universal scanner for DirectStorage gdeflate streams - added the use of gpu for caching and virtual memory purposes - updated depthing feature to improve stream detection when used by plugins Notes With the release of the game ratchet & clank: rift apart which used direct storage's gdeflate compression within its game files, I thought... hm, why not just add a scanner for these streams and so I did after investigating the stream structure (was easy to figure out actually). Use via -mgdeflate. Will games use direct storage? I don't know but if they do then at least xtool has support for the streams used in the games, I just added it so that repackers don't flood me with DMs when they have troubles repacking games, maybe Starfield might use this... After several tests, the gpu feature can now be used by the general public, use via -g# |
| The Following 14 Users Say Thank You to Razor12911 For This Useful Post: | ||
-tara (29-07-2023), Cesar82 (29-07-2023), dixen (29-07-2023), elit (11-10-2023), Gehrman (29-07-2023), hdneo (31-07-2023), KaktoR (30-07-2023), kuyhaa (29-07-2023), L0v3craft (30-07-2023), L33THAK0R (30-07-2023), Masquerade (30-07-2023), ScOOt3r (29-07-2023), shazzla (29-07-2023), Wanterlude (30-07-2023) | ||
|
#11
|
|||
|
|||
|
Help me
Hello
I have been told that you are very forgiving Can you recommend a good compressor? Easy and simple work, high compression and works with all site installations, thank you |
|
#12
|
|||
|
|||
|
^^
This question has been asked hundreds of times. 7-Zip. |
|
#13
|
|||
|
|||
|
I don't know that Fitgirl put all these compressions with 7zip program here
|
|
#14
|
|||
|
|||
|
^^
Obviously FitGirl doesn't use 7-Zip. But you asked for: Quote:
|
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
Cesar82 (07-01-2024) | ||
|
#15
|
||||
|
||||
|
Is there any way to use XTool to erase compressed streams? I'm currently looking at the various Quantic Dream PC ports (i.e. Heavy Rain, Beyond Two Souls, Detroit Become Human) and they have the localized audio compressed using deflate/zlib, I'm not sure if its already possible with XTool but can a database be generated, and then an input folder in addition to a generated database be fed as parameters to XTool to target and blank out these streams?
|
![]() |
|
|
Similar Threads
|
||||
| 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 |