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)

alucard1973 03-05-2021 11:13

Quote:

Originally Posted by pratikpatel8982 (Post 491762)
I am supposing that you want to install each component in a different folder inside the {app} directory but so far I haven't found such feature in this script.
If you want to install in specific directory just compress the files with the folder structure. For example, you want to install component 1 inside {app}\Component1\
You can't specify it. For this to work, you need to pack file with folder structure. For example, in component1.arc:
Code:

Component 1\file1,file2......file10
So after extraction, it will automatically extract inside {app}\component1\file1,file2......file10.

ok thanks

alucard1973 03-05-2021 12:28

I would like to know, if I provided my blackbox script that I had to modify, could you help me on the subject of scaling, I mean that since I have a 4k screen, I have to put Windows at 200% and I can't adapt the code to match the resolution. when I run my setup, it is obviously very small with the icons to move, I adapted with this script for practically everything except for the scaling and the setup.dll that I don't think it is too complicated to make it adapt with my blackbox.
Thank you

pratikpatel8982 03-05-2021 19:05

Quote:

Originally Posted by alucard1973 (Post 491767)
I would like to know, if I provided my blackbox script that I had to modify, could you help me on the subject of scaling, I mean that since I have a 4k screen, I have to put Windows at 200% and I can't adapt the code to match the resolution. when I run my setup, it is obviously very small with the icons to move, I adapted with this script for practically everything except for the scaling and the setup.dll that I don't think it is too complicated to make it adapt with my blackbox.
Thank you

Yes, I also want to use it with CorePack Script by BlackFire69 but it doesn't support setup.dll. But I can't help you with scaling stuff since I don't know coding.

drcool 04-05-2021 06:38

Quote:

Originally Posted by drcool (Post 491761)
Hello! Is it possible for ASIS to decompress archives with a password? (Not someone elses, archives, archives created by myself with a password) I can't seem to find anything about it in settings.ini or the script.

bump...

KaktoR 04-05-2021 08:11

Quote:

Originally Posted by drcool (Post 491777)
bump...

Example

Code:

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, '', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then

to

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, 'YourPassword', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then


drcool 05-05-2021 15:31

Quote:

Originally Posted by KaktoR (Post 491779)
Example

Code:

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, '', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then

to

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, 'YourPassword', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then


Am i looking in the wrong place? I cannot find that exact line to change it to that.

KaktoR 05-05-2021 20:38

Quote:

Originally Posted by drcool (Post 491809)
Am i looking in the wrong place? I cannot find that exact line to change it to that.

Line 4097

pratikpatel8982 06-05-2021 05:49

Quote:

Originally Posted by KaktoR (Post 491779)
Example

Code:

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, '', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then

to

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, 'YourPassword', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then


Hey, If possible can you add it like other settings so that it can be modified using settings.ini
For example, create a password section:
Code:

[Password]
Enabled=1
Password=YourPassword

BTW, I don't mind modifying the script, but it would be a great addition to ASIS if it will be supported by default. And I think it should not be too difficult to implement. Just need to modify Settings.iss and script.iss

KaktoR 06-05-2021 07:43

I don't working on the script anymore.

But you're right, only things to be added is in Settings.iss, Settings.ini and script.iss. Very simple.

mr_gnar 06-05-2021 15:00

Quote:

Originally Posted by KaktoR (Post 491779)
Example

Code:

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, '', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then

to

if not ISArcExtract(0, 100, ExpandArcFile(Data[i - 1].Arc[1],SourceDir), Data[i - 1].Arc[2], '', false, 'YourPassword', ExpandConstant('{tmp}\Arc.ini'), Data[i - 1].Arc[2], false) then


Would this be possible with an older version like 7.2.0? I saw this and I wanted to try adding this, but I still have issues with the newest version of ASIS. In the script, this exact line is there, but instead of ExpandArcFile, it's UpdateSource. Adding the password part set to the password of the test archive makes it start to read the files, but gets stuck at 0.

pratikpatel8982 08-05-2021 06:49

How to configure compressor.ini for razor mtx??
 
How to configure compressor.ini for razor mtx??

pratikpatel8982 08-05-2021 07:00

Hi, I compressed a game using diskspan gui with pzlib3:m1+srep_new+razor_mtx. It was compressing fine but at last an error popped up (when razor_mtx) was compressing, it was something about memory reference or something like that, an in the conversion output folder, the .001 file was created but records.ini was not created, so I created it myself but when I extract it, I get crc mismatch error.

So now I've removed razor_mtx (which created error) and compressing again using plzib3 only..... (Hoping to not get any crc error again....)

EDIT: I've compressed the files again using pzlib3 only using diskpan 1.0.0.4 and it still gave CRC error. So the error was because of pzlib3 and I will post in its corresponding thread. Thank You!

L33THAK0R 21-05-2021 07:05

UPDATE: it seems like MSC might be causing some trouble rather than XTool v0.3.9

Hi all,

I recently did a conversion of the original painkiller games using

Code:

msc (:mp3=1:wav=1:raw=1:bmf=9:tak=9:bmp=1:lzma,bt4,fb128,lc8) + XTool 2020 (xzlib) + srep + lolz
and tried to jerry-rig ASIS v7.2.0 (v7.2.2a was giving me grief despite the forum users who tried to help with my issues) to work with XTool 2020, by replacing the xtool .exe and .dll's of ASIS v7.2.0, in their existing directories, with the .exe & .dll's that were in the resources directory for xtool v0.3.9, and additionally editing the ASIS arc.ini unpackcmd string as follows:
Code:

[External compressor:xprecomp,xZLib,xzlib,xLZ4,xlz4,xLZO,xlzo,xZSTD,xzstd,kraken]
header    = 0
unpackcmd = XTool decode -t100p-1 - - <stdin> <stdout>

My issue is that the installer during decompression exits at ~1.5%, with no error code. It's a long shot but I was wondering if anyone might be able to help out, as I have some conversions currently running that are using XTool v0.3.9 features and formatting not available (as far as I know) with the previous version of XTool I was using.

Thank you for anyone taking the time to read this, any help would be greatly appreciated

mr_gnar 31-05-2021 10:15

Quote:

Originally Posted by mr_gnar (Post 491835)
Would this be possible with an older version like 7.2.0?

Still wondering about this. 7.2.2 is still giving me issues, and for some reason, stuff just "works" under 7.2.0, but I still can't get archives set with a password to work with either. 7.2.2 keeps refusing my records.ini and extracts nothing, and 7.2.0 just says "wrong password".

Cesar82 31-05-2021 15:18

ASIS.v7.2.2a
 
@Kaktor, the last version of A.S.I.S. is THIS.


All times are GMT -7. The time now is 14:09.

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