|
#512
|
|||
|
|||
|
This clarification is true , i have tested both XTOOL & ZTOOL on clean fresh operating systems & only ZTOOL needs Visual C++ 2010 & 2013 libs while compressing & decompressing
__________________
Paint me white so i can invisibly fight in the light...paint me black so i can hide my tears in the shadow of your heart. |
|
#513
|
|||
|
|||
|
But can I somehow do this to put the folder to check xtool and the files in which the zlib... streams were hoped for example were displayed in a separate list?
|
|
#514
|
|||
|
|||
|
Hi Razor, I apologize for not having enough time recently to participate despite my promises, but now I have something to share since I am repacking FFXIII series. Looks like ztool is still more reliable choice for now, at least when it comes to zlib. xtool is not detecting/inflating zlib-compressed file from FFXIII at all, it does inflate at deflate :m2 option but even then slightly less than ztool. Ztool on the other hand both zlib(:m1) and deflate(:m2) reliably inflate file, with :m2 even slightly more(but even :m1 inflate 5mb more than xtool :m2). Anyway, here goes screenshots:
1.png 2.png 3.png This is with v0.12, I don't know if it was fixed already or not. Anyway hope it help & best regards, if I find more during repacks I will post. EDIT: Noticed yet another xtool thread. Not sure why there are so many for same tool but whatever, so I tried that version with zlib and rzlib options and it does seem to be working. Although cmd command piping is broken in that version and so doesn't work with lzscan's stdio (aka: "cmd | xtool | cmd"). Last edited by elit; 05-08-2019 at 14:53. |
|
#515
|
||||
|
||||
|
Quote:
As for stdio, well I didn't change anything there so pipes should work because if that was the case then xtool should also not work for Freearc |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
ShivShubh (24-11-2019) | ||
|
#516
|
|||
|
|||
|
Quote:
err.png err2.png On second pic you can see commented(green) line - that was for xtool 0.12 and it would work. This is script from lz_scan which if you need as whole tool to check you can download on this site. On top of it, I can also confirm that unlike v0.12, v1908 will inflate if used on files directly. About 1mb less than ztool, but that's not a big deal now. So yes, v1908 will inflate unlike v0.12 without needing deflate, but also broke pipes. Last edited by elit; 06-08-2019 at 06:32. |
|
#517
|
||||
|
||||
|
you have to specify - - for stdio
I only see "xtool.exe precomp:zlib", should be "xtool.exe precomp:zlib - -" Last edited by Razor12911; 07-08-2019 at 17:11. |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
ShivShubh (24-11-2019) | ||
|
#518
|
|||
|
|||
|
Those " '|' (xtool) '|' " characters are pipes, that's how you pass data between programs and its is well known standard. Normally, you wouldn't never use '-'-' additionally in such case but I will try something like "cmd | xtool - - | cmd" later and let you know. Again v0.12 and ztool work fine like this.
|
|
#519
|
|||
|
|||
|
Ok I can confirm that if I use "cmd | xtool precomp:zlib - - | cmd" then it work. Although '- -' should normally not be necessary in this type of syntax, at least it works. Thank you for a great tool.
|
|
#520
|
||||
|
||||
|
Quote:
The usage for xtool goes like this xtool command input output "-" denotes stdin/stdout depending where you put it. This is how I have written it Code:
if ParamArg[2] = '-' then
Output := THandleStream.Create(GetStdHandle(STD_OUTPUT_HANDLE))
else
Output := TFileStream.Create(ParamArg[2], fmCreate);
Quote:
is because what if you can accept input as stdin then the next program requires an existing file it then becomes something like this xtool command - output or if input is a file and output is required as stdout it becomes xtool command input - if pipes are involved it means stdin and stdout takes place which is why it is xtool command - - Last edited by Razor12911; 08-08-2019 at 15:35. |
|
#521
|
|||
|
|||
|
Yes I understand and its not a big deal so feel free to leave it as is.
From what I know common practice in apps is to assume both stdin and stdout if both filenames are omitted, while if only one stream is std as you pointed out then '-' have to be used to differentiate. |
|
#522
|
||||
|
||||
|
Uhh bosses is the v9 of xtool is more stable or better or what than other version of the tool...cause many repacker been using this version of the tool
Thanks in advance for the desired answer |
|
#523
|
||||
|
||||
|
Quote:
__________________
Haters gonna hate
|
|
#524
|
|||
|
|||
|
It's the most stable atm. Xtool 2019 is currently in active development, has bugs and I wouldn't recommend it for daily use or for public repacks. Wait until Razor will fix all major issues.
|
|
#525
|
||||
|
||||
|
AtAt first of all thanks mr.Kator for youpc answer indicating reply... and also thanks Mrs.Fitgirl..
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Information about ZTool | 78372 | Conversion Tutorials | 72 | 10-10-2019 06:27 |
| ztool info | doofoo24 | Conversion Tutorials | 2 | 24-12-2017 22:08 |
| ZTool (Ultimate Precompressor) | Razor12911 | Conversion Tutorials | 16 | 20-07-2017 07:56 |