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

Reply
 
Thread Tools Display Modes
  #16  
Old 03-01-2021, 11:54
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 170
Thanks: 88
Thanked 31 Times in 25 Posts
Snake288 is on a distinguished road
C:\Games\Cyberpunk 2077 game Samsung 960 evo 512 gb m2 installed
Reply With Quote
Sponsored Links
  #17  
Old 03-01-2021, 11:57
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 2,513
Thanks: 4,465
Thanked 7,723 Times in 1,912 Posts
mausschieber is on a distinguished road
Quote:
Originally Posted by Snake288 View Post
C:\Games\Cyberpunk 2077 game Samsung 960 evo 512 gb m2 installed
I think M2 is not supported, but I don't know exactly. try to install on a different drive
__________________
It would be nice if you appreciate my work with the thanks Button

Reply With Quote
  #18  
Old 03-01-2021, 12:04
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 170
Thanks: 88
Thanked 31 Times in 25 Posts
Snake288 is on a distinguished road
7 Days I Tried Different Method Of Trying To Compress This Game

oo2reck7+srep_new+NLolz I get an error when installing compressed

I've tried them all, I'm getting the same error again





Reply With Quote
  #19  
Old 03-01-2021, 22:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,637
Thanks: 2,014
Thanked 10,347 Times in 2,203 Posts
Razor12911 is on a distinguished road
decompress via command line and don't use stdio, I'm interested in the error xtool reports.

Edit: I would understand if you got crc error or if any of other decoding processes terminated but they are still running from the task manager and still working so I would assume the issue is with diskspan or something else. Try recompressing the game without diskspan and then report if the error still persists.

Last edited by Razor12911; 03-01-2021 at 22:44.
Reply With Quote
  #20  
Old 04-01-2021, 07:49
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 170
Thanks: 88
Thanked 31 Times in 25 Posts
Snake288 is on a distinguished road
Thumbs down Hi Razor12911 Cyberpunk 2077 about compression please, I want to get help.Cyberpunk 2

Cyberpunk 2077 about compression please, I want to get help.

Razor12911 control the compression method
getting the error seen in the picture
disk full error my disk free space is close to 650 gb
the computer system information you can see in my picture gipi strong



Reply With Quote
  #21  
Old 04-01-2021, 08:00
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 36
Thanked 90 Times in 37 Posts
Ele is on a distinguished road
Quote:
Originally Posted by Snake288 View Post
Cyberpunk 2077 about compression please, I want to get help.

Razor12911 control the compression method
getting the error seen in the picture
disk full error my disk free space is close to 650 gb
the computer system information you can see in my picture gipi strong



I have had this experience when using a portable drive as the output.
Reply With Quote
  #22  
Old 04-01-2021, 20:16
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,637
Thanks: 2,014
Thanked 10,347 Times in 2,203 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Snake288 View Post
Cyberpunk 2077 about compression please, I want to get help.

Razor12911 control the compression method
getting the error seen in the picture
disk full error my disk free space is close to 650 gb
the computer system information you can see in my picture gipi strong



I repeat, rerun the test without using stdio because I want to see the error message.
Reply With Quote
  #23  
Old 05-01-2021, 08:11
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 170
Thanks: 88
Thanked 31 Times in 25 Posts
Snake288 is on a distinguished road
Razor12911
how is it done ? test without using stdio do you know an example ?
Reply With Quote
  #24  
Old 05-01-2021, 09:15
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 36
Thanked 90 Times in 37 Posts
Ele is on a distinguished road
Quote:
Originally Posted by Snake288 View Post
Razor12911
how is it done ? test without using stdio do you know an example ?
I guess ???

Code:
[External compressor:xtool]
header    = 0
unpackcmd = xtool.exe decode -t100p $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
Reply With Quote
  #25  
Old 08-01-2021, 20:09
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,637
Thanks: 2,014
Thanked 10,347 Times in 2,203 Posts
Razor12911 is on a distinguished road
Unreal Engine

Supported games
lzna compressed unreal engine 3 games
leviathan compressed unreal engine 3 games
Encrypted unreal engine 4 games

Methods available

ue3
Code:
m = method (1 = Mortal Kombat 11, 2 = Mass Effect Legendary Edition)
Usage
Place unreal.dll near xtool.exe and use -mue3:m1

__________________________________________________

ue4
Code:
k = key in hexadecimal.
Usage
Place unreal.dll near xtool.exe and use -mue4:kAAF9AF1F40225A1241C120533277804B09A56CE78CBF 100C131423788DB0E34F

Notes

The library is required both encoding and decoding.

This tool only decrypts like ue4dt but since xtool also does precompress data so if a game for example is zlib compressed and also encrypted. You can use -mzlib+ue4:kAAF9AF1F40225A1241C120533277804B09A56CE78CBF 100C131423788DB0E34F

The order of the method does not matter, you can write it as -mzlib+ue4:kAAF9A.. or mue4:kAAF9A...+zlib, it will still work.

The game will be decrypted and precompressed in one go but you have to use -d1 parameter

Example
Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp -mzlib+ue4:kAAF9AF1F40225A1241C120533277804B09A56CE78CBF100C131423788DB0E34F -c32mb -t100p -d1 --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
Attached Files
File Type: 7z unrealengine_R6.7z (258.9 KB, 73 views)

