Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-06-2016, 12:35
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
What to test?

Well I added 2 test this time in 1

restoration test:

All you do is place a file, "INPUT.dat" then run ZArc, compression will start then afterwards decompression, you'll have 2 new files, OUTPUT.dat is the compressed file and RESTORED.dat is the unpacked file, to test if file was restored properly, just compare CRC for INPUT.dat and RESTORED.dat, if it the same then I'm on the right track.

splitting test:

All you do here is add files in input directory, if possible just use the same input you used in restoration test so that you can check if the size of the content in output direct is roughly the same, CRC must be the same because headers aren't really included in the splitting process if it isn't then shame, will have to look at the custom stream sources and do modifications.

What's remaining?

* No stdin and/or stdout compressor support (Currently busy with this)
* Add header information, date of files, CRC, file names, file sizes etc
* Make ZArc use ZArc.ini
* Command line version, drag and drop etc
* Restoration of splitted archives (Already have a strategy of how to complete this task)
* Add Groups/Masks
* Make GUI

@ChronoCross
Yep, correct. I haven't added headers yet.
Attached Files
File Type: 7z ZArc_test3.7z (1.74 MB, 336 views)
Reply With Quote
The Following 11 Users Say Thank You to Razor12911 For This Useful Post:
Blue-D (07-08-2016), chum (15-06-2016), kenzo34 (14-06-2016), Lin Ming (01-07-2017), Mini (14-06-2016), nickwazhere2012 (18-06-2016), RamiroCruzo (14-06-2016), Sarvagya (25-06-2016), Simorq (14-06-2016), vint56 (14-06-2016), zouzouni (21-05-2017)
Sponsored Links
  #2  
Old 18-06-2016, 13:24
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Almost there, another test, no responses from previous test I guess everything is okay, anyways.

From this test, I managed to make archive splits restoration (wasn't easy making code for this and as of yet, it needs some tweaks for perfections)

What you must test is whether:
* The state of the input directory is the same as restore directory, I mean things like when the file was created, was the file hidden, read only, system file etc.
* Restoration is a success with CRC matching

What you must make sure:
* Make sure you don't have a 0 byte file in the directory, I haven't considered those files quite yet.
* Make sure you have more than 1 file in the directory. (Been getting errors if there is less than 2 files)

Take note:
The method used here is 4x4, just wanted to make test is as quick as possible.
Split size is set to 200MB

What to do to run test:
Put files in input folder
play with the input a little bit, hide some folders and files, play with dates and etc, also use Unicode characters on some of the files, e.g. Greek letters.
Run pack.exe then wait till it finishes
Check output directory to see the splits.
Run unpack.exe then wait till it finishes
Compare input folder with restore folder
Attached Images
File Type: png ZArc1.PNG (95.7 KB, 524 views)
Attached Files
File Type: 7z ZArc_test5.7z (1.34 MB, 155 views)
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
Amsal (18-06-2016), Macke (09-11-2016), Mini (19-06-2016), RamiroCruzo (18-06-2016), Sarvagya (25-06-2016), Simorq (18-06-2016), vint56 (19-06-2016)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doom 3 BFG Edition Fabioddq PC Games - CD/DVD Conversions 6 03-03-2019 12:39
some kind of algorithm problem in freearc 0.67 rafikhan Conversion Tutorials 0 05-07-2014 03:02
Trine Collection: Trine + Trine 2 (DVD5 - Inno + Freearc) Fabioddq PC Games - CD/DVD Conversions 21 30-06-2013 14:38
Sniper Elite V2 (2xDVD5 - Inno + Freearc) Fabioddq PC Games - CD/DVD Conversions 14 27-09-2012 18:06
how to use FreeArc with precomp+srep+tak BerSerKFMA Software 0 16-12-2011 00:17



All times are GMT -7. The time now is 16:54.


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