@SLJ - No probs! I did have a quick look last night, but Doom 95 is so incredibly old (in software terms) that I don't believe it's the right choice of Doom client to be making a config for. I did a little research and found a Doom client called ZDoom that I think is probably going to give us the best results.
Here's some information about ZDoom (it's the 'about' page) zdoom.org | about.
But, ZDoom comes in 3 'flavours' - and we'll need to pick one carefully. Each of these flavours can be found at the following URL:
ZDoom Downloads
Flavour 1 - GZDoom
GZDoom is the latest and greatest version of the client and sports 'advanced hardware (OpenGL) and enhanced software rendering capabilities'. The latest release of GZDoom at the time of writing is v4.1.2 released on 2019-05-14 (i.e. only 17 days ago!)
Flavour 2 - QZDoom
QZDoom is a testbed for new features, we probably don't want this.
Flavour 3 - ZDoom
ZDoom is the parent, legacy code-base that was discontinued, with a final version of v2.8.1 released on 2016-02-21 (so a little over 3 years ago).
Here's where we have to make our decision between GZDoom and ZDoom.
If we use ZDoom, then the ZDoom client is set in stone and will never move or be updated. This way, any SoniFight config that targets ZDoom will always work because there are no client updates. So that's the argument for ZDoom.
However, the argument could also be made to target GZDoom (the 'latest and greatest') - but if that is the choice made, then the SoniFight config will likely be tied to that specific version of GZDoom, so when newer versions come out they will likely not work with the SoniFight config.
Regardless of the option chosen we are ALWAYS tying ourselves to a specific version of a specific Doom client, it's just that ZDoom is not going to change, while GZDoom will change, and we would have to 'lock it in, final answer' to a specific version of GZDoom such as the latest v4.1.2.
I hope that makes sense! I genuinely don't know which is the best option, so if you've got any thoughts about it I'd love to hear them.
Regardless, I gave the 'legacy' ZDoom a quick crack last night and found the current ammo pointer. Here's a link to the test config I made:
ZDoom v2.8.1
To use it extract the zip then move the "ZDoom v2.8.1" folder into your SoniFight/bin/x86/configs folder.
ZDoom doesn't come with the shareware version of Doom (i.e. the free first chapter called "Knee Deep in the Dead"), but the version of Doom 95 I initially tried did come with it so I just copied the DOOM1.WAD file into the ZDoom folder
This test config does basically nothing of use - it just says "Ammo 45" when you have 45 bullets left (you start with 50) - and the pointer chain is simply applying the following to the zdoom process:
3AA420, 5C
But, because the config has just 1 watch and 1 trigger, perhaps it's something to take a look at and maybe try cloning that first trigger and have it say "Ammo low" when you only have 10 bullets left or such? Just to get the hang of things? Anyways, just a thought.
I'm happy to put a bit more time into the config to handle health, pick-ups, menus etc. but not until we decide if we're targeting ZDoom or GZDoom, and I probably won't get a chance to get around to putting some real time into it until near the end of next week.
Cheers!