FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Tutorial using CI 8.0.0 (https://fileforums.com/showthread.php?t=92805)

BAMsE 12-07-2012 11:35

Born_inSANE if you're running process with -c- parameter, the output file will be bigger and better srepped due to using no compression.
If you're running process via drag'n'drop on exe it uses default -cb compression on output file so it'll be smaller but worse srepped
the right choice is -c- and bigger output

BTW: when I told about drag'n'drop few posts above I mean drag'n'drop to bat file, not exe :)

Born_inSANE 12-07-2012 20:35

Thanks BAMse.Now I compressed the Data1.srep using freearc,and after compression the Data1.arc had few files that are meant to be compressed and the Data1.srep in it ,so should I delete Data1.srep or not ?

BAMsE 13-07-2012 03:57

Born_inSANE data1.srep must be compressed to data1.cab not data1.arc.
Your directory probably contains both data1.arc and data1.srep while compressing srep file, so it was added to existed data1.arc.

Finally data1.cab must contain data1.srep ONLY

mikey26 13-07-2012 04:21

Hi BAMse thanks again for all the help got it working perfect (precomp and srep). just one thing after precomp finishes running it giving a suggestion on commands to use in srep should they be used eg: -zl11,68 -d1.other than that i have yener's awesome script and precomp with srep working perfect for me.


Dont worry sorted it out stupid mistake

BAMsE 13-07-2012 13:27

Quote:

Originally Posted by mikey26 (Post 404290)
commands to use in srep should they be used eg: -zl11,68 -d1

No no. These parameters are for precomp if you are precomping THIS file once again. Using them speeds up the process

Born_inSANE 13-07-2012 22:04

How to compress Data.srep to Data.cab ?
And I tried putting few images(Resized and renamed) in setup.cab but they aren't showing up,is this because of wrong compression(I compressed them using freearc and renamed to*.cab)

pakrat2k2 13-07-2012 22:19

the setup.cab is used by CI 8*, to display the images etc, NOT for your game archives.

you create a m0 ( no compression archive, for your game ) then you precomp that file, which will end up bigger then original archive, then srep the output file from precomp, finally re-archive the output srep file with whatever compression you want. ALL filenames must have same prefix, IE use data.arc then data. - - - for both precomp & srep. At the very end you can specify the final filename output as either *.arc/cab/bin whatever you want to call it, could even be mnbvhgoewe... the name + extension is up to you. Just make sure that the script knows what filename+extension its supposed to look for.

As for the images NOT showing up its because the setup.cab file MUST use either winrar or 7-zip to add / replace images in it. First lines on page 1 of this topic.

Here is a big tutorial for my CI (C Custom I Installer) 8:
Required files for the installation..... ( next line ) tells you what setup.cab is & how to edit it.

Born_inSANE 14-07-2012 01:52

I have compiled the script and got mygame.exe , couple of setup.bin files at 2.01GB and at first run its asking for disc 1,did I make any mistake ?

mikey26 14-07-2012 02:51

@Born inSANE edit your setup.ini it should look something like this if your used precomp and srep.

[InstallOptions]
ApplicationName=Dirty Showdown
Publisher=Codemasters
MyExecutableName=showdown.exe
MyExecutablePath=
SaveGameFolder=
GameSize=9646
Lang=de,en,es,fr,it
LangUI=0
PrecompVer=0.42
Editor=yener90

[InstallSettings]
GDFBinary=game_gdf.dll

[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1

Leave out PrecSrep:1 if your just used freearc

Born_inSANE 14-07-2012 03:31

Got this error IsDone.dll.I compressed this way data.arc---->data.pcf------>data.srep,and at last compressed data.srep with winzip and renamed it asa data.cab and compiled it.

Born_inSANE 14-07-2012 05:01

I just removed
[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1

from the script and and ran .exe, it extracted the Data1.arc and Data2.arc which had srep files in them.

mikey26 14-07-2012 05:11

@Born_inSANE u need to compress the data.srep with freearc not winzip.use the setting
[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1

just replace data1.bin with what eva your cab file is called.

Born_inSANE 14-07-2012 06:35

Now it installed but the o/p folder has Data.arc with Data.srep in it,what happened exactly ?

mikey26 14-07-2012 08:02

are u using yener's script post the iss and setup.ini let me have a look and what version of precomp and srep are u using?

Born_inSANE 14-07-2012 09:26

I'll do it soon.


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

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