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)

samadrahman74 21-07-2020 10:12

Quote:

Originally Posted by Cesar82 (Post 486973)
Sorry, it was my mistake.
I hurried and ended up using the wrong variable.
Try it now. I don't have time to test it now.

http://s13.picofile.com/file/8403578718/1.PNG

Copied to Temp folder

https://mega.nz/file/eRxEHAJY#8dIxzu...jlfH3Vm-oOHDB8

Cesar82 21-07-2020 16:40

Quote:

Originally Posted by samadrahman74 (Post 486975)

For me here is working ok.
You are displaying the path correctly in your image.
"Hunter2\Content" is the game's folders(I think).

From the video I realized that you didn't use Records.ini, your setup.ini in the [ExtractSettings] section may be wrong.
If you want, send me your setup.ini.
Or wait for comments from other users if the problem happens to others.

The installation folder path is displayed only within the {app} folder.
I made some minimal changes just to remove the "/" if it is not a game collection installation.
New hotfix available in some of the next posts.

Cesar82 21-07-2020 16:44

Quote:

Originally Posted by pincoball (Post 486966)
The fact is that usually the "About" page is translated in a generic "Information" (-> Informazioni, or just Info for short) in Italian, otherwise you can find the word "Circa..." or "Riguardo..." even though they sound pretty bad and they are less used
In this case I would suggest

ButtonAbout=Circa...
or
ButtonAbout=Riguardo...

I'll use "Circa" if it looks good.
Quote:

Originally Posted by pincoball (Post 486966)
Actually I didn't get where the about caption is located in the video you shown, but if they don't appear in the same page I don't think it's a problem
If you can fit it in the caption you could even translate it in "Informazioni sul programma" as it stands for Information about the program
Nevertheless it is up to you

If the user includes the about button and hashes, both will be displayed at the same time on the same page.

samadrahman74 21-07-2020 23:36

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 486980)
For me here is working ok.
You are displaying the path correctly in your image.
"Hunter2\Content" is the game's folders(I think).

From the video I realized that you didn't use Records.ini, your setup.ini in the [ExtractSettings] section may be wrong.
If you want, send me your setup.ini.
Or wait for comments from other users if the problem happens to others.

The installation folder path is displayed only within the {app} folder.
I made some minimal changes just to remove the "/" if it is not a game collection installation.

Code:

[ExtractSettings]
------------------------------------------------------------------------------------------------------------------------------------------------------
//ArcFile#=                    // string  "Comp", "Task", "Lang" parameters are optional
ArcFile1=Data1.bin.001;DestDir:{app};Type:ARC;Disk:1;

CIU V3 - New Project.zip

houcine80 22-07-2020 04:15

