Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18-07-2019, 15:10
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Thanks for the tests, 95% complete. the new release will first ship with 1 codec (zlib) just to see if everything works as expected
Reply With Quote
The Following 10 Users Say Thank You to Razor12911 For This Useful Post:
Andu21 (19-07-2019), Cesar82 (18-07-2019), dixen (20-07-2019), Harsh ojha (20-07-2019), IgorKolesnik (19-07-2019), KaktoR (19-07-2019), shazzla (18-07-2019), ShivShubh (24-11-2019), Simorq (19-07-2019), ZAZA4EVER (19-07-2019)
Sponsored Links
  #2  
Old 19-07-2019, 06:49
IgorKolesnik IgorKolesnik is offline
Registered User
 
Join Date: Dec 2018
Location: Kiev
Posts: 31
Thanks: 27
Thanked 7 Times in 6 Posts
IgorKolesnik is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Thanks for the tests, 95% complete. the new release will first ship with 1 codec (zlib) just to see if everything works as expected
can update game file scaner? thank
Reply With Quote
The Following User Says Thank You to IgorKolesnik For This Useful Post:
oltjon (19-07-2019)
  #3  
Old 20-07-2019, 17:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by IgorKolesnik View Post
can update game file scaner? thank
and add what feature?

@everyone

here's a benchmark

some file from Pro Evolution Soccer

old xtool = 275MB >> 381MB took 11.63 seconds using 4 threads
new xtool = 275MB >> 381MB took 06.09 seconds using 4 threads

same memory usage and I/O

note: I only reworked the encoder to use the cpu effectively so you should expect roughly x1.25-2 more speed from old version while using same resources and this applies to all codecs reflate, oodle and etc

Last edited by Razor12911; 20-07-2019 at 17:40.
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
Andu21 (22-07-2019), dixen (21-07-2019), ffmla (17-06-2020), Harsh ojha (20-07-2019), K4miKaZe (21-07-2019), KaktoR (21-07-2019), shazzla (20-07-2019), ShivShubh (24-11-2019), Simorq (21-07-2019)
  #4  
Old 21-07-2019, 02:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
and add what feature?
Just fix the hang bug
Quote:
Originally Posted by Razor12911 View Post
@everyone

here's a benchmark

some file from Pro Evolution Soccer

old xtool = 275MB >> 381MB took 11.63 seconds using 4 threads
new xtool = 275MB >> 381MB took 06.09 seconds using 4 threads

same memory usage and I/O

note: I only reworked the encoder to use the cpu effectively so you should expect roughly x1.25-2 more speed from old version while using same resources and this applies to all codecs reflate, oodle and etc
This is great.
__________________
Haters gonna hate
Reply With Quote
  #5  
Old 21-07-2019, 15:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Simorq View Post
Hi Razor12911
Code:
v: skip verification
This option works for oodle, crilayla, lzo.
Please do not delete this option in the new version.
The option will be there

Quote:
Originally Posted by dixen View Post
oodle detect, for example
I remember including an oodle scanner, but fine I'll think of something for the scanner.

Quote:
Originally Posted by KaktoR View Post
This is great.
how about this?

Quote:
There will be a new feature in xtool called history data, what it does is simply store processed stream information and be able to recall it at the later stage.

If you are wondering how this helps, well there are certain games made by lazy developers who repeat game resources instead of just reusing them, resulting in bigger game size for no absolute reason, apart from that, if they are compressed streams it means that xtool will have to process the same stream over and over again, storing history data allows it to prevent the same stream from being reprocessed instead, it will just look at the history and find out how the previous copy was processed then automatically assume it's the same stream and then apply the same settings, resulting in more speed.

I ran a test on a file I repeated on purpose and these were the results.

old xtool took 196.671 seconds and used 335MB ram
new xtool took 154.174 seconds and used 319MB ram
new xtool with history feature took 72.223 seconds and used 439MB ram

the cost of the feature depends on how much history you want to be stored but with default settings, it should use an additonal 192mb ram usage than without, you can always disable it or order it to store more history, depends on how much memory you have to spare.
Note:
In a practical situation, you can shave off a few seconds but then again, depends on the input

