www.ice-graphics.com Forum Index www.ice-graphics.com
The main forum for the ICE-Graphics software
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How I store ISO files and I want commandline options.

 
Post new topic   Reply to topic    www.ice-graphics.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
JurgenD



Joined: 02 Oct 2005
Posts: 2

PostPosted: Sun Oct 02, 2005 5:04 pm    Post subject: How I store ISO files and I want commandline options. Reply with quote

I do it this way: (doit.bat)
------------------------------
Steps

Step 1: First an SFV is created to TEMP
Step 2: I create a multivolume rar with 10% recovery record of
50MB chunks to OUT
Step 3: I decompress the rar to TEMP
Step 4: I verify the results with the SFV
Step 5: I remove all files from TEMP
Step 6: I wait for user interaction to create the .ECC in OUT
Step 7: I create an SFV from BOTH .ecc and .r?? files

OK, step 7 is not so important because You can check inside the .ecc
if the file is valid. But I like to have a .sfv of both anyway.

So as You see, I miss the CMDLINE version of ICE-ECC to complete my script Smile

------------------------------
@echo off
echo ===================================================================
echo Pack2Store v1.2 (Splits iso to rar with MD5 file for storage on CD)
echo Author: DEBO Jurgen (jurgen@person.be)
echo ===================================================================
echo. |time |.\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 1 Create a MD5 file of files in IN \1/"
cd .\in
rem ..\bin\md5sum -b *.* > ..\temp\%1.md5sum
..\bin\pure-sfv -q -c ..\temp\%1.sfv "*.*"
echo. |time |..\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 2 Compress files which are in IN to multipart rar and put them to out \1/"
echo .......And join comment file file_id.diz
rem geen inul param
..\bin\rar a -cl -m4 -rr10p -s -k -mcE -t -vn -v50m -ep -zfile_id.diz ..\out\%1.rar *.*
if not errorlevel 0 goto error1
echo. |time |..\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 3 Extract multipart to temp and verify if it match \1/"
cd ..\temp
..\bin\rar e -inul ..\out\%1.rar
if not errorlevel 0 goto error2
rem ..\bin\md5sum -c --status %1.md5sum
rem ..\bin\pure-sfv -q %1.sfv
rem if errorlevel 1 goto error2b
echo. |time |..\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 4 Cleaning temp and In file \1/"
cd ..\
del /q .\temp\*.*
echo. |time |.\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 5 Wait for user interaction \1/"
echo Create an .ECC file for Your rar and hit a key when done...
pause
echo. |time |.\bin\ssed -e "2,2d;s/.*: \(.*\)/Step 6 Creating SFV file for multipart \1/"
cd .\out
rem ..\bin\md5sum -b %1.r?? > %1.win.md5
rem ..\bin\ssed -e "s/ *\*/|/g" %1.win.md5 > %1.bsd.md5
..\bin\pure-sfv -q -c %1.sfv "%1.*"
cd ..
echo NOTE : Your files are succesfully created in the out directory
goto done
:error1
echo ERROR: There was an error while compressing the files...
goto done
:error2
echo ERROR: There was an error when decompressing the created multiparts...
goto done
:error2b
echo ERROR: The extracted iso of the multipart does not match the orig iso...
goto done
:done
echo MANUALLY
echo 1. Create an ICE-ECC from all .ra? files with standard settings
echo 2. Create an SFV from all files with RAPIDcrc
echo. |time |find "current"
echo done...
Back to top
View user's profile Send private message
ICE Graphics
Site Admin


Joined: 31 Mar 2003
Posts: 430

PostPosted: Tue Oct 04, 2005 7:55 am    Post subject: Re: How I store ISO files and I want commandline options. Reply with quote

JurgenD wrote:
So as You see, I miss the CMDLINE version of ICE-ECC to complete my script Smile

I see. Planning to add it in future versions
Back to top
View user's profile Send private message Visit poster's website
JurgenD



Joined: 02 Oct 2005
Posts: 2

PostPosted: Thu Apr 26, 2007 9:29 pm    Post subject: Reply with quote

Back.

Thanks for the implementation.

Last request.

Linux versions compiled with gcc.
First a cmdline version...

Thanks. You did a GREAT JOB !
Back to top
View user's profile Send private message
ICE Graphics
Site Admin


Joined: 31 Mar 2003
Posts: 430

PostPosted: Fri May 25, 2007 10:31 am    Post subject: Reply with quote

JurgenD wrote:
First a cmdline version...

ICE ECC is a cmdline version. Refer to help.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.ice-graphics.com Forum Index -> Suggestions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group