Try using this:
https://www.subsim.com/radioroom/dow...o=file&id=4715
Using this you can make a mod that you then throw into \Silent Hunter Wolves of the Pacific\Mods like you would any other mod, and activate with JSGME. It's how I made the <enter> key be for returning to 1x time compression, like in SH3.