FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   DiskSpan GUI (https://fileforums.com/showthread.php?t=104507)

PHM2D 04-08-2024 16:36

Just wanted to inform that optional files as components work great with ASIS. I set the same component numbers in both DSG and ASIS and it looks better than tasks actually :)

demon964 05-08-2024 03:49

Quote:

Originally Posted by PHM2D (Post 505191)
Just wanted to inform that optional files as components work great with ASIS. I set the same component numbers in both DSG and ASIS and it looks better than tasks actually :)

Thanks, worked now. Can you check private message please

Cesar82 12-08-2024 08:28

DiskSpan GUI v2.0.2.1
 
Updated DiskSpan GUI to v2.0.2.1 in the first post.
Code:

- Changed DiskSpan GUI interface to a more compact size.
  >> Now allows you to use the DiskSpan GUI at lower resolutions or higher magnification scales without cropping the interface.
- Added support for including a header image in the DiskSpan GUI (to spruce things up).
  >> Supports adding an image named "Header.<ext>" with extensions ".png" or ".jpg" or ".bmp" or ".gif" (without animation) inside the "Resources" folder.
  >> Some options can be configured in DEVELOPER mode or by manually editing the [HeaderSettings] section of the "Resources\DSG_Settings.ini" file generated after the first run of the DiskSpan GUI.
- Added new option to create list of instaled files during the instalation (only to compatibles installers).
- Added XTool BMS plugin "Alan Wake 2".
- Added XTool plugin "Ghost Of Tsushima".
- Updated XTool precompressor from v0.8.7 to v0.8.9
- Updated LZMA SDK compressor from v23.01 to v24.07 (2024-06-19).
- Updated 7-Zip compressor from v23.01 to v24.07 (2024-06-19).
- Updated UnRAR.exe/UnRAR.dll decompressor from v7.00 to v7.01 (DLL 7.1.100.1230).
- Updated CmdOutEx.dll library (internal) to v1.0.0.2 build 240429.
- Updated DiskSpan GUI database to version 1.0.9.0 (Thanks to KaktoR).
  >> Now with 428 game presets and 31 collection presets (64-bits).
  >> Now with 37 game presets and 8 collection presets (32-bits).
- Fixed create/delete files from SETTINGS folder on add/edit DSG_External.ini file.
- Fixed some minor bugs.


Anonymous0000 13-08-2024 06:53

Quote:

Originally Posted by Cesar82 (Post 505263)
Updated DiskSpan GUI to v2.0.2.1 in the first post.
Code:

- Changed DiskSpan GUI interface to a more compact size.
  >> Now allows you to use the DiskSpan GUI at lower resolutions or higher magnification scales without cropping the interface.
- Added support for including a header image in the DiskSpan GUI (to spruce things up).
  >> Supports adding an image named "Header.<ext>" with extensions ".png" or ".jpg" or ".bmp" or ".gif" (without animation) inside the "Resources" folder.
  >> Some options can be configured in DEVELOPER mode or by manually editing the [HeaderSettings] section of the "Resources\DSG_Settings.ini" file generated after the first run of the DiskSpan GUI.
- Added new option to create list of instaled files during the instalation (only to compatibles installers).
- Added XTool BMS plugin "Alan Wake 2".
- Added XTool plugin "Ghost Of Tsushima".
- Updated XTool precompressor from v0.8.7 to v0.8.9
- Updated LZMA SDK compressor from v23.01 to v24.07 (2024-06-19).
- Updated 7-Zip compressor from v23.01 to v24.07 (2024-06-19).
- Updated UnRAR.exe/UnRAR.dll decompressor from v7.00 to v7.01 (DLL 7.1.100.1230).
- Updated CmdOutEx.dll library (internal) to v1.0.0.2 build 240429.
- Updated DiskSpan GUI database to version 1.0.9.0 (Thanks to KaktoR).
  >> Now with 428 game presets and 31 collection presets (64-bits).
  >> Now with 37 game presets and 8 collection presets (32-bits).
- Fixed create/delete files from SETTINGS folder on add/edit DSG_External.ini file.
- Fixed some minor bugs.


