So, in this history, they just said "screw it, I'm giving railguns to the army", and they added a machine gun like rifle with big caliber, but low recoil, they carry a backpack with batteries and a lot of ammo.
But since I don't really know how much energy a railgun would require to shoot a bullet in the same speed of normal rifles, I don't know how big this backpack would need to be nor if it could be applied to tanks and armoured vehicles.
How much electricity I would require for such?