Last edited by Razor12911; 21-07-2019 at 15:35.
Reply With Quote
The Following 10 Users Say Thank You to Razor12911 For This Useful Post:
78372 (23-07-2019), Andu21 (22-07-2019), Carldric Clement (25-07-2019), ffmla (22-07-2019), Harsh ojha (22-07-2019), KaktoR (21-07-2019), PsYcHo_RaGE (22-07-2019), ShivShubh (24-11-2019), shiyamrrc (23-07-2019), Simorq (22-07-2019)
  #6  
Old 21-07-2019, 04:43
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
and add what feature?
oodle detect, for example
Reply With Quote
  #7  
Old 21-07-2019, 01:35
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Hi Razor12911
Code:
v: skip verification
This option works for oodle, crilayla, lzo.
Please do not delete this option in the new version.
Reply With Quote
  #8  
Old 21-07-2019, 13:20
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 523
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
If game uses oodle,then you can find its DLLs in game folder somewhere.
Imho : oodle stream scanner is obsolete ?!
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
Behnam2018 (30-01-2020)
  #9  
Old 23-07-2019, 07:18
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
This is also good

Did you have to make changes to the libraries too? Or just the source of xtool executable? Just corious
__________________
Haters gonna hate
Reply With Quote
  #10  
Old 23-07-2019, 15:04
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Only the source of xtool, all I did was optimize optimize and optimize, the CPU is forever doing something, I tried to minimize the gaps between reads and writes by making xtool process stuff while it is reading and writing so yeah, the threads hardly get rests now.

Last edited by Razor12911; 23-07-2019 at 15:12.
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
78372 (23-07-2019), Carldric Clement (25-07-2019), Cesar82 (24-07-2019), Harsh ojha (23-07-2019), KaktoR (24-07-2019), shazzla (23-07-2019), ShivShubh (24-11-2019), Simorq (24-07-2019), ZAZA4EVER (25-07-2019)
  #11  
Old 26-07-2019, 16:55
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Project status = Welp...

I hope this isn't strike 2 in terms losing my sources, my PC died about 2 days ago, motherboard and GPU got fried this time XD. As for my sources well they were stored on my main PC (the dead one) and I don't know if they are safe since I don't have a spare PC to boot up the drive to grab important files and store them to my backup drive, so I can't really tell if the only components that died were only the board and GPU and not my HDD, but I guess that's a story for some other time. If you are wondering what this means in terms of xtool 2019...

Well since I normally code from desktop because I don't need to go far to do things and etc, it was different for xtool somehow... because I was coding from a backup drive only for that project like I knew some shit like this would happen so yes the source is safe (lucky af), if you are wondering about the development now that my main PC is busted.

Well I just had to dust an old laptop and continued development there, issue is it's incredibly slow but it will have to do. If you are wondering why I only provided x86 binaries, well. OS is 32-bit , somehow can't compile for x64.

Anyways enough about that, this was suppose to be the last test before the first release, but before I uploaded, I noticed some shitty error in made in the reflate code and I have to rewrite some parts of it so after fixing that, I'll post the final test and if all is good, I'll be making a release.

there are 3 codecs in xtool right now (zlib, reflate, rzlib). The bug was in reflate in multi threaded mode when decoding, but if you want to try it out anyways, open the test bat file. replace zlib with reflate or rzlib but use 1 thread to decode.

zlib = xtool uses zlib1.dll/zlibwapi.dll to process data, fails on some streams
reflate = xtool uses reflate dlls to process data, processes all streams but slow
rzlib = xtool blends zlib and reflate dlls to process data, processes all streams but with better size and speed.

PS: Even the archive is zip, don't have 7-Zip installed for my normal 7z attachments
PPS: Nothing is stopping the development of this project XD... I hope cause you never know
Attached Files
File Type: zip xtool_1907_T3.zip (552.9 KB, 170 views)

Last edited by Razor12911; 26-07-2019 at 16:59.
Reply With Quote
The Following 15 Users Say Thank You to Razor12911 For This Useful Post:
78372 (26-07-2019), Andu21 (27-07-2019), COPyCAT (23-08-2020), FitGirl (26-07-2019), Gehrman (19-01-2022), GTX590 (26-07-2019), Harsh ojha (26-07-2019), KaktoR (27-07-2019), oltjon (27-07-2019), ScOOt3r (22-12-2019), Sergey3695 (27-07-2019), shazzla (26-07-2019), ShivShubh (24-11-2019), Simorq (26-07-2019), ZAZA4EVER (29-07-2019)
  #12  