There's an error when opening up x64 developer mode: DiskSpan_GUI v2.0.2.1 (x64).7z

looks like exe naming error

mausschieber 13-08-2024 07:19

Quote:

Originally Posted by Anonymous0000 (Post 505271)
There's an error when opening up x64 developer mode: DiskSpan_GUI v2.0.2.1 (x64).7z

looks like exe naming error

it's not really an error rename DiskSpan_GUI_64.exe to DiskSpan_GUI.exe
then it works

Cesar82 13-08-2024 18:23

Quote:

Originally Posted by Anonymous0000 (Post 505271)
There's an error when opening up x64 developer mode: DiskSpan_GUI v2.0.2.1 (x64).7z

looks like exe naming error

Download fixed bat files HERE and replace.

demon964 14-08-2024 10:32

after update i can create components and install with Light Installer Script (LIS) - DiskSpan_GUI ?

Cesar82 14-08-2024 16:32

Quote:

Originally Posted by demon964 (Post 505289)
after update i can create components and install with Light Installer Script (LIS) - DiskSpan_GUI ?

Using components as additional items with only one game will require waiting for the next LIS update. I will update this weekend. Only the CIU has been updated so far for the latest DSG changes.

Lord.Freddy 16-08-2024 07:07

3 Attachment(s)
Hi Cesar82,
I recently created a form in Inno Setup that works with any DPI using a custom scaling function. I’m sharing this with you because I noticed you’re experiencing issues with the correct scaling of "DiskSpanGUI" across different DPI settings, and I believe my solution could help.
Below, you'll find a simple form that demonstrates the difference between default scaling and custom scaling. Please give it a try, and let me know if it works for you!

Cesar82 16-08-2024 07:55

1 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 505315)
Hi Cesar82,
I recently created a form in Inno Setup that works with any DPI using a custom scaling function. I’m sharing this with you because I noticed you’re experiencing issues with the correct scaling of "DiskSpanGUI" across different DPI settings, and I believe my solution could help.
Below, you'll find a simple form that demonstrates the difference between default scaling and custom scaling. Please give it a try, and let me know if it works for you!

Thanks for the support...
I've already tested something with custom scale but it doesn't work. It just makes DSG slower than if I use ScaleX and ScaleY to create all the forms.

It's not that.
The problem is that the DSG was the size of the screen and when applying the 150% scale, for example, it highlights the HEIGHT size of the monitor and is not drawn larger than the monitor's resolution.
The same happens with your script, see the attached video.

Lord.Freddy 17-08-2024 03:21

Quote:

Originally Posted by Cesar82 (Post 505316)
Thanks for the support...
I've already tested something with custom scale but it doesn't work. It just makes DSG slower than if I use ScaleX and ScaleY to create all the forms.

It's not that.
The problem is that the DSG was the size of the screen and when applying the 150% scale, for example, it highlights the HEIGHT size of the monitor and is not drawn larger than the monitor's resolution.
The same happens with your script, see the attached video.

How about this?, This works perfectly for me.
Code:

#define DEBUG 0

[Setup]
AppName=SimpleForm
AppVerName=SimpleForm
CreateAppDir=no
OutputDir=.\
OutputBaseFilename=SimpleForm_CustomScale
[/Setup]

#Include AddBackslash(SourcePath) + "Module\ISSystemInfoModule.iss"

[_Code]
const
  DEFAULT_DPI = 96; // Default DPI (96 DPI is 100%)

function ScaleFontSize(Value: Integer): Integer;
var
  CurrentDPI: Integer;
begin
  CurrentDPI := GetDisplayVerticalDPI;
  Result := Round((((DEFAULT_DPI * 100) div CurrentDPI) * Value) div 100);
end;

function GetTextWidth(aText: String; aFont: TFont): Integer;
var
  Bmp: TBitmap;
begin
  Bmp := TBitmap.Create;
  try
    Bmp.Canvas.Font.Assign(aFont);
    Result := Bmp.Canvas.TextWidth(aText);
  finally
    Bmp.Free;
  end;
