FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Blackbox Inno Setup Script (https://fileforums.com/showthread.php?t=94425)

D4rkSp4wn 24-05-2013 07:53

Quote:

Originally Posted by foo8088 (Post 418424)
ops sry i found the answer

Could you please share it with us?

Kurutucu 25-05-2013 15:44

Updated 1.4

-Added Publisher.

-Fixed all extraction problems and bugs.

goku1205 26-05-2013 09:14

Is not work :/ Problem in ISDone

Razor12911 26-05-2013 09:49

Instructions

D4rkSp4wn 26-05-2013 10:29

i still have the same problem extracting precomp+srep+freearc

Razor12911 26-05-2013 10:35

ok wait... uploading v1.4 update for unicode :D

D4rkSpa4wn will fix the bug just wait a few minutes

y_thelastknight 26-05-2013 10:56

Quote:

Originally Posted by D4rkSp4wn (Post 418632)
i still have the same problem extracting precomp+srep+freearc

dude can you post your compressing file like arc.ini compress.bat precomp.exe srep.exe

D4rkSp4wn 26-05-2013 11:16

Using freearc 0.67

i select the all content of the main game folder, right click it, freearc add to archive

in the compression method in the gui i use

Code:

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
my arc.ini for decompression is


[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

decompression line in the script is

Code:

    if not ISArcExtract ( 0, 100, ExpandConstant('{src}\*.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
the errors i get are:

http://imageshack.us/a/img819/3221/error1i.png

when i press ok i get

http://img199.imageshack.us/img199/7880/error2g.png

i have included the arc.ini into the script with the line

Code:

Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy
i have no idea about what i am doing wrong lol

y_thelastknight 26-05-2013 11:25

Quote:

Originally Posted by D4rkSp4wn (Post 418637)
Using freearc 0.67

i select the all content of the main game folder, right click it, freearc add to archive

in the compression method in the gui i use

Code:

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
my arc.ini for decompression is


[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

decompression line in the script is

Code:

    if not ISArcExtract ( 0, 100, ExpandConstant('{src}\*.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
the errors i get are:

http://imageshack.us/a/img819/3221/error1i.png

when i press ok i get

http://img199.imageshack.us/img199/7880/error2g.png

i have included the arc.ini into the script with the line

Code:

Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy
i have no idea about what i am doing wrong lol

what is ur precomp and srep version?

Razor12911 26-05-2013 11:28

1 Attachment(s)
BlackBox Inno Setup Script Unicode

Update v1.4

Changes
-Fixed Splash Screen
-Fixed Bug in data unpacking
-Added Srepx64 and Lzmax64 Support
-Now Set up archives in archive.ini
-Freearc 0.67 Alpha Support added

D4rkSp4wn 26-05-2013 11:35

Quote:

Originally Posted by y_thelastknight (Post 418638)
what is ur precomp and srep version?

precomp 043
srep 3.2

both copied to include folder

i had no luck with precomp 042

and the older srep versions

Razor12911 26-05-2013 11:39

use precomp 038-042
use any srep version

I used this method in v1.4 Unicode Script and it worked

-mprecomp:t-jnf:zl31,34,39,44,55,64,67,68,73,74,75,84,85,94,97 ,99:d0+srep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc 1000:lc8

D4rkSp4wn 26-05-2013 12:42

looks like the ansi version is messed up, unicode version working fine here, even with precomp043 (If you change it on arc.ini and include it on the precompinside folder)

Razor12911 26-05-2013 12:49

hmm, I didn't even know that precomp043 is supported in isdone, will add support to my source.

D4rkSp4wn 26-05-2013 13:35

Found the solution for my problem with the ansi version.

Open the arc.ini and find the line:
Code:

unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Change to:
Code:

unpackcmd = srep {options} -d -s - - <stdin> <stdout>
all working fine now.


All times are GMT -7. The time now is 08:24.

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