That sounds pretty complex Reko. Here is what I did. First off I have a NO CD crack for the game. Then this is what I did. I came here and found a guy with the same problems I had. He said he used this one guys ahk script. I will break it down for you. The first line of script is a registry script that writes to the registry saying you played the game once already. This means you can start the game with the normal game exe file. The second part of the script starts the game from the normal exe file not the launcher. So if your location of this file is different make the change to the file location. The last part exits the game via the ESC button. You also won't need a key to terminate the script either. I edited the script to look like this. Don't mind all the spanish in the script it is all good.
**********
RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, SOFTWARE\SEGA\hod3\Settings,
Run, C:\Program Files\Sega\THE HOUSE OF THE DEAD3_EU\exe\HOD3PC.exe
Sleep, 4000
WinWaitClose, THE HOUSE OF THE DEAD 3
ExitApp
Escape::
;La Opción WinClose, THE HOUSE OF THE DEAD 3 -> cerrar a lo bruto daba en el juego (no en el menú).
PostMessage, 0x112, 0xF060,,, THE HOUSE OF THE DEAD 3 ; Manda un mensaje a la ventana igual a ALT+F4
Send {i down} ; Es necesario poner primero down y luego up. Si pones sólo UP, no funciona.
Sleep, 10
Send {i up}
Send {n down}
Sleep, 10
Send {n up}
ExitApp ; Termina esta script
return
**********
There ya go. Save it as a .ahk. Now what I did once I got this working I saved it as an exe. I used autohotkey's little coversion program to make it an exe.
Now on to Mamewah. The way I have my PC games is I use shortcuts as my rom files. So everything is a .lnk. These lnk files are shortcuts to my game exe files. If you don't know what I am talking about I think there is info on this in the wiki. I got mine from somewhere. But I can give you my ini file to get pc games to run from mamewah. See the you do game listing as rom_folder. The executable is just PC just write PC on that part. Put rom directory whereever all your shortcut files are. Let me know and I will post the ini file tonight. I don't have an NMS file setup yet because my Shortcuts are all named how I want the games to show in mamewah. When I get around to doing snapshots of the game I may have to change my shortcut names and use an NMS file. I just need to take screenshots of my game so they show up in my picture window.
When i tried to use ahk files as my roms I couldn't get it to work, but I did get all my exe files to run.
Let me know first if you get the ahk to work well. Then create an exe file from that ahk. Try it out witth your setup, but if you need my ini file for my PC games list in MAMEWAH let me know.
Also what version mamewah you use. I am using the latest beta version. Downloaded off of minwah's messageboard.