|
|
|
#1
|
||||
|
||||
|
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\*"
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! |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
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 02:23. |
| The Following User Says Thank You to infovs For This Useful Post: | ||
Cesar82 (23-01-2021) | ||
|
#3
|
||||
|
||||
|
Quote:
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. |
|
#4
|
|||
|
|||
|
Quote:
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\*" 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>
Last edited by infovs; 23-01-2021 at 03:41. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XTool 2020 (Main Project) | Razor12911 | Conversion Tutorials | 715 | 01-08-2026 09:25 |
| 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 |