Old 26-07-2019, 18:33
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 209
Thanks: 21
Thanked 244 Times in 132 Posts
FitGirl is on a distinguished road
Shit, mate! You're lucky to have not loosing sources this time! Gotta use some repo soft next time for more security, no?

Anyways, it's nice to see the project is coming to release.
Reply With Quote
The Following 3 Users Say Thank You to FitGirl For This Useful Post:
Harsh ojha (26-07-2019), Razor12911 (28-07-2019), Sergey3695 (27-07-2019)
  #13  
Old 26-07-2019, 21:01
Harsh ojha's Avatar
Harsh ojha Harsh ojha is offline
Registered User
 
Join Date: May 2019
Location: INDIA
Posts: 78
Thanks: 527
Thanked 77 Times in 36 Posts
Harsh ojha is on a distinguished road
Smile

@Razor12911
Download Windows 10 64 bit Archived file and install

https://youtu.be/zGQ9xXYgVJM
Since i also lost my data

Well we are all depends our pc and laptops
__________________
Video Creator
Discord - Harsh_Ojha_748 #8782
Reply With Quote
The Following User Says Thank You to Harsh ojha For This Useful Post:
Razor12911 (28-07-2019)
  #14  
Old 28-07-2019, 15:14
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
First release

Notes

- No idea whether x64 works or not, I just somehow managed to compile. That's up to you to find out.
- Reflate currently is set to use level 6, if you are looking for better output, best to use the old xtool. The reason it's like this is because I'm still working on a way to improve the horrible slow code I used before.
- Skip verification option is currently unavailable.

What I can say, run a lot of tests on this release. I've written some dangerous memory saving code and it may cause errors but if all is well then I can move on to add other codecs such as oodle, lzo, lz4 and the rest. BTW, crilayla will NOT be added, that piece of crap is incredibly slow
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
Harsh ojha (29-07-2019), shazzla (29-07-2019), ShivShubh (24-11-2019), Simorq (28-07-2019), ZAZA4EVER (29-07-2019)
  #15  
Old 28-07-2019, 16:11
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Image003.png

xtool_1907_R1 64Bit
Code:
Creating archive: data.arc using zlib
Compressed 1 file, 668,113 => 668,225 bytes. Ratio 100.02%                 
Compression time: cpu 0.02 sec/real 0.18 sec = 9%. Speed 3.71 mB/s
All OK

Testing archive: data.arc
Tested 1 file, 668,225 => 668,113 bytes. Ratio 100.02%                     
Testing time: cpu 0.00 sec/real 0.06 sec = 0%. Speed 10.77 mB/s
All OK
Code:
Creating archive: data.arc using reflate
Compressed 1 file, 668,113 => 1,767,491 bytes. Ratio 264.55%               
Compression time: cpu 0.00 sec/real 0.19 sec = 0%. Speed 3.44 mB/s
All OK

Testing archive: data.arc
Tested 1 file, 1,767,491 => 668,113 bytes. Ratio 264.55%                   
Testing time: cpu 0.00 sec/real 0.16 sec = 0%. Speed 4.31 mB/s
All OK
Code:
Creating archive: data.arc using rzlib
Compressed 1 file, 668,113 => 1,767,491 bytes. Ratio 264.55%               
Compression time: cpu 0.00 sec/real 0.28 sec = 0%. Speed 2.40 mB/s
All OK

Testing archive: data.arc
Tested 1 file, 1,767,491 => 668,113 bytes. Ratio 264.55%                   
Testing time: cpu 0.00 sec/real 0.16 sec = 0%. Speed 4.25 mB/s
All OK
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
Razor12911 (28-07-2019)
Reply


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
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 06:26
Project Cars Digital Edition (3xDVD5) (srep+lzma) GTX590 PC Games - CD/DVD Conversions 10 28-08-2017 08:34
Project IGI Anthology 1xCD700 CIUV2 2039 mausschieber PC Games - CD/DVD Conversions 0 24-07-2017 15:12
Space Channel 5 Part 2 Translation Project Christuserloeser DC Games 0 21-06-2004 18:16



All times are GMT -7. The time now is 15:25.


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