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)

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


All times are GMT -7. The time now is 17:58.

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