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)

pakrat2k2 24-01-2019 19:16

^^ That'd be great for those who still want conversion for those REALLY tiny games..

KaktoR 25-01-2019 05:20

1 Attachment(s)
I have added Update v7.1.1b to post #1 since it's stable now.

Here is a beta for v7.1.2

Code:

v7.1.2
_____________________________________________________
- Added compact mode to installer
  > This is an option for minimalistic setup with only one page
  > In CompactMode you can only use SFV and MD5 files for CRC check
    I will implement ISHash library later in CompactMode

I had not much time for testing, but will do on saturday again.

kocchi96x 25-01-2019 18:03

7.1.2 works well for me i tested both compact and non compact and didnt see anything not work. I also like the compact idea as pakrat2k2 said good idea for those smaller games :D

Schabik 28-01-2019 03:23

1 Attachment(s)
Hey there,


Why on CheckCRC page there is no Next button?


Attachment 23984

KaktoR 28-01-2019 04:27

Send me your settings.ini please.

Looks like there is a button behind website button

Schabik 28-01-2019 05:10

2 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 479115)
Send me your settings.ini please.

Looks like there is a button behind website button


It's a LogButton Here's the screen after adjusting the position of the button.Attachment 23985


Also as requested I've attached settings.ini

KaktoR 29-01-2019 10:07

1 Attachment(s)
I have fixed the button (LogButton). NextButton was always visible here.

If the missing Next Button still exists for you, send me your modified script

Schabik 30-01-2019 01:19

Quote:

Originally Posted by KaktoR (Post 479146)
I have fixed the button (LogButton). NextButton was always visible here.

If the missing Next Button still exists for you, send me your modified script


Works wonderful now :)


Another question, is there a way to add selecion of language?


F.O.X.: If I select Czech as the language for the installer, it unpacks Czech.bin file.


It will be useful for repacking games with seperate language files :)

exorc 30-01-2019 10:49

Hi, how to create a shortcut if the exe is not in the root directory?
In Settings.ini file does not exist exe path?

Sorry for my english ad thanks

Schabik 30-01-2019 11:38

Quote:

Originally Posted by exorc (Post 479156)
Hi, how to create a shortcut if the exe is not in the root directory?
In Settings.ini file does not exist exe path?

Sorry for my english ad thanks

In example of The Sims 4 if you have "TS4.exe" file in directory named "bin" just type "bin\TS4.exe"

exorc 31-01-2019 07:08

Quote:

Originally Posted by Schabik (Post 479157)
In example of The Sims 4 if you have "TS4.exe" file in directory named "bin" just type "bin\TS4.exe"

It does not work and it is not the arc file error, it is a failure of the installation program...

Schabik 31-01-2019 07:11

Quote:

Originally Posted by exorc (Post 479162)
It does not work and it is not the arc file error, it is a failure of the installation program...

Please attatch a picture if an error appears and your settings.ini file.

exorc 31-01-2019 07:18

Quote:

Originally Posted by Schabik (Post 479163)
Please attatch a picture if an error appears and your settings.ini file.

My ini settings

https://mega.nz/#!QZ9EHYLT!Qt1T5rstE...GtjVdlOSrgshR4

exorc 31-01-2019 07:34

https://i.ibb.co/vJyKrN2/error.png

KaktoR 31-01-2019 07:53

1 Attachment(s)
Here is a fix for this error

exorc 31-01-2019 08:25

Solved!!!! Thanks

Schabik 31-01-2019 11:55

Quote:

Originally Posted by Schabik (Post 479152)
Works wonderful now :)


Another question, is there a way to add selecion of language?


F.O.X.: If I select Czech as the language for the installer, it unpacks Czech.bin file.


It will be useful for repacking games with seperate language files :)

Anyone has an answer for my question?

I've figured out the registry selection but what about file extraction?

KaktoR 02-02-2019 08:11

I will look at it.

Btw, should I change the CompactMode to something bigger? Means non-CompactMode size window but all of the stuff on one page? Or is it good as it is now?

I will also change the CreateUninstaller option (it will become a checkbox on installer like in the CDX installers).

pakrat2k2 02-02-2019 09:40

CreateUninstaller option would be great, even on both installer types.

Schabik 02-02-2019 10:37

Quote:

Originally Posted by KaktoR (Post 479195)
I will look at it.

Btw, should I change the CompactMode to something bigger? Means non-CompactMode size window but all of the stuff on one page? Or is it good as it is now?

I will also change the CreateUninstaller option (it will become a checkbox on installer like in the CDX installers).

Thanks for looking for the option, I think it will be helpful for those who want to get multilang by unpacking only concrete files like in AC1 directors cut.

As for compactMode it's good as it is in my opinion

For the CreateUninstaller checkbox if it will be checked from the beginning as an option it will be Great:-D

Titeuf 02-02-2019 10:50

Hello,
maybe also put the remaining time and what would be great is to be able to put the name of the player!

Schabik 02-02-2019 10:53

1 Attachment(s)
Quote:

Originally Posted by Titeuf (Post 479202)
Hello,
maybe also put the remaining time and what would be great is to be able to put the name of the player!

Remaining Time is allready implemented but commented. Uncomment //RemainingLabel.Show; line if i recall and it will by shown. But I think it doesn't work properly but hey I might be wrong so just test it.


Attachment 24016

Titeuf 02-02-2019 11:50

Quote:

Originally Posted by Schabik (Post 479203)
Remaining Time is allready implemented but commented. Uncomment //RemainingLabel.Show; line if i recall and it will by shown. But I think it doesn't work properly but hey I might be wrong so just test it.


Attachment 24016

