@argonlefouI just noted that there is another typo in the LUA scripts, have a look at the End() function. They all write to "vcop.cfg".
Did you miss that? If you had a git repository, I would just send a pull request.
However, I took a look at the PC version of HOTD2 and found some memory adresses:
Hod2.exe + 0x5A5C68 = 0x9A5C68 = life p1
Hod2.exe + 0x5A5C7C = 0x9A5C7C = ammo p1
Hod2.exe + 0x5A5D48 = 0x9A5D48 = xpos p1
Hod2.exe + 0x5A5D4C = 0x9A5D4C = ypos p1
Hod2.exe + 0x5A5D98 = 0x9A5D98 = life p2
Hod2.exe + 0x5A5DAC = 0x9A5DAC = ammo p2
Hod2.exe + 0x5A5E78 = 0x9A5E78 = xpos p2
Hod2.exe + 0x5A5E7C = 0x9A5E7C = ypos p2
All of these adresses are static. Watch out, the x- and ypos are of type float! Would you please add support for that game to DemulShooter? That would be great.
This is the default control scheme for both players set to keyboard:
Player 1
Arrow keys to aim
Enter = Join, Pause, Continue
Right Shift = Shoot
Right Ctrl = Reload, Skip scene
Player 2
W, A, S, D to aim
Tab = Join, Pause, Continue
Left Shift = Shoot
Left Ctrl = Reload, Skip scene
Besides that it would be cool to "Insert a coin" by pressing a key, which is not supported in HOTD2 and HOTD3 for PC as far as I know.
Hod2.exe + 0x5C8E60 = 0x9C8E60 = credits
hod3pc.exe + 0x3B7DD0 = 0x7B7DD0 = credits