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

Reply
 
Thread Tools Display Modes
  #16  
Old 18-06-2016, 14:24
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 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, 521 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)
Sponsored Links
  #17  
Old 19-06-2016, 01:37
Newbie's Avatar
Newbie Newbie is offline
Registered User
 
Join Date: Sep 2012
Location: Croatia
Posts: 81
Thanks: 112
Thanked 13 Times in 11 Posts
Newbie is on a distinguished road
Here all went fine I guess.

One thing only, not sure does it matter though:

On the 1st pic as you can see, for D2game.dll Date modified is different in restore folder, though it is the same file without any change on it.

On the 2nd pic if my D2game.dll is set as read-only it will get new date, any file extension set as read-only will get new date, is that supposed to work like that, you will know more for sure.

I also have Itemdesc.dll set as hidden and date doesn't change.

I also tested with letters čćžđš and with θωερτψυιοπλκςηγφδσαζχξωβνμ and all worked fine.





For CRC I guess I can use winrar:

Reply With Quote
The Following User Says Thank You to Newbie For This Useful Post:
Razor12911 (19-06-2016)
  #18  
Old 19-06-2016, 18:21
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Thanks, bug fixed, set date before setting attributes.
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
Sarvagya (25-06-2016), Shadow Delta (20-06-2016), Simorq (20-06-2016)
  #19  
Old 21-06-2016, 19:55
pla5ma pla5ma is offline
Registered User
 
Join Date: Mar 2015
Location: Australia
Posts: 2
Thanks: 0
Thanked 4 Times in 2 Posts
pla5ma is on a distinguished road
Thanks Razor for making these awesome programs, I did some tests as well and everything came back pretty much what Newbie posted. I tested lots of different extensions, unicode characters for the file name and file attributes (read-only and hidden). I used md5checker for the checksum and everything was identical to the input. One problem I found was if a file had the read-only attribute, it would always affect the date of the unpacked file no matter its extension; however that seems to be fixed now. Another problem is some of the dates of the restored files are changed (specifically 1 hour back, e.g. if the file was 10:00am to start with, it was 9:00am when unpacked). I did a test on 24 different exe files and 13 of them had their dates changed, it didn't matter if the file was hidden or not. Also I did a test on 3,485 files and only 491 of them got extracted, I did another test with the same files but with only 2,395 and only 320 of them got extracted. Out of the extracted files; some of the files had their dates changed like usual (1 hour back). If you want I could test the same files with the bug you just fixed if the dates still change, otherwise that's all the problems I found; please let me know if you need any screenshots!

Last edited by pla5ma; 22-06-2016 at 04:30.
Reply With Quote
The Following 2 Users Say Thank You to pla5ma For This Useful Post:
Razor12911 (22-06-2016), Sarvagya (25-06-2016)
  #20  
Old 22-06-2016, 23:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Thanks guys, Will post another test after some fixes from the reports you provided.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Sarvagya (25-06-2016)
  #21  
Old 23-06-2016, 11:41
Lucas65 Lucas65 is offline
Registered User
 
Join Date: Nov 2015
Location: Italy
Posts: 59
Thanks: 110
Thanked 23 Times in 15 Posts
Lucas65 is on a distinguished road
As always, many thanksė Razor!
I tried adding some folders at random taken in System32 and is all ok but when I added the folder Roaming in input and started after unpack.exe in restore folder missing about 200 files approximately.
This only happened when I added the folder Roaming.
Reply With Quote
The Following 2 Users Say Thank You to Lucas65 For This Useful Post:
Razor12911 (24-06-2016), Sarvagya (25-06-2016)
  #22  
Old 24-06-2016, 04:59
pla5ma pla5ma is offline
Registered User
 
