FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ASIS: Advanced Simple Installer Script (https://fileforums.com/showthread.php?t=99481)

KaktoR 30-11-2022 13:10

Code:

v7.4.2
_____________________________________________________
- Made some additions to CLS.ini settings
- Updated XHashEx library
- Compatible with DiskSpan_GUI v2.0.1.4+
- Fixed some window color issues, especially with checkboxes

First post

fabrieunko 30-11-2022 22:17

hello, I downloaded version 7.4.2 I launched the script.bat compile file without modifying the settings.ini file and it worked well. but when I modify the settings.ini file for my game. I got an error message.

With version 7.4.1 I have no error when compiling

https://zupimages.net/up/22/48/psgb.png

My ini

Code:

[Settings]
Name=From Space
Size=2.30 GB
Creator=UnK
DefaultInstallDir={sd}\Games
UnInstallFolder=_UnInstall
ShowLanguageBox=0
CompactMode=0
UWPGame=0
Savegamefolder={userdocs}\From Space
Win11Warning=0


[UpdateSettings]
UpdateMode=0
FileCheck=Hk_project\Binaries\Win64\Stray-Win64-Shipping.exe


[Executable1]
ShortcutName=From Space
Exe=FromSpace.exe
ExeParam=
IconFileName=UnK.ico
Component=


[INISettings]
Enable=0
INIFile={app}\steam_emu.ini
Section=Settings
Key=UserName
Value={username}


[Text]
WelcomeLabel1Top=235
WelcomeLabel2Top=295
FinishLabel1Top=235
FinishLabel2Top=295
WelcomeLabel1FontSize=14
WelcomeLabel2FontSize=10
FinishLabel1FontSize=14
FinishLabel2FontSize=10
Font=Alegreya Sans
FontColor=$ffffff


[Button]
PlaySound=1

[ComponentsSettings]
Enable=0
FlatPageMode=0
ShowComponentSize=1

;; requires at least two components to enable page.
;; if components is used the global size will be ignored.
Component1.Name=Component 1
Component1.ItemType=CHECK
Component1.Size=4.15 GB
Component1.Level=0
Component1.Checked=1
Component1.Enabled=1

Component2.Name=Component 2
Component2.ItemType=CHECK
Component2.Size=8.75 GB
Component2.Level=0
Component2.Checked=1
Component2.Enabled=1

Component3.Name=Component 3
Component3.ItemType=CHECK
Component3.Size=18.00 GB
Component3.Level=0
Component3.Checked=1
Component3.Enabled=1

Component4.Name=Component 4
Component4.ItemType=CHECK
Component4.Size=18.00 GB
Component4.Level=0
Component4.Checked=1
Component4.Enabled=1


[TasksSettings]
Enable=0
FlatPageMode=0
ShowTaskSize=1

Task1.Name=Soundtrack Game 1
Task1.ItemType=CHECK
Task1.Size=100 Mb
Task1.Level=0
Task1.Checked=1
Task1.Enabled=1

Task2.Name=Soundtrack Game 2
Task2.ItemType=CHECK
Task2.Size=210 Mb
Task2.Level=0
Task2.Checked=1
Task2.Enabled=1


[Background]
//----------------------------------------------- Setup\Background\#.jpg
Enable=0
BackgroundDuration=5000
BackgroundAnimation=1
BGAfterInstall=1


[SystemRequirement]
Enable=0
Processor=32
VideoRAM=2048
RAM=4096
OS=1000
DirectX=11
HWSectionLabelColor=$ea00ff
HWOkLabelColor=$357EC7
HWNotOkLabelColor=$ff0000
HWGoodLabelColor=$36ff00
HWPartiallyGoodLabelColor=$ff8400
HWNotGoodLabelColor=$ff0000


[CRCCheck]
//----------------------------------------------- Setup\Filename.sfv \ Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=Stray.md5
QuickSFVDeleteHashFile=0


[Website]
Enable=1
WebsiteButtonText=Repack
URL=https://www.reddit.com/r/Gamepc_Repack/


[Splash]
//----------------------------------------------- Setup\Filename.png
Enable=1
SplashFile=Splash.png
SplashFadeIn=500
SplashShow=1000
SplashFadeOut=500


[Music]
//----------------------------------------------- Setup\Filename.mp3
Enable=1
MusicFile=Music.mp3
MusicVolume=70


[License]
//----------------------------------------------- Setup\EULA\English.rtf \ French.rtf \ German.rtf \ Italian.rtf \ Spanish.rtf \ Polish.rtf \ Russian.rtf \ PortugueseBrazil.rtf
Enable=0


[InfoBefore]
//----------------------------------------------- Setup\InfoBefore.rtf \ InfoBefore.txt
Enable=1


[Skin]
//----------------------------------------------- Setup\Filename.cjstyles \ Filename.vsf
EnableCjstyles=0
CjstylesFile=Concave.cjstyles
CjstylesParam=

EnableVCL=1
VCLFile=Amakrits.vsf


[Redists]
Enable=0

Redist1.Enable=1
Redist1.Name=Microsoft DirectX
Redist1.Level=0
Redist1.ItemType=CHECK
Redist1.Checked=0
Redist1.Enabled=1
//Redist1.Exe32={src}\_CommonRedist\DirectX\Juin2010\DXSETUP.exe
Redist1.Exe64={src}\_CommonRedist\DirectX\dxwebsetup.exe
Redist1.Param=

Redist2.Enable=1
Redist2.Name=Microsoft Visual C++ 2022
Redist2.Level=0
Redist2.ItemType=CHECK
Redist2.Checked=0
Redist2.Enabled=1
//Redist2.Exe32={src}\_CommonRedist\vcredist\2019\VC_redist.x86.exe
Redist2.Exe64={src}\_CommonRedist\vcredist\2022\VC_redist.x64.exe
Redist2.Param=


[Batch]
Enable=0
BatchFile=Patch.bat

//////////////////////////////////////////////////////////////////////


KaktoR 01-12-2022 01:57

Thanks for the report.

The error comes from crc check if you don't use quicksfv. I will fix it later.

KaktoR 01-12-2022 10:04

1 Attachment(s)
Here is a fix

Gehrman 01-12-2022 15:25

How can you add a label in ASIS: Advanced Simple Installer Script like the image below?
https://upload.cc/i1/2022/12/02/pwj4BU.jpg

MojoW 01-12-2022 18:21

1 Attachment(s)
Available VRAM is only showing half of what is actually available for me.

KaktoR 02-12-2022 01:52

Well seems like it's a bug in ISSysInfo then. Maybe I have to switch to a different plugin :(

fabrieunko 03-12-2022 12:11

Hello, can you tell me how to change the resolution of the installer? it is in 600 x 379 I would like to put it in 900 x 509

KaktoR 03-12-2022 12:41

Code:

GrowWizard(ScaleX(103), ScaleY(66));

WizardForm.ClientWidth  := ScaleX(600);
WizardForm.ClientHeight := ScaleY(429);

Good luck in reformating the complete installer :D

fabrieunko 03-12-2022 21:03

hello I come back to you because I changed all 600 to 900 but there is a problem...


https://i.ibb.co/3kH5chv/Capture.png

KaktoR 04-12-2022 01:53

Yes and I told you "good luck" :)

You have to figure out on your own, no support from me.

fabrieunko 04-12-2022 09:12

hello, I'm not going to pollute your topic just to say that I'm progressing little by little. I have to find how to move the text to the left... thank you for your fabulous installer. I use it for all my repacks.

http://image.noelshack.com/minis/202...06-capture.png

KaktoR 04-12-2022 11:18

1 Attachment(s)
Quote:

Originally Posted by MojoW (Post 499269)
Available VRAM is only showing half of what is actually available for me.

Please test this if it shows correct GPU VRam

MojoW 04-12-2022 11:32

Quote:

Originally Posted by KaktoR (Post 499310)
Please test this if it shows correct GPU VRam

Yep this shows it correctly!

KaktoR 04-12-2022 12:33

Code:

v7.4.3
_____________________________________________________
- Added SysInfo library by BLACKFIRE69 temporary to detect correct GPU VRAM for newer GPUs
  > This might be changed again in a future update
- Fixed CRC check issues

first post


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

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