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

Reply
 
Thread Tools Display Modes
  #1  
Old 14-01-2016, 04:39
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 539
Thanks: 113
Thanked 766 Times in 299 Posts
panker1992 is on a distinguished road
Lightbulb Precomp 0.44 and NEW packjpg.exe (self optimized)

Dear community,

I decided to give a try to self optimize some software,

as i have until now, many times optimized software, Note that i dont own anything i just took the code from github optimized it and passed it over

Into the goodies now :

1) Self compiled precomp with full optimization node in compiler

2) precomp is 64 bit native, and its dll is optimized to be 64 (reason) i was taking error in skymmer's x64 precomp

3) the packjpg_dll.dll is not inside precomp.exe, it comes separetely and its vast superior in terms of speed, above 9% faster

4) New packjpg.exe 64bit native, compiled using gcc 4.8.2 and high optimize + see instruction set + -o3 instead of -o2 without -Dbuild-dev enabled

5) it comes 9% faster than previous one i posted in masked compression


Tests:
__________________________
packjpg.exe new one x64

Install Started - 13:32:24.02
Number of Input Files - 119

Install Finished - 13:32:40.04
Number of Output Files - 119
___________________________

packjpg.exe old one x86

Install Started - 13:33:10.65
Number of Input Files - 119

Install Finished - 13:33:28.10
Number of Output Files - 119
___________________________

packjpg_old = 18 seconds || packjpg_new = 16 seconds

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Precomp and packjpg.dll Compiled by Panker 1992 vs Skymmer's Edition
Note: my precomp and it's dll are 64 bit optimized they dont run on x86
__________________________________________________ ____________________

Test 1 : Counter Strike 1.6 (Pure Data)
Method : Precomp + srep + zstd

Install Started - 11:33:15.09

Install Finished - 11:36:20.14

Total Time ~ 3 Minutes and 5 Seconds


Precomp and packjpg.dll Compiled by Skymmer

Install Started - 11:27:46.00

Install Finished - 11:30:52.55

Total Time ~ 3 Minutes and 6 Seconds

Well not much difference here but i havent tested a huge file yet :/
__________________________________________________ ______________________
__________________________________________________ ______________________

Here i took 120 random photos all were jpg files (150mb)
and chained them inside precomp just to see if i really did optimize the dll file

Test 2 : 150 Megabytes of Photos
Method : Precomp + srep + zstd

Install Started - 13:02:35.17

Install Finished - 13:03:57.30

Total Time ~ 1 minute 22 Seconds


Install Started - 13:05:05.69

Install Finished - 13:06:36.67

Total Time ~ 1 minute 31 Seconds

My precomp with it's dll is above 9% faster Enjoy

Edit : i left my universal precomp as it is, because it is somewhat optimized

and added original precomp 4.4 from Christian

also Note that 4.4 is ALPHA version no more beta
Attached Files
File Type: 7z Packjpg.7z (203.2 KB, 262 views)
File Type: 7z Precomp_Universal_stable.7z (219.2 KB, 314 views)
File Type: 7z Precomp.7z (265.0 KB, 246 views)
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.

Last edited by panker1992; 14-01-2016 at 08:37. Reason: Added Original Precomp from Christian
Reply With Quote
The Following 10 Users Say Thank You to panker1992 For This Useful Post:
arkantos7 (14-01-2016), buttignol (14-01-2016), felice2011 (14-01-2016), kassane (14-01-2016), kenzo34 (14-01-2016), lhanz678 (15-01-2016), Mini (14-01-2016), NexusIV (14-01-2016), Simorq (14-01-2016), Stor31 (14-01-2016)
Sponsored Links
  #2  
Old 14-01-2016, 07:48
kenzo34's Avatar
kenzo34 kenzo34 is offline
Registered User
 
Join Date: Oct 2014
Location: france
Posts: 92
Thanks: 416
Thanked 59 Times in 37 Posts
kenzo34 is on a distinguished road
hi panker1992 i need your help please: Capture.PNG
my precomp in arc.ini is:

[External compressorrecomp]
header = 0
packcmd = precomp -slow -t-j -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
Reply With Quote
  #3  
Old 14-01-2016, 07:54
Mini Mini is online now
Registered User
 
Join Date: Nov 2013
Location: -
Posts: 125
Thanks: 171
Thanked 76 Times in 43 Posts
Mini is on a distinguished road
packcmd = precomp -intense -cn -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Precomp 0.4.4 is out.

List of changes:
- Updated libraries (PackJPG 2.5a -> 2.5j, bZip 1.0.5 -> 1.0.6, zLib 1.2.5 -> 1.2. (Issue #13)
- Conversion switch reports filesize now
http://schnaader.info/precomp.php
Reply With Quote
The Following 3 Users Say Thank You to Mini For This Useful Post:
arkantos7 (14-01-2016), kenzo34 (14-01-2016), Lucas65 (14-01-2016)
  #4  
Old 14-01-2016, 08:01
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 539
Thanks: 113
Thanked 766 Times in 299 Posts
panker1992 is on a distinguished road
Nice i have wonderful news as well

i have seen Schaader tries to pull a multihtreaded process out of precomp


i believe in a couple of months a multhithreaded version of precomp maybe a 0.5 will be up and running

Update your packjpg.exe its 2.5j and fully optimized i will update my precomp as well
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
  #5  
Old 14-01-2016, 08:17
kenzo34's Avatar
kenzo34 kenzo34 is offline
Registered User
 
Join Date: Oct 2014
Location: france
Posts: 92
Thanks: 416
Thanked 59 Times in 37 Posts
kenzo34 is on a distinguished road
thank you very much Mini

working now
Reply With Quote
  #6  
Old 14-01-2016, 08:38
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 539
Thanks: 113
Thanked 766 Times in 299 Posts
panker1992 is on a distinguished road
Nice kenzo post some feedback did the optimize one work for you ??
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
  #7  
Old 14-01-2016, 08:48
kenzo34's Avatar
kenzo34 kenzo34 is offline
Registered User
 
Join Date: Oct 2014
Location: france
Posts: 92
Thanks: 416
Thanked 59 Times in 37 Posts
kenzo34 is on a distinguished road
since you post your compression method I take off all my other keeping only your own.
I follow you at each update. precomp 0.4.4 working now my arc.ini was wrong configure.
continue your great work panker1992 Thank you
Reply With Quote
  #8  
Old 14-01-2016, 10:23
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 539
Thanks: 113
Thanked 766 Times in 299 Posts
panker1992 is on a distinguished road
Kenzo i write at each update which tool is safe and which is BETA testing

at the moment Precomp 0.44 is safe to use, if you use alpha version of the program

some of the tools are BETA testing only for example antiz

its good to stay up to date ....but use only stable released programs

Enjoy
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
Reply

Thread Tools
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



All times are GMT -7. The time now is 11:26.


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