end;

function GetTextHeight(aText: String; aFont: TFont): Integer;
var
  Bmp: TBitmap;
begin
  Bmp := TBitmap.Create;
  try
    Bmp.Canvas.Font.Assign(aFont);
    Result := Bmp.Canvas.TextHeight(aText);
  finally
    Bmp.Free;
  end;
end;

function InitializeSetup: Boolean;
var
  SF: TSetupForm;
  SFP: TPanel;
begin
  SF := CreateCustomForm;
  with SF do
  begin
    ClientWidth := 1000;
    ClientHeight := 1350;
    Position := poDesktopCenter;
    Caption := 'CustomScale';
    BorderStyle := bsSingle;
    BorderIcons := [biSystemMenu, biMinimize];
    SFP := TPanel.Create(SF);
    with SFP do
    begin
      Parent := SF;
      Align := alClient;
      BevelInner := bvNone;
      BevelOuter := bvNone;
      Caption := 'Simple Form';
      Font.Style := [fsBold];
      Font.Size := ScaleFontSize(26);
      TabOrder := 0;
    end;
    with TLabel.Create(SF) do
    begin
      Parent := SFP;
      AutoSize := False;
      Caption := 'Simple Form';
      Font.Style := [fsBold];
      Font.Size := ScaleFontSize(99);
      Width := GetTextWidth(Caption, Font);
      Height := GetTextHeight(Caption, Font);
      Left := 10;
      Top := SF.ClientHeight - Height - Left;
      Transparent := False;
      Color := clYellow;     
    end;
    ShowModal;
  end;
  Result := False;
end;
[_/Code]

#if DEBUG
  #expr SaveToFile(AddBackslash(SourcePath) + "SimpleForm_PREPROCESSED.iss")
#endif


ahmetbtmn 17-09-2024 23:54

ThresholdPercent DiskspanGUI
 
1 Attachment(s)
Hi everybody ( especially Cesar :) ). How can we provide this ThresholdPercent feature in ultraarc for DiskSpan_GUI? Since the game file sizes are very large, it also takes up a lot of space while defragmenting appdata. Errors occur during installation as a result of insufficient RAM usage and disk. If we can activate this feature, we can get better performance and fewer installation errors in Win7 and low RAM usage.

Dario06 18-09-2024 11:08

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 492985)
DiskSpan GUI:
It is a tool developed to work together with CLS-DiskSpan.dll (by Razor12911) to create compressions using external compressors preconfigured in an ".ini" file.
It now supports 32-bit and 64-bit compressors again and can also work on 32-bit systems.

INFORMATION:
- With DiskSpan GUI it is possible to configure a collection of games with specific methods predefined for each game.
- You can create collections of up to 254 games and include up to 254 compressed files for each game.
- It is also possible to predefine several methods for each compressed file.
- Allows loading configurations with the best compression methods for a given game from a database created from information shared by users.
- It also allows the use of file inclusion and exclusion lists for each compressed file or for each game.
- It is also possible to use the "SPLIT" mode which splits the file after compression and before decompression it will be merged again.
This SPLIT mode is useful because it allows you to create masked compressions that are not supported by CLS-DiskSpan.dll.
But it is important to note that you will need extra free temporary disk space (the size of the largest compressed file) to merge the parts during installation.

SETTINGS:
To configure DiskSpan GUI, run "_Developer MODE.bat" file or hold "CTRL" key while running DiskSpan_GUI.exe and only release "CTRL" after DiskSpan GUI window appears.
After making the settings, click on the save button and wait for it to finish.
P.S: Do not run multiple instances in configuration mode because closing the last one will overwrite the settings.

