wolfenstein0099 Posted Saturday at 02:24 PM Posted Saturday at 02:24 PM Hello, I am trying to hide the mouse in certain lightgun games for my gun4ir. I wrote a few different ahks. Works in windows and hides the mouse using nomousy. I added it as an additional app for house of the dead 2 but mouse is still showing in game. Not sure what script i need to write. Appericate the help Quote
JoeViking245 Posted Saturday at 02:59 PM Posted Saturday at 02:59 PM Not sure if any of your "few different ahks" used a DllCall method. Or were just different trial-and-errors for using nomousy. You didn't show your work. That said, an AHK script using a DllCall method is doing the exact same thing as nomousy is doing. And according to sindenwiki, should just work. What platform/emulator? It may be a setting in the game itself. If you added both the HideMouse (Run Before...) and ShowMouse (Run After...) Additional App scripts, try removing the latter and see if it then hides it during the game. (You will need to manually Un-Hide after testing.) Quote
wolfenstein0099 Posted Saturday at 03:31 PM Author Posted Saturday at 03:31 PM (edited) 39 minutes ago, JoeViking245 said: Not sure if any of your "few different ahks" used a DllCall method. Or were just different trial-and-errors for using nomousy. You didn't show your work. That said, an AHK script using a DllCall method is doing the exact same thing as nomousy is doing. And according to sindenwiki, should just work. What platform/emulator? It may be a setting in the game itself. If you added both the HideMouse (Run Before...) and ShowMouse (Run After...) Additional App scripts, try removing the latter and see if it then hides it during the game. (You will need to manually Un-Hide after testing.) My work;: Run, E:\Launchbox\nomousy.exe /hide Run, E:\Launchbox\nomousy.exe /show Then I just tried Run, E:\Launchbox\nomousy.exe /hide Works on my desktop when added as an additional app in launchbox. It doesn't work. Im using demuil as my emulatior for house of the dead 2. Also cant login to the launchbox forum on my windows 11 pc using edge. Where im using launchnox because my login wont work so I cant post screen shots. Im on my phone. Sorry about that. Edited Saturday at 03:39 PM by wolfenstein0099 Quote
JoeViking245 Posted Saturday at 04:05 PM Posted Saturday at 04:05 PM 7 minutes ago, wolfenstein0099 said: My work;: Run, E:\Launchbox\nomousy.exe /hide Run, E:\Launchbox\nomousy.exe /show This will hide it, then (I presume) show it, right away. I "presume" because I didn't see in the documentation where is says to add "/show" as a parameter to show it again. 9 minutes ago, wolfenstein0099 said: Then I just tried Run, E:\Launchbox\nomousy.exe /hide [Just] this should work. 13 minutes ago, wolfenstein0099 said: tried deleting the additional app and tried readding it again. When I go back into lainchbox. Its not staying deleted If your Additional App has both Run commands, it won't work. After deleting the Additional App, did you click the OK button (vs. clicking the X in the upper right corner)? 28 minutes ago, wolfenstein0099 said: Works on my desktop Are you testing nomousy and starting the game? Maybe try that. Run, E:\Launchbox\nomousy.exe /hide RunWait, E:\LaunchBox\Emulators\Demul\demul.exe -run=naomi -rom=hotd2 MsgBox The game has exited Run, E:\Launchbox\nomousy.exe (change the path to Demul as necessary) Quote
wolfenstein0099 Posted Saturday at 04:29 PM Author Posted Saturday at 04:29 PM 16 minutes ago, JoeViking245 said: This will hide it, then (I presume) show it, right away. I "presume" because I didn't see in the documentation where is says to add "/show" as a parameter to show it again. [Just] this should work. If your Additional App has both Run commands, it won't work. After deleting the Additional App, did you click the OK button (vs. clicking the X in the upper right corner)? That was my mistake. It did delete it. I went back in and made sure. 16 minutes ago, JoeViking245 said: Are you testing nomousy and starting the game? Maybe try that. Run, E:\Launchbox\nomousy.exe /hide RunWait, E:\LaunchBox\Emulators\Demul\demul.exe -run=naomi -rom=hotd2 MsgBox The game has exited Run, E:\Launchbox\nomousy.exe (change the path to Demul as necessary) THanks, Joe. 1st ill try to just statt no mousy then load the game. For some reason my ahk script isnt workong as an additional app. Even just trying to /hide didnt work. So ill try that and then your script you gave me. I appreciate your help one again. 😃 1 Quote
JoeViking245 Posted Saturday at 04:42 PM Posted Saturday at 04:42 PM 8 minutes ago, wolfenstein0099 said: For some reason my ahk script isnt workong as an additional app If it works outside, I'd check that the Additional App is setup correctly. Give it a name Point to LaunchBoxs' AutoHotkey.exe WITH QUOTES, add the "full/path/to/your/script.ahk" Check Run Before Click OK to save and close Quote
wolfenstein0099 Posted Saturday at 05:00 PM Author Posted Saturday at 05:00 PM 16 minutes ago, JoeViking245 said: If it works outside, I'd check that the Additional App is setup correctly. Give it a name Point to LaunchBoxs' AutoHotkey.exe WITH QUOTES, add the "full/path/to/your/script.ahk" Check Run Before Click OK to save and close Oh, ghoss. I didnt do any of that. Let me try that. Im sure that's probally why it didn't work. Ill let you know. Quote
wolfenstein0099 Posted Saturday at 06:17 PM Author Posted Saturday at 06:17 PM 1 hour ago, JoeViking245 said: If it works outside, I'd check that the Additional App is setup correctly. Give it a name Point to LaunchBoxs' AutoHotkey.exe WITH QUOTES, add the "full/path/to/your/script.ahk" Check Run Before Click OK to save and close Sorry Joe. Im just confused about what to write in the defulat comand line perramoters. Not exactly what you mean. Quote
JoeViking245 Posted Saturday at 06:28 PM Posted Saturday at 06:28 PM 2 minutes ago, wolfenstein0099 said: Sorry Joe. Im just confused about what to write in the defulat comand line perramoters. Not exactly what you mean. You created a text file which had the one line: Run, E:\Launchbox\nomousy.exe /hide in it. You saved that file and changed the file extension from .txt to .ahk. e.g. You saved and renamed it to: E:\My AutoHotkey Scripts\HideMouse.ahk Your Command-line Parameters for this Additional App will then be "E:\My AutoHotkey Scripts\HideMouse.ahk" (the full path to the file you previously created, all within quotes) 1 Quote
wolfenstein0099 Posted Saturday at 07:14 PM Author Posted Saturday at 07:14 PM 45 minutes ago, JoeViking245 said: You created a text file which had the one line: Run, E:\Launchbox\nomousy.exe /hide in it. You saved that file and changed the file extension from .txt to .ahk. e.g. You saved and renamed it to: E:\My AutoHotkey Scripts\HideMouse.ahk Your Command-line Parameters for this Additional App will then be "E:\My AutoHotkey Scripts\HideMouse.ahk" (the full path to the file you previously created, all within quotes) Got it but still showing the mouse. Ill try your script you typed out for me. The regular script off the sinddn wiki isnt working. Quote
wolfenstein0099 Posted Saturday at 08:05 PM Author Posted Saturday at 08:05 PM 1 hour ago, JoeViking245 said: You created a text file which had the one line: Run, E:\Launchbox\nomousy.exe /hide in it. You saved that file and changed the file extension from .txt to .ahk. e.g. You saved and renamed it to: E:\My AutoHotkey Scripts\HideMouse.ahk Your Command-line Parameters for this Additional App will then be "E:\My AutoHotkey Scripts\HideMouse.ahk" (the full path to the file you previously created, all within quotes) House of the dead 2 is finally hiding the mouse and working great. Thanks to your script! Thank you. I was trying to hide the mouse in cobra arcade too. I added cobra as the rom with teknoparriot and the path to the emulator. Just like with house of the dead 2 but its giving me an error. Not sure if It needs to be different. They are the only 2 I was trying go play without the mouse showing. Thanks Joe. 1 Quote
JoeViking245 Posted Saturday at 08:13 PM Posted Saturday at 08:13 PM 6 minutes ago, wolfenstein0099 said: Just like with house of the dead 2 but its giving me an error. Not sure if It needs to be different. What's the error? Is it a TP error? A script error? Some other error? If it's a TP error, I can't help you. Not that I won't. It's that I can't. I don't use TeknoParrot. 8 minutes ago, wolfenstein0099 said: They are the only 2 I was trying go play without the mouse showing. Well, you're halfway there. 8 minutes ago, wolfenstein0099 said: Thanks Joe. You're welcome. Quote
wolfenstein0099 Posted 7 hours ago Author Posted 7 hours ago 21 hours ago, JoeViking245 said: What's the error? Is it a TP error? A script error? Some other error? If it's a TP error, I can't help you. Not that I won't. It's that I can't. I don't use TeknoParrot. Well, you're halfway there. Sorry for the late reply. I think ifs teknoparriot. No worries, its fine. Probally needs more updates because its a newer game. You're welcome. Your the best!! Always helping me when I need it 😊 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.