|
#406
|
||||
|
||||
|
Quote:
Last edited by Cesar82; 13-08-2024 at 18:29. |
| Sponsored Links |
|
#407
|
|||
|
|||
|
after update i can create components and install with Light Installer Script (LIS) - DiskSpan_GUI ?
|
|
#408
|
||||
|
||||
|
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.
|
|
#409
|
||||
|
||||
|
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!
__________________
¤ Life good be a Dream ¤ |
|
#410
|
||||
|
||||
|
Quote:
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. |
|
#411
|
||||
|
||||
|
Quote:
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
__________________
¤ Life good be a Dream ¤ |
|
#412
|
||||
|
||||
|
ThresholdPercent DiskspanGUI
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.
|
|
#413
|
||||
|
||||
|
Quote:
Last edited by Dario06; 18-09-2024 at 11:14. |
| The Following User Says Thank You to Dario06 For This Useful Post: | ||
Cesar82 (18-09-2024) | ||
|
#414
|
||||
|
||||
|
Fix to WinRAR and 7-Zip methods attached.
|
| The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
Lord.Freddy (22-09-2024), mausschieber (21-09-2024) | ||
|
#415
|
||||
|
||||
|
if start it shows Unpacker gui
__________________
It would be nice if you appreciate my work with the thanks Button Last edited by mausschieber; 21-09-2024 at 12:53. |
|
#416
|
||||
|
||||
|
replace in unpacked dsg 2.0.2.1 folder of the first post.
Last edited by Cesar82; 21-09-2024 at 14:03. |
| The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
mausschieber (21-09-2024), pcblizzard (28-09-2024) | ||
|
#417
|
||||
|
||||
|
Gtav
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: |
|
#418
|
||||
|
||||
|
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
__________________
Haters gonna hate
|
|
#419
|
|||
|
|||
|
works for Windows Server 2022?
Last edited by IRAQIGHOST; 18-10-2024 at 10:18. |
|
#420
|
||||
|
||||
|
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
|
![]() |
| Tags |
| cls-diskspan, compressor, diskspan, diskspan_gui |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use diskspan bat | mausschieber | Conversion Tutorials | 13 | 14-01-2026 19:20 |
| DiskSpan on Linux | hydefromt70s | Conversion Tutorials | 1 | 15-10-2020 07:12 |
| DiskSpan FreeArc returns an error | Titeuf | Conversion Tutorials | 2 | 18-07-2020 01:46 |
| CIU 3.0.0.0.u3 (2019-03-28) - Diskspan Issues | mesut28 | Conversion Tutorials | 17 | 30-03-2019 02:28 |
| R.G. Gamers DiskSpan | Simorq | Conversion Tutorials | 1 | 28-10-2017 08:22 |