View Single Post
  #67  
Old 22-01-2021, 14:57
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,075
Thanks: 1,826
Thanked 2,304 Times in 787 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)