![]() |
1 Attachment(s)
Wait... you prepared cab with such commandline
Code:
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "PATH TO BE COMPRESSED"Code:
[InstallOptions]For one-step commandline compression you should use Code:
[InstallOptions]Here is a package containing all necessary files. 1. extract it anywhere 2. drag'n'drop the folder which content you want to compress to #compress.bat (use some small for testing) 3. put in your setup.ini Code:
[InstallOptions]5. pack arc.ini from this package to the root of your setup.cab |
The two methods, not out of 10.1%. but previously, I discovered that the problem of compression does not work, arc.exe was corrupted!
Only 10.1%: http://imageshack.us/scaled/landing/821/semttuloisb.jpg But unfortunately the problem this compression: Code:
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "PATH TO BE COMPRESSED" |
What does this mean:
Could not get file size of file temp000000001.dat_ Why do I get that. Any reason for that. What I can see is that I get that message NOT at the same place of compression. Sorry, don't know how to explain. Bat code: echo off :start cls set choice1= set arc= set retry= echo. set /p choice1=Please type game folder path (e.g. c:\Game): if "%choice1%"=="" goto start echo. echo Creating archive files, please wait... :Data1 set arc=Data1.bin arc a -ep1 -r -w.\ .\Disk1\%arc% -mprecomp:zl98:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc 1000:lc8 "%choice1%\Data\*" if ERRORLEVEL 1 goto arcfail echo.All done. pause goto EOF :arcfail echo. echo.WARNING: FreeArc returns an error in archive %arc%! set /p retry=Do you wish to retry [Y/N]: if /I "%retry%"=="Y" goto %arc:~0,5% pause :EOF Thank You EDIT: Forgot to mention, it is while using Packjpg.dll compression. |
kassane I really don't understand what you're saying :o
Did you got any error massage? And I've told you to take some small piece of data for testing, not few GB :eek: |
EDIT: Well, it looks like it all works fine.
|
Quote:
You can create a batch code of arc+precomp038+srep+arc? |
How can i convert Data1.arc to Data1.cab using freearc?
|
kassane well... dozens of people haven't problem with this set of compressors, like with this commandline... so draw a conclusion
First: Quote:
I say it once again and last time: use a few MB of data for testing, don't compress whole game, because you're wasting time. Moreover not all files are eligible for precomping Second: Quote:
|
BAMsE, I noticed better and saw this problem:
http://imageshack.us/a/img805/8982/semttulojaa.jpg And also appears Errorlevel=2... What do I do? |
ErrorLevel=2 means there is no streams that could be decompressed. Simplifying - there's no benefit using precomp.
But about access problem... hmmm it's first time I see this, I have no idea what's happened. Seems the tmp file is still on hdd (if not the ErrorLevel=4), so maybe it was inspected by your AV at this time :confused: Did you found your output archive? Did you test it in CI? |
The problem is that with this error the cab file is not created, so I can not test it on CI!
I did some testing here on my computer, and realized that the precomp038 functioned normally, only precomp042 that give this error ... Then I try to test the precomp043 if error or not, talk to the developer precomp! Edit: I tested the precomp043 and it worked, but unfortunately the CI is not adapted for this precomp... Precomp043: http://imageshack.us/scaled/landing/27/precomp043.jpg Arc.ini Code:
[External compressor:precomp] |
If you experienced the file access problem always at the same position you can force precomp to avoid it. Just add to your compress definition
Code:
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8Take some JPGs and try to compress them - they're well-precomped and shouldn't cause any error. If it worked, most likely cause of the error is data type you want to compress before. As I said: not all files are eligible for precomping BTW: use -c- parameter instead of -cb for precomp. The first leaves output file non compressed (so it can be well-srepped), second compress output with bZip2 (poorly-srepped) |
@kassane: Oh, please, not red on black, it's completely unreadable!
|
I'm sorry, the next show with color red....
Note: BAMsE, I just use the code, "-cb" in precomp043 in version 042 "-c-". Edit: I have two news, one good and one bad: Good News: The new code that you showed me, solved the problem of errorlevel = 2 / errorlevel = 0 ... The Data.cab is created. :) Code:
-mprecomp:v:i169529374+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8http://imageshack.us/scaled/landing/145/semttuloumx.jpg |
kassane maybe it's silly question, because I've said it dozens of times, but... did you set PrecompVer=inside in your setup.ini?
|
| All times are GMT -7. The time now is 04:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com