I'm looking for one myself as well...
I did make a rugged pistol transport case.. at work,
I disposed of an unfunctional piece of test gear...that was housed in an old
PELICAN case.. I deep sixed the old dried flaking foam, and rough cut some replacement layers. cut much larger than tke pistol outlines, so I can grab them. I will house the magazines & ammo in a different case
Here in Connecticut ammo & guns are to be separated during transport.
I don't know how professionals cut foam nicely, I tried to do a nice job,
but it came out so-so...( I'll stick to electronics)