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

Reply
 
Thread Tools Search this Thread Display Modes
  #76  
Old 11-08-2019, 14:02
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,305 Times in 464 Posts
Simorq is on a distinguished road
reflate (XTool 1908_R2_x86)

#############################################
# reflate (XTool 1908_R2_x86)
#############################################

Test File : bigfile.004.tiger 1.99 GB

Code:
XTool x86 Command Line

xtool.exe precomp:reflate:c16mb,t100p - - < %1 > %1.out
xtool.exe decode:t100p - - < %1.out > %1.res
fc /b %1 %1.res

Test 1 = OK
Test 2 = OK
Test 3 = OK
Test 4 = OK
Code:
XTool x86 Command Line

xtool.exe precomp:reflate:c32mb,t100p - - < %1 > %1.out
xtool.exe decode:t100p - - < %1.out > %1.res
fc /b %1 %1.res

Test 1

P: OK
D: OK (FC: no differences encountered)

Test 2

P: EAccessViolation: Access violation at address 5378614D in module 'xtool.exe'. Read of address 5378614D
XTool is created by Razor12911

D: EReadError: Stream read error


Test 3

P: Exception EAccessViolation in module xtool.exe at 000BCEC7.
Access violation at address 004BCEC7 in module 'xtool.exe'. Read of address 00611D34.
D: EReadError: Stream read error
reflate works well with c16m in x86.

Last edited by Simorq; 11-08-2019 at 14:05.
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
Razor12911 (11-08-2019)
Sponsored Links
  #77  
Old 11-08-2019, 14:11
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,305 Times in 464 Posts
Simorq is on a distinguished road
zlib (XTool 1908_R2_x86)

#############################################
# zlib (XTool 1908_R2_x86)
#############################################

Test File : bigfile.004.tiger 1.99 GB

Code:
XTool x86 Command Line

zlib
xtool.exe precomp:zlib:c32mb and c16mb,t100p - - < %1 > %1.out
xtool.exe decode:t100p - - < %1.out > %1.res
fc /b %1 %1.res


TEST 1
P: OK
D: CRC Error (0F2C892C: 09 D7)

TEST 2
P: Error (EReadError: Stream read error)

TEST 3
P: Error (EReadError: Stream read error)

TEST 4
P: EAccessViolation: Access violation at address 00000000 in module 'xtool.exe'. Read of address 00000000

D: EReadError: Stream read error
zlib is very unstable, once successful, failed several times
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
Razor12911 (11-08-2019)
  #78  
Old 11-08-2019, 14:15
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,305 Times in 464 Posts
Simorq is on a distinguished road
rzlib (XTool 1908_R2_x86)

#############################################
# rzlib (XTool 1908_R2_x86)
#############################################

Test File : bigfile.004.tiger 1.99 GB

Code:
XTool x86 Command Line

rzlib
xtool.exe precomp:rzlib:c16mb/c32mb/c64mb/c128mb,t100p - - < %1 > %1.out
xtool.exe decode:t100p - - < %1.out > %1.res
fc /b %1 %1.res

TEST 1
P: Error (EReadError: Stream read error)

TEST 2
P: Error (EReadError: Stream read error)

TEST 3
P: Error (EReadError: Stream read error)

TEST 4
P: Error (EReadError: Stream read error)

TEST 5
P: Error (EReadError: Stream read error)
rzlib always fails.
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
Razor12911 (11-08-2019)
  #79  
Old 12-08-2019, 15:26
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,118 Times in 2,297 Posts
Razor12911 is on a distinguished road
@Simorq

Looks like I'll have to go through debugging road once more

@everyone

Update available

1908_R3
- Compatiblity broken (old history db and inputs cannot work in this version)
- Added plugin support
- Added LZ4 codec placeholders (lz4,lz4hc)
- Added LZO codec placeholders (lzo1c,lzo1x,lzo2a)
- Added ZSTD codec placeholders (zstd)
- Added Oodle codec placeholders (lzna,kraken,mermaid,selkie,leviathan)
- Added LZX codec placeholders (lzx)
- rzlib codec removed (use zlib)
- Added x86 memory limit

Notes
Placeholder does not mean the codec is ready to be used universally, it's intended for plugins which can be found here
Reply With Quote
The Following 4 Users Say Thank You to Razor12911 For This Useful Post:
DiCaPrIo (13-08-2019), shazzla (12-08-2019), Simorq (13-08-2019), ZAZA4EVER (12-08-2019)
  #80  