Join Date: Mar 2015
Location: Australia
Posts: 2
Thanks: 0
Thanked 4 Times in 2 Posts
pla5ma is on a distinguished road
Update: Hey Razor, I decided to look deeper and figure out why ZArc was not extracting all the files. I found that there was three files that the system considered were 0 bytes in size and after removing them, ZArc successfully unpacked all the files. So it seems likes when ZArc encounters a file that is 0 bytes in size, it stops and doesn't compress files after it; e.g. file1: 1mb, file2: 500kb, file3: 0b, file4: 10mb (it will compress up to file2 and stop, so file3 and anything after it will not be in the archive). Also I decided to group the 3,485 files and compress by extension, it took a while but I think it was worth it because I found another problem. These extensions (.bin, .ini, .url, .ksh, .txt, .vdf, .xml) compressed successfully but got an error on decompression "EReadError: Stream read error". I thought to myself how can ZArc unpack all 3,485 files at once which include those extensions but not unpack the extensions individually. I'm not sure how I stumbled upon it but I started to look at the size of the archive, I noticed that ZArc could unpack an archive the size of 100kb but not 20kb. So I started to narrow the margin, I finally ended up with ZArc being able to unpack 64.2kb or higher but not 64kb or lower. I have no idea how I found that problem, but it was not the extensions that were the problem but rather the size of the archive. This applies to any extension, ZArc will not unpack if the size of the archive is 64kb or lower; otherwise you will get this error while trying to unpack "EReadError: Stream read error". Hopefully this helps Razor when trying to fix these problems! tell me if you need any additional information.
Reply With Quote
The Following 2 Users Say Thank You to pla5ma For This Useful Post:
Razor12911 (24-06-2016), Sarvagya (25-06-2016)
  #23  
Old 24-06-2016, 07:49
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by pla5ma View Post
Update: Hey Razor, I decided to look deeper and figure out why ZArc was not extracting all the files. I found that there was three files that the system considered were 0 bytes in size and after removing them, ZArc successfully unpacked all the files. So it seems likes when ZArc encounters a file that is 0 bytes in size, it stops and doesn't compress files after it; e.g. file1: 1mb, file2: 500kb, file3: 0b, file4: 10mb (it will compress up to file2 and stop, so file3 and anything after it will not be in the archive). Also I decided to group the 3,485 files and compress by extension, it took a while but I think it was worth it because I found another problem. These extensions (.bin, .ini, .url, .ksh, .txt, .vdf, .xml) compressed successfully but got an error on decompression "EReadError: Stream read error". I thought to myself how can ZArc unpack all 3,485 files at once which include those extensions but not unpack the extensions individually. I'm not sure how I stumbled upon it but I started to look at the size of the archive, I noticed that ZArc could unpack an archive the size of 100kb but not 20kb. So I started to narrow the margin, I finally ended up with ZArc being able to unpack 64.2kb or higher but not 64kb or lower. I have no idea how I found that problem, but it was not the extensions that were the problem but rather the size of the archive. This applies to any extension, ZArc will not unpack if the size of the archive is 64kb or lower; otherwise you will get this error while trying to unpack "EReadError: Stream read error". Hopefully this helps Razor when trying to fix these problems! tell me if you need any additional information.
Thanks, will post another test using the info you have provided
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Sarvagya (25-06-2016)
  #24  
Old 25-06-2016, 11:00
zealot10 zealot10 is offline
Registered User
 
Join Date: Nov 2010
Location: Singapore
Posts: 14
Thanks: 4
Thanked 2 Times in 2 Posts
zealot10 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Thanks, will post another test using the info you have provided
can i ask a question, razor12911 what compression does corepack repack use until so low compression compare from others group?
Reply With Quote
  #25  
Old 26-06-2016, 11:08
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Tried to fix some bugs and preparing for SFX (Self extractor) function for split and non-splitted archives.

The preparation of this means the first archive size differs from the rest, in this case, first split must be 195MB (Imaginary SFX is 5mb) and the rest is 200MB.

No compression is applied, testing store method which is the default method which comes with ZArc, otherwise things like srep, lzma are things which you can add by yourself because of copyright.

The other reason this is store compression is split archives are a headache (bugs everytime I use other compressors), I have to prepare something before everything works.

Progress: 65%

Things left to do:
Fix split archive bugs
Solid block feature
Add non stdin and/or stdout support
Make ZArc show progress
Command line version
GUI version
Attached Files
File Type: 7z ZArc_test6.7z (415.9 KB, 145 views)
Reply With Quote
The Following 4 Users Say Thank You to Razor12911 For This Useful Post:
Amsal (26-06-2016), RamiroCruzo (26-06-2016), Simorq (26-06-2016), vint56 (26-06-2016)
  #26  
