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)

NiTroViouSiX 02-07-2012 11:33

yeaaaah ...thanks dude ,,, its done
really thanks for you and Joe Forster/STA
if i face any other problem i will inform u:D
(sorry for bad english ):D
thanks :)

NiTroViouSiX 02-07-2012 15:49

mate sorry,,

but there are some points

Quote:

-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
i have compressed data to " .arc"
but how to compress it to (pcf-srep-cab)
also by rename them?

- i need too , to know how to attach direct x - c++ ?

Quote:

[LauncherSettings]
InstallRedist=1

Launch1=DirectX
Launch164=0
Launch1BeforeInstall=1
LaunchCom1=support\DirectX\DXSETUP.exe
LaunchArg1=/silent

Launch2=OpenAL
Launch264=0
Launch2BeforeInstall=1
LaunchCom2=support\OpenAL\OpenALwEAX.exe
LaunchArg2=/s

Launch3=Rapture3D
Launch364=0
Launch3BeforeInstall=1
LaunchCom3=support\Rapture3D\rapture3d.exe
LaunchArg3=/silent
i do'nt understand it well?

best regards,,thank you

Born_inSANE 11-07-2012 06:54

I am facing the same problem as "NiTroViouSiX" is facing i.e; even after renaming *.zip -->*.cab there were no images showing during images(Zero images + No sound).So started compressing game files and renaming Data1.arc---->Data1.cab,then started setup after changing few things in Setup.ini and Installer.iss.
Then the game wasn't there but only uninstallation files were present and a shortcut was show on desktop.


So it would be good to hear from the experts for the solution for this


Compress all files in Data.arc
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab

I think just renaming isn't the thing so I am expecting someone to explaining the above process.I am a nOOb so don't say that "Can't you even do this simple process by yourself,you'r a noob".Please help out this poor person.

BAMsE 11-07-2012 09:29

NiTroViouSiX, Born_inSANE you don't need to
Code:

Compress all files in Data.arc
 -> Compress Data.arc in Data.pcf
 -> Compress Data.pcf in Data.srep
 -> Compress Data.srep in Data.cab

This process is used to gain better compression ratio.

If you really need it, so, here you go:
1. compress files with freearc and zero compression (output file i.e. data321.arc)
2. compress data321.arc with precomp (output file: data321.pcf)
3. compress data321.pcf with srep (output file: data321.srep)
4. compress data321.srep with freearc and some strong compression (output file: data321.cab)

Remember to modify setup.ini
Code:

FreeArcFile321={src}\Data321.cab;DestDir:{app};Disk:1;PrecSrep:1
NiTroViouSiX it's easy:

Code:

Launch1=My program                            ---> name of the redist program shown near the checkbox in installer 
Launch164=0                                  ---> 32/64 bit application switch
Launch1BeforeInstall=1                        ---> should be redist program installed before or after main installation
LaunchCom1=redist\MyProgram\myprogram.exe    ---> path to the exe
LaunchArg1=/silent                            ---> additional arguments i.e. for silent installation (usually you can get it by executing myprogram.exe with /? argument


Born_inSANE 11-07-2012 09:36

Thanks got it,will work on it.

mikey26 11-07-2012 09:37

BAMsE what would be the best settings for precomp and srep for max compression.i created a bat fie for precomp eg : precomp -intense -oData1 Data1.arc and for srep eg:srep -m2 Data1.pcf Data1.srep ant other tips would be much appreciated.

Born_inSANE 11-07-2012 09:46

Getting some good compression ratios by this way,thanks for helping out.

BAMsE 11-07-2012 09:53

mikey26 use
Code:

precomp -intense -v -c- -oData1 Data1.arc
-c- means zero compression for output file (better srep results)
-v means debug mode (if something goes wrong you can see problematic position and start precomping once again but with -i######### parameter; ######### means problematic position)

Born_inSANE 11-07-2012 09:58

Quote:

Originally Posted by mikey26 (Post 404247)
BAMsE what would be the best settings for precomp and srep for max compression.i created a bat fie for precomp eg : precomp -intense -oData1 Data1.arc and for srep eg:srep -m2 Data1.pcf Data1.srep ant other tips would be much appreciated.

Can u give the complete command for running max compression using .bat file,include everything,I tried echo Command didn't work,so that it help me out.

mikey26 11-07-2012 10:13

thx BAMsE's info was great understand it much better now.very easy now.

@ Born_inSANE

Make a precomp.bat inside the bat file paste : precomp -intense -v -c- -oData1 Data1.arc (replace data1 with what eva your arc file is called)

Srep : make bat file again paste inside bat file srep -m2 Data1.pcf Data1.srep (u can switch m2 for m3 for more compression.

also read futher up what Bamse wrote about problematic areas using precomp to use the switch -i

BAMsE 11-07-2012 10:50

You can use drag'n'drop function :D
precomp042.bat
Code:

precomp042 -intense -v -c- %1
pause

srep30.bat
Code:

srep30 -m3f %1
pause

Now drag'n'drop any file on these bats in explorer :D
Remember to change extension of output files (blablabla.pcf.srep ---> blablabla.srep)

mikey26 11-07-2012 14:51

Problem Event Name: APPCRASH
Application Name: precomp042.exe
Application Version: 0.0.0.0
Application Timestamp: 4e7f8c91
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdb3b
Exception Code: c0000005
Exception Offset: 0002e23e
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 7177
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789


any idea why this happens: i did u this command in my bat as u said : precomp -intense -v -c- -oData1 Data1.arc

BAMsE 11-07-2012 16:02

1 Attachment(s)
mikey26 don't bother with windows error window. You need to have pause command after precomp -intense -v -c- -oData1 Data1.arc to avoid cmd window disappearance and to see position of faked header. So find last "found at position" text and use this sequence of numbers with -i parameter
Attachment 3590

mikey26 11-07-2012 16:12

cool stuff mate....very painful getting almost to end and error and have to restart again thank god for my spare converting pc goes fairly quick..

Born_inSANE 12-07-2012 05:33

Running those commands off bat files made 35MB file to 36MB after running both precomp and srep.
After that I just used drag'n'drop on precomp.exe and srep.exe,then those files went from 35MB to 15.8MB after running precomp and it stayed the same after srep using both .exe.
Was everything right there ?And what next if everything is right ?

After using bat method I got a file close to 11Mb but is this right ?
http://imagebay.us/images/4o0rxnq0smu4cfsezyu_thumb.png

And the version made using .exe is this http://imagebay.us/images/8uqkxcjl8aifri9g0xi5_thumb.png and I believe that its right,So which one is right ?


Sorry for so many posts though.


All times are GMT -7. The time now is 02:13.

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