Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-09-2011, 13:38
KillerOh's Avatar
KillerOh KillerOh is offline
Registered User
 
Join Date: Oct 2009
Location: Brazil
Posts: 77
Thanks: 1
Thanked 1 Time in 1 Post
KillerOh is on a distinguished road
By looking the setup.ini file provided in the newest setup code, I've noticed the following:
Code:
FreeArcFile1={src}\Movies.cab;DestDir:{app};Disk:1;PrecSrep:0
It seems that switching that "0" to "1" will enable PreComp and SRep compressions.
Plus, by reading this:
Quote:
Originally Posted by yener90 View Post
PrecSrep feature:
first create a ARC file with no compression -> extension must be arc
then create precomp and at least srep file
compress srep file using freearc with the extension that you want.
IMPORTNANT the names must be always the same.

example: Deadisland.arc -> DeadIsland.pcf -> DeadIsland.srep -> DeadIsland.cab or DeadIsland.arc
I suppose that will do the trick.
I haven't seen the coding part yet, but I suppose that, if no "*.srep" file is present, then the IsDone functions will just "skip" that and start PreComp de-compress.

I'll enjoy the chance and ask if there is a way to make a "cab" file uncompress ONLY when we select a specific language.
I mean, let's consider that I've created three different cabs, "lang_eng.cab" (English), "lang_esp.cab" (Spanish) and "lang_ger.cab" (German). Is that possible to this installer to unpack only "lang_eng.cab" when select "english" in the lang selector, or "lang_esp.cab" when select "spanish" language, and so on?
Sponsored Links
  #2  
Old 22-09-2011, 14:41
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by KillerOh View Post

I suppose that will do the trick.
I haven't seen the coding part yet, but I suppose that, if no "*.srep" file is present, then the IsDone functions will just "skip" that and start PreComp de-compress.

I'll enjoy the chance and ask if there is a way to make a "cab" file uncompress ONLY when we select a specific language.
I mean, let's consider that I've created three different cabs, "lang_eng.cab" (English), "lang_esp.cab" (Spanish) and "lang_ger.cab" (German). Is that possible to this installer to unpack only "lang_eng.cab" when select "english" in the lang selector, or "lang_esp.cab" when select "spanish" language, and so on?
you must use both:
precomp and srep, otherwise setup will make problems.
unfortunately didnt add this recogition.

with the language files.
good idea bro. will add the idea to the script.
  #3  
Old 30-09-2011, 21:32
Ozzy1911 Ozzy1911 is offline
Registered User
 
Join Date: Aug 2011
Location: in my home?
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Ozzy1911 is on a distinguished road
Hey yener90, i have an problem with Your script.

When compiling ISFreeArcExtract v.4.5 i get a fail prompt :
Unknown type: TGUID
at line 81 column 9.

Any help ?
Im using Inno Setup version 5.4.2.
  #4  
Old 10-01-2013, 04:54
geekstar geekstar is offline
Registered User
 
Join Date: Nov 2012
Location: India
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
geekstar is on a distinguished road
Quote:
Originally Posted by KillerOh View Post
By looking the setup.ini file provided in the newest setup code, I've noticed the following:
Code:
FreeArcFile1={src}\Movies.cab;DestDir:{app};Disk:1;PrecSrep:0
It seems that switching that "0" to "1" will enable PreComp and SRep compressions.
Plus, by reading this:

I suppose that will do the trick.
I haven't seen the coding part yet, but I suppose that, if no "*.srep" file is present, then the IsDone functions will just "skip" that and start PreComp de-compress.

I'll enjoy the chance and ask if there is a way to make a "cab" file uncompress ONLY when we select a specific language.
I mean, let's consider that I've created three different cabs, "lang_eng.cab" (English), "lang_esp.cab" (Spanish) and "lang_ger.cab" (German). Is that possible to this installer to unpack only "lang_eng.cab" when select "english" in the lang selector, or "lang_esp.cab" when select "spanish" language, and so on?
should the extension of srep compressed file be *.srep or *.rep????please answer quickly....
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 - Questions Here REV0 Conversion Tutorials 1565 29-11-2024 09:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Help- How to extract a .bin file compressed by a code ? Adonix Conversion Tutorials 22 22-03-2015 15:02
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 03:40



All times are GMT -7. The time now is 14:35.


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