Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-08-2020, 05:44
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
@mausschieber
Quote:
Originally Posted by mausschieber View Post
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).
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
houcine80 (07-08-2020), mausschieber (07-08-2020)
Sponsored Links
  #2  
Old 07-08-2020, 11:34
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,617 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post

@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..
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 ). so you can use the compressed (precomp048 modified) file.

i've changed it using "Visual Studio 2019". then the result was terrible.
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.
Attached Files
File Type: rar PrecompX_v2.0.0.1 x64 and x86 without UPX.rar (528.1 KB, 15 views)
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (07-08-2020)
  #3  
Old 07-08-2020, 11:57
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
[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!
Attached Files
File Type: 7z UPX vs MPress vs uPACK (EXE Compressor).7z (551.1 KB, 16 views)

Last edited by Cesar82; 07-08-2020 at 12:02.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
BLACKFIRE69 (07-08-2020)
  #4  
Old 07-08-2020, 12:15
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,617 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
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>
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (07-08-2020)
  #5  
Old 07-08-2020, 22:47
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,617 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
@Cesar82,

i rewrote PrecompX v2.0.0.1 with Delphi 2010.

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

but unfortunately Delphi 2010 doesn't support "64-bit".
Attached Files
File Type: rar PrecompX v2.0.0.1 - 32 bit.rar (95.4 KB, 6 views)
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (07-08-2020)
  #6  
Old 08-08-2020, 00:22
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,828
Thanked 2,311 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
@Cesar82,

i rewrote PrecompX v2.0.0.1 with Delphi 2010.

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

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.
Reply With Quote
  #7  
Old 08-08-2020, 03:01
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,617 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
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.
ok thankz ... 👍
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 13:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 07:19



All times are GMT -7. The time now is 23:58.


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