Old 26-06-2016, 12:00
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 169 Times in 75 Posts
RamiroCruzo is on a distinguished road
Smile

Nice work hermano...Tried about 20 different types of stuff.. Also, it shows error with a virus that I created (Virus= Size on Disk is 2 KB but when any program reads it, its 50+ GB).

Here's, one the All Okie screenshots:
Attached Images
File Type: png Screenshot (587).png (79.1 KB, 339 views)
__________________
We are such stuff as dreams are made on, and our little life is rounded with a sleep.

Last edited by RamiroCruzo; 26-06-2016 at 12:06. Reason: Spelling Mistakes
Reply With Quote
The Following 2 Users Say Thank You to RamiroCruzo For This Useful Post:
Amsal (26-06-2016), Razor12911 (26-06-2016)
  #27  
Old 26-06-2016, 18:31
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Benchmark results between ZArc and Freearc

Ran test 5 times to compare duration between Freearc and ZArc again, before ZArc was ****** slow, so did a couple of changes and came back with these.

These tests are very much unreliable because they ran on HDD rather than RAMDisk, however, I tried to run a different test on RAMDisk and freearc kept failing over and over again, "Freearc has stopped working" error messages so HDD results are the only things I have.

Method is kept constant srep+lzma. First ran Freearc, meaning the first three tests are going to be bad, then I ran ZArc, 3 times as well, then 2 times for ZArc then ended with Freearc, just to keep results a bit fair.
Attached Images
File Type: png 1.PNG (55.9 KB, 326 views)
File Type: png 2.PNG (147.8 KB, 326 views)
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Amsal (26-06-2016), Sarvagya (17-12-2016)
  #28  
Old 26-06-2016, 20:55
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Benchmark results between ZArc and Freearc

Ran test 5 times to compare duration between Freearc and ZArc again, before ZArc was ****** slow, so did a couple of changes and came back with these.

These tests are very much unreliable because they ran on HDD rather than RAMDisk, however, I tried to run a different test on RAMDisk and freearc kept failing over and over again, "Freearc has stopped working" error messages so HDD results are the only things I have.

Method is kept constant srep+lzma. First ran Freearc, meaning the first three tests are going to be bad, then I ran ZArc, 3 times as well, then 2 times for ZArc then ended with Freearc, just to keep results a bit fair.
Awesome work bro!!!!!
Reply With Quote
The Following User Says Thank You to Amsal For This Useful Post:
Sarvagya (17-12-2016)
  #29  
Old 01-11-2016, 10:20
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,100 Times in 2,296 Posts
Razor12911 is on a distinguished road
Another test, you can just test this on something that has many files. For example, Quantum Break.

It doesn't decompress just yet, have been busy, couldn't write code just yet for that.
Attached Images
File Type: png 5.PNG (212.1 KB, 228 views)
Attached Files
File Type: 7z ZArc_T7.7z (717.7 KB, 165 views)
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Macke (09-11-2016), Sarvagya (17-12-2016)
  #30  
Old 01-11-2016, 13:42
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,031 Times in 3,084 Posts
pakrat2k2 is on a distinguished road
thanks perfect for Quantum Break ! 600,000 files NO that's correct, so will test this & report back.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Sarvagya (17-12-2016)
Reply

Thread Tools
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 13:39
some kind of algorithm problem in freearc 0.67 rafikhan Conversion Tutorials 0 05-07-2014 04:02
Trine Collection: Trine + Trine 2 (DVD5 - Inno + Freearc) Fabioddq PC Games - CD/DVD Conversions 21 30-06-2013 15:38
Sniper Elite V2 (2xDVD5 - Inno + Freearc) Fabioddq PC Games - CD/DVD Conversions 14 27-09-2012 19:06
how to use FreeArc with precomp+srep+tak BerSerKFMA Software 0 16-12-2011 01:17



All times are GMT -7. The time now is 17:05.


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