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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2022, 16:23
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 255
Thanks: 180
Thanked 315 Times in 113 Posts
elit is on a distinguished road
Workaround for ZTool on new computers

So here is what happened today. I was to unpack some PS3 games from my archive backup that I did a time ago. Difference between then and now is that then, I had i5-4690k and now ryzen 5800x. Exact same Win7 with just switched drivers, not reinstalled and working perfect so no issue there.

What happened is that ZTool would remain hanged on processes without using any CPU, therefore unpack would fail(infinite run). I was getting desperate but then I localized this issue to ZTool. Perhaps due to SMT but did not try turning it off in bios. Also, both HW and system is guaranteed stable and have nothing to do with it.

So then thinking about it, I got an idea to disable threading for ztool during unpack, so I put
Code:
:t1
option in arc.ini unpackcmd line. Well guess what, that did it! After this Ztool became perfectly reliable again. It also look like it is probably only needed during decompression, not compression but further testing would be needed.

Bottom line is that if you have older archives that were using ztool, you may need this on new system to be able to unpack! And at least you can still unpack, because of course, if you have those installers or older repacks... good luck. I don't use installers, I archive into 'arc' file using FA GUI and that saved me.

Btw, XTool do not have this issue.

UPDATE:
Option
Code:
:cm0
as suggested by Gehrman seem to be even better way, giving back speed of multi threading without consequences. Thanks!
EDIT: Disabling SMT in bios did not help, above option remain the best solution. For repacks, you should be able to unpack setup.exe with UniExtract2 from github, but to go further on how to put things together to be able to install repack, I have not explored yet.


PS: You can still get an error during unpacking sometimes, just try again as it can be flaky for some archives, however second time you may get a strange error of access/permission deny(despite being admin account), so either unpack another archive(to "reset") and then try problematic one again, or restart whole PC first.

Last edited by elit; 09-06-2022 at 00:34.
Reply With Quote
The Following 2 Users Say Thank You to elit For This Useful Post:
Gehrman (03-06-2022), ScOOt3r (03-06-2022)
Sponsored Links
  #2  
Old 03-06-2022, 17:01
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 38
Thanks: 799
Thanked 44 Times in 19 Posts
Gehrman is on a distinguished road
Also test with cm0.
Code:
ZTool.exe" d:pzlib:t100p:cm0 - - <stdin> <stdout>
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
elit (03-06-2022)
  #3  
Old 04-06-2022, 01:40
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 939 Times in 309 Posts
78372 is on a distinguished road
Quote:
Originally Posted by elit View Post
I had i5-4690k and now ryzen 5800x. Exact same Win7 with just switched drivers, not reinstalled and working perfect so no issue there.
Ryzen 5800x with Win7? Very interesting
__________________
NOT AVAILABLE
Reply With Quote
  #4  
Old 04-06-2022, 02:10
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 255
Thanks: 180
Thanked 315 Times in 113 Posts
elit is on a distinguished road
@78372 On b450m mb its perfectly possible, with all usb3/3.1 ports and everything working fine.
Reply With Quote
  #5  
Old 09-06-2022, 01:05
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 255
Thanks: 180
Thanked 315 Times in 113 Posts
elit is on a distinguished road
I was also curious if @fitgirl repacks are affected so I made some tests. She was using ztool in period of around 1 year between August 2017 to June 2018, with one more appearing in August 2018. This is from relying on her repacks description info.

I also decided to test 2 repacks from her that use pzlib and one that use among the very first xtool version she started using, to isolate case and make sure only ztool is affected.

Specifically I tested:
Code:
pzlib: rime, mgs5:ground zero
xtool: planet coaster
ztool: hob, dark souls 3, little nightmares
And here are results:
Code:
rime, mgs5:gz => both installed successfully
planet coaster => installed successfully
hob, dark souls 3, little nightmares => all 3 installed successfully
I even installed DS3 2x. Apparently, fitgirl repacks are fine. I don't know why they work as the issue described in this thread is real and replicable. I doubt she is limiting threads to 't1' or using 'cm0' option. Maybe she have different version, or is using ztool in different context(in conjunction with different tool chaining, io vs stdin etc..). But it is good news regardless. Make no mistake, issue is real and replicable(by me), but fitgirl's repacks are not affected. Go figure...

EDIT:
- I found that with arc.exe its less affected than FA GUI version. It still happen but not always. arc.exe also close ztool process correctly upon ctrl+c, GUI keep it hanging.
- If unpacking/testing passes, then subsequent ones will be always successful and to make it bug again it need to fail on another archive(buffer memory).
- I also found that with non-GUI FA, if I keep retrying to unpack or test archive then after several failed attempts it will work.
-cm0 always work reliably and on the first go, no issues

This seem IO/threading issue to me, not sure if it happen only when using FA and ztool together, or ztool in general. Hell it could even be FA's problem. I am clueless. Never had any issue on Haswell so I could blame AMD, yet cm0 option work reliably + I know my system and memory are stable.

Last edited by elit; 09-06-2022 at 02:14.
Reply With Quote
The Following User Says Thank You to elit For This Useful Post:
Gehrman (09-06-2022)
  #6  
Old 12-06-2022, 16:17
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 192
Thanks: 16
Thanked 232 Times in 125 Posts
FitGirl is on a distinguished road
I always used

Code:
unpackcmd   = ztool d:pzlib:t100p:cm0 - - <stdin> <stdout>
so that's why they still unpack till the current day.

Last edited by Joe Forster/STA; 13-06-2022 at 11:33.
Reply With Quote
The Following 2 Users Say Thank You to FitGirl For This Useful Post:
elit (12-06-2022), ScOOt3r (12-06-2022)
  #7  
Old 12-06-2022, 17:28
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 255
Thanks: 180
Thanked 315 Times in 113 Posts
elit is on a distinguished road
Quote:
Originally Posted by FitGirl View Post
I always used

unpackcmd = ztool dzlib:t100p:cm0 - - <stdin> <stdout>

so that's why they still unpack till the current day.
Thanks for letting me know, but how come everybody knew about this parameter but not me? I never saw it being discussed and that there was an issue without it in the first place. I mean ztool did actually work fine on my old i5-4690k without cm0. ?
Reply With Quote
  #8  
Old 13-06-2022, 03:01
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 192
Thanks: 16
Thanked 232 Times in 125 Posts
FitGirl is on a distinguished road
I remember vaguely that I discussed something with Razor about instability of unpacking and he told me to use that option, I don't remember the details, but it made installation stable back then.

Guess it also fixed MT issues as well.
Reply With Quote
The Following User Says Thank You to FitGirl For This Useful Post:
elit (13-06-2022)
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
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 09:27
Call of Duty - Deluxe Edition (1xDVD5) sunjo PC Games - CD/DVD Conversions 0 18-12-2018 14:25
Beowulf (DVD9 to DVD5) mondragon PC Games - CD/DVD Conversions 9 26-03-2013 23:06
The Sims 2 + All Expansion Packs CaferGameStudios PC Games - CD/DVD Conversions 2 04-02-2012 13:22
The Sims Medieval DVD9 to 2xDVD5 senseman PC Games - CD/DVD Conversions 6 01-07-2011 03:06



All times are GMT -7. The time now is 18:23.


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