hello
this option (; #define CREATOR) does not work it gives error
[IMG]https://nsa40.casimages.com/img/2020...2755950064.png[/IMG]

Prettyboy099 22-07-2020 06:04

Quote:

Originally Posted by houcine80 (Post 486988)
hello
this option (; #define CREATOR) does not work it gives error
[IMG]https://nsa40.casimages.com/img/2020...2755950064.png[/IMG]

I'm also getting the same error..
And for some reason 'Precomp' and 'PrecompX' from 'win32' folder are getting detected as threat by windows defender.....

houcine80 22-07-2020 07:39

Quote:

Originally Posted by Prettyboy099 (Post 486989)
I'm also getting the same error..
And for some reason 'Precomp' and 'PrecompX' from 'win32' folder are getting detected as threat by windows defender.....

the option (; #define CREATOR) would help us a lot:(
I noticed on the size screen that it was still stolen (400mb)

Cesar82 22-07-2020 09:04

@samadrahman74
Your file "CIU V3 - New Project.zip" from your previous post on the google drive is not accessible.
The settings in Setup.ini are OK.
I'm going to do some tests in the next few days, but I don't know why your game was installing in the temporary folder.

@houcine80
I didn't understand what you meant by that.
Quote:

Originally Posted by houcine80 (Post 486991)
I noticed on the size screen that it was still stolen (400mb)


houcine80 22-07-2020 09:33

Quote:

Originally Posted by Cesar82 (Post 486992)
@samadrahman74
Your file "CIU V3 - New Project.zip" from your previous post on the google drive is not accessible.
The settings in Setup.ini are OK.
I'm going to do some tests in the next few days, but I don't know why your game was installing in the temporary folder.

@houcine80
I didn't understand what you meant by that.


NEW HOTFIX:D:D:D:D
Fixed error on CREATORS mode.

hi
https://nsa40.casimages.com/img/2020...4551465209.png

KaktoR 22-07-2020 09:35

@houcine80
Size calculation has changed

17000mb / 1024mb = 16.6gb

I don't know why Cesar did this :D

samadrahman74 22-07-2020 10:06

Quote:

Originally Posted by Cesar82 (Post 486992)
@samadrahman74
Your file "CIU V3 - New Project.zip" from your previous post on the google drive is not accessible.
The settings in Setup.ini are OK.
I'm going to do some tests in the next few days, but I don't know why your game was installing in the temporary folder.

@houcine80
I didn't understand what you meant by that.


NEW HOTFIX:D:D:D:D
Fixed error on CREATORS mode.

fixed by add Records.ini :| why?

Cesar82 22-07-2020 10:21

Quote:

Originally Posted by KaktoR (Post 486995)
@houcine80
Size calculation has changed

17000mb / 1024mb = 16.6gb

I don't know why Cesar did this :D

Because the SIZE value is specified in MB.
1 GB = 1024 MB (not 1000 MB).
It was wrong before...
How would you correctly write the size for a game that is 1015 MB?

In the next version 3.0.0.1 you will be able to write "17 GB"

KaktoR 22-07-2020 10:25

For 1015 MB I would simply write 1015 or would round up to 1100 :D

Cesar82 22-07-2020 11:23

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 486998)
For 1015 MB I would simply write 1015 or would round up to 1100 :D

Before 1015 it was 1040 MB and not 1015 MB.
1100 before was 1.1 GB = 1127 MB.
It is a matter of getting used to using it.
When you move to version 3.0.0.1 you can use units, this will make it easier.

@samadrahman74, try now the atached hotfix 5
- Fixed error on CREATORS mode.
- Fixed (I think) extraction using [ExtractSetings] section of the "Setup.ini" file (without Records.ini file).
- Added "..." before name of file in CurrentFileName label.

adammail14 25-07-2020 05:12

how to use it ? hmm, my setup cant use it :(

adammail14 25-07-2020 05:14

may i ask something how to compress speciific games which is im roght now want compress sims 4(45 gb), but it gets error :(

samadrahman74 25-07-2020 07:49

how add lzma and 4x4 ?
arc.ini
Code:

[External compressor:rep,mm,exe,exe2,4x4,lzma]
header    = 0
unpackcmd = "FAZip" -i0 decompress:{compressor}{:option} <stdin> <stdout>

setup.iss
Code:

{#ifndef FAZip}  {#define public FAZip "NULL"}  {#endif}
#expr AddToList("FAZip\Win64\*.*", FAZip, "x64")          /*            FAZip x64            */
#expr AddToList("FAZip\Win32\*.*", FAZip, "x86")          /*            FAZip x86            */

COMPRESSOR.ini
Code:

#Define FAZip "DUAL"        /* "x86", "x64", "DUAL"
Does not work!

mausschieber 25-07-2020 07:51

Quote:

Originally Posted by adammail14 (Post 487043)
may i ask something how to compress speciific games which is im roght now want compress sims 4(45 gb), but it gets error :(

you can look here for Specific compress
https://fileforums.com/showthread.php?t=101639&page=2

KaktoR 25-07-2020 14:43

Quote:

Originally Posted by samadrahman74 (Post 487047)
how add lzma and 4x4 ?
arc.ini
Code:

[External compressor:rep,mm,exe,exe2,4x4,lzma]
header    = 0
unpackcmd = "FAZip" -i0 decompress:{compressor}{:option} <stdin> <stdout>

setup.iss
Code:

{#ifndef FAZip}  {#define public FAZip "NULL"}  {#endif}
#expr AddToList("FAZip\Win64\*.*", FAZip, "x64")          /*            FAZip x64            */
#expr AddToList("FAZip\Win32\*.*", FAZip, "x86")          /*            FAZip x86            */

COMPRESSOR.ini
Code:

#Define FAZip "DUAL"        /* "x86", "x64", "DUAL"
Does not work!

lzma/4x4 is already built-in supported (I think by unarc.dll)

KaktoR 25-07-2020 14:46

Quote:

Originally Posted by adammail14 (Post 487043)
may i ask something how to compress speciific games which is im roght now want compress sims 4(45 gb), but it gets error :(

You can use this as reference

https://fileforums.com/showpost.php?...postcount=1771

samadrahman74 26-07-2020 09:08

Quote:

Originally Posted by KaktoR (Post 487050)

The Sims 4 V1.64.84.1020
Code:

---------------------------
ISDone.dll
---------------------------
An error occurred while unpacking: Does not match checksum!
Unarc.dll returned an error code: -12
ERROR: file C:\Program Files (x86)\Kala Dena\The Sims 4 Eco Lifestyle\Game\Bin\Core\QtWebKit4.dll failed CRC check
---------------------------
OK 
---------------------------

Code:

xtool:zlib+srep:m3f+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000

KaktoR 26-07-2020 09:18

You have to exclude this two files from archive

Code:

Game\Bin\Core\QtWebKit4.dll
Game\Bin_LE\Core\QtWebKit4.dll


Cesar82 05-08-2020 11:37

CIU 3.0.0.1.b6 (Beta 6)
 
1 Attachment(s)
I am sharing CIU v3.0.0.1.b6:eek: here so that more users can test and report the bugs found.
I would like to ask the members of the forum to try to use the version attached in their conversions so that it is possible to use this version and no longer create updates for 3.0.0.0.

There is a delay when starting up so I don't need an opinion from you who use CIU. This delay is due to the use of the video player library which is also used to perform audio playback.
Using BASS.dll did not allow online audio playback, so there is the option of leaving the video library for video only, but the audio will only be able to play .mp3 files from the disc and will also lose some other current functionality. Do I return the BASS library to the CIU allowing only .mp3 audio files but decreasing the CIU initialization time?

NOTES:
- The CIU version 3.0.0.1 has changes in relation to 3.0.0.0 so I recommend to observe the new keys and sections in the file "_Setup.ini" file.
- Compile the Shadow Of Tomb Raider theme installer in progressbar mode and run to view some of the changes, or read in the changelog.

Grumpy 05-08-2020 18:58

Quote:

Originally Posted by Cesar82 (Post 487261)
@Mods, if possible, attach the LINK file to the post (I was unable to upload here).

Done and thanks

KaktoR 06-08-2020 07:31

@Cesar
Should I post the u9 update (latest HF5?) with complete package + new ultraarc version?

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 07:06.

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