FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [CIUv3] Custom Installer Ultimate v3 (https://fileforums.com/showthread.php?t=102510)

Cesar82 06-08-2020 08:25

Quote:

Originally Posted by KaktoR (Post 487272)
@Cesar
Should I post the u9 update (latest HF5?) with complete package + new ultraarc version?

You know, if you want you can post.
I have no changes after [2020.07.01] HF5.
Or if you want, simply post the HF5 in the first post with the other files.

KaktoR 06-08-2020 12:17

First post updated.

mausschieber 06-08-2020 16:41

why is my avast detecting PrecompX.exe and PngtoBmp.exe as Virus

BLACKFIRE69 06-08-2020 18:37

Quote:

Originally Posted by mausschieber (Post 487279)
why is my avast detecting PrecompX.exe and PngtoBmp.exe as Virus

its's because PrecompX is compressed with UPX. but it's a false positive. (it doesn't contain any viruses.).

Cesar82 07-08-2020 05:44

1 Attachment(s)
@mausschieber
Quote:

Originally Posted by mausschieber (Post 487279)
why is my avast detecting PrecompX.exe and PngtoBmp.exe as Virus

I attached the files PrecompX, and PngToBmp without UPX compression for you to test replacing the previous executable that was captured by the antivirus.
It is also compatible with CIU 3.0.0.0.u9, but it is necessary to change the folder name "Compressors" to "Decompressors" in the contents of the attachment file.


@BLACKFIRE69.
You could share modifyed "Precomp 0.48" without compressing with UPX. Removing the compression of these compatible precomp.exe executables they stop working.
Your project's executables (also the changed Precomp 0.48 version) don't support compiling with older versions of delphi (like DELPHI 2010), this would make executables smaller, without the need to use UPX.
Although when compiling setup.exe the compression of Inno Setup will make setup.exe close to the size when used with UPX exe, the extraction time of the executable when starting the installation process will increase.
Only the 32-bit + 64-bit of Precomp.exe and PrecompX.exe executables add up to 13.8 MB (very large size).

BLACKFIRE69 07-08-2020 11:34

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 487285)

@BLACKFIRE69.
You could share modifyed "Precomp 0.48" without compressing with UPX. Removing the compression of these compatible precomp.exe executables they stop working.
Your project's executables (also the changed Precomp 0.48 version) don't support compiling with older versions of delphi (like DELPHI 2010), this would make executables smaller, without the need to use UPX.
Although when compiling setup.exe the compression of Inno Setup will make setup.exe close to the size when used with UPX exe, the extraction time of the executable when starting the installation process will increase.
Only the 32-bit + 64-bit of Precomp.exe and PrecompX.exe executables add up to 13.8 MB (very large size).


PrecompX

ithink CIUv3 uses the initail version of PrecompX (v.1.0).
Code:

PrecompX v1.0 (x86):  449 kb  (with UPX))
PrecompX v1.0 (x86):  1.26 mb (without UPX)

but the story of version 2.0.0.1 is different. i was able to manage it.. :D
Code:

PrecompX v2.0.0.1 (x86):  200 kb (with UPX))
PrecompX v2.0.0.1 (x86):  862 kb (without UPX)

but anyway, i'll upload the PrecompX of version v2.0.0.1 without UPX.


Modified version of Precomp 0.4.8

the modified version of "Precomp0.48" is not detected as a virus. (i think so :rolleyes:). so you can use the compressed (precomp048 modified) file.

i've changed it using "Visual Studio 2019". then the result was terrible. :mad:
Code:

Precomp 0.4.8 (x86): 5.07 mb (modified) (without UPX)
but UPX gave it a size of 706 kb.


if anyone knows of a tool instead of UPX, please share it with me. ;)

Cesar82 07-08-2020 11:57

1 Attachment(s)
Quote:

Originally Posted by BLACKFIRE69 (Post 487290)
[B]
if anyone knows of a tool instead of UPX, please share it with me. ;)

You can do tests with attached compressor file.
Depending on the exe file it may or may not be accused as a virus.
I did some tests and uPACK looks good size, but for some DLLs it was captured as false positive by the antivirus.

I will update precompX on CIU.
Thanks!

BLACKFIRE69 07-08-2020 12:15

the command line and options have been changed.

Arc.ini for PrecompX v2.0.0.1 ;)

Code:

[External compressor:precompx]
header    = 0
packcmd  = PrecompX.exe a -c128m -t100p -brute - - <stdin> <stdout>
unpackcmd = PrecompX.exe x -t4 - - <stdin> <stdout>


BLACKFIRE69 07-08-2020 22:47

1 Attachment(s)
@Cesar82,

i rewrote PrecompX v2.0.0.1 with Delphi 2010. :D

this time i got the final size with UPX as "94 kb". that's great. :eek:

but unfortunately Delphi 2010 doesn't support "64-bit".

Cesar82 08-08-2020 00:22

Quote:

Originally Posted by BLACKFIRE69 (Post 487294)
@Cesar82,

i rewrote PrecompX v2.0.0.1 with Delphi 2010. :D

this time i got the final size with UPX as "94 kb". that's great. :eek:

but unfortunately Delphi 2010 doesn't support "64-bit".

I did some research and found out that from Delphi XE2 support for 64-bit executables was implemented.
I tested it here and it really is the first one that has the option of 64 bits in XE2.
https://i.imgur.com/rf1O4Ee.png

BLACKFIRE69 08-08-2020 03:01

Quote:

Originally Posted by Cesar82 (Post 487296)
I did some research and found out that from Delphi XE2 support for 64-bit executables was implemented.
I tested it here and it really is the first one that has the option of 64 bits in XE2.
https://i.imgur.com/rf1O4Ee.png

ok thankz ... 👍

Prettyboy099 08-08-2020 06:07

CIU 3.0.0.1.b6
 
I got a problem using MP4 file. I don't know if it was on previous versions as I have never used a video file but when video is playing, the 'Video : Off' button doesn't work and video keeps repeating....

Cesar82 08-08-2020 08:50

Quote:

Originally Posted by Prettyboy099 (Post 487301)
I got a problem using MP4 file. I don't know if it was on previous versions as I have never used a video file but when video is playing, the 'Video : Off' button doesn't work and video keeps repeating....

Videos have worked in CIU since version 1.0.0.0 of CIU, but there was a time when updates to video codecs caused the libraries responsible for playing video to stop working.
Now thanks to altef_4 that remade his entire library, it will be possible to play videos again on CIU.

The CIU theme installer the video seems to be working ok here.
Watch the video HERE for more details.
I have not tested playing files during game installation.
As for the loop, check the key Loop= of the [VideoOrFlashBG] section in setup.ini is not set to "1".
If it's another project you can send it to me and I'll check it for you (if you want).

Prettyboy099 08-08-2020 10:10

Yeah, thanks. Now I noticed the mistake I made..

Cesar82 08-08-2020 10:52

New changes to CIU 3.0.0.1
 
Thinking about some situations in which the labels are very small and some fonts are unreadable in certain cases.
Like what happens when converting Horizon Zero Dawn - Complete Edition (by Prettyboy099).
I decided to make it possible to use independent font configurations (optional) for the labels on the SystemRequiriments page.
With these new settings it is possible to configure an alternative font file (optional) or font/shadow settings for the highlighted part.
https://i.imgur.com/jmaC7Gb.png


All times are GMT -7. The time now is 04:45.

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