Last edited by Razor12911; 22-03-2022 at 14:54.
Reply With Quote
The Following 18 Users Say Thank You to Razor12911 For This Useful Post:
78372 (09-01-2021), Cesar82 (08-01-2021), crachlow (02-09-2021), dixen (09-01-2021), Ele (09-01-2021), elit (07-09-2021), ffmla (09-01-2021), Gehrman (27-04-2021), L0v3craft (09-01-2021), Mortal Lord (08-01-2021), parnexcodes (08-01-2021), Perykles (09-01-2021), pratikpatel8982 (23-05-2021), ramydarkness (19-03-2022), ScOOt3r (23-03-2022), shazzla (08-01-2021), vint56 (09-01-2021), ZAZA4EVER (11-10-2021)
  #26  
Old 09-01-2021, 05:16
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 78
Thanks: 221
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Unreal Engine
How this can work without chunk size and block size? It uses the same chunk size of zlib? And about the block size?
Reply With Quote
  #27  
Old 09-01-2021, 08:37
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,637
Thanks: 2,014
Thanked 10,347 Times in 2,203 Posts
Razor12911 is on a distinguished road
chunk size corresponds to -c parameter used in xtool.

Edit: You don't really need to set high values for chunk size because unlike ue4dt, the chunks when split actually cut off some data from being decrypted but in xtool this rarely happens.

Last edited by Razor12911; 09-01-2021 at 08:41.
Reply With Quote
  #28  
Old 09-01-2021, 17:38
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 800
Thanks: 1,318
Thanked 1,709 Times in 580 Posts
Cesar82 is on a distinguished road
@Razor12911, sorry for so many questions, but I'm trying to understand how XTool works.

1) The "liblz4.dll" library of the "Ubisoft Dunia 2 Engine" plugins files (Far Cry Primal, Watch Dogs 2, Watch Dogs Legion) (136 Kb), and different from the "liblz4.dll" library shared with XTool (439 Kb).
Only the "Far Cry 5" plugin use "liblz4.dll" library is the same hash (439 Kb).
Can I use the library in the "_libraries" folder (439 Kb) for all plugins?
2) Do I understand correctly that it is not necessary to include the "* .ini" and "* .xtl" files of the plugins to decompress with XTool.
As an example, if you use the "EA Frostbite Engine" plugin it is not necessary to add anything with XTool to decompress compatible games.
This is correct?
3) Are all plugins compatible with XTool 0.31?
4) Unreal Engine plugin is it not necessary to put "0x" before the key?
5) XTool already has support for methods "LZ4" and "ZSTD" (has the libraries in the folder "_libraries")?

Last edited by Cesar82; 09-01-2021 at 17:42.
Reply With Quote
  #29  
Old 09-01-2021, 17:57
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,637
Thanks: 2,014
Thanked 10,347 Times in 2,203 Posts
Razor12911 is on a distinguished road
1) Short answer, no. Far Cry Primal, Watch Dogs 2 and Watch Dogs Legion use modified lz4 because the devs thought this was a good idea. Far Cry 5 use the normal version along with New Dawn.

2) Yes, *.ini and *.xtl files are no longer needed after compressing. But the libraries they come with are needed.

3) Yes, apart from Far Cry Primal, Watch Dogs 2, Watch Dogs Legion as these three require libdunia which was removed before and I'm currently busy making a plugin version of it.

4) you can add 0x, $ or # which symbolizes Hexadecimal or just remove it, Up to you. Xtool will check if 0x exists before the key and if it does, it will remove it and if it doesn't, it will convert the key to binary so it uses it on decryption function.

5) "XTool already has support for methods", well the answer is yes and also no. XTool does support these methods yes, but you can't use -mlz4 on a lz4 compressed game and expect xtool to precompress it because scanning for lz4 streams is almost impossible but these "plugins", *.xtl, *.ini and *.dll are the ones that help lz4 by telling it where to find the streams. As for zstd, -mzstd works because scanning for zstd is easier.

You just need to wait for me to update the documentation so you know how to write your own plugin to be able to add support to a game that xtool doesn't have native support for.

Last edited by Razor12911; 09-01-2021 at 18:04.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Ele (10-01-2021), KaktoR (10-01-2021)
  #30  
Old 09-01-2021, 20:21
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 800
Thanks: 1,318
Thanked 1,709 Times in 580 Posts
Cesar82 is on a distinguished road
@Razor12911, I confused the liblz4.dll libraries with the version I use with the old XTool.
The "Far Cry 5" plugin uses "liblz4.dll" library is the same as the library that came with the old XTool (439 Kb).
The library in the folder "_Libraries" of XTool 2020 is larger and has 494 KB (506,742 bytes).
Sorry for more question.
1) Can I use the library in the "_Libraries" folder of XTool 2020 (494 KB) with the Far cry 5 plugin?
P.S: I'm asking so many questions because I want to include support for all of your XTool plugins in DiskSpan_GUI.
I'm asking so many questions because I want to include support for all of your XTool plugins in DiskSpan_GUI.
As I mentioned before, plugins / library files will be copied before compression and deleted after compressing.
As there are variations of the libraries I would like to be able to use it for all methods (except where it is not possible).
I will wait for the XTool documentation to understand it better.
Thanks!
Reply With Quote
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
XTool 2020 (Main Project) Razor12911 Conversion Tutorials 516 Today 04:01
XTool - Successor of ZTool Razor12911 Conversion Tutorials 583 03-05-2022 12:11
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 06:26
XTool 2019 (Plugins) Razor12911 Conversion Tutorials 50 16-05-2020 06:14



All times are GMT -7. The time now is 04:35.


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