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

Reply
 
Thread Tools Display Modes
  #61  
Old 22-01-2021, 07:46
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,377
Thanks: 896
Thanked 5,558 Times in 2,027 Posts
KaktoR is on a distinguished road
I think he made a mistake somewhere.

My result is 133.86% too, no matter what ue4dt/xtool version I use.
__________________
Haters gonna hate
Reply With Quote
Sponsored Links
  #62  
Old 22-01-2021, 10:04
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 152
Thanks: 88
Thanked 28 Times in 22 Posts
Snake288 is on a distinguished road
Hello
Razor12911
Mortal Kombat 11 XTool 2020 Plugins is it available ?
Reply With Quote
  #63  
Old 22-01-2021, 10:17
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,557
Thanks: 1,943
Thanked 9,939 Times in 2,140 Posts
Razor12911 is on a distinguished road
The old xtool had support for mk11, lzna was used.

https://fileforums.com/showpost.php?...&postcount=484

But if you want me to make a plugin, you'll have to provide a sample.
Reply With Quote
  #64  
Old 22-01-2021, 10:50
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 255
Thanks: 304
Thanked 292 Times in 135 Posts
dixen is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
f you want me to make a plugin, you'll have to provide a sample.
This two *.PSF & two *.XXX files

http://sendfile.su/1592724
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
Razor12911 (28-01-2021)
  #65  
Old 22-01-2021, 11:44
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 152
Thanks: 88
Thanked 28 Times in 22 Posts
Snake288 is on a distinguished road
Hello
Razor12911
Are Mortal Kombat 11 XTool 2020 plugins available?

It had support for the old XTool mk11, lzna was used.

https://fileforums.com/showpost.php?...&postcount=484

Hello
Razor12911
Are Mortal Kombat 11 XTool 2020 plugins available?

It had support for the old XTool mk11, lzna was used.

Merhaba
Razor12911

These Sample Files Hopefully Help

Mortal Kombat 11-Sample Files : Mortal Kombat 11-Sample Files.7z - 252.0 MB

Last edited by Snake288; 22-01-2021 at 11:46.
Reply With Quote
The Following User Says Thank You to Snake288 For This Useful Post:
Razor12911 (22-01-2021)
  #66  
Old 22-01-2021, 12:06
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 726
Thanks: 1,165
Thanked 1,517 Times in 526 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
am I missing something? run this test
Here the unreal plugin tool and ue4dt show similar results, but the plugin is a little faster in 5 out of 5 tests.
P.S: CPU 4 cores and 8 Threads


Decompression:
Code:
ue4dt
FreeArc 0.67 (March 15 2014) extracting archive: data1.arc
Extracted 1 file, 25,296,846 => 18,898,278 bytes. Ratio 133.86%
Extraction time: cpu 0.06 sec/real 0.65 sec = 10%. Speed 28.86 mB/s

unreal plugin
FreeArc 0.67 (March 15 2014) extracting archive: data2.arc
Extracted 1 file, 25,297,425 => 18,898,278 bytes. Ratio 133.86%
Extraction time: cpu 0.03 sec/real 0.58 sec = 5%. Speed 32.63 mB/s

Last edited by Cesar82; 22-01-2021 at 12:10.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Razor12911 (22-01-2021)
  #67  
Old 22-01-2021, 15:57
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 726
Thanks: 1,165
Thanked 1,517 Times in 526 Posts
Cesar82 is on a distinguished road
I wonder if I can use the unreal plugin this way?
Will I not lose any parameters (-m or -k)?
Code:
Borderlands 3 test ue4 plugin

arc.ini
[External compressor:xtool_ue4]
header    = 0
packcmd   = XTool.exe precomp -mzlib+ue4{:option} -c32mb -t100p -d1 --dbase - - <stdin> <stdout>
unpackcmd = XTool.exe decode -t100p - - <stdin> <stdout>

pack.bat commanline
arc.exe a -ep1 -r -ed -s; -w.\temp -m"xtool_ue4:m1:k0x115EE4F8C625C792F37A503308048E79726E512F0BF8D2AD7C4C87BC5947CBA7" data.arc "pack\*"
For this test (Borderlands 3) it worked perfectly.
I tested it using other options like ue4:{option}, ue4:{options}, ue4{: options} but it didn't work.
- if use ue4:{options} or ue4:{option} not inflate (Ratio 100.00%).
- If use ue4{options} or ue4{option} or ue4{: options} show error message, ERROR: write error (disk full?) in compression algorithm...
I want to know if when a game needs the -m2 parameter it will work (maybe -m1 is the default). Using {option} implies that you will put only one parameter.
If someone can explain the differences between the 4 types of use of {:options} with arc.exe please share the information.
Thanks!
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
ffmla (23-01-2021), shazzla (22-01-2021)
  #68  