Old 12-08-2019, 17:52
ZAZA4EVER ZAZA4EVER is offline
Registered User
 
Join Date: Oct 2016
Location: egypt
Posts: 179
Thanks: 614
Thanked 199 Times in 72 Posts
ZAZA4EVER is on a distinguished road
Wink

xtool_1908_R3 X64 ZLIB CODEC
eFootball Pes2020 Demo ... dt00_4K_x64.cpk
Code:
FreeArc 0.67 (March 15 2014) creating archive: ZAZA.Test.bin
Compressed 1 file, 15,252,601 => 72,893,019 bytes. Ratio 477.91%
Compression time: cpu 0.05 sec/real 37.50 sec = 0%. Speed 0.41 mB/s
All OK
Zlib Codec is Stable .. i tested it Three Times ...
/////////////////////////////////////////////////////////////
xtool_1908_R3 X64 oodle Codec
Wolfenstein Youngblood ... chunkbase_9_pc.resources

Code:
FreeArc 0.67 (March 15 2014) creating archive: ZAZA.Test.bin
Compressed 1 file, 100,552,642 => 100,552,714 bytes. Ratio 100.00%
Compression time: cpu 0.33 sec/real 3.38 sec = 10%. Speed 29.79 mB/s
All OK
oodle leviathan Stream Dont Work
Reply With Quote
The Following User Says Thank You to ZAZA4EVER For This Useful Post:
Razor12911 (12-08-2019)
  #81  
Old 12-08-2019, 19:18
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 207
Thanks: 21
Thanked 243 Times in 131 Posts
FitGirl is on a distinguished road
Quote:
Originally Posted by ZAZA4EVER View Post
oodle leviathan Stream Dont Work
They have custom chunks in there, no size in headers, so the decompressor should guess the right size, which is not a good idea Also it's slow af in Oodle 2.6.* .
Reply With Quote
  #82  
Old 12-08-2019, 19:25
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,118 Times in 2,297 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by ZAZA4EVER View Post
oodle leviathan Stream Dont Work
Quote:
Originally Posted by Razor12911 View Post
Notes
Placeholder does not mean the codec is ready to be used universally, it's intended for plugins
Wolfenstein Youngblood ... chunkbase_9_pc.resources

- Could you upload a sample, I need to check something


Quote:
Originally Posted by FitGirl View Post
They have custom chunks in there, no size in headers, so the decompressor should guess the right size, which is not a good idea Also it's slow af in Oodle 2.6.* .
Last time I checked the headers did contain size, it was a while ago but I didn't add support because no game used this codec back then

Last edited by Razor12911; 12-08-2019 at 19:29.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Simorq (13-08-2019)
  #83  
Old 16-08-2019, 07:49
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,305 Times in 464 Posts
Simorq is on a distinguished road
Hi Razor12911

Assassin's Creed: Origins
Test File: DataPC_extra.forge / oodle4

Code:
Creating archive: data.arc using oodle
Compressed 1 file, 1,049,427,968 => 1,049,428,104 bytes. Ratio 100.00%     
Compression time: cpu 1.47 sec/real 4.11 sec = 36%. Speed 255.62 mB/s
All OK
__________________________________________________ _____________________________________________
DataPC_SharedGroup_02.forge Sample File
Oodle_DLL_x86/x64

Oodle precompressor (Side project)
Code:
Creating archive: data.arc using oo2recm
Compressed 1 file, 105,512,960 => 167,404,655 bytes. Ratio 158.66%         
Compression time: cpu 0.17 sec/real 15.59 sec = 1%. Speed 6.77 mB/s
All OK
XTool 1908_R3
Code:
Creating archive: data2.arc using oodle
Compressed 1 file, 105,512,960 => 105,513,032 bytes. Ratio 100.00%         
Compression time: cpu 0.09 sec/real 0.53 sec = 18%. Speed 199.34 mB/s
All OK

______________________________________

The problem was solved thanks to KaktoR.

Last edited by Simorq; 16-08-2019 at 12:17.
Reply With Quote
  #84  
Old 16-08-2019, 08:34
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 469 Times in 227 Posts
doofoo24 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
- Added LZ4 codec placeholders (lz4,lz4hc)
- Added LZO codec placeholders (lzo1c,lzo1x,lzo2a)
- Added ZSTD codec placeholders (zstd)
- Added Oodle codec placeholders (lzna,kraken,mermaid,selkie,leviathan)
- Added LZX codec placeholders (lzx)
"placeholders"
Reply With Quote
The Following User Says Thank You to doofoo24 For This Useful Post:
Razor12911 (16-08-2019)
  #85  