NOTES:
- Added compact version to allow people who had problems with the interface cropping in the normal version when using resolutions below FULL HD or using Windows display scales above 100% to take advantage of this tool.
- The list of supported installers is in #post3.
- Read the changelog to stay on top of the latest changes.
- The scripts need to be updated to support use al resources of the DiskSpan GUI 2.0.2.1+ so we will maintain DiskSpan GUI 2.0.1.9 and DiskSpan GUI 2.0.2.0 for some time.
- Included along with DiskSpan GUI a simplified script example (ISDone modified script example).
. * With the example script ISDone users who want to include DiskSpan GUI support in their installers can more easily understand the necessary changes.
- You can delete the unused folder ("Win32" or "Win64") from within the "Resources" folder to reduce the size for sharing your conversion.
- In #post2 you will find separate versions of the DiskSpan GUI (32-bits) or (64-bits) for those who don't want additional files that they won't use.
- If you rename the file "DiskSpan_GUI.exe/DiskSpan_GUI (compact).exe" to "DiskSpan_GUI (x86).exe/DiskSpan_GUI (compact) (x86).exe" or "DiskSpan_GUI (x64).exe/DiskSpan_GUI (compact) (x64).exe" it will run in the mode specified by the name.

7zip compress not working "lzma2 Ultra"

Cesar82 21-09-2024 11:19

1 Attachment(s)
Quote:

Originally Posted by Dario06 (Post 505612)
7zip compress not working "lzma2 Ultra"

Fix to WinRAR and 7-Zip methods attached.

mausschieber 21-09-2024 12:39

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 505634)
Fix to WinRAR and 7-Zip methods attached.

if start it shows Unpacker gui

Cesar82 21-09-2024 14:00

Quote:

Originally Posted by mausschieber (Post 505636)
if start it shows Unpacker gui

replace in unpacked dsg 2.0.2.1 folder of the first post.

Dario06 09-10-2024 12:09

Gtav
 
1 Attachment(s)
hello cesar!
hello everyone...
There is a compression to reduce GTA5 to 90-100GB, with fast extraction, I used the Tool with Srep+lzma2 but I have 110GB of 142GB, I would like to get to 90-100GB with the same speed

I used:

KaktoR 09-10-2024 12:18

Code:

bpk+xtool:mzlib:mpreflate:dd3+LZMA-MT

Overall input size: 112.81 GB
Overall output size: 66.36 GB (Ratio 58.83%)
Overall conversion time: 03:28:36

I think without bpk it is a bit faster but size is also bigger then.

IRAQIGHOST 18-10-2024 09:24

works for Windows Server 2022?

Dario06 18-10-2024 12:57

DiskSpan error not always
 
the diskspam CLS_DISKSPAN_R3 by razor with bat, it works like a god for me, diskspam gui every now and then gives me an unarc error, at least 2 out of 10, I can't understand, maybe the ram is not managed well, I don't know

dyren 25-10-2024 11:51

Quote:

Originally Posted by IRAQIGHOST (Post 506015)
works for Windows Server 2022?

i used it on win server 2019, worked fine, so ig it will also work fine on win server 2022

fabrieunko 05-11-2024 10:30

hello in dsg what happens when you check GOG? and of course on a GOG game is it important to do so?

Cesar82 06-11-2024 01:06

Quote:

Originally Posted by fabrieunko (Post 506218)
hello in dsg what happens when you check GOG? and of course on a GOG game is it important to do so?

DSG only includes information in Records.ini about the type of installer that was chosen during compression.
So when you install using installers that support the feature, such as CIU, the installer will read this information and depending on the type you can configure, for example, registry entries with the value "check: IsGogGame" so if you chose GOG during compression, the installer will add the keys to the registry. This option is intended for installers for multiple modes.
EXAMPLE: steam+gog in the same installer, allowing only to include registry keys if you chose gog during compression.

fabrieunko 12-11-2024 23:38

Hello, as is often the case, I forget to copy the 'conversion_log' file to put it aside if I need to redo it with new parameters or to copy it here on the site for information. So is it possible that the 'conversion_log.log' file instead bears the name of the game like 'Conversion_namegame_log.log' which would mean that it would not be automatically deleted? unless this option exists but I haven't seen

Cesar82 13-11-2024 08:23

Quote:

Originally Posted by fabrieunko (Post 506258)
Hello, as is often the case, I forget to copy the 'conversion_log' file to put it aside if I need to redo it with new parameters or to copy it here on the site for information. So is it possible that the 'conversion_log.log' file instead bears the name of the game like 'Conversion_namegame_log.log' which would mean that it would not be automatically deleted? unless this option exists but I haven't seen

