Joshyy Posted January 21, 2017 Report Share Posted January 21, 2017 Hello All, I was just wondering if anyone knew how to sign PBO's with arma 2? I have searched online and got DSUtils and such however they are not signing my pbo properly, i have made a private .bikey and a .bikey but am unsure what to use to get a signature file. Any help is much appreciated :) Thanks, Josh Link to comment Share on other sites More sharing options...
Joshyy Posted January 21, 2017 Author Report Share Posted January 21, 2017 After downloading Bin PBO and correctly setting the path of folders ect and attempting to sign the pbo while packing it i am given a .txt file which contains: without binarize enabled: Spoiler Creating texture headers file... Texture headers file was not created - no textures found. with binarize enabled: Spoiler Cannot register unknown string STR_STATE_HEALSOLDIER Cannot register unknown string STR_STATE_FIRST_AID Cannot register unknown string STR_UI_RADARRANGE Cannot register unknown string STR_ACTION_LAUNCHCM Cannot register unknown string STR_ACTION_NEXTCM Cannot register unknown string STR_USRACT_ACTION_CONTEXT Cannot register unknown string STR_USRACT_OPTICS_MODE Cannot register unknown string STR_USRACT_ZEROING_UP Cannot register unknown string STR_USRACT_ZEROING_DOWN Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_50CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_50CM Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_0 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_1 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_2 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_3 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_4 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_5 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_6 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_7 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_8 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_9 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_10 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_11 Cannot register unknown string STR_DISP_LEFT Cannot register unknown string STR_DIFF_CAMERA_SHAKE Cannot register unknown string STR_FREETRACK Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON Cannot register unknown string STR_MSG_ADDON_NOT_FOUND Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT Cannot register unknown string STR_INCOMPATIBLE_LOAD_GAME_ATTEMPT Warning: CfgVehicles missing in PreloadConfig - may slow down vehicle creation Warning: CfgAmmo missing in PreloadConfig - may slow down vehicle creation Warning: CfgNonAIVehicles missing in PreloadConfig - may slow down vehicle creation Cannot load font core\data\fonts\lucidaconsoleb8 Fonts file \core\data\fonts\lucidaConsoleB8 not found Cannot load font core\data\fonts\lucidaconsoleb11 Fonts file \core\data\fonts\lucidaConsoleB11 not found Creating texture headers file... Texture headers file was not created - no textures found. Link to comment Share on other sites More sharing options...
theduke Posted January 21, 2017 Report Share Posted January 21, 2017 you need total commander to sign pbos. I can show you how...but.... i wrote a nice long tutorial, pc restarted and didnt feel like writting it again. LOL Sounds familiar? Lets see what you have for coins, ill teach you to sign pbos..... i have a 4.5gb custom mod pack for my whitelisted server.. here is my server oldmatechoc and Joshyy 2 Link to comment Share on other sites More sharing options...
icomrade Posted January 21, 2017 Report Share Posted January 21, 2017 I use Sign Forge, it works great for multiple pbos, since you can feed it a folder instead of files. You can use DSutils for 1 pbo, which would probably be preferable. This application pretty much just executes DSUtils for you and can cleanup old .key and .bikey files automatically http://www.armaholic.com/page.php?id=28376 my example (arguments are discussed in the readme): "C:\Users\icomrade\Documents\GitHub\PBO_OUTPUT\ReSign\SignForge.exe" -s "C:\Users\icomrade\Documents\GitHub\PBO_OUTPUT\addons" -r -v -a "YOUR-ADDON-NAME+VER" Joshyy 1 Link to comment Share on other sites More sharing options...
LunatikCH Posted January 21, 2017 Report Share Posted January 21, 2017 using this for years: http://www.armaholic.com/page.php?id=14124 Nice and self explaining GUI Joshyy 1 Link to comment Share on other sites More sharing options...
Joshyy Posted January 22, 2017 Author Report Share Posted January 22, 2017 When using Arma2AS: Spoiler http://prntscr.com/dyp4js When using Sign forge, i have managed to make a .bisign file however it is not being accepted by the server for some reason. Here's the process of what i did: My pbo is named Joshyy_HC.pbo I dragged my pbo onto DSCreateKey.exe which made two files, Joshyy_HC.pbo.bikey and Joshyy_HC.pbo.biprivatekey then i used SignForge to sign them heres what i used: Spoiler "C:\Users\Administrator\Documents\SIgnForge\SignForge.exe" -s "C:\Users\Administrator\Documents\Arma2OA\@Headlessclient\addons" -r -v -o -a "hcv1" it produced hcv1.bikey hcv1.biprivatekey Joshyy_HC.pbo.hcv1.bisign Now, i tried to put the .bikey there into my server keys folder and turned verification for signatures on, however my headless client kept getting kicked for bad signature Sorry if i sound dumb, this is my first time doing this D: Link to comment Share on other sites More sharing options...
theduke Posted January 22, 2017 Report Share Posted January 22, 2017 31 minutes ago, Joshyy said: Save this file as sya.bat Spoiler @echo off rem sya.bat by !R cls rem ----check if any parameter ---- if "%1"=="" goto noparameters SET privatekey=%1 SHIFT rem ---- check if second parameter --- if "%1"=="" goto nosecondparameter SET folder=%1 echo. echo Are you sure to sign all *.pbo in %folder% with new %privatekey% CHOICE if errorlevel = 2 goto notsure if errorlevel = 1 goto sign REM ------------------------ REM Delete bisign from folder REM :sign echo. echo.Now creating new signatures, please wait FOR /R %folder%\ %%G IN (*.pbo) DO DSSignFile.exe "%privatekey%" "%%G" echo. echo.Ok! All done. echo. dir %folder%\*.bisign /B echo. echo.Remove manualy all old *.bisign goto finish REM -------------------- REM error missing parameter :noparameters echo. echo Error: Missing parameters ! goto errorecho :nosecondparameter echo. echo Error: Missing second parameter ! :errorecho echo. echo *** Sign Your Addons 1.0 by !R *** echo. echo Usage: sya.bat [keyname.biprivatekey] [addonsfolder] echo example: sya.bat my_key001.biprivatekey addons echo. echo Look for 1Rafalsky Youtube Channel to see a tutorial how to sign you addons. echo. goto finish :notsure echo. echo Process aborted ! :finish echo. SET folder= SET privatekey= pause create a folder called bisign. in that folder, put your bikey, your biprivate key, DSSignFile, DSCheckSignatures, DSCreateKey and the sya.bat (not positive if they're ALL needed, but i have them all) still in the bisign folder, create a folder called addons put as many pbos as you want in the addons folder. (try one to start with, but the sya file allows you to do multiple, and still works with one file) Download total commander if you dont already have it http://www.ghisler.com/ Once open, on the right hand pane, navigate to the bisgin folder you created earlier. Click and drag the sya.bat, from the right pane, to the bottom typing box of total commander. Do the same for the bikey and the addons folder, in that order. Hit enter and that should work. GL Link to comment Share on other sites More sharing options...
Joshyy Posted January 22, 2017 Author Report Share Posted January 22, 2017 4 minutes ago, theduke said: Save this file as sya.bat Reveal hidden contents @echo off rem sya.bat by !R cls rem ----check if any parameter ---- if "%1"=="" goto noparameters SET privatekey=%1 SHIFT rem ---- check if second parameter --- if "%1"=="" goto nosecondparameter SET folder=%1 echo. echo Are you sure to sign all *.pbo in %folder% with new %privatekey% CHOICE if errorlevel = 2 goto notsure if errorlevel = 1 goto sign REM ------------------------ REM Delete bisign from folder REM :sign echo. echo.Now creating new signatures, please wait FOR /R %folder%\ %%G IN (*.pbo) DO DSSignFile.exe "%privatekey%" "%%G" echo. echo.Ok! All done. echo. dir %folder%\*.bisign /B echo. echo.Remove manualy all old *.bisign goto finish REM -------------------- REM error missing parameter :noparameters echo. echo Error: Missing parameters ! goto errorecho :nosecondparameter echo. echo Error: Missing second parameter ! :errorecho echo. echo *** Sign Your Addons 1.0 by !R *** echo. echo Usage: sya.bat [keyname.biprivatekey] [addonsfolder] echo example: sya.bat my_key001.biprivatekey addons echo. echo Look for 1Rafalsky Youtube Channel to see a tutorial how to sign you addons. echo. goto finish :notsure echo. echo Process aborted ! :finish echo. SET folder= SET privatekey= pause create a folder called bisign. in that folder, put your bikey, your biprivate key, DSSignFile, DSCheckSignatures, DSCreateKey and the sya.bat (not positive if they're ALL needed, but i have them all) still in the bisign folder, create a folder called addons put as many pbos as you want in the addons folder. (try one to start with, but the sya file allows you to do multiple, and still works with one file) Download total commander if you dont already have it http://www.ghisler.com/ Once open, on the right hand pane, navigate to the bisgin folder you created earlier. Click and drag the sya.bat, from the right pane, to the bottom typing box of total commander. Do the same for the bikey and the addons folder, in that order. Hit enter and that should work. GL For generating the private key, should i just drag my pbo onto DSCreateKey? Link to comment Share on other sites More sharing options...
theduke Posted January 22, 2017 Report Share Posted January 22, 2017 in the post earlier you mentioned you had one already. you should be able to use that one. 41 minutes ago, Joshyy said: it produced hcv1.bikey hcv1.biprivatekey Joshyy_HC.pbo.hcv1.bisign Link to comment Share on other sites More sharing options...
Joshyy Posted January 22, 2017 Author Report Share Posted January 22, 2017 10 minutes ago, theduke said: Reveal hidden contents @echo off rem sya.bat by !R cls rem ----check if any parameter ---- if "%1"=="" goto noparameters SET privatekey=%1 SHIFT rem ---- check if second parameter --- if "%1"=="" goto nosecondparameter SET folder=%1 echo. echo Are you sure to sign all *.pbo in %folder% with new %privatekey% CHOICE if errorlevel = 2 goto notsure if errorlevel = 1 goto sign REM ------------------------ REM Delete bisign from folder REM :sign echo. echo.Now creating new signatures, please wait FOR /R %folder%\ %%G IN (*.pbo) DO DSSignFile.exe "%privatekey%" "%%G" echo. echo.Ok! All done. echo. dir %folder%\*.bisign /B echo. echo.Remove manualy all old *.bisign goto finish REM -------------------- REM error missing parameter :noparameters echo. echo Error: Missing parameters ! goto errorecho :nosecondparameter echo. echo Error: Missing second parameter ! :errorecho echo. echo *** Sign Your Addons 1.0 by !R *** echo. echo Usage: sya.bat [keyname.biprivatekey] [addonsfolder] echo example: sya.bat my_key001.biprivatekey addons echo. echo Look for 1Rafalsky Youtube Channel to see a tutorial how to sign you addons. echo. goto finish :notsure echo. echo Process aborted ! :finish echo. SET folder= SET privatekey= pause Do the same for the bikey and the addons folder, in that order. When you say do that same for the bikey is this the .biprivatekey or just the .bikey key? Thanks, Josh Link to comment Share on other sites More sharing options...
theduke Posted January 22, 2017 Report Share Posted January 22, 2017 just the bikey. EDIT: if you're trying to sign a pbo you created, it could be giving you a hard time if the config.bin is wrong for whatever reason. To test to make sure the pbo signing works. try any pbo... Link to comment Share on other sites More sharing options...
Joshyy Posted January 22, 2017 Author Report Share Posted January 22, 2017 10 minutes ago, theduke said: EDIT: if you're trying to sign a pbo you created, it could be giving you a hard time if the config.bin is wrong for whatever reason. To test to make sure the pbo signing works. try any pbo... I dont have any config.bin D: How would i make a config.bin, i had no idea it was needed? Link to comment Share on other sites More sharing options...
theduke Posted January 22, 2017 Report Share Posted January 22, 2017 9 hours ago, Joshyy said: I dont have any config.bin D: How would i make a config.bin, i had no idea it was needed? I would suggest trying any PBO thas already signed, just to see if the signing works. I have 0 clue how to build a config.bin. If you unpbo any pbo, you will see there is a config.bin. You can unbin that file with armaunbin. It will turn into a config.cpp, readable file. And to be honest im not sure how to "create" a pbo. Again try any pbo to see if the signing works Link to comment Share on other sites More sharing options...
Joshyy Posted January 23, 2017 Author Report Share Posted January 23, 2017 11 hours ago, theduke said: I would suggest trying any PBO thas already signed, just to see if the signing works. I have 0 clue how to build a config.bin. If you unpbo any pbo, you will see there is a config.bin. You can unbin that file with armaunbin. It will turn into a config.cpp, readable file. And to be honest im not sure how to "create" a pbo. Again try any pbo to see if the signing works So i just copied the config.bin from dayz_code to test with my pbo and it seems to work now..? Thanks for all the help though :) Link to comment Share on other sites More sharing options...
theduke Posted January 23, 2017 Report Share Posted January 23, 2017 emmm no that wont work. that specific config.bin is meant for the dayz_code.pbo What i meant, is to make sure your process of trying to sign a pbo works, try it with any pbo, not the one you're creating. This way you know if it works, thers a issue with your pbo... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now