Thread: DiskSpan GUI
View Single Post
  #342  
Old 27-04-2024, 09:37
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Tigru View Post
So I did some tests, I used the same method with "+srep_new:393b" removed and the compression worked with no errors.

Then I removed "-hash-" from "Resources\Win64\DSG_Arc.ini" and tried the same method with srep included. I still got the same error as before.
Firstly, thanks to @mausschieber for the tests.
@Tigru, ould you test the hotfix and let me know if it resolved your errors?

Apparently the problem was in the function that saves the "fake parameter" settings.
P.S: "Fake parameters" are additional parameters that the "DiskSpan GUI" uses to know which file to use, these "fake parameters" are removed from the command line before compression.

In version 2.0.2.0+ of DiskSpan GUI, when closing DiskSpan GUI on the first run it saves several files in the "Resource\SETTINGS" folder (these lists take time to be created when starting DiskSpan GUI), so when running these lists again they will be re -created and the DiskSpan GUI will run faster.

The list of "fake parameters" uses Inno Setup's native "SaveStringsToFile" function to save an "array of string" that contains fake parameter information to a text file in the settings folder (Specifically the "02020000.dsg" file in x64 mode or "00020000.dsg" in x32 mode).

For some reason, or due to low administrative rights, this list saving is saving an empty file on some systems.
All the other 21 lists are stored in an object of the "TStringList" class and are saved using the "TStringList" class function itself and apparently in these lists there was no error when saving (For me, all lists are saved normally, including the one with fake parameters ).

If it still fails, you can test it by changing the value of the key SaveSettings=1 in the [SETTINGS] section of the "DSG_Methods.ini" file in the "Resource > Win32 or Win64" folder to the value "0", this way it will not be saved settings, and all lists will be created each time you launch the DiskSpan GUI.

Let me know if you solved the problem, and if everything is ok and I will re-upload it in the first post with the correction already included.

EDIT:
Removed attachment hotfix 1...
Re-uploaded DiskSpan GUI 2.0.2.0 with last hotfix in first post.
- Added "_CONSOLE (x86).bat" in separate versions of DSG (32-bits).

Last edited by Cesar82; 28-04-2024 at 09:19. Reason: e-uploaded DiskSpan GUI 2.0.2.0 with last hotfix in first post
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
mausschieber (28-04-2024), Tigru (28-04-2024)