I can do the same name as the conversion.
The name of the game if it is a collection will have more than one name, so the LOG will be with the name of the conversion (DSG Title) and not the game.

fabrieunko 13-11-2024 08:36

Quote:

Originally Posted by Cesar82 (Post 506259)
I can do the same name as the conversion.
The name of the game if it is a collection will have more than one name, so the LOG will be with the name of the conversion (DSG Title) and not the game.


yes is perfect

nachitoponce1419 16-11-2024 10:10

Hello, does anyone have a guide on how to use Developer mode?

wareck 16-11-2024 10:37

yes, go to "how to use diskspan"...

LILU 22-11-2024 12:14

Good afternoon. How to update 7-zip in DiskSpan GUI?

KaktoR 23-11-2024 07:00

Just replace exe ...

0x001 04-12-2024 18:51

bro When I create checksum file, the file does create

dyren 05-12-2024 08:05

Quote:

Originally Posted by 0x001 (Post 506431)
bro When I create checksum file, the file does create

the checksum file is added to Setup.dll.

Cesar82 05-12-2024 15:07

DiskSpan GUI v2.0.2.2
 
1 Attachment(s)
Updated DiskSpan GUI to v2.0.2.2 in the first post.
Code:

- Added support to new XTool "gdeflate" codec using "mgdeflate".
- Added precompressor OdleRec patched version (poo2reck, poo2recm, poo2recs).
- Added new compressor option SREP 4.90g-wip (srep_3.92, srep_3.93, srep_3.93a, srep_4.90g).
- Added option in developer mode to set a path with temporary files as decompressors to be included in Setup_DLL for processing purposes after installation.
- Updated 7-Zip compressor from v24.07 to v24.09 (2024-11-29).
- Updated LZMA SDK compressor from v24.07 to v24.09 (2024-11-29).
- Updated "dsgcall.dll" library with useful functions to create custom callbefore/callafter executables.
- Updated DiskSpan GUI database to version 1.0.9.6 (Thanks to KaktoR, this is possibly the last database update made by KaktoR).
  >> Now with 460 game presets and 34 collection presets (64-bits).
  >> Now with 37 game presets and 8 collection presets (32-bits).
- Fixed some minor bugs.

INFO: This is possibly the last database update made by KaktoR.

EDIT:
- Added attachment Oodle_Libs.7z with oodle library 2.9.12 (lib2) from "Indiana Jones and the Great Circle" and oodle library 2.9.2 (lib3) from "DA:Veilguard".
Code:

Replace Oodle_Libs.7z inside DSG folder:
"..\Resources\Win64\ADDONS\Libraries\Oodle\Oodle_Libs"

Use cmdline parâmetter like:

xtool:m<oodlecodec>:core_2.9.12:lib_2:dd3...
xtool:m<oodlecodec>:core_2.9.2:lib_3:dd3...


Anonymous0000 29-12-2024 06:19

---------------------------
DiskSpan GUI™
---------------------------
The file available for download cannot be downloaded.

Do you want to try again now?
---------------------------
Yes No
---------------------------

I got this error when trying to compress with Witcher 3 preset. The error appears to be happening when attempting to download quickBMS, what is that?

Cesar82 29-12-2024 11:30

1 Attachment(s)
Quote:

Originally Posted by Anonymous0000 (Post 506543)
---------------------------
DiskSpan GUI™
---------------------------
The file available for download cannot be downloaded.

Do you want to try again now?
---------------------------
Yes No
---------------------------

I got this error when trying to compress with Witcher 3 preset. The error appears to be happening when attempting to download quickBMS, what is that?

Please use the hotfix attached to this post.

Cesar82 01-01-2025 08:34

DiskSpan GUI v2.0.2.2 (HF2)
 
1 Attachment(s)
Replace files inside DSG 2.0.2.2 folder and accept the replacement of the DSG_Methods.ini file on the first run.
Code:

