Chairborne 2594 Posted October 4, 2014 I need to sign several PBOs for my game server. Is there any way i can do it automatically? Something like: -put all pbos and biprivatekey in a folder -start program that automatically sign every file inside with said biprivatekey :j: Share this post Link to post Share on other sites
A.Cyprus 16 Posted October 5, 2014 You could do this pretty easily with a simple batch file if you're on Windows. Here's the reference you'd need: http://ss64.com/nt/for2.html Use that command in conjunction with the pbo signing tools and your key. Share this post Link to post Share on other sites
.kju 3245 Posted October 5, 2014 http://www.armaholic.com/page.php?id=14124 or a batch similar to this: set _SOURCE_PATH=H:\tempAiA\AllInArmaStandalone_2014_09_07\@AllInArmaStandalone set _SIGN_PATH=T:\DSUtils2 set _BUILD_PATH=%_SOURCE_PATH% set _KEYFILENAME=AiA_SA_2014_09_07 cd /D %_SIGN_PATH% DSCreateKey.exe %_KEYFILENAME% cd /D %_BUILD_PATH% FOR /R "%_BUILD_PATH%\addons" %%i IN ("*.pbo") DO ( "%_SIGN_PATH%\DSSignFile.exe" "%_SIGN_PATH%\%_KEYFILENAME%.biprivatekey" %%i ) FOR /R "%_BUILD_PATH%\dta" %%i IN ("*.pbo") DO ( "%_SIGN_PATH%\DSSignFile.exe" "%_SIGN_PATH%\%_KEYFILENAME%.biprivatekey" %%i ) Share this post Link to post Share on other sites
A.Cyprus 16 Posted October 5, 2014 Yup, that's essentially the kind of batch I had in mind, nice one. Share this post Link to post Share on other sites
Chairborne 2594 Posted October 5, 2014 That's exactly what i was looking for, thank you! Share this post Link to post Share on other sites