Old 16-08-2019, 08:50
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,485
Thanks: 1,083
Thanked 7,101 Times in 2,694 Posts
KaktoR is on a distinguished road
@Simorq:

Oodle is not inside xtool 2019 yet (they are only "placeholders" for later use). Only zlib and unity lz4 are inside.
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
Razor12911 (16-08-2019), Simorq (16-08-2019)
  #86  
Old 16-08-2019, 15:13
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,118 Times in 2,297 Posts
Razor12911 is on a distinguished road
Yes they are placeholders meant to be used by the plugins, they will get universal support eventually. But the plugins should give the best output since they are specific and not universal and as we know the universal tools I made (side projects) couldn't handle some games properly so I added placeholders to try and give the best precompression via plugins

@everyone, update was delayed. Because I noticed several issues in xtool thanks to Panker, FitGirl and of course you guys, plus I was busy making plugins for some games.

The changelog for next update

- Updated plugin support [DONE]
- Fixed plugin stream detection issues [DONE]
- Added delta/diff support for imperfect streams [0%]
- zlib codec renamed to deflate [DONE]
- Fixed several deflate related issues [DONE]
- Added png stream support [90%]
- Fixed future stream issues [DONE]
- Added low memory usage mode [0%]
- Added zstd universal stream support [DONE]
- Added lzo1x universal stream support (alpha) [DONE]

Plugins done so far:

haemimont, frostbite and anvil and updated unity plugin

Last edited by Razor12911; 16-08-2019 at 15:21.
Reply With Quote
The Following 13 Users Say Thank You to Razor12911 For This Useful Post:
chum (19-08-2019), COPyCAT (23-08-2020), DiCaPrIo (16-08-2019), dixen (17-08-2019), Harsh ojha (17-08-2019), IgorKolesnik (16-08-2019), K4miKaZe (16-08-2019), KaktoR (16-08-2019), L0v3craft (18-08-2019), rambohazard (20-08-2019), shazzla (17-08-2019), Simorq (16-08-2019), ZAZA4EVER (18-08-2019)
  #87  
Old 16-08-2019, 15:25
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 234 Times in 84 Posts
K4miKaZe is on a distinguished road
This is looking good.

Many thanks Razor12911 !!!
Reply With Quote
  #88  
Old 19-08-2019, 02:48
ansi ansi is offline
Registered User
 
Join Date: Jul 2016
Location: Russia
Posts: 1
Thanks: 3
Thanked 0 Times in 0 Posts
ansi is on a distinguished road
When packing CS:GO vpk files, xtool 1908 R3 freezes when got to 5%.
Parameters: zlib,lz4:c32mb,t100p
However, there are no freezes on the xtool 1908 R2 version.

Last edited by ansi; 19-08-2019 at 02:53.
Reply With Quote
  #89  
Old 21-08-2019, 08:17
Andu21 Andu21 is offline
Registered User
 
Join Date: Feb 2016
Location: Impossible Planet
Posts: 114
Thanks: 179
Thanked 48 Times in 38 Posts
Andu21 is on a distinguished road
Remove lz4 from the parameters and try again.
Reply With Quote
  #90  
Old 21-08-2019, 15:10
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,118 Times in 2,297 Posts
Razor12911 is on a distinguished road
Update available

1908_R4
- Updated plugin support
- Fixed plugin stream detection issues
- Added delta/diff support for imperfect streams
- zlib codec renamed to deflate
- Fixed several deflate related issues
- Added png stream support
- Fixed future stream issues
- Added low memory usage mode (slower)

Notes

If this update does not fix most issues then my PC crashing has really ruined the development of this project.
If you take a look at the change log, it says I renamed zlib codec to deflate, well the reason for that is because zlib codec will be reintroduced later on but it will be mostly use by plugins that find zlib streams in games so as a normal user, use deflate

Last edited by Razor12911; 21-08-2019 at 15:26.
Reply With Quote
The Following 5 Users Say Thank You to Razor12911 For This Useful Post:
chum (22-08-2019), COPyCAT (23-08-2020), doofoo24 (21-08-2019), K4miKaZe (21-08-2019), Simorq (21-08-2019)
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
[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 06:33.


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