Old 23-01-2021, 01:20
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,557
Thanks: 1,943
Thanked 9,939 Times in 2,140 Posts
Razor12911 is on a distinguished road
Plugins Updated

Changes

- Updated Hitman plugin

Tests

chunk2.rpkg
Code:
Compressed 1 file, 464,824,761 => 494,266,572 bytes. Ratio 106.33%
Compression time: cpu 0.59 sec/real 3.83 sec = 15%. Speed 121.23 mB/s
arc.ini
Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp -mhitman3+lz4 -d1 -c32mb -t100p --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
Maybe sample doesn't have a lot of streams...
Reply With Quote
The Following 8 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (23-01-2021), DiCaPrIo (23-01-2021), dixen (23-01-2021), ffmla (23-01-2021), KaktoR (23-01-2021), L0v3craft (23-01-2021), Masquerade (23-01-2021), shazzla (23-01-2021)
  #69  
Old 23-01-2021, 03:15
infovs infovs is offline
Registered User
 
Join Date: Feb 2005
Location: Home
Posts: 30
Thanks: 0
Thanked 4 Times in 4 Posts
infovs is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
If someone can explain the differences between the 4 types of use of {:options} with arc.exe please share the information.
Thanks!
{option} in arc.ini will pass parameters as is, {options} will add - (minus) sign to parameters..so if your command line contains, for example,
arc create -mxtool+srep:m3f+lolz
you are in fact passing srep -m3f
Sad is that this is not explained anywhere, had to test it on my own to figure it out.
So your arc.ini should probably should contain
-mzlib+ue4:{option}
but in command line it should be (without quotes!)
-mxtool_ue4:m1:k0x115EE4......

With all that said, I'm not sure if your command line will work (can't test it) because this + sign in xtool combining codecs syntax is conflicting with arc syntax of combining codecs so there is a chance it can fail because of that. Change to, for example, & sign with ResourceEditor and try it with that if it fails.

Also, not sure if 0x is needed or optional before key, would like to know preferred way - with or without 0x , Razor12911?

Last edited by infovs; 23-01-2021 at 03:23.
Reply With Quote
The Following User Says Thank You to infovs For This Useful Post:
Cesar82 (23-01-2021)
  #70  
Old 23-01-2021, 03:31
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 726
Thanks: 1,165
Thanked 1,517 Times in 526 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by infovs View Post
{option} win arc.ini will pass parameters as is, {options} will add - (minus) sign to parameters..so if your command line contains, for example,
arc create -mxtool+srep:m3f+lolz
you are in fact passing srep -m3f
Sad is that this is not explained anywhere, had to test it on my own to figure it out.
So your arc.ini should probably should contain
-mzlib+ue4:{option}
but in command line it should be (without quotes!)
-mxtool_ue4:m1:k0x115EE4......

With all that said, I'm not sure if your command line will work (can't test it) because this + sign in xtool combining codecs syntax is conflicting with arc syntax of combining codecs so there is a chance it can fail because of that. Change to, for example, & sign with ResourceEditor and try it with that if it fails.

Also, not sure if 0x is needed or optional before key, would like to know preferred way - with or without 0x , Razor12911?
as I already mentioned above if using ":" before "{option}" does not work (-mzlib+ue4:{option}). It only works if you use {: option}.
I will not pass the "+" character on the command line as parrametter.
The 0x character is optional for the ureal plugin, but for the uedt tool I think it is necessary to use 0x. As DiskSpan_GUI uses the same code for both (unreal plugin and uedt) so I always decided to enter 0x on the command line.
With quotes in the method it works perfectly, in the input directory -dp"directory" it is necessary to remove "" from the end if it is in quotes.
Reply With Quote
  #71  
Old 23-01-2021, 03:57
infovs infovs is offline
Registered User
 
