| Main > Main Forum |
| HOTD3 and Mamewah UPDATE |
| (1/2) > >> |
| reko19:
I almost got it to work last night. Batch: @ echo off C: cd C:\pc games\hotd3\the house of the dead3_eu\ hod3.ahk Exit AHK: IfWinExist THE HOUSE OF THE DEAD 3 { WinActivate } else { run hod3launch.exe WinWait THE HOUSE OF THE DEAD 3 WinActivate } click 319,247 Escape:: Send {LAlt down} Send {F4 down} Send {LAlt up} Send {F4 up} ExitApp ; Assign a hotkey to terminate this script. return It loads HOTD3 launcher first, and then executes a click command on top of the "play" in the launcher. The only thing you'll need to do is to change coordinates under the click command to what it is in your system. To figure out the coordinates you need to use "window spy" which comes with the AHK, start launcher, place cursor on top of the "play" so it changes color, note "In Active Window:" coordinates in the window spy and replace coordinates in the AHK. I didn't have any problems starting HOD3. It is still temperamental in a sense that sometime Mamewah window still remains active and instead of controlling a game you somehow controlling a Mamewah screen which is hidden underneath a gamescreen. In order to prevent this form happing WinActivate should be used but HOTD3 is full screen and I can't figure out the screen name to put it in the WinActivate command. So any input would be appreciated. |
| reko19:
The ahk scrip below works 100%. The problem now is with Mamewah. After exiting the HOTD3 and going back to Mamewah, it freezes. When it freezes I could see the Mamewah screen, but at a higher resolution so it only occupies 2/3 of the screen. I have to reboot at this point, nothing else works. Log file for Mamewah is no help. Any thoughts? here is the ahk: IfWinExist THE HOUSE OF THE DEAD 3 { WinActivate } else { run hod3launch.exe WinWait THE HOUSE OF THE DEAD 3 WinActivate } ;MsgBox, after winactivate click 319,247 Send !{Esc} Escape:: Send {LAlt down} Send {F4 down} Send {LAlt up} Send {F4 up} ExitApp ; Assign a hotkey to terminate this script. return |
| rdowdy95:
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. |
| rdowdy95:
if this stuff doesn't help you it might be a problem with your computer. Maybe redownload the mamewah system files. Does the MAME games work in your mamewah fine? |
| reko19:
thanks, I'll give it a try |
| Navigation |
| Message Index |
| Next page |