![]() |
@skakmatch
Open Main.iss. 1. Add this under #defines: Code:
#define Publisher "Ubisoft"Code:
DefaultDirName={{#Dir}}\{#Publisher}\{#AppName} |
@skakmatch
{pf}\UbiSoft\FarCry 3 Quote:
Name: full; Description: Full installation; Flags: iscustom |
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;http://imageshack.us/a/img819/3221/error1i.png when i press ok i get http://img199.imageshack.us/img199/7880/error2g.png i am kinda stuck, any help will be much appreciated. |
1 Attachment(s)
@D4rksp4wn
Use this unarc.dll download and extract attachment, copy and replace the unarc.dll in include folder |
Quote:
Thank you in advance. |
by the way. What method did you use?
|
i think its precomp error..try without precomp..
|
Quote:
The compression method i used is Code:
-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8they 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:lc8Also 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 |
Problem Decompress :confused:
Code:
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; |
@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. |
@Zocky,
first error is the progress, read up the tutorials i did on the previous page. |
Quote:
|
fileforums.com/showthread.php?t=94435 there. And almost forgot, the problem might be arc.ini too.
|
thank you very much, downloading and testing your code right now, once tested will let you know my thoughts.
all the best from Brazil. |
ops sry i found the answer
|
| All times are GMT -7. The time now is 10:57. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com