Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #586  
Old 12-03-2023, 03:25
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
it should be --srepmem=...
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Wanterlude (12-03-2023)
Sponsored Links
  #587  
Old 19-03-2023, 06:24
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
xtool reflate issue from Win7 to Win8.1

I would like to bring to your attention an issue I am currently experiencing with xtool.

In the past, I compressed several games with it under Windows 7. Probably most used version by me back then was 047 and 053. I test every archive after creation and back then every one of them tested fine.

However about 2 months ago I switched to Windows 8.1 and I find myself facing decompression errors.
Specifically this almost exclusively relate to reflate(I had one zlib giving me error as well but not all). It is 100% reproducible and do not matter which xtool version I use(I keep ones I compressed anything with just in case). Reflate in archive = 100% fail. Any archive. Due to that I excluded disk issue.

Note that ztool with -cm0 work fine under Win8.1, as well as 32bit xtool-crilayla version. Problem is only xtool->reflate(maybe occasional zlib) from what I seen so far. Thankfully majority of my archives are ztool based due to me stubbornly sticking to it for so long but still quite few of new ones I made use xtool already. xtool doesn't have any fancy switches like -cm0, I tried -t1 to no avail.

I am currently trying all archives to make list of broken ones, I also already installed Win7 under Hyper-V late night and will try more on it later but don't know if environment will be 1:1, maybe xtool is having issues due to memory/exception handling of Win8.1.
Also, I did of course already tried Win7 compatibility(all relevant exe files in chain) as well as running as an admin(real one, enforced through group policy).

If anyone have an idea, I will appreciate it.

Last edited by elit; 19-03-2023 at 06:27.
Reply With Quote
The Following User Says Thank You to elit For This Useful Post:
Razor12911 (20-03-2023)
  #588  
Old 19-03-2023, 07:37
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
Use compatibility mode
Setup.bat
Code:
ECHO OFF
Reg.exe add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe" /t REG_SZ /d "~ DPIUNAWARE WIN7RTM" /f
START Setup.exe
Reg Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe"  /f
Exit
That's interesting, so it seems a known issue. Thank you, I will try later after I scan all my archives and report back. I hope this will really fix it.
Reply With Quote
The Following User Says Thank You to elit For This Useful Post:
Razor12911 (20-03-2023)
  #589  
Old 19-03-2023, 08:03
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
^Unfortunately, putting both freearc.exe and xtool.exe into registry like above did not help.err.png

EDIT: Not all reflate are broken, in fact many are fine. I am starting to see potential pattern but will confirm it later whether its case. Ones with the issue so far are the ones with custom settings, like chunk size -c32m etc., whereas all the good ones are just default -mxtool:reflate so far.

EDIT2: I see the pattern. This error affect both reflate and zlib, when high chunk size(>32mb) is used. This was working fine on Win7. Changing thread number doesn't seem to cut it. And I have same rig with enough memory(16G). I will try few more things but it seems as if Win8.1 is handling memory or relevant functions differently.

EDIT3: Windows 7 under Hyper-V did not help. I still believe archives are good and this is because I don't run under native.

Last edited by elit; 20-03-2023 at 12:42.
Reply With Quote
The Following User Says Thank You to elit For This Useful Post:
Razor12911 (20-03-2023)
  #590  
Old 20-03-2023, 15:27
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,268
Thanked 87 Times in 47 Posts
Gehrman is on a distinguished road
@elit
Increase the size of the Windows page file (pagefile.sys).
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
Razor12911 (20-03-2023)
  #591  
Old 20-03-2023, 16:41
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
could you try isolating the bug and send over the sample that causes xtool to bug out
Reply With Quote
  #592  
Old 20-03-2023, 18:25
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
@Gehrman
I have 16G RAM + 16G swap. I also tried -t1 option. This is certainly not the case of RAM but also not of disk space.

@Razor12911
I have looked into it today and it does look like it may have to do with chunk size. All archives that bugged out had -c more than 32mb(64m, 128m), but those without any option or up to 32m were all fine. Best at this point will be for you to see yourself. I will upload 2 of them + FA whole pack that I use. With that you will be able to understand how I use it and try for yourself. Again this all worked under W7 native install. Also I am sure among those hundreds of archives where ztool was used, there had to be at least several with chunk size >32m and those passed fine(I tested my whole collection).
I will upload things somewhere and post the links by tomorrow.
Reply With Quote
  #593  
Old 20-03-2023, 19:09
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
@Razor12911,
Ok I already found a site that was capable to test my gigabit/hdd limits

Anyway, this link gives you 2 archives and FA bundle:
https://ufile.io/f/hjbf7

In FA bundle, I use freearc.exe(GUI). In bin\_EC\xtool\ directory are the relevant xtool files. Archives use xtool.exe, so you overwrite one of different versions to that. I believe I used v047 most of the time, but can't say for sure which one I used on those archives. However, none of them successfully unpacked under Win8.1.

You will be able to test 1F.arc to the almost end, which confirm that last chain with big chunk size set is the one problematic(see archive info from GUI). Inside 1R.arc is a single file and will bug out at the very beginning.

Please let me know what you think. Also if anyone will be able to unpack those without error, then it would confirm my suspicion about my Win8.1.

EDIT: Also, when creating new archive under Win8.1(same parameters), it will test and extract correctly. I tested it on "1R" content. Still don't believe this to be bitrot/disk corruption etc. More like different OS environment+HW is causing intolerance in between versions. Before I had Win7 and i5-4690K CPU. Now I have Win8.1 and Ryzen 5800X. This is not a good thing if the case, change of HW/OS should not affect decompression reliability.

Last edited by elit; 21-03-2023 at 14:25.
Reply With Quote
  #594  
Old 21-03-2023, 09:05
MAY/O MAY/O is offline
Registered User
 
Join Date: Jan 2023
Location: Earth( I know verry funny)
Posts: 5
Thanks: 6
Thanked 0 Times in 0 Posts
MAY/O is on a distinguished road
Did you ever think about making a linux build?
Reply With Quote
  #595  
Old 24-03-2023, 14:15
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
I once did but it would cause me headaches as a Windows user and as such, the testing would most likely be relegated to Linux users and on this forum, there's really not that many. I mean even tests on Windows are too much for ask for at times
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
MAY/O (17-08-2023)
  #596  
Old 28-03-2023, 07:27
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 264
Thanks: 190
Thanked 323 Times in 118 Posts
elit is on a distinguished road
png bug

With -mpng.. method, xtool may hang, remaining unresponsive. This probably happen with non-png data. For example if doing whole "Data" directory in "Total War: Warhammer 2".

With -mpng though, more than 20k new streams can be found in those .pack(s) and inflation of another 500mb can be achieved.
Test passed without hanging when -c32m was used, but I fear this is more like a workaround/cheating and I fear of using bigger chunks due to risk of not unpacking data sometime in the future again(as it was the case already as mentioned in my posts above).

pngbug.png

EDIT: I have narrowed down which specific file is causing the bug: https://www.udrop.com/7YDG/local_en_2.7z
It is replicable on my comp. Xtool069 fails/hang with reflate+zlib+png:d1 in its own GUI scanner, while it doesn't hang with c32m added.

Last edited by elit; 28-03-2023 at 12:03.
Reply With Quote
  #597  
Old 05-04-2023, 21:16
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 355
Thanks: 124
Thanked 60 Times in 39 Posts
L33THAK0R is on a distinguished road
Are there any switches to disable the 256kb minimum file size for the "Erase" functionality? I've got some tens of thousands of small ~20kb files that I'm trying to rip/erase but alas the minimum limit is making it a bit tricky.
Reply With Quote
  #598  
Old 06-04-2023, 00:24
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
The filter is for bytes, not kilobytes.
Reply With Quote
  #599  
Old 06-04-2023, 09:37
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 355
Thanks: 124
Thanked 60 Times in 39 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
The filter is for bytes, not kilobytes.
Huh, guess I must have messed something else up then!
Reply With Quote
  #600  
Old 20-04-2023, 04:07
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 185
Thanks: 135
Thanked 64 Times in 45 Posts
kj911 is on a distinguished road
Special questions: Hardly ways integrate in last xtool internal (not srep related!) deduplications functions adding to old xtool v0.12 versions?? Or make very tiny xtool compressors, named in xdedup or any names, in has ONE deduplications functions with stdio mode? (No zlib/reflate or many more functions..) Would I make sense?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 07:26
Project Cars Digital Edition (3xDVD5) (srep+lzma) GTX590 PC Games - CD/DVD Conversions 10 28-08-2017 09:34
Project IGI Anthology 1xCD700 CIUV2 2039 mausschieber PC Games - CD/DVD Conversions 0 24-07-2017 16:12
Space Channel 5 Part 2 Translation Project Christuserloeser DC Games 0 21-06-2004 19:16



All times are GMT -7. The time now is 00:29.


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