|
|
|
#1
|
|||
|
|||
|
Quote:
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? |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Do you have set the xtool option for custom path in arc.ini? I don't think you can set this option directly from command line.
__________________
Haters gonna hate
|
|
#3
|
|||
|
|||
|
Quote:
In any case, I rarely use Freearc or Arc at the moment. How does changing the arc.ini content help with running xtool properly from the command line? |
|
#4
|
|||
|
|||
|
@brispuss
Ah, there's your issue. XTool is inherently a command line tool, Razor made xtoolui.dll for quick testing. So, in your C:\XTool folder, you will see the ui load because xtoolui.dll is present. This dll is not a dependency to xtool.exe so you can move/delete it and then xtool.exe will function only in console mode. Furthermore, you need the library for precompression to be in the same folder as xtool.exe in order for precompression to work. XTool won't read/search the _libraries folder for compression libraries. So, by having xtool.exe and preflate_dll.dll in a single folder, you will have working precompression. Same goes for zlibwapi.dll for zlib, hif2raw_dll.dll+raw2hif_dll.dll for reflate, libzstd.dll, liblz4.dll etc..... all need to be in the same folder as xtool.exe for those codecs to work. |
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
brispuss (13-05-2024) | ||
|
#5
|
|||
|
|||
|
Quote:
I was coming to the same or at least very similar conclusions as you have after carrying out more tests. I was about to post my findings and comments something similar to yours, but you bet me to it!! ![]() I have deleted the GUI files xtoolui.dll and xtoolui.ini. Moved all the codecs from the _libraries sub folder to the main folder with xtool.exe (C:\xtool\). So, for now, xtool seems to be working as expected. I just have to be extra careful about inputting the correct parameters for xtool to function properly! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| newbie question | bigorangekitty | PS2 Games | 5 | 15-05-2002 16:51 |
| Total newbie...dumb question...patience please! | xxxMikexxx | PC Games | 1 | 02-04-2002 23:19 |
| newbie question | troi22 | PS2 Games | 1 | 28-02-2002 03:18 |
| newbie PAL patch question for Pro Evolution | Purple Cowboy | PS2 Games | 2 | 19-02-2002 12:39 |
| Newbie question...how do I know if the game I've downloaded is Autoboot or not? | konichiwa | DC Games | 1 | 23-11-2000 20:35 |