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

Reply
 
Thread Tools Display Modes
  #1516  
Old 01-09-2022, 07:02
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,425
Thanks: 1,078
Thanked 7,037 Times in 2,665 Posts
KaktoR is on a distinguished road
I think there is isgsg.dll library
__________________
Haters gonna hate
Reply With Quote
Sponsored Links
  #1517  
Old 01-09-2022, 07:06
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,173
Thanks: 284
Thanked 1,372 Times in 619 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
I think there is isgsg.dll library
That appears to only do Splash screen judging by the iss examples and by looking at the DLL exports
Reply With Quote
  #1518  
Old 01-09-2022, 07:09
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,425
Thanks: 1,078
Thanked 7,037 Times in 2,665 Posts
KaktoR is on a distinguished road
Ok, so you want to show the gif image permanent somewhere on installer surface, like a bitmap image?

Pretty sure it's possible but never thought about that
__________________
Haters gonna hate
Reply With Quote
  #1519  
Old 01-09-2022, 18:56
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,038
Thanks: 1,746
Thanked 2,224 Times in 761 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Is there a list of T<> identifiers in Inno Setup 6?

I am trying to load an animated gif but I'm finding it hard. TBitmapImage is incorrect, I found references online to needing to use TGifImage or TImage but they don't appear to exist in inno.

Here's what I have so far (I understand that it isn't correct):

Code:
  ExtractTemporaryFile('LOGOIMAGE.GIF');
  LogoImage := TGifImage.Create(WizardForm);
  with LogoImage do
  begin
    Name := 'LogoImage';
    Parent := WizardForm;
    SetBounds(ScaleX(10), ScaleY(10), ScaleX(300), ScaleY(60));
    //Gif.LoadFromFile(ExpandConstant('{tmp}\LOGOIMAGE.GIF'));
  end;
Thanks!
To use gif images in Inno Setup you can use the library GifCtrl.dll
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Lord.Freddy (26-09-2022), Masquerade (02-09-2022)
  #1520  
Old 16-09-2022, 13:01
PercyMaliek PercyMaliek is offline
Registered User
 
Join Date: Sep 2022
Location: Idiotville, Oregon
Posts: 1
Thanks: 2
Thanked 0 Times in 0 Posts
PercyMaliek is on a distinguished road
I'm bloody new to Inno Setup script.
I've created the bins for a game, but I'm unsure how to have Inno decompress them

Compression was PrecompX+srep+lolz

precompx\x64\PrecompX.exe -e - - <stdin> <stdout>
srep\srep.exe -m3f -l512 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
lolz\lolz_x64.exe -d256 -mc192 -mt4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Besides a few basic tutorials, I've not come across anything about decompression with ISS...
Reply With Quote
  #1521  
Old 16-09-2022, 13:48
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: ...
Posts: 48
Thanks: 202
Thanked 32 Times in 22 Posts
Lord.Freddy is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
That appears to only do Splash screen judging by the iss examples and by looking at the DLL exports
@Masquerade

I try apply gif in WizardForm in a month ago and now...
Use GifLib by SkyGZ(Support All version of innoSetup)
Attached Files
File Type: 7z GifLib.7z (1.18 MB, 10 views)
__________________
¤ Life good be a Dream ¤
Reply With Quote
  #1522  
Old 16-09-2022, 13:58
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: ...
Posts: 48
Thanks: 202
Thanked 32 Times in 22 Posts
Lord.Freddy is on a distinguished road
Quote:
Originally Posted by PercyMaliek View Post
I'm bloody new to Inno Setup script.
I've created the bins for a game, but I'm unsure how to have Inno decompress them

Compression was PrecompX+srep+lolz

precompx\x64\PrecompX.exe -e - - <stdin> <stdout>
srep\srep.exe -m3f -l512 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
lolz\lolz_x64.exe -d256 -mc192 -mt4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

Besides a few basic tutorials, I've not come across anything about decompression with ISS...
If you use freearc for compression well need a library to call unarc.dll for extract files(isdone.dll). Search on this forum, download example script like ASIS OR Lite installer ... see a script, learn and use.
__________________
¤ Life good be a Dream ¤
Reply With Quote
The Following User Says Thank You to Lord.Freddy For This Useful Post:
PercyMaliek (16-09-2022)
  #1523  
Old 16-09-2022, 14:30
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,425
Thanks: 1,078
Thanked 7,037 Times in 2,665 Posts
KaktoR is on a distinguished road
You don't need ISDone library, there is ISArcEx here: https://fileforums.com/showthread.php?t=104980

If you want to use ISDone library, there is a example script somewhere on the internet, most likely where ISDone library is shared by it's creator (krinkels.org)

Moreover, to a new person I would not suggest scripts like ASIS, CIU and such to learn about this, they are just too much.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
PercyMaliek (16-09-2022)
  #1524  
