Page MenuHomeFeedback Tracker

AddonBuilder commandline fails to pack completely
Closed, ResolvedPublic

Description

Since the remake of the addonbuilder, any use of commandline has become void. Any attempt with any number of arguments (and yes I know that arguments have changed) will throw some error.

http://i.imgur.com/TLRrVw5.png

Errors vary depending on which arguments are provided. Further discussion here: http://forums.bistudio.com/showthread.php?164054-General-Discussion-on-the-new-tools&p=2700502&viewfull=1#post2700502

Details

Legacy ID
1086978135
Severity
None
Resolution
Not A Bug
Reproducibility
Always
Category
Tools
Steps To Reproduce

Try to pack using the command line

Event Timeline

Soul_Assassin edited Additional Information. (Show Details)
Soul_Assassin set Category to Tools.
Soul_Assassin set Reproducibility to Always.
Soul_Assassin set Severity to None.
Soul_Assassin set Resolution to Not A Bug.
Soul_Assassin set Legacy ID to 1086978135.May 7 2016, 6:45 PM

command needs to be in this form:

AddonBuilder.exe "p:\rhsafrf\.." "k:\Steam\..." -packonly -clear -prefix="rhsafrf\addons\..." -project="p:\rhsafrf" -sign="k:\developement\..." etc.

So basicaly equal sign must follow any parameter whitch is not switch param (i.e. it's a value parameter). There is a nice example in help(AddonBuilder.exe -help).

if you still have questions just ask:)

just a execution command needs to be changed and it should work properly

Thanks, will try it later. Didn't even consider based on old functionality.

Hi cooper,

unfortunately no go. I still keep getting the "There can only be one source_path and destination_path at the same time"

http://i.imgur.com/QwpJR35.png

ive looked and stared at it, added and removed quotes around the paths, dont know whats going on.

Addendum:

I got it to pack now, problem was with using capitalized arguments: -CLEAR - PREFIX etc (in a way it was before with old tools and in a way they are put in the help description (not in the example but I didnt notice)

Anyway the problem now is that the prefix is not being registered at all

for example for that perticular file the prefix should be:

rhsafrf\addons\rhs_c_troops

but no matter what I put in the -prefix or -project argument it always gets reset to rhs_c_troops thus leading to never being found.

thanks for pointing this out. the parameter names need to be lower case now. sorry for confusion. I've already corrected help text.

Regarding the prefix and project, this is a know issue and it's fixed by now. will be part of next update

That is fantastic news :)! I hope the update will be soon!

I still can't figure out how to make this work, the path to project folder dialog from the GUI is broken and i'm having no success with parameters.
By using:

"C:\Program Files (x86)\Steam\SteamApps\common\Arma 3 Tools\AddonBuilder\AddonBuilder.exe" "C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@cha_test\addons" -clear -prefix="cha\cha_lav25" -project="p:\cha\cha_lav25"

It keeps telling me the destination parameter is incorrect, if i remove the quotation marks it tells me there can only be one source and destination parameter (i'm assuming it doesn't like spaces between folder names).
How can i solve this?
Is the GUI ever going to be fixed?
Working with shortcuts and parameters is really slow and painful.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:45 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.

This comment was removed by Dwarden.