Join Date: Feb 2005
Location: Home
Posts: 30
Thanks: 0
Thanked 4 Times in 4 Posts
infovs is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
as I already mentioned above if using ":" before "{option}" does not work (-mzlib+ue4:{option}). It only works if you use {: option}.
I will not pass the "+" character on the command line as parrametter.
The 0x character is optional for the ureal plugin, but for the uedt tool I think it is necessary to use 0x. As DiskSpan_GUI uses the same code for both (unreal plugin and uedt) so I always decided to enter 0x on the command line.
With quotes in the method it works perfectly, in the input directory -dp"directory" it is necessary to remove "" from the end if it is in quotes.
As I mentioned - I was not testing this, just saying..depending on program sometimes {:option} is needed, sometimes :{option} will work.
As for quotes, I meant "no quotes for -m parameter". Of course you need quotes with -dp etc. So your command line should be
Code:
arc.exe a -ep1 -r -ed -s; -w.\temp -mxtool_ue4:m1:k115EE4F8C625C792F37A503308048E79726E512F0BF8D2AD7C4C87BC5947CBA7 data1.arc "pack\*"
Yes, it is possible it works with " after -m but I think it is not preferred syntax.
And arc.ini probably should be (or maybe :{option} or {option})
Code:
[External compressor:xtool_ue4]
header    = 0
packcmd   = xtool.exe precomp -mzlib+ue4{:option} -d1 -c128mb -t100p --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
Syntax is correct, if it is not working it is because of how xtool/arc handles + sign in arc.ini so unless you change combining codecs sign with ResourceEditor it will never work correctly.

Last edited by infovs; 23-01-2021 at 04:41.
Reply With Quote
  #72  
Old 23-01-2021, 06:01
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,377
Thanks: 896
Thanked 5,558 Times in 2,027 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Plugins Updated

Changes

- Updated Hitman plugin

Tests

chunk2.rpkg
Code:
Compressed 1 file, 464,824,761 => 494,266,572 bytes. Ratio 106.33%
Compression time: cpu 0.59 sec/real 3.83 sec = 15%. Speed 121.23 mB/s
arc.ini
Code:
[External compressor:xtool]
header    = 0
packcmd   = xtool.exe precomp -mhitman3+lz4 -d1 -c32mb -t100p --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
Maybe sample doesn't have a lot of streams...
Code:
Compressed 103 files, 59,074,904,235 => 59,722,953,857 bytes. Ratio 101.10%
Compression time: cpu 76.63 sec/real 1530.57 sec = 5%. Speed 38.60 mB/s
All OK


Code:
chunk3.rpkg
Compressed 1 file, 1,397,636,053 => 1,557,661,362 bytes. Ratio 111.45%
Compression time: cpu 1.34 sec/real 16.36 sec = 8%. Speed 85.40 mB/s
All OK
__________________
Haters gonna hate
Reply With Quote
  #73  
Old 23-01-2021, 07:24
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 536
Thanks: 115
Thanked 410 Times in 243 Posts
Masquerade is on a distinguished road
Chunk10.rpkg

@Razor12911 - use the newest liblz4 - it gets better ratio:

Newest liblz4 (v1.9.3):
Code:
Compressed 1 file, 1,329,894,358 => 1,435,849,840 bytes. Ratio 107.97%
Compression time: cpu 1.42 sec/real 31.24 sec = 5%. Speed 42.58 mB/s
All OK
Old liblz4 (comes with xtool):
Code:
Compressed 1 file, 1,329,894,358 => 1,424,410,961 bytes. Ratio 107.11%
Compression time: cpu 1.25 sec/real 29.12 sec = 4%. Speed 45.68 mB/s
All OK

Last edited by Masquerade; 23-01-2021 at 07:26.
Reply With Quote
The Following 3 Users Say Thank You to Masquerade For This Useful Post:
Cesar82 (23-01-2021), KaktoR (23-01-2021), L0v3craft (23-01-2021)
  #74  
Old 23-01-2021, 14:52
yasitha's Avatar
yasitha yasitha is offline
Registered User
 
Join Date: Apr 2013
Location: Krypton
Posts: 288
Thanks: 203
Thanked 48 Times in 33 Posts
yasitha is on a distinguished road
Hi Razor12911!

I get only 101% for all files in Hitman 3
why?

Can you fix it!
__________________
Keep Up The Good Works!
Reply With Quote
  #75  
Old 24-01-2021, 02:00
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 536
Thanks: 115
Thanked 410 Times in 243 Posts
Masquerade is on a distinguished road
yasitha
The files do not contain many streams.
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 - Successor of ZTool Razor12911 Conversion Tutorials 582 05-11-2021 18:15
XTool 2020 (Main Project) Razor12911 Conversion Tutorials 403 06-10-2021 21:43
[Dev]XTool Razor12911 Conversion Tutorials 180 23-10-2020 07:26
XTool 2019 (Plugins) Razor12911 Conversion Tutorials 50 16-05-2020 07:14



All times are GMT -7. The time now is 07:49.


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