Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-05-2020, 08:51
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,385
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road
Quote:
Originally Posted by KaktoR View Post

Btw, from a technical view, is it possible to add file extension grouping (masks)? Just a question, not a request
CLS-Span
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
Razor12911 (23-05-2020)
Sponsored Links
  #2  
Old 23-05-2020, 10:05
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,772
Thanks: 2,195
Thanked 11,315 Times in 2,330 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Sometimes installer just closes without any message when asking for next archive if you use vcl styles.

Btw, from a technical view, is it possible to add file extension grouping (masks)? Just a question, not a request
I think so

Quote:
Originally Posted by Cesar82 View Post
If you use VCLStyle (Style.vsf) together with DiskSpan, when searching for the disk the installer is usually closed without any error message, it simply closes.
Watch the video to see the error.
I went to shoot a video and showed an error message (This time it didn't end directly).
The message box is displayed with a skin totally different from the skin used.
Thanks, I just noticed the bug myself, I'll check to see what causes it.

Quote:
Componets are compressed separately. Each game in your data file as game1 = Data1.bin.001, game2 = Data2.bin.001. In the Tools folder of the CIU thred inside the UltraArc folder there is a modified DiskSpan.bat (if you want to see it).
It is possible to do, maybe next version will have this if you need it so bad


Quote:
What is the minimum version of DELPHI to compile cls-diskspan.dll?
I adapted the code and compiled it with DELPHI 2010 (To make it smaller size), but it didn't work(Not show erros, simply closes the installer).
With Seattle or RIO I know it works, but which previous version also works?
You could just use upx

Last edited by Razor12911; 23-05-2020 at 10:10.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (23-05-2020)
  #3  
Old 23-05-2020, 16:21
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
I think so
You could just use upx
Yes, I know that, but it's still great.
NORMAL: 1130 Kb (1.10 MB) >> UPX = 288 Kb
if compile with DELPHI 2010 (but not work) = NORMAL: 339 Kb >> UPX 119 Kb.
I will try with other dephi XE versions later.
But it would be useful to know what would be the minimum version of DELPHI that this source works for.
Thank you!
Reply With Quote
  #4  
Old 23-05-2020, 04:11
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
what bug?
If you use VCLStyle (Style.vsf) together with DiskSpan, when searching for the disk the installer is usually closed without any error message, it simply closes.
Watch the video to see the error.
I went to shoot a video and showed an error message (This time it didn't end directly).
The message box is displayed with a skin totally different from the skin used.

Componets are compressed separately. Each game in your data file as game1 = Data1.bin.001, game2 = Data2.bin.001. In the Tools folder of the CIU thred inside the UltraArc folder there is a modified DiskSpan.bat (if you want to see it).

What is the minimum version of DELPHI to compile cls-diskspan.dll?
I adapted the code and compiled it with DELPHI 2010 (To make it smaller size), but it didn't work(Not show erros, simply closes the installer).
With Seattle or RIO I know it works, but which previous version also works?

Last edited by Cesar82; 23-05-2020 at 04:26.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
BLACKFIRE69 (23-05-2020), Gehrman (23-05-2020)
  #5  
Old 24-05-2020, 01:31
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road
@Cesar82 ... MPress has a faster execution speed than UPX, and a false positive warning factor lower than UPX. I have not tested it on your work but in the ahk language on the conversion into executable. you can try.
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Reply With Quote
The Following 2 Users Say Thank You to felice2011 For This Useful Post:
Cesar82 (24-05-2020), shazzla (24-05-2020)
  #6  
Old 24-05-2020, 23:00
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by felice2011 View Post
@Cesar82 ... MPress has a faster execution speed than UPX, and a false positive warning factor lower than UPX. I have not tested it on your work but in the ahk language on the conversion into executable. you can try.
I tried to compress VCLStylesInno.dll using MPress and the library stopped working.
Reply With Quote
  #7  
Old 24-05-2020, 20:50
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,772
Thanks: 2,195
Thanked 11,315 Times in 2,330 Posts
Razor12911 is on a distinguished road
The VclStyle bug is not related to diskspan. I tried to make DiskSpan create the form in another thread, the problem persisted. I ended up downloading the source of VclStyle to see how it really works and VclStyle just tries to make sure all the forms/dialogs use the same style including the ones created externally, as you can see in the video.

DiskSpan is not involved at all, I just made ISDone produce an error to show a message then I just waited to see what will happen.

https://youtu.be/0j7Lx0nxhLY

Basically, use this VclStyle library in your scripts if you know that the other libraries you import don't create additional forms/dialogs else you'll have this issue whether diskspan was used or not.

Last edited by Razor12911; 24-05-2020 at 21:47.
Reply With Quote
  #8  
Old 24-05-2020, 22:59
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
The VclStyle bug is not related to diskspan. I tried to make DiskSpan create the form in another thread, the problem persisted. I ended up downloading the source of VclStyle to see how it really works and VclStyle just tries to make sure all the forms/dialogs use the same style including the ones created externally, as you can see in the video.

DiskSpan is not involved at all, I just made ISDone produce an error to show a message then I just waited to see what will happen.

https://youtu.be/0j7Lx0nxhLY

Basically, use this VclStyle library in your scripts if you know that the other libraries you import don't create additional forms/dialogs else you'll have this issue whether diskspan was used or not.
Do you mean that any library that displays a dialog box can happen that the installer is closed immediately when displaying the dialog?
So the error happens inside ISDone.dll (VCLStyle.dll does not support ISDone.dll)?
because with a library called directly by the installer the window is displayed correctly.

If this error is internally in VCLStyleInno.dll, and public source code, and someone has enough knowledge to correct it, please try it because it would be very useful.
Thank you.
Attached Files
File Type: 7z TEST LIB.7z (2.69 MB, 36 views)

Last edited by Cesar82; 24-05-2020 at 23:40.
Reply With Quote
  #9  
Old 25-05-2020, 20:54
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,772
Thanks: 2,195
Thanked 11,315 Times in 2,330 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Do you mean that any library that displays a dialog box can happen that the installer is closed immediately when displaying the dialog?
So the error happens inside ISDone.dll (VCLStyle.dll does not support ISDone.dll)?
because with a library called directly by the installer the window is displayed correctly.

If this error is internally in VCLStyleInno.dll, and public source code, and someone has enough knowledge to correct it, please try it because it would be very useful.
Thank you.
Use this with ISDone, make a CLS that creates a message dialog.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (25-05-2020), Gehrman (30-05-2020)
  #10  
Old 25-05-2020, 00:44
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road
Cesar you could try Benjamin, but you have to waste some time with the various options to use.

__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Reply With Quote
The Following User Says Thank You to felice2011 For This Useful Post:
Gehrman (25-05-2020)
  #11  
Old 25-05-2020, 01:18
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 48
Thanks: 90
Thanked 49 Times in 30 Posts
DiCaPrIo is on a distinguished road
I think, it's nothing but wasting of time to compress lib or exe because setup size increases and also decreases some speed while opening the setup generally for dll being used after compiling.
It compresses twice or if twice is being used so better use Flag:nocompression
with compressed one on [Files] sec, it prevents from increasing the size

Last edited by DiCaPrIo; 25-05-2020 at 01:21.
Reply With Quote
The Following 2 Users Say Thank You to DiCaPrIo For This Useful Post:
Gehrman (25-05-2020), Razor12911 (25-05-2020)
  #12  
Old 02-06-2020, 20:39
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
@Razor12911
Sorry I'm bothering you.
It includes the new diskspan R3 (original Library) in CIU 3.0.0.0.1 beta and when displaying the search message for the disk, Setup.exe is terminated.
I don't know if it is because CIU has many features that require more from the system than a basic script.
I did the same tests using the Light Installer (very basic script) and there is hardly an error.
The request disk code in Light installer and CIU is exactly the same.

I have attached the examples where the installer closes when searching for the disk.
Run as is and search for part 1 and then for part 2 in folders when prompted (Most of the time the error occurs when searching for part 2).

@Razor12911, if you want to do tests I can send you the ciu beta source code.
The error I think is still in the callback, and I don't know if there is a solution for that.
Attached Files
File Type: 7z DiskSpan R3 ERROR.7z (69.79 MB, 24 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Gehrman (05-06-2020)
  #13  
Old 03-06-2020, 21:50
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,772
Thanks: 2,195
Thanked 11,315 Times in 2,330 Posts
Razor12911 is on a distinguished road
I'll check it out
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (04-06-2020), Gehrman (05-06-2020)
  #14  
Old 11-06-2020, 12:55
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,081
Thanks: 1,849
Thanked 2,318 Times in 791 Posts
Cesar82 is on a distinguished road
@BLACKFIRE69
I got smaller sizes using DELPHI 10 Seattle.
From XE8 all functions/classes are coded without any changes.
Using DELPHI XE4 through XE7 it is only necessary to include a variable to make the script compatible.
I tested the version compiled with DELPHI Seattle and it is working fine.
Only the same errors happen as in the original lib that Razor12911 shared.
I did not test these older versions XE4 to XE7, because as the Lib compiled with DELPHI Seattle was better than with previous versions it does not make sense to test.


Adaptation of DiskSpan R3 to work with old delphi (Delphi XE4...XE7)

Changhed this:
Code:
begin
  FormatSettings := TFormatSettings.Invariant;
Changed To:

Code:
var
  FormatSettings: TFormatSettings;
begin
  GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, FormatSettings);
I think that this would not bring errors in the use of the library.
But as the size of the library compiled with DELPHI Seatle is smaller, it is more viable to use it.
This other executable compressor used from the image "uPACK" I found the compression rate very good and super fast, but in some libs it brings false positives.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
BLACKFIRE69 (11-06-2020)
  #15  
Old 12-06-2020, 12:31
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,628 Times in 576 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
@BLACKFIRE69
I got smaller sizes using DELPHI 10 Seattle.
From XE8 all functions/classes are coded without any changes.

Adaptation of DiskSpan R3 to work with old delphi (Delphi XE4...XE7)

Changhed this:
Code:
begin
  FormatSettings := TFormatSettings.Invariant;
Changed To:

Code:
var
  FormatSettings: TFormatSettings;
begin
  GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, FormatSettings);
Cesar,

I compiled it in Delphi Seattle without changing and changing the code, but it wasn't working.

Last edited by BLACKFIRE69; 20-06-2026 at 16:08.
Reply With Quote
Reply


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
UltraARC Tutorials, Hints and Examples Razor12911 Conversion Tutorials 35 17-03-2021 11:56
Quantum Break GTX590 PC Games - CD/DVD Conversions 105 25-03-2019 08:28
Bioshock Infinite Complete Edition (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* GTX590 PC Games - CD/DVD Conversions 13 17-06-2017 10:55
Call of Duty Black OPS 3 + DLC Awakening (11xDVD5) GTX590 PC Games - CD/DVD Conversions 22 30-12-2016 07:46
Mortal Kombat XL (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* GTX590 PC Games - CD/DVD Conversions 1 13-10-2016 16:03



All times are GMT -7. The time now is 11:38.


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