FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Help- How to extract a .bin file compressed by a code ? (https://fileforums.com/showthread.php?t=96342)

Carldric Clement 18-10-2014 18:36

Quote:

Originally Posted by Dante1995 (Post 435114)
try adding these 2 files and change arc.ini, but I do not know if it works :confused:

arc.ini
Code:

[External compressor:precomp]
header = 0
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
unpackcmd = srep {options} -d -s - - <stdin> <stdout>

[External compressor:srep64]
header = 0
unpackcmd = srep64 {options} -d -s - - <stdin> <stdout>

[External compressor:lzma64]

header = 0
unpackcmd = lzma64 d lzma{:option} <stdin> <stdout>


in [Files]
Code:

Source: Include\srep64.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\lzma64.exe; DestDir: {tmp}; Flags: dontcopy

in function InitializeSetup(): Boolean;
Code:

ExtractTemporaryFile('lzma64.exe');
ExtractTemporaryFile('srep64.exe');


Fix My Self:
arc.ini
Code:

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

[External compressor:srep]
header = 0
packcmd  = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep64]
header = 0
packcmd  = srep64 {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:lzma64]

header = 0

packcmd  = FreeArc-LZMA-x64 e lzma{:option} <stdin> <stdout>
unpackcmd = FreeArc-LZMA-x64 d lzma{:option} <stdin> <stdout>

Fix From Scripts File:
Code:

Source: Include\7z.dll; DestDir: {tmp}; Flags: dontcopy
Source: include\arc.ini; DestDir: {tmp}; Flags: dontcopy
Source: Include\CLS-MSC.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\CLS-precomp.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\CLS-srep.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\english.ini; DestDir: {tmp}; Flags: dontcopy
Source: Include\facompress.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\facompress_mt.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\FreeArc-LZMA-x64.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\packjpg_dll.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\packjpg_dll1.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\packZIP.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp038.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp040.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp041.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp042.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\precomp043.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\records.inf; DestDir: {tmp}; Flags: dontcopy
Source: Include\russian.ini; DestDir: {tmp}; Flags: dontcopy
Source: Include\srep.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\srep64.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\Unarc.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\Unrar.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\xdelta3.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\zlib1.dll; DestDir: {tmp}; Flags: dontcopy

And Last Is:
Code:

ExtractTemporaryFile('7z.dll');
ExtractTemporaryFile('arc.ini');
ExtractTemporaryFile('CLS-MSC.dll');
ExtractTemporaryFile('CLS-precomp.dll');
ExtractTemporaryFile('CLS-srep.dll');
ExtractTemporaryFile('english.ini');
ExtractTemporaryFile('facompress.dll');
ExtractTemporaryFile('facompress_mt.dll');
ExtractTemporaryFile('FreeArc-LZMA-x64.exe');
ExtractTemporaryFile('packjpg_dll.dll');
ExtractTemporaryFile('packjpg_dll1.dll');
ExtractTemporaryFile('packZIP.exe');
ExtractTemporaryFile('precomp.exe');
ExtractTemporaryFile('precomp038.exe');
ExtractTemporaryFile('precomp040.exe');
ExtractTemporaryFile('precomp041.exe');
ExtractTemporaryFile('precomp042.exe');
ExtractTemporaryFile('precomp043.exe');
ExtractTemporaryFile('russian.ini');
ExtractTemporaryFile('srep.exe');
ExtractTemporaryFile('srep64.exe');
ExtractTemporaryFile('unarc.dll');
ExtractTemporaryFile('unrar.dll');
ExtractTemporaryFile('xdelta3.dll');
ExtractTemporaryFile('zlib1.dll');
ExtractTemporaryFile('records.inf');

Done FIX!
:D:rolleyes::cool:

Dante1995 18-10-2014 19:10

NO OK!! TEST

recommended Razor compressor v1.2.0

example script:
((no SETUP.CAB add))

1)
Source: Include\srep64.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\lzma64.exe; DestDir: {tmp}; Flags: dontcopy

2)
if Uppercase(GetIniString('InstallOptions', 'PrecompVer64', '0', ExpandConstant('{tmp}\Setup.ini'))) = 'INSIDE' then begin
ExtractTemporaryFile('CLS-precomp.dll');
ExtractTemporaryFile('packjpg_dll.dll');
ExtractTemporaryFile('packjpg_dll1.dll');
ExtractTemporaryFile('precomp.exe');
ExtractTemporaryFile('zlib1.dll');
ExtractTemporaryFile('srep64.exe');
ExtractTemporaryFile('lzma64.exe');
end;

3)SETUP.INI
PrecompVer=0.38
PrecompVer64=INSIDE



good job

Razor12911 19-10-2014 14:29

Nice one Dante, I don't like people going round in circles and end up complicating things. Srep64 and Srep is just the same thing, also LZMA. Only difference is quick (de)compression, oh and... Same Compression Ratio. And disadvantage, decompression in 32-bit may not be possible. Just stick with what has been there already, especially you Carl Johnson, lol.

Dante1995 19-10-2014 14:48

you know razor, but so they understand better, I explained how the 100 times help to many but then I always ask the same things, it seems a crime to study :)

Carldric Clement 19-10-2014 15:20

Quote:

Originally Posted by Razor12911 (Post 435146)
Nice one Dante, I don't like people going round in circles and end up complicating things. Srep64 and Srep is just the same thing, also LZMA. Only difference is quick (de)compression, oh and... Same Compression Ratio. And disadvantage, decompression in 32-bit may not be possible. Just stick with what has been there already, especially you Carl Johnson, lol.

I'm not C.J(Carl Johnson) from GTA San Andreas! Did i have a brother like Sweet ,Smoke or Ryder? huh?

:mad:

Dante1995 19-10-2014 16:01

razor has made ​​a mess, did not understand that he spoke to (adapt) srep64BIT to CIU Carl, however, try to read the guide SREP, I see you're good at work you're not in the grass, I apologize for razor Carl, perhaps too studied the boy :rolleyes:

Carldric Clement 19-10-2014 16:05

Quote:

Originally Posted by Dante1995 (Post 435150)
razor has made ​​a mess, did not understand that he spoke to (adapt) srep64BIT to CIU Carl, however, try to read the guide SREP, I see you're good at work you're not in the grass, I apologize for razor Carl, perhaps too studied the boy :rolleyes:

Thanks Dante1995! For giving your say!
I see from Razor12911 they call me
Carl Johnson! I'm Not CJ!

I will remove that i say the swear words it!
:rolleyes::cool::D

Razor12911 22-03-2015 15:02

Quote:

Originally Posted by lolaya (Post 438879)
why no everyone tell me how to unpack this?? why?

http://www.fileforums.com/showpost.p...4&postcount=14
http://www.fileforums.com/showpost.p...7&postcount=17


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

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