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
  #1201  
Old 04-09-2022, 13:39
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Can anyone tell me what the music track is called or from which soundtrack it is, which is included by default with the download (i.e., what is named just “Music.mp3”)?
Reply With Quote
Sponsored Links
  #1202  
Old 05-09-2022, 02:27
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 4,322
Thanks: 6,767
Thanked 11,725 Times in 3,235 Posts
mausschieber is on a distinguished road
Quote:
Originally Posted by pcblizzard View Post
Can anyone tell me what the music track is called or from which soundtrack it is, which is included by default with the download (i.e., what is named just “Music.mp3”)?
do you mean the last ASIS its from the Game Stray the other i don't know
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #1203  
Old 05-09-2022, 02:39
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Exactly, the music from ASIS (where as a template is the game "Stray", but I listened through the soundtrack and track 1 from the soundtrack sounds similar, but somehow not the same).
It's been the same everywhere so far (though I'm only with it since version 7.3.5 - what was before, I can't say of course).

Last edited by pcblizzard; 05-09-2022 at 02:42.
Reply With Quote
  #1204  
Old 05-09-2022, 02:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
https://www.youtube. com/watch?v=37wUUn748iQ
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pcblizzard (05-09-2022)
  #1205  
Old 05-09-2022, 18:41
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Is it possible to call the "UnpackDLLFiles" function early, ideally at the initialisation of the wizard? I recently switched to using a VCLStyle skin instead of CJStyle skin (as CJStyles arent able to modify some GUI elements and aren't quite as versatile), however the DLL size difference between the two is alarmingly large (2.98MB vs 385KB). However, applying some very basic compression, such as the parameters used to pack a given "Setup.dll" significantly reduces the VCLStyle DLL to ~700kb, unfortunately though it seems I'm not able to get the wizard to extract the DLL before loading it, despite having the commands ordered to do so.

Code:
function InitializeSetup(): Boolean;
begin
  Result := True;
  ExtractTemporaryFile('SplitLib.dll');
  ExtractTemporaryFile('Settings.ini');
  #if VCL
    FileCopy(ExpandConstant('{src}\VclStylesInno.dll'), ExpandConstant('{tmp}\VclStylesInno.dll'), False);
    ExtractTemporaryFile('VclStylesInno.dll');
    ExtractTemporaryFile('{#VCLName}');
    LoadVCLStyle(ExpandConstant('{tmp}\{#VCLName}'));
I can't quite decipher the errors I get either as they simply say:

Code:
Runtime error (at 368:722):
Could not call proc.
&

Code:
Runtime error (at 400:5):
Could not call proc.
Am I missing something or is this sort of extracting and loading DLLs a bit too finicky for Inno Setup to handle?

Last edited by L33THAK0R; 05-09-2022 at 18:43.
Reply With Quote
  #1206  
Old 05-09-2022, 21:04
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Sorry to fill up this thread with questions, but could anyone please tell me where abouts the logic is for the transition between CompactMode's Main-Window and the CRC-Window?

I use QuickSFV for CRC validation and was hoping to add a 3rd & 4th state to the "WizardForm.NextButton" (or whatever the label is for the CompactMode Install button), to allow it to launch a given Batch script, while displaying "Verify"/"cm:Verify", and then function as a Finish/Continue button after the script concluded.

Currently I've got the latter functionality working just fine, I'm just trying to figure out how to discard the separate CRC window to move it all to the one screen.
Reply With Quote
  #1207  
Old 06-09-2022, 00:03
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Is it possible to call the "UnpackDLLFiles" function early, ideally at the initialisation of the wizard? I recently switched to using a VCLStyle skin instead of CJStyle skin (as CJStyles arent able to modify some GUI elements and aren't quite as versatile), however the DLL size difference between the two is alarmingly large (2.98MB vs 385KB). However, applying some very basic compression, such as the parameters used to pack a given "Setup.dll" significantly reduces the VCLStyle DLL to ~700kb, unfortunately though it seems I'm not able to get the wizard to extract the DLL before loading it, despite having the commands ordered to do so.

Code:
function InitializeSetup(): Boolean;
begin
  Result := True;
  ExtractTemporaryFile('SplitLib.dll');
  ExtractTemporaryFile('Settings.ini');
  #if VCL
    FileCopy(ExpandConstant('{src}\VclStylesInno.dll'), ExpandConstant('{tmp}\VclStylesInno.dll'), False);
    ExtractTemporaryFile('VclStylesInno.dll');
    ExtractTemporaryFile('{#VCLName}');
    LoadVCLStyle(ExpandConstant('{tmp}\{#VCLName}'));
I can't quite decipher the errors I get either as they simply say:

Code:
Runtime error (at 368:722):
Could not call proc.
&

Code:
Runtime error (at 400:5):
Could not call proc.
Am I missing something or is this sort of extracting and loading DLLs a bit too finicky for Inno Setup to handle?
You have to call function UnpackDLLFiles directly in function InitializeSetup

Quote:
Originally Posted by L33THAK0R View Post
Sorry to fill up this thread with questions, but could anyone please tell me where abouts the logic is for the transition between CompactMode's Main-Window and the CRC-Window?

I use QuickSFV for CRC validation and was hoping to add a 3rd & 4th state to the "WizardForm.NextButton" (or whatever the label is for the CompactMode Install button), to allow it to launch a given Batch script, while displaying "Verify"/"cm:Verify", and then function as a Finish/Continue button after the script concluded.

Currently I've got the latter functionality working just fine, I'm just trying to figure out how to discard the separate CRC window to move it all to the one screen.
If you want to use quicksfv instead of the crc page in compactmode you have to disable the crc page creation and call quicksfv instead.
__________________
Haters gonna hate
Reply With Quote
  #1208  
Old 06-09-2022, 21:06
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
You have to call function UnpackDLLFiles directly in function InitializeSetup
Ah alright I'll give that a shot!



Quote:
Originally Posted by KaktoR View Post
If you want to use quicksfv instead of the crc page in compactmode you have to disable the crc page creation and call quicksfv instead.
Would you happen to know by any chance what the label/function is that calls the crc page post-install, I cant for the life of me seem to figure it out!
Reply With Quote
  #1209  
Old 06-09-2022, 22:36
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Sorry again to seemingly never run out of queries, I'm a bit of a brainlet, if it's at all alright would you be able to walk me through the values/arguments I should be attaching to "UnpackDLLFiles", I'm not too sure about the
Code:
(UnpFile: String): Boolean;
side of things, with trusty Dr. Google not really making clear what a "UnpFile" designation is.
Reply With Quote
  #1210  
Old 07-09-2022, 00:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Would you happen to know by any chance what the label/function is that calls the crc page post-install, I cant for the life of me seem to figure it out!
If you search for "#if CheckCRC" you will get all things related to crc check.

The crc page is a custom created page, "CurPageID = CRCPage.ID"

This page will be created here

Code:
    #if !CompactMode //if NOT compactmode (= normal mode)
      CRCPage := CreateCustomPage(wpInstalling, '', ''); //crc page will be created after wpInstalling page
    #else // if compact mode
      CRCPage := CreateCustomPage(wpInfoAfter, '', ''); //crc page will be created after wpInfoAfter page (compactmode works a bit different due to 1 page installer)
    #endif
Use Exec or Exec2 funtion on ssPostInstall step to start quicksvf.exe. You can search there for "#if UseBatch" to get an idea how it should look like with quicksvf.exe.

Quote:
Originally Posted by L33THAK0R View Post
Sorry again to seemingly never run out of queries, I'm a bit of a brainlet, if it's at all alright would you be able to walk me through the values/arguments I should be attaching to "UnpackDLLFiles", I'm not too sure about the
Code:
(UnpFile: String): Boolean;
side of things, with trusty Dr. Google not really making clear what a "UnpFile" designation is.
Example
Code:
function InitializeSetup(): Boolean;
begin
...
UnpackDLLFiles;
...
UnpFile is a custom string designated to UnpackDLLFiles function and is only valid inside this function.
__________________
Haters gonna hate

Last edited by KaktoR; 07-09-2022 at 00:48.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
L33THAK0R (07-09-2022)
  #1211  
Old 08-09-2022, 17:56
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Got a bit of a different, but hopefully easier question to answer, are there any other variables that can determine the size of an element, outside of ScaleX/ScaleY? I've got a really annoying element that refuses to be resized, the image linked (here) demonstrates this, as every other element that has a "ScaleX" property has had it set to 100, with the exception of the client size, however this element at the top refuses to change. I've also searched for the approx. pixel length/height of the element with a +/- 20 variance in the script to try and find the value but alas to no avail. The reason as to my wanting to remove/resize this element is that once the page changes to CRCPage.Surface, the logo image I have attached, disappears as its parent is WizardForm.WelcomePage, and my separate image entry for CRCPage.Surface is cut off, as this rogue element is rendered on top of CRCPage.Surface.
Reply With Quote
  #1212  
Old 10-09-2022, 06:55
its_gnar_again's Avatar
its_gnar_again its_gnar_again is offline
Registered User
 
Join Date: Nov 2021
Location: Basedland
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
its_gnar_again is on a distinguished road
Cool

Question: Am I missing anything for the redists section for v7.3.4's settings? No matter what I do, the installer skips over the redist install when the checkbox is marked. I have tried using the {app} tag, where the specified redist folder is included in the archives, and the {src} tag, where the specified redist folder is in the same place the setup is in, but both of them don't work. My setup right now is like this:

Code:
[Redists]
Enable=1

Redist1.Enable=1
Redist1.Name=DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=1
Redist1.Enabled=1
Redist1.Exe32={app}\redist\dx.exe
Redist1.Exe64={app}\redist\dx.exe
Redist1.Param=
__________________
forgot the pass & email I used on my old account lmao
Reply With Quote
  #1213  
Old 11-09-2022, 01:14
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Funny, that's exactly the problem I'm having right now, and wanted to ask what the problem is. Both “DirectX” and “Microsoft Visual C++ 2015-2022” are simply ignored.

Code:
[Redists]
Enable=1

Redist1.Enable=1
Redist1.Name=Microsoft DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=1
Redist1.Enabled=1
Redist1.Exe32={app}\_redist\directx\DXSETUP.exe
Redist1.Exe64={app}\_redist\directx\DXSETUP.exe
;Redist1.Param=/silent

Redist2.Enable=1
Redist2.Name=Microsoft Visual C++ 2015-2022
Redist2.Level=0
Redist2.ItemType=CHECK
Redist2.Checked=1
Redist2.Enabled=1
Redist2.Exe32={app}\_redist\vc_redist_2015_2022\VC_redist.x86.exe
Redist2.Exe64={app}\_redist\vc_redist_2015_2022\VC_redist.x64.exe
;Redist2.Param=/q /norestart
And is it possible to say in the “settings.ini” that e.g., “Microsoft Visual C++ 2015-2022” is mandatory and the entry is preselected and not deselectable? In the normal Inno setup script [under “Components”] the “Fixed” command works, but not here.

Last edited by pcblizzard; 11-09-2022 at 01:21.
Reply With Quote
  #1214  
Old 11-09-2022, 02:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
I checked quick, don't have really any time today, but the problem is somewhere in ssPostInstall step, at least debug mode tells me (the whole redist part is not processed).

I will look at it further tomorrow
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
pcblizzard (11-09-2022), Titeuf (19-09-2022)
  #1215  
Old 11-09-2022, 10:08
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Smile

Quote:
Originally Posted by pcblizzard View Post
Funny, that's exactly the problem I'm having right now, and wanted to ask what the problem is. Both “DirectX” and “Microsoft Visual C++ 2015-2022” are simply ignored.

Code:
[Redists]
Enable=1

Redist1.Enable=1
Redist1.Name=Microsoft DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=1
Redist1.Enabled=1
Redist1.Exe32={app}\_redist\directx\DXSETUP.exe
Redist1.Exe64={app}\_redist\directx\DXSETUP.exe
;Redist1.Param=/silent

Redist2.Enable=1
Redist2.Name=Microsoft Visual C++ 2015-2022
Redist2.Level=0
Redist2.ItemType=CHECK
Redist2.Checked=1
Redist2.Enabled=1
Redist2.Exe32={app}\_redist\vc_redist_2015_2022\VC_redist.x86.exe
Redist2.Exe64={app}\_redist\vc_redist_2015_2022\VC_redist.x64.exe
;Redist2.Param=/q /norestart
And is it possible to say in the “settings.ini” that e.g., “Microsoft Visual C++ 2015-2022” is mandatory and the entry is preselected and not deselectable? In the normal Inno setup script [under “Components”] the “Fixed” command works, but not here.
Try with this hotfix (I didn't have time to test).
Attached Files
File Type: rar ASIS 7.36 (Fix Redist).rar (39.7 KB, 12 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Titeuf (19-09-2022)
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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



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


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