Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #406  
Old 13-08-2024, 06:53
Anonymous0000 Anonymous0000 is offline
Registered User
 
Join Date: Feb 2022
Location: Mars
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Anonymous0000 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
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
Reply With Quote
Sponsored Links
  #407  
Old 13-08-2024, 07:19
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 3,560
Thanks: 5,568
Thanked 9,970 Times in 2,623 Posts
mausschieber is on a distinguished road
Quote:
Originally Posted by Anonymous0000 View Post
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
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #408  
Old 13-08-2024, 18:23
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,010
Thanks: 1,707
Thanked 2,164 Times in 736 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Anonymous0000 View Post
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.

Last edited by Cesar82; 13-08-2024 at 18:29.
Reply With Quote
  #409  
Old 14-08-2024, 10:32
demon964 demon964 is offline
Registered User
 
Join Date: Feb 2014
Location: Azerbaijan
Posts: 28
Thanks: 1
Thanked 4 Times in 3 Posts
demon964 is on a distinguished road
after update i can create components and install with Light Installer Script (LIS) - DiskSpan_GUI ?
Reply With Quote
  #410  
Old 14-08-2024, 16:32
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,010
Thanks: 1,707
Thanked 2,164 Times in 736 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by demon964 View Post
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.
Reply With Quote
  #411  
Old 16-08-2024, 07:07
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: In Forest
Posts: 46
Thanks: 191
Thanked 30 Times in 21 Posts
Lord.Freddy is on a distinguished road
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!
Attached Images
File Type: jpg 96.JPG (17.6 KB, 73 views)
File Type: jpg 120.JPG (21.8 KB, 70 views)
Attached Files
File Type: zip Simple Form.zip (7.3 KB, 4 views)
__________________
¤ Life good be a Dream ¤
Reply With Quote
  #412  
Old 16-08-2024, 07:55
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,010
Thanks: 1,707
Thanked 2,164 Times in 736 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Lord.Freddy View Post
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.
Attached Files
File Type: rar video.rar (9.44 MB, 8 views)
Reply With Quote
  #413  
Old 17-08-2024, 03:21
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: In Forest
Posts: 46
Thanks: 191
Thanked 30 Times in 21 Posts
Lord.Freddy is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
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
__________________
¤ Life good be a Dream ¤
Reply With Quote
Reply

Tags
cls-diskspan, compressor, diskspan, diskspan_gui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DiskSpan on Linux hydefromt70s Conversion Tutorials 1 15-10-2020 07:12
How to use diskspan bat mausschieber Conversion Tutorials 4 05-09-2020 12:25
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



All times are GMT -7. The time now is 08:06.


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