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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-01-2021, 02:31
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 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
Sponsored Links
  #2  
Old 23-01-2021, 02:57
infovs infovs is offline
Registered User
 
Join Date: Feb 2005
Location: Home
Posts: 50
Thanks: 2
Thanked 10 Times in 7 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 03:41.
Reply With Quote
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
XTool 2020 (Main Project) Razor12911 Conversion Tutorials 713 01-06-2026 23:52
XTool - Successor of ZTool Razor12911 Conversion Tutorials 584 22-04-2023 18:16
[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 21:45.


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