GamePacker 4.1.2 Release
Controlling program freearc and sorting files.
The program can:
* Analyzing files and chooses the optimal compression chain.
* Scans the selected game folder and displays a list of compressible files (supports Drag & drop).
* Analyzing files with determine the approximate compressed size.
* Creates many freearc archives with approximately the same size.
* Resume operation from the point of stop in case the freearc console window closes.
* Generate an ISDone installation script.
The analysis is performed by compressing each file individually and determining the size of the archive for each chain of algorithms. Optional, but after analyzing you can compress the game more tightly.
Before you begin, you need to configure the algorithms under yourself (see Configuring the program) and prepare the ISDone script for working with the program:
01 Delete all files associated with ISDone from the script folders except: english.in, russian.ini, ISDone.dll.
02 In the code, delete all the constants that determine the final size of the game (NeedSize, NeedSizeMB), if any.
03 Delete the directive in the Setup section with the ExtraDiskSpaceRequired parameter, if any.
04 In the Files section, delete all files related to ISDone except those specified in clause 1 and the records.inf file (see ISDone help).
05 In the CODE section, after declaring the ISDone functions, add: #include "install.iss".
06 If the script displays the names of files that are being unpacked, then add “DirInsertFileName +” to the ProgressCallback function before using the CurrentFile variable (it should look like this: “DirInsertFileName + CurrentFile”).
07 In the function of canceling the installation, after calling the SuspendProc procedure (or a question, confirming the cancellation) add a call to the CancelExtract procedure.
08 In the directory of unpacking temporary files, delete all files related to ISDone except the files specified in clause 1, and the records.inf and аdd a call to the "Extract Files" procedure for these files.
09 All code for unpacking archives should be replaced with “if not Extract Archives () then break;”.
10 All the code for unpacking archives should be replaced with “if not Extract Archives () then break;”, and in the place where the ISDone errors are processed, add a call to the CancelExtract; procedure before calling the uninstaller.
After these steps, the script will automatically read the information generated by the program.
Using the program is very simple:
* Run the program.
* Choose File -> Scan game folder (or transfer it to the window).
* You can analyze files along the path Archive -> Analysis.
* You go along the path Archive -> Packaging, specify the name of the archives, their maximum size, password for the archives and click "Pack".
Requirements:
* Microsoft .NET Framework 4.6.
* Windows 7 64-bit not lower.
Configuring the program:
The settings window is located on the path: File -> Settings. In the main settings window, you can configure the language, open the settings for an algorithm, group, or analysis. The settings of each algorithm are individual and will not be described here (for a detailed review of them, refer to the help of the corresponding algorithm).
Group Settings:
You can add a group by clicking the "Add" button. You can delete a group by highlighting it and clicking the “Delete” button. To configure a group, you must select it and click the "Configure" button. Group settings include: name, pre-processing algorithms (preprocessors), pre-compression algorithms (pre-compressors), final compression algorithm, and file masks.
Pre-processing and pre-compression settings:
For adding of a new algorithm in queue, you should select this algorithm in the right side of the "Queue of Algorithms" window and click "arrow in left", respectively the "arrow in the right" button deletes the selected algorithm from queue. The "arrow in top" and "arrow in a bottom" buttons move the selected algorithm to queues up and down respectively.
Settings of masks of files:
To change the mask, you must select it and enter a new name in the text box below, and then click the "Save" button. To add a mask you need to do the same procedure, but without highlighting the old masks (to deselect, click on the selected mask with the Ctrl key pressed). The “Delete” button allows you to remove selected masks from the group.
Analysis Settings:
You must use the checkboxes to select the chains that will be checked for all files whose masks are not in the groups. If the chain is indicated by a gray square, then the group associated with it has been deleted.