Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #511  
Old 08-05-2013, 20:23
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
you cant tell it to detect that file. you can either compress it as it is or compress the unpacked version of the file, cant do both.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
danswano (09-05-2013)
Sponsored Links
  #512  
Old 11-05-2013, 07:24
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Hello,
I have a high end PC, how do i increase the compression speed in my parameter?

Thank you.
Reply With Quote
  #513  
Old 11-05-2013, 13:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
i = integer

Freearc
-mti for multi cputhread compression
-lc for compression memory
-use LMZA x64
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (11-05-2013)
  #514  
Old 11-05-2013, 13:54
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Can you give a full parameter example for arc+srep using specific lc and mt please?
Reply With Quote
  #515  
Old 11-05-2013, 14:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
arc -ep1 -r -ed -m3 -mt4 -lc8192mb

for precomp, just look at the cmd prompt window and it will tell you what method to use for quick compression

for srep -mem384mb I think

Last edited by Razor12911; 11-05-2013 at 14:08.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (11-05-2013)
  #516  
Old 20-05-2013, 09:46
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Instructions on scripts which use ISDone v0.6

Ok, First things first.

This blackbox script/installer doesn't support internal compression therefore, I will show you how to use the freearc, 7zip, srep, precomp, winrar, diskchange unpacking.

Now here is an example and a few explainations.

if not ISArcExtract (Component, Progress, ArchiveSource, Destination, '', false, Password, ExpandConstant('{tmp}\arc.ini'), True/False) then break;

if not IS7ZipExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;

if not ISRarExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;

if not ISSRepExtract (Component, Progress, ArchiveSource, Destination, True/False) then break;

if not ISPrecompExtract(Component, Progress, ArchiveSource, Destination, True/False) then break;

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Component > Allows unpacking when the component is selected. Ask for more info about this.

e.g

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Progress > The progressbar taken up by the unpacking progress of archive. Take NOTE, 100 is the total, therefore is it's one archive, set 100, if two, set 50 and the other 50

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data2.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

ArchiveSource > Now as you can see, the example, ExpandConstant('{src}\Data1.bin'). The expandconstant is for the constant expansion for never mind it but you should take it for granted. {src} which means source of the setup, {pf} means the folder program files, for other constants, click here.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Destination > it acts the same way as the source of files but now you are directing the files in the archive to be unpacked in a folder, take note, this can only work if you are unpacking freearc, 7z or rar archive because they can contain a lot of files in one and as for precomp and srep, specify the destination file.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;

if not ISPrecompExtract( 0, 0, ExpandConstant('{src}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;

Password > The archive password set by you.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

True/False > aka. notPCFonFLY {PCFonFLY} It's an option to delete file after unpacking process, True means, file must be deleted and False means file mustn't be deleted.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Now, here are a few examples.

The Password feature is only available for 7z, rar and arc.

Freearc

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

7zip

if not IS7ZipExtract ( 0, 75, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}'), false, '1234') then break;

rar

if not ISRarExtract ( 0, 25, ExpandConstant('{src}\data.rar'), ExpandConstant('{app}'), false, '4321') then break;

srep

if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\data.srep'),ExpandConstant(' {app}\data.pcf'), true) then break;

precomp

if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;


Now comes to the diskchange

if not ShowChangeDiskWindow (Text, ExpandConstant('{src}'),Archive) then break;

Text > The text which should be written to notify the user of the setup on what to do.

Archive > The archive the setup can use for verification.

e.g.

if not ShowChangeDiskWindow ('Insert the next disk...', ExpandConstant('{src}'),'Data7.cab') then break;
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
danswano (20-05-2013), y_thelastknight (20-05-2013)
  #517  
Old 20-05-2013, 10:13
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
How do I create a reg key universal x64 x32???
Reply With Quote
  #518  
Old 20-05-2013, 10:27
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by nicola16 View Post
How do I create a reg key universal x64 x32???
Use the 32bit scheme and on 64bit OS it will insert it in the right place don't worry.
Reply With Quote
  #519  
Old 20-05-2013, 11:12
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
@danswano
hmm, it will also insert Wow6432Node on 32-bit which doesn't exist
Reply With Quote
  #520  
Old 20-05-2013, 12:01
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
If you use this key for example:
Quote:
HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\
on 32 bit it will be
Quote:
HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\
and on 64bit
Quote:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\
Tested many times and on multiple Windows versions.

Installshield and advanced installer do the same.

Bottom of the line, there is no need to think or worry about the Wow6432Node at all.
Reply With Quote
The Following User Says Thank You to danswano For This Useful Post:
y_thelastknight (20-05-2013)
  #521  
Old 20-05-2013, 12:37
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
to work thanks
Reply With Quote
  #522  
Old 21-05-2013, 04:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
yeah, That's the only program I can use at the moment, I don't know how to use the Visual Basics and Visual Studios. Plus, Inno Setup has some other features which can be easily controlled.

Preview for Designer 0.1preview
Preview 2

Progress:= 3%
Attached Images
File Type: jpg 2013-05-21_13_33_56.jpg (60.1 KB, 153 views)
Attached Files
File Type: 7z Designer 0.0.0.7z (1.50 MB, 82 views)
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
mausschieber (21-05-2013), pakrat2k2 (21-05-2013)
  #523  
Old 24-05-2013, 03:51
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Re: Designer

Guys am I a genius or what?

Finally discovered something to make the designer much easier, just by using Inno Setup and nothing else like the Visual Studio and other application programs. Check this out, I got two ways to create designer, either designer integrated inside the installer or just a separate program.




Here is the example below, You can move back button while in the installer and not via the script

How to check example, run setup.exe, click next then you'll see backbutton, drag it around but don't lose it,
Attached Files
File Type: 7z setup.7z (509.5 KB, 35 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
y_thelastknight (24-05-2013)
  #524  
Old 25-05-2013, 04:08
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Re: Designer,

Progress: 10%

Decided to remove all graphics first, they are a distraction.
Attached Images
File Type: jpg 2013-05-25_13_07_20.jpg (69.9 KB, 157 views)
Reply With Quote
  #525  
Old 25-05-2013, 04:38
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
Good progress.
Reply With Quote
Reply


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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 12:40.


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