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
  #91  
Old 20-05-2013, 12:47
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
@skakmatch

Open Main.iss.

1. Add this under #defines:

Code:
#define Publisher "Ubisoft"
2. Find DefaultDirName={{#Dir}}\{#AppName} then change with this

Code:
DefaultDirName={{#Dir}}\{#Publisher}\{#AppName}
Reply With Quote
The Following User Says Thank You to Kurutucu For This Useful Post:
skakmatch (20-05-2013)
Sponsored Links
  #92  
Old 20-05-2013, 12:48
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@skakmatch
{pf}\UbiSoft\FarCry 3

Quote:
Originally Posted by Shanilka View Post
How to add Compact View Option to my setup
[Types]
Name: full; Description: Full installation; Flags: iscustom

Last edited by Grumpy; 21-05-2013 at 01:43.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
skakmatch (20-05-2013)
  #93  
Old 21-05-2013, 04:20
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
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;
all seems to be normal but when it starts the extraction i got the following errors



when i press ok i get



i am kinda stuck, any help will be much appreciated.
Reply With Quote
  #94  
Old 21-05-2013, 04:32
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@D4rksp4wn

Use this unarc.dll

download and extract attachment, copy and replace the unarc.dll in include folder
Attached Files
File Type: 7z unarc.7z (317.6 KB, 249 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
D4rkSp4wn (21-05-2013)
  #95  
Old 21-05-2013, 13:20
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
@D4rksp4wn

Use this unarc.dll

download and extract attachment, copy and replace the unarc.dll in include folder
Thank you very much for the fast reply but unfortunately it didnt worked for me, i am still getting the same error.

Thank you in advance.
Reply With Quote
  #96  
Old 21-05-2013, 13:26
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
by the way. What method did you use?
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
D4rkSp4wn (21-05-2013)
  #97  
Old 21-05-2013, 13:39
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
i think its precomp error..try without precomp..
Reply With Quote
  #98  
Old 21-05-2013, 16:47
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
Talking

Quote:
Originally Posted by Razor12911 View Post
by the way. What method did you use?

The compression method i used is
Code:
-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
i have also tried copying the unarc.exe and arc.exe from my Freearc bin folder to the include folder but unfortunately it did not helped.

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
compression chain.

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
Reply With Quote
  #99  
Old 22-05-2013, 05:09
Zocky Zocky is offline
Registered User
 
Join Date: Feb 2013
Location: Haha
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Zocky is on a distinguished road
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;
Reply With Quote
  #100  
Old 22-05-2013, 07:16
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@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.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
y_thelastknight (22-05-2013)
  #101  
Old 22-05-2013, 07:19
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
@Zocky,

first error is the progress, read up the tutorials i did on the previous page.
Reply With Quote
  #102  
Old 22-05-2013, 07:28
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
@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.
what converter? can you please link me to it?
Reply With Quote
  #103  
Old 22-05-2013, 09:43
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
fileforums.com/showthread.php?t=94435 there. And almost forgot, the problem might be arc.ini too.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
D4rkSp4wn (22-05-2013), Prince Soft (10-11-2016)
  #104  
Old 22-05-2013, 14:45
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
thank you very much, downloading and testing your code right now, once tested will let you know my thoughts.

all the best from Brazil.
Reply With Quote
  #105  
Old 23-05-2013, 00:46
foo8088 foo8088 is offline
Registered User
 
Join Date: Nov 2011
Location: Malaysia
Posts: 10
Thanks: 11
Thanked 6 Times in 1 Post
foo8088 is on a distinguished road
ops sry i found the answer
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
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24



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


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