View Single Post
  #146  
Old 12-05-2024, 02:39
brispuss brispuss is offline
Registered User
 
Join Date: Nov 2019
Location: Petone
Posts: 49
Thanks: 12
Thanked 2 Times in 2 Posts
brispuss is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
No idea, I use command line too and it works fine for me:

Code:
xtool precomp -mpng+preflate -d1 Hint.png Hint.png.xtool
XTool is created by Razor12911

Version 0.8.7

Streams: 2 / 2
Time: 00:00:01 (CPU 00:00:00)

Size: 3.47 MB >> 12.3 MB
I have attached my working files below + a bat file if you want to have a go:
https://www.upload.ee/files/16621022/Test.7z.html
Thanks for this!

I downloaded and installed your copy of xtool.exe and preflate_dll.dll to a temporary directory for testing (D:\test).

My original xtool.exe and associated files are located within the C:\xtool directory.

PATH to the original installation of xtool (C:\xtool) was added to the Environment Variables.

PATH to D:\xtool was NOT done to avoid conflict between my original version of xtool and this downloaded version of xtool.

I compared both xtool.exe and preflate_dll.dll files from my original installation (C:\xtool) to the same files within the test directory (D:\test). Both files match precisely.

I ran a manual command line test (xtool precomp -mpng+preflate -d1 Hint.png Hint.png.xtool) for the test directory version of xtool, and it successfully expanded the Hint.png file to Hint.png.xtool to 12,858,367 bytes!

I then ran another manual command line test for xtool.exe in the D:\test directory. Followed by a manual command line test for xtool.exe in the C:\xtool directory. Outputs from this test was different. Refer to enclosed screenshots for details.

This is the contents of the temporary test directory D:\test

test contents

This is the contents of the original installation directory C:\xtool

installation contents

This is the result of xtool.exe test from the temporary test directory D:\test

xtool test from test directory

This is the result of xtool.exe test from the original installation directory C:\xtool

xtool test from installation directory

Tried to attach screenshots directly, but result was very messy layout! So had to upload screenshots to image server instead (sorry).

The results for the xtool.exe tests are different as can be seen in the screenshots. So despite the two xtool executables (xtool.exe) being exactly the same, their outputs do not match!?

It should be noted that the preflate_dll.dll file for the original installation is located within the _libraries sub folder of C:\xtool ie located here - C:\xtool\_libraries.

Further comments, please?
Reply With Quote