1/2"-13, use a proper SAE8 (not Chinese crap - US, Germany, England, Taiwan, Hong Kong, Eastern Europe - just not China!)
I don't recall the lengths, but you can either measure the underhead length of a screw in hand (if you didn't lose them all,) or measure the thickness of the cap boss (that the screw passes through) and add 1/2". If it's between sizes, get the next size longer - you'll be adding a few sixteenths, tops.
Proper socket head capscrews are H&T to SAE8 specs UOS, FYI.
(H&T - Hardened & Tempered. UOS - Unless Otherwise Specified.)