Hello,
yes I had seen but I seem to have read that this is a problem, but as you say I'll try

Schabik 02-02-2019 11:55

Quote:

Originally Posted by Titeuf (Post 479205)
Hello,
yes I had seen but I seem to have read that this is a problem, but as you say I'll try

The problem is that in AC1 Directors cut sometimes it shows correct remaining time and sometimes it does not.But I think that the problem occurs because of variable read/write transfer on my ssd (it's too high i suppose).

KaktoR 03-02-2019 05:28

Quote:

Originally Posted by Titeuf (Post 479202)
Hello,
maybe also put the remaining time and what would be great is to be able to put the name of the player!

What do you mean with name of the player?

Schabik 03-02-2019 05:36

Quote:

Originally Posted by KaktoR (Post 479213)
What do you mean with name of the player?

I think he means name of the player in the compressed game, injecting it to game's config files something like in steam or uplay ini files ( F.O.X.: "Player=Schabik")

Titeuf 03-02-2019 06:47

Yes that's exactly what Schabik says in his last answer

KaktoR 03-02-2019 07:28

OK will do something like this

Code:

[INISettings]
INIFile={app}\steam_api.ini
Section=[Settings]
Key=Player
Value=Titeuf


KaktoR 03-02-2019 08:05

1 Attachment(s)
Code:

v7.1.2 beta 4
_____________________________________________________
- Added compact mode to installer
  > This is an option for minimalistic setup with only one page
  > In CompactMode you can only use SFV and MD5 files for CRC check
    I will implement ISHash library later in CompactMode
- Fixed LogButton in CRC Check page
- Fixed other bug if CRC check is disabled
- Added checkbox for "Create Uninstaller"
  > If checkbox is checked, Uninstall files will be created
  > If checkbox is not checked, no uninstall files will be created
- Added [INISettings] to Settings.ini
  > With this you can change INI settings after installation is done

Next I will look into the language archives (I think best way is just to use components).

K4miKaZe 03-02-2019 08:58

Nice Job KaktoR, i still was using the 7.0.8 version because i had it heavly modded, spend yesterday to set up the new version and also CIU and so far its perfect. Had to change only some compressors like on CIU because on some of them i prefer using a older version but its working fine now. Whats going well now is using SrepInside "N", it even works on some of the AC games were i had problems some months ago on the older version.

Well done KaktoR, Thanks again !!!

Schabik 03-02-2019 09:23

Quote:

Originally Posted by KaktoR (Post 479223)
Next I will look into the language archives (I think best way is just to use components).

I also think that it's the best way.
You can also include in the settings.ini if someone want to use it or not (adding components can be done inside the settings then it can be a scheme for adding next components)

Titeuf 03-02-2019 11:09

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 479221)
OK will do something like this

Code:

[INISettings]
INIFile={app}\steam_api.ini
Section=[Settings]
Key=Player
Value=Titeuf


Thank you KaktoR for the name of the player, but can you fill in a field to fill in for the player's name before the start of the installation?
look at my picture to get an idea of what I'm saying (excuse me for my bad English)

Schabik 03-02-2019 11:51

Quote:

Originally Posted by Titeuf (Post 479231)
Thank you KaktoR for the name of the player, but can you fill in a field to fill in for the player's name before the start of the installation?
look at my picture to get an idea of what I'm saying (excuse me for my bad English)

Wouldn't it be better to do it as an seperate form/window/step? You can enter the player name and it will go stright to installation

KaktoR 03-02-2019 12:19

Oh you mean an edit field (like directory)?

Schabik 03-02-2019 12:26

Quote:

Originally Posted by KaktoR (Post 479236)
Oh you mean an edit field (like directory)?

Exactly!! :-)

Oh and the inisettings work with all ini files? I mean steam_emu and orbit_api?

KaktoR 03-02-2019 12:37

1 Attachment(s)
Yes you have to change filename in settings.ini then if the filename is different

You can also define a path if the file is not in root directory.

Example:
INIFile={app}\steam_emu.ini
or
INIFile={app}\folder1\steam_emu.ini
or
INIFile={app}\folder1\folder2\folder3\orbit_api.in i

PS: I will change the appereance of this page because it's all a bit clunky.

Schabik 03-02-2019 12:41

Quote:

Originally Posted by KaktoR (Post 479238)
Yes you have to change filename in settings.ini then if the filename is different

You can also define a path if the file is not in root directory.

Example:
INIFile={app}\steam_emu.ini
or
INIFile={app}\folder1\steam_emu.ini
or
INIFile={app}\folder1\folder2\folder3\orbit_api.in i

PS: I will change the appereance of this page because it's all a bit clunky.

And that's what i call a good work :-)
I think that it will be Great to name the textbox or get it into a groupbox with name "playerName" so no one misunderstood the reason of the textbox's existence, what say You?

Titeuf 03-02-2019 12:55

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 479236)
Oh you mean an edit field (like directory)?


As does Elamigos installation script, look at my picture!

Titeuf 03-02-2019 12:56

Quote:

Originally Posted by KaktoR (Post 479238)
Yes you have to change filename in settings.ini then if the filename is different

You can also define a path if the file is not in root directory.

Example:
INIFile={app}\steam_emu.ini
or
INIFile={app}\folder1\steam_emu.ini
or
INIFile={app}\folder1\folder2\folder3\orbit_api.in i

PS: I will change the appereance of this page because it's all a bit clunky.

Yes yes it is exactly that !!!
great job my Dear KaktoR

KaktoR 03-02-2019 13:05

1 Attachment(s)
Look


All times are GMT -7. The time now is 03:48.

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