ThePolish Posted August 5, 2021 Author Share Posted August 5, 2021 41 minutes ago, Tomkun said: Strange... It works fine here on my Windows 10 setup. I remember there was some faff about drivers when I set it up, so I had to get them from somewhere else... don't remember where, sorry. Let me know if you have trouble setting it up and I'll zip up my folder and send it to you along with the keymaps I use. I also use the Wiimotes as steering wheels for a lot of the simpler driving games. From reading, the drivers get installed from the actual touchmote release they had put on the main website, but i'm not sure. Once I get VS 2013 installed I'll see if that's the case. It apparently CAN'T be built using VS 2019. Quote Link to comment Share on other sites More sharing options...
ThePolish Posted August 8, 2021 Author Share Posted August 8, 2021 For the life of me I can't get this to build without errors. Part of the problem is I'm not extremely well versed in coding/building, but still, it shouldn't be THAT crazy to fix. I installed VS 2019 and upgraded the build folder, errors, touchmote will run, but it is missing "left stick" (only shows left stick x and left stick y") no idea why. It also won't let me reassign the pointer to your .json or any new ones I create, and it will only let me assing "mouse pointer" to pointer on default. Really strange behavior. I got VS 2013, tried again without upgrading to new build tools, same issues. As cool as it sounds to use the modified method, I just don't have the patience to keep running myself in circles on this, but I'm really glad others have got it to work! Quote Link to comment Share on other sites More sharing options...
ThePolish Posted August 8, 2021 Author Share Posted August 8, 2021 On 8/4/2021 at 8:15 PM, Tomkun said: Let me know if you have trouble setting it up and I'll zip up my folder and send it to you along with the keymaps I use. I also use the Wiimotes as steering wheels for a lot of the simpler driving games. If you would be so kind, I'll definitely take you up on that zip. It's either my build environment that is causing issues or and the driver version I'm using (since I'm installing touchmote first using the latest release for the driver which is 15b I think). I'd like to see if yours will run out of the gate, if not I'm going to try to find the older installer and start fresh from that. Quote Link to comment Share on other sites More sharing options...
Tomkun Posted August 9, 2021 Share Posted August 9, 2021 Sure thing! Here you go. It's just my working folder zipped up, so there might be stuff there that's irrelevant to you, but take a look. There might be something interesting. Touchmote.zip 1 Quote Link to comment Share on other sites More sharing options...
ThePolish Posted August 9, 2021 Author Share Posted August 9, 2021 14 minutes ago, Tomkun said: Sure thing! Well, it works! Other than this weird thing that happens upon launch (which if I minimize and pull back up from the taskbar it becomes normal size). That tells me it is certainly something I'm doing wrong trying to build it and not the driver. Very odd indeed. I will say your build seems to work right out of the box for my setup (46" tv, roughly 6 feet away) using one controller, for P1, Its getting too late for me on a sunday night to keep messing with it but this puts me on the right track to get setup again, but better! The one thing I'm noticing is binding in mame is finicky, but that's probably an issue on my end. I have quite a bit more to play with but you're NOT kidding when you say it's smooth using the stick. Very much appreciated! Quote Link to comment Share on other sites More sharing options...
Tomkun Posted August 9, 2021 Share Posted August 9, 2021 The problem with MAME is that it will default to Xinput and in Xinput there is no way to differentiate controllers except by order. However, if you force MAME to use Dinput, we can work out controllers by their HWID. That way, you can use MAME's built in fixed controller mappings. Take a look at this ctrlr file that I made (attached below). When I play a lightgun game, I force MAME to use Dinput and map the emulated Xbox 360 controllers to MAME Joysticks 11 and 12 (by making them high up, they are never accidentally bumped out of the way by other devices.) I hope that makes sense! mycontrols.cfg 1 Quote Link to comment Share on other sites More sharing options...
jdoringcott1 Posted August 9, 2021 Share Posted August 9, 2021 Tomkun, your control script sounds beautiful, would you mind sharing? Also, is everyone still using the modified tsuokkis Touchmote version? I'm working to get this up and running on CoinOPS Next 2 with dolphin bar. Quote Link to comment Share on other sites More sharing options...
Tomkun Posted August 11, 2021 Share Posted August 11, 2021 Hi! Sure, I don't mind sharing it. Some caveats though... First, it was written by me for my system. There are a lot of paths and things that are only relevant to me. I'll go through it and replace them with variables. Second, it's due a rewrite. Since Launchbox now supports controller profiles, a lot of the script (detecting lightgun games) is irrelevant now. Third, I'm sure there are parts of it that could be done more neatly or efficiently. I'll get onto it once I have some time! 1 Quote Link to comment Share on other sites More sharing options...
ThePolish Posted August 13, 2021 Author Share Posted August 13, 2021 (edited) @Tomkun oh. my. gosh. Once I dialed in the settings in the json - WOW I used the same for all wiimotes on my end, seems to work well on a 46" playing about 3 meters away, with the sensor on the bottom. "pointer_limit_top": 0.1, "pointer_limit_bottom": 0.5, "pointer_limit_left": 0.2, "pointer_limit_right": 0.7, Now, I do have a question regarding the way you have the batch file set up for the settings - essentially it's not necessary to do that (from your folder, I DID find it interesting though) right? you can just modify the settings.json with the values and that is what auto loads. The batch file just replaces the settings.json's contents with the other named files? So for instance I modified the batch to make "3" go to "big buck hunter.json" "settings.json" and its just putting the values from my named file to the default file? I think that is what is going on anyway. Either way THANK YOU again, you and everyone else who has tried your modified version aren't kidding when they say this is the way to go. I got a WII Cabela's Big Game Hunter 2012 box from the thrift store today with that nice pump shotgun (and they even were nice enough to leave the wiimote in it haha) and set everything up (using the mouse to get it dialed in like you said earlier in the thread) and this is AMAZING. Now to learn how to use that whole MAMEdevice mapping! Side note, this thread is now 5 years old hahahahahaha LONG LIVE WIIMOTE LIGHTGUNS! ? Edited August 13, 2021 by ThePolish so bad at proof reading, very ashamed Quote Link to comment Share on other sites More sharing options...
Tomkun Posted August 14, 2021 Share Posted August 14, 2021 Which batch file are you talking about? The one that switches aspect ratio? The reason that exists is because some (most?) lightgun games are in a 4:3 aspect ratio, whereas others are in 16:9, so the accuracy can be off especially at the edges. This doesn't effect MAME, but it can effect DemulShooter if you use that. Quote Link to comment Share on other sites More sharing options...
rclong Posted November 4, 2021 Share Posted November 4, 2021 Here is a link to get the real deal going- Spread this link if you want mode 4 in retroarch! https://www.bountysource.com/issues/83873923-feature-request-native-support-for-mayflash-dolphinbar-wiimote-emulation-mode-4 Quote Link to comment Share on other sites More sharing options...
Trihy Posted October 30, 2022 Share Posted October 30, 2022 Anyone got wiimotes working on hotd remake? I can make 1 controller work using mouse emulation in touchmote. But 2 player is a no go. Used the 2 player patch for sinden but when configuring pressing F1 and setting player 1 and 2 nothing happens. It says press trigger on controller but doesn't do anything. The only one working for 2 player is using 360 emulated axis like pointer, but works pretty bad on this game. Quote Link to comment Share on other sites More sharing options...
skizzosjt Posted November 8, 2022 Share Posted November 8, 2022 (edited) On 10/30/2022 at 2:33 PM, Trihy said: Anyone got wiimotes working on hotd remake? I can make 1 controller work using mouse emulation in touchmote. But 2 player is a no go. Used the 2 player patch for sinden but when configuring pressing F1 and setting player 1 and 2 nothing happens. It says press trigger on controller but doesn't do anything. The only one working for 2 player is using 360 emulated axis like pointer, but works pretty bad on this game. that's a known issue with the fan-made patch. The in-game options toggle button (F1) worked with the initial build of the game, but not after it got an update. Seems like the fan who made the patch never bothered or was capable of improving their patch to keep it working as intended. You can still edit the patch file config by opening it manually in a text editor and changing the parameters accordingly. I only use my WiiMotes for Wii games after getting a pair of Arcade Guns (aimtrack light guns) so I haven't used WiiMotes in this game. But you're just using them as a mouse, which is the same way an aimtrack gun works here too. I know there are videos of people using two light guns with this game....but I never once got two light guns working. The only way I got 2 players working is the 2nd player is controlled via a controller and that is not conducive to translating to a light gun, which also sounds like you have tried and also thought sucked, because it does. Getting 2 players working on light guns, It's not an issue with WiiMotes or light guns in general, it's a problem with how the game was coded. Raw input would be required to have two instances of a mouse. This way the 2nd player could also work the same way as the 1st player. Frankly the devs dropped the ball big time on this game by not implementing light gun support. Edited November 8, 2022 by skizzosjt Quote Link to comment Share on other sites More sharing options...
Trihy Posted November 8, 2022 Share Posted November 8, 2022 (edited) Hi. Thanks for your answer. I use the emulated analog stick with IR pointer and works pretty good on mame and teknoparrot. But on this game is terrible. Tried changing sensibility but still bad. Maybe because there is no auto center function like mame and tekno has. For one player, on hotd remake, using wiimote like mouse, works pretty good. For two players, tried the patch on an older build but doesn't recognize the wiimotes when says press trigger. I saw there in an option to enter vid pid values manually, but have no idea the vid pid for wiimotes, can't find them on system properties, guess they are there but no idea under which name. Yes, devs never cared too much about raw or gun support. Neither Windows to have support for more than one mouse. Guess one day they will add this natively on Windows. Even tried the switch version which use gyro for aiming but it's even worst than using a control pad. Edited November 8, 2022 by Trihy Quote Link to comment Share on other sites More sharing options...
Rob_G Posted November 19, 2022 Share Posted November 19, 2022 On 10/30/2022 at 12:33 PM, Trihy said: Anyone got wiimotes working on hotd remake? I can make 1 controller work using mouse emulation in touchmote. But 2 player is a no go. Used the 2 player patch for sinden but when configuring pressing F1 and setting player 1 and 2 nothing happens. It says press trigger on controller but doesn't do anything. The only one working for 2 player is using 360 emulated axis like pointer, but works pretty bad on this game. I don't like touchmote because I think it's a wonky solution to try and use mode 4 with two touch motes and mame (for example). The software is no longer maintained too. Ideally, you should have two dolphin bar, both in mode 2 and one touchmote paired to each bar. One of the bars is hidden so its lights don't show. It could have been a great solution, but unfortunately there's no calibration software for the dolphin bar. Aiming at center screen is not pointing at the center of the screen, but directly at the dolphin bar. So that throws off the Y axis aim. The further back you stand, the better it is, but it's still not great. The above/below switch has no effect in mode 2. In game gun calibration for some games may make it better, but I haven't tried. Rob 1 Quote Link to comment Share on other sites More sharing options...
Trihy Posted November 19, 2022 Share Posted November 19, 2022 (edited) Hi. Sadly I dont have a dolphin bar. And it´s way too expensive here. I´d noticed that some wii games like hotd 2 & 3 has IR calibration. After doing the calibration, you can disable crosshair. Too bad there is no software that uses that system wide. It uses two screen point for calibration and feeling is way better. Not like an old lightgun, but close. Guess it wont be too difficult to implement on Windows, but there are few devs interested on wiimote. Edited November 19, 2022 by Trihy Quote Link to comment Share on other sites More sharing options...
Rob_G Posted November 19, 2022 Share Posted November 19, 2022 Did you pair the wiimotes by bluetooth? I never got that to work properly. Maybe I needed a different bluetooth adapter for my PC. Rob Quote Link to comment Share on other sites More sharing options...
Trihy Posted November 20, 2022 Share Posted November 20, 2022 (edited) On Windows 10/11 there is not much problem pairing them. Even the old ones and the new model. With most BT adapters. Then you need a pairing tool, since Windows ask for a pin, which wiimotes doesnt have. For this, you could use wiimotehook. It´s just one click, really easy. Once paired, you can use them on whatever you want, even closing wiimotehook. There are other tools too, but didnt tried. Dolphin bar is probably better, but well you need to have one Wiimotehook also let you use the wiimote like an xinput controller, so you can use it on any emulator or PC game. Not sure if dolphin bar do that too. It´s a nice controller for 8 or 16bits consoles. Edited November 20, 2022 by Trihy Quote Link to comment Share on other sites More sharing options...
n33k33 Posted May 24, 2023 Share Posted May 24, 2023 Hi everyone, Looong read but was really interesting for someone like me who've been pulling hair over making his Dolphin Bar work outside of Dolphin for more than one player. For Mame, I "solved" my issues by using MAMEUI. It was the only build that recognized the Wiimote's X an Y axis movements when having them setup as X360 "Right Stick" in Touchmote. Works for most games but other like Lethal Enforcers are really choppy, like the crosshair is moving on a grid. I haven't found a solution for other emulators yet. It all boils down to @ThePolish's struggle with having 2 Wiimotes detected as 2 different mouse cursors. The only way to achieve this currently to my knowledge is by using one Dolphin Bar per Wiimote in Mode 2. Not ideal and comes with button mapping issues too. Weirdly enough, I've read rare instances of people who claimed they had it working in Mode 4, like here: https://web.archive.org/web/20230129023322/https://www.emuline.org/topic/1607-haunted-museum-tutorial-touchmote-2-wiimotes-and-demulshooter-in-hyperspin/ Just wondering if others are still looking for optimal solutions on this. I'm all in right now here. ^^ Quote Link to comment Share on other sites More sharing options...
ThePolish Posted May 25, 2023 Author Share Posted May 25, 2023 1 hour ago, n33k33 said: I haven't found a solution for other emulators yet. It all boils down to @ThePolish's struggle with having 2 Wiimotes detected as 2 different mouse cursors. Just wondering if others are still looking for optimal solutions on this. I'm all in right now here. ^^ Honestly I wonder now with basic scripting and coding more available to more people vis a vie things like chatgpt I wonder of this sort of thing might finally be solved since we might not have a master coder interested in finding a fix, we have a bunch of amateurs who now might have tools to bodge it into working. Quote Link to comment Share on other sites More sharing options...
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.