Old 26-09-2022, 13:09
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 356
Thanks: 124
Thanked 60 Times in 39 Posts
L33THAK0R is on a distinguished road
Has anyone implemented Inno Download Plugin in their script? I'm looking to implement it be able to offer redist. packages like Nvidia's PhysX (for titles such as the first two "Metro" titles and some Ubisoft titles) to the end-user, whilst avoiding having to include the executable itself (since some are still 35MB+ after packing them!) and instead fetching a download link. If anyone could show me their implementation I'd very much appreciate any insight anyone could offer!
Reply With Quote
  #1525  
Old 26-09-2022, 13:26
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,038
Thanks: 1,746
Thanked 2,224 Times in 761 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Has anyone implemented Inno Download Plugin in their script? I'm looking to implement it be able to offer redist. packages like Nvidia's PhysX (for titles such as the first two "Metro" titles and some Ubisoft titles) to the end-user, whilst avoiding having to include the executable itself (since some are still 35MB+ after packing them!) and instead fetching a download link. If anyone could show me their implementation I'd very much appreciate any insight anyone could offer!
As I remember this plugin didn't work with most of the links (I could be wrong).
I recommend using DwinsHs (Downloader for Inno Setup).
DwinsHs already has an example script.
I use DwinsHs code in DiskSpan GUI to download plugins and it works great.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
L33THAK0R (26-09-2022)
  #1526  
Old 26-09-2022, 21:48
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 356
Thanks: 124
Thanked 60 Times in 39 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
As I remember this plugin didn't work with most of the links (I could be wrong).
I recommend using DwinsHs (Downloader for Inno Setup).
DwinsHs already has an example script.
I use DwinsHs code in DiskSpan GUI to download plugins and it works great.
This definitely looks easier to implement! Thanks a bunch for linking this. However looking at my problem after a good nights sleep (I'm always far too tired writing out any questions here I swear), I think I'll just use powershell to download the file, since running the installer requires elevated privileges already (also means a lot less work wrangling this plugin). One day though I'll probably migrate to using an actual plugin instead of a series of scripts.
Reply With Quote
  #1527  
Old 30-11-2022, 03:59
Dragonis40 Dragonis40 is offline
Registered User
 
Join Date: Mar 2021
Location: italy
Posts: 60
Thanks: 0
Thanked 3 Times in 3 Posts
Dragonis40 is on a distinguished road
Hello everybody! I have an issue with isskin.dll in inno setup welcome page final exe: if I use a version of isskin.dll (395.184 byte, date: 02/12/2012) and mouse scroll, welcome page text scrolls, the scrollbar appears, but it doesn't work (if I try to move scrollbar by using mouse left button or by pressing scrollup or scrolldown button, nothing happens).
If I use another version of isskin.dll (395.184 byte, date: 04/11/2009) and mouse scroll, welcome page text scrolls, the scrollbar appears AND IT works, but the skin i've choosen DOESN'T work (the skin is white reguardless *.cjstyles file).
I've tried several isskin.dll versions founded on internet, but nothing different happens.

Is it a bug? Do I need a specific version of isskin.dll? Thank you!
Reply With Quote
  #1528  
Old 04-01-2023, 11:36
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,173
Thanks: 284
Thanked 1,372 Times in 619 Posts
Masquerade is on a distinguished road
Hi!

Is there a way to enforce compatibility mode for an executable using Inno Setup?

For example, Crysis in my tests requires compatbility mode to be set to Win Vista SP2 so I was wondering if this can be done automatically after the game has been decompressed onto the users' computer.

Thanks!
Reply With Quote
  #1529  
Old 04-01-2023, 12:00
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 378
Thanks: 451
Thanked 877 Times in 317 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Hi!

Is there a way to enforce compatibility mode for an executable using Inno Setup?

For example, Crysis in my tests requires compatbility mode to be set to Win Vista SP2 so I was wondering if this can be done automatically after the game has been decompressed onto the users' computer.

Thanks!
If I translated it correctly, then so, through the registry.
Code:
[Registry]
Root: HKCU; SubKey: Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers; ValueType: string; ValueName: {app}\Crysis.exe; ValueData: ~ VISTASP2; Flags: uninsdeletevalue uninsdeletekeyifempty

Root: HKLM; SubKey: Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers; ValueType: string; ValueName: {app}\Crysis.exe; ValueData: ~ VISTASP2; Flags: uninsdeletevalue uninsdeletekeyifempty
P.S. in Windows 11, the key starts with "~VISTASP2". on other operating systems, it may be like this - "VISTASP2"

Last edited by audiofeel; 04-01-2023 at 12:03.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Masquerade (04-01-2023)
  #1530  
Old 04-01-2023, 12:13
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,425
Thanks: 1,078
Thanked 7,037 Times in 2,665 Posts
KaktoR is on a distinguished road
Yes you have to make it with registry.
__________________
Haters gonna hate
Reply With Quote
Reply

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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 10:48



All times are GMT -7. The time now is 01:59.


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