- Changed the database updates from Google Drive to Dropbox because Google Drive reports a false positive for a virus and if you add a password the download cannot be done directly.
NOTES:
Previous versions of DSG no longer support database updates because the system has changed, and the url has changed.

fabrieunko 12-01-2025 07:19

Hello, I have a question about the use of: uninstall files list
what is the best option to choose?

Don't Create list
export Data list
create single list
create complete list
create list on install

thx

Cesar82 12-01-2025 08:24

Quote:

Originally Posted by fabrieunko (Post 506584)
Hello, I have a question about the use of: uninstall files list
what is the best option to choose?

Don't Create list
export Data list
create single list
create complete list
create list on install

thx

export Data list:
Exports the list of files from already compressed ARC/ZIP/RAR archives. Names containing non-ANSI characters will not be listed correctly (Example, if there is a file named with Cyrillic characters)

create single list:
Scans the selected folder for compression, using the same file inclusion and exclusion masks to compile the list. This takes some extra time after compressing each Data#.bin file, but has full support for non-ANSI characters.

create complete list:
It scans similarly to the "create single list" option, but includes the file size in bytes and the file hash (separated by the "|" character) before the file name like example below.
This option is only recommended if your modified installer version needs to use the hash or file size for some additional functionality. To get the name you will need to trim the string until after the last "|" character (DSG_Module.iss does this).
Code:

[Record1]
              0|00000000|{app}\CallBefore CallAfter (Maker)
          4144|e8031e4c|{app}\CallAfter.bat
          22486|5ee47c06|{app}\CallBefore CallAfter (Maker)\52355204.ico
          15858|2ba26292|{app}\CallBefore CallAfter (Maker)\CallBefore or CallAfter.iss
        1624854|40932285|{app}\CallBefore CallAfter (Maker)\CallBefore.exe
            84|12855359|{app}\CallBefore CallAfter (Maker)\desktop.ini
        323072|b7ea8669|{app}\CallBefore CallAfter (Maker)\dsgcall.dll
        124928|d1dd843d|{app}\CallBefore CallAfter (Maker)\dsgcall_upx.dll
          22486|5ee47c06|{app}\CallBefore CallAfter (Maker)\Icon.ico
        1510684|0cc2ab45|{app}\CallBefore CallAfter (Maker)\TMemoWindow.exe
          4160|b8a58512|{app}\CallBefore.bat
        637721|87009166|{app}\CallBefore.exe
            34|97ab8d5f|{app}\Exclude1.txt
              1|dbbbc9d6|{app}\Include1.txt
              5|39eb65ce|{app}\Include2.txt

create list on install:
This option tells the compatible installer that it should generate the list of file and directory names. Then, the compatible installer (which uses DSG_Module.iss), before starting the installation, will generate a list of each installation folder (also for unpacking Data#bin in optional folders) to store the existing files. After the installation, the installer will generate a new list of these same folders, but omitting the files that already existed before the installation.

CONCLUSION:
- The "create list on install" option is less recommended because you will lose some extra time each time you install, because the list will not be ready before installing. The other options include the list in the Setup_DLL file during compression.
- For use only to uninstall the game, the "create single list" option is more recommended because it is faster to generate, is ready every time you install, and also includes support for all file name

coolmohit000001 26-01-2025 07:18

When using licenced WinRAR (7.01 version) it gives error like

- Method ARC/DS to Data1a-01.bin file: ERROR (-m5-md32g-s method is not supported)

coolmohit000001 26-01-2025 07:20

WinRAR is not working and gives error like below:

GENERAL INFO:
- Clear output folder before conversion: NO
- Create ISO images after finish: NO
- Shutdown system after finish: NO
- Test files after compression: NO

OUTPUT INFO:
- Selected media type: UNLIMITED
- Output directory: Conversion_Output

GAME DIRECTORY:
- Directory to Unknown 1: D:\GTA 5 Add-on Carpack Part 2

SELECTED METHOD:
- Method ARC/DS to Data1a-01.bin file: ERROR (-m5-md32g-s method is not supported)


All times are GMT -7. The time now is 01:34.

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