|
#91
|
|||
|
|||
|
@skakmatch
Open Main.iss. 1. Add this under #defines: Code:
#define Publisher "Ubisoft" Code:
DefaultDirName={{#Dir}}\{#Publisher}\{#AppName}
|
| The Following User Says Thank You to Kurutucu For This Useful Post: | ||
skakmatch (20-05-2013) | ||
| Sponsored Links |
|
#92
|
||||
|
||||
|
@skakmatch
{pf}\UbiSoft\FarCry 3 [Types] Name: full; Description: Full installation; Flags: iscustom Last edited by Grumpy; 21-05-2013 at 01:43. |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
skakmatch (20-05-2013) | ||
|
#93
|
|||
|
|||
|
Hi, iam compressing my game with -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
using Freearc 0.67 alpha, i have included the arc.ini in the script and theres only one file called Data-1.bin The decompressionj line is Code:
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data-1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
![]() when i press ok i get ![]() i am kinda stuck, any help will be much appreciated. |
|
#94
|
||||
|
||||
|
@D4rksp4wn
Use this unarc.dll download and extract attachment, copy and replace the unarc.dll in include folder |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
D4rkSp4wn (21-05-2013) | ||
|
#95
|
|||
|
|||
|
Quote:
Thank you in advance. |
|
#97
|
||||
|
||||
|
i think its precomp error..try without precomp..
|
|
#98
|
|||
|
|||
|
The compression method i used is Code:
-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 they way i am doing it is: i browse the main game folder, select all files and folders by pressing Alt+A then right clicking it and cascade menu Freearc===> Add to Archive during the compression process i have noticed that the precomp version used by Freearc is the 0.42 so i have defined it in the decompression script header as 0.42. Weird thing is that if i extract the file using the right click options==>Freearc==>Extract Here all works fine and the file get extracted with no error. Also noticed that selecting all files and folders and using the -m0 then srep (default settings) then Freearc -mx works if i define the decompression lines in the script but the compression ratio is not good as if i use the Code:
-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 Also if i use the precomp(default settings) before srep compressing manually it seems srep cant do anything with the precomp file so looks like doing it manually is not an option for me. i am used to scripting but this one is really cracking my head with this error, i have been compressing games since 2001 and i have experience with a lot of compression algorithms (like darkcomp paq*,uha etc) i still use the setup.bat thingy but since it can get some users in trouble because of windows user permissions and UAC and bla bla bla i am moving to Inno and the best stuff i got till now is this script (Faster,Easier etc.). Anyway, the game i am doing final size is 15gb and compressed i got it to 2.12gb using audio conversion and file injection so i am happy with the size itself hehe, i just need to get rid of this damn error lol. Best Regards |
|
#99
|
|||
|
|||
|
Problem Decompress
![]() Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-1.srep'),ExpandConstant(' {app}\Setup-1.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-1.pcf'), ExpandConstant('{app}\Setup-1.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-2.srep'),ExpandConstant(' {app}\Setup-2.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-2.pcf'), ExpandConstant('{app}\Setup-2.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\Setup-3.srep'),ExpandConstant(' {app}\Setup-3.pcf'), true) then break;
if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\Setup-3.pcf'), ExpandConstant('{app}\Setup-3.bin'), true) then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
|
|
#100
|
||||
|
||||
|
@D4rkSp4wn
i see, this script has a lot of bugs which i can fix and make them disappear but my hands are tied. Try that method using the converter, program i created. If it fails, then there's nothing i can do. |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
y_thelastknight (22-05-2013) | ||
|
#101
|
||||
|
||||
|
@Zocky,
first error is the progress, read up the tutorials i did on the previous page. |
|
#102
|
|||
|
|||
|
what converter? can you please link me to it?
|
|
#103
|
||||
|
||||
|
fileforums.com/showthread.php?t=94435 there. And almost forgot, the problem might be arc.ini too.
|
| The Following 2 Users Say Thank You to Razor12911 For This Useful Post: | ||
D4rkSp4wn (22-05-2013), Prince Soft (10-11-2016) | ||
|
#104
|
|||
|
|||
|
thank you very much, downloading and testing your code right now, once tested will let you know my thoughts.
all the best from Brazil. |
|
#105
|
|||
|
|||
|
ops sry i found the answer
|
![]() |
|
|
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 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |