Jump to content
Sign in to follow this  
Chairborne

Automated bisign process

Recommended Posts

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

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

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

That's exactly what i was looking for, thank you!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×