Yes, I know this is my first post.
Also be warned that this post is very, very long.
---
This guide will help you set up your Wiimote with your computer and provide a control schema exactly the same as the one used in Monster Hunter TRI with as little configuration as possible in-game. This should work with any region provided that Frontier has the same set of default controls each release.
Note: This guide was written for a Windows XP, so I can't guarantee that the instructions will be the same for Vista and 7. I don't have any way of testing this on Vista/7. Sorry...
Also, be forewarned that you may have trouble if you are using a 64 bit version of Vista or 7, and that some programs may require additional configuration. (PPJoy on 64bit OSes require you to manually disable Driver Signing Enforcement or enable Driver Test Mode, for example.)
Also, I can't be held responsible for what happens to your computer when you use this guide.
What You Will Need:
* Your Wiimote, and a classic controller. It doesn't matter if it is a Pro or an original one; either will work.
* A supported Bluetooth module of some kind. It doesn't matter if it's USB or onboard, as long as it works. You can find a list of modules the Wiimote supports here: http://wiibrew.org/w...etooth_Devices. If you don't already have a bluetooth module, look around your local computer shops for a compatible one. I've seen them go for as low as 20$ (USD), but they may be cheaper then that depending on where you look.;
* GlovePIE Link: http://glovepie.org/...ie_download.php An input emulator that, with a proper script and PPJoy, allows your Wiimote to function as a gamepad.
* PPJoy Link: http://ppjoy.blogspot.com/, a set of Joystick drivers that supports virtual joysticks. This, along with GlovePIE, is what allows your Wiimote to function as a gamepad.
* WiiMote Connect (OPTIONAL) Link: http://www.wiimotepr...autoconnect%29/ A program that allows users of the native windows Bluetooth stack to quickly and easily connect Wiimotes to their systems.
Notes: None of the programs or websites I am linking to should have any viruses, but it's always worth running a virus scan and a malware scan to make sure.
First, I am going to assume that you have a compatible Bluetooth stack/driver set installed and already set up. There are 6(!) different bluetooth stacks (According to that link below, anyway) and they ALL WORK DIFFERENTLY. Your bluetooth drivers should come with a stack. If you have a Mac and are using Boot Camp, you will always have the default Microsoft Stack. Use this website to determine what stack you have and how to set up your Wiimote with it. Link: http://www.wiimotepr...eir-connection/ The initial setup of a Bluetooth adapter will not be covered by the guide. That website will also show you how to connect your Wiimote.
Step 1: Find out how to connect your Wiimote to your computer. Use the link in the paragraph above to get this working. Once you have successfully gotten the Wiimote connected, read on. You'll know your Wiimote is connected properly because the Wiimote will not shut itself off. (The LEDs will flash ad infinitium.)
Step 2: GlovePIE
Download and extract GlovePIE somewhere on your computer. It really doesn't matter, then open it.
Copy and paste this script into GlovePIE:
// Monster Hunter Frontier Classic Controller Script for GlovePIE. // Adapted from other Classic Controller Scripts found on the internet. // Includes the controller script, plus an LED Battery meter written by J. Coulston. var.dummy = Wiimote.RawForceX if Wiimote.Classic.a then var.A = "A" else var.A = "" if Wiimote.Classic.b then var.B = "B" else var.B = "" if Wiimote.Classic.x then var.X = "X" else var.X = "" if Wiimote.Classic.y then var.Y = "Y" else var.Y = "" if Wiimote.Classic.Minus then var.Minus = "-" else var.Minus = "" if Wiimote.Classic.Home then var.Home = "H" else var.Home = "" if Wiimote.Classic.Plus then var.Plus = "+" else var.Plus = "" if Wiimote.Classic.Up then var.DPadY = "Up" elseif Wiimote.Classic.Down then var.DPadY = "Down" else var.DPadY = "" if Wiimote.Classic.Left then var.DPadX = "Left" elseif Wiimote.Classic.Right then var.DPadX = "Right" else var.DPadX = "" if Wiimote.Classic.LFull then var.LF = " (fully depressed)" else var.LF = "" if Wiimote.Classic.RFull then var.RF = " (fully depressed)" else var.RF = "" if Wiimote.Classic.ZL then var.LZ = "pressed" else var.LZ = "not pressed" if Wiimote.Classic.ZR then var.RZ = "pressed" else var.RZ = "not pressed" debug = "Buttons: "+var.A+var.B+var.X+var.Y+var.Minus+var. Home+var.Plus+"; D-Pad: "+var.DPadY+var.DPadX+"; L:"+Wiimote.Classic.L+var.LF+", ZL: "+var.LZ+", R:"+Wiimote.Classic.R+var.RF+", ZR: "+var.RZ+"; Left Joystick: X = "+Wiimote.Classic.RawJoy1X+", Y = "+Wiimote.Classic.RawJoy1Y+", Right Joystick: X = "+Wiimote.Classic.RawJoy2X+", Y = "+Wiimote.Classic.RawJoy2Y PPJoy1.Analog0 = Deadzone(Wiimote1.Classic.Joy1X,0.2) PPJoy1.Analog1 = Deadzone(Wiimote1.Classic.Joy1Y,0.2) PPJoy1.Analog2 = Deadzone(Wiimote1.Classic.Joy2X,0.2) PPJoy1.Analog3 = Deadzone(Wiimote1.Classic.Joy2Y,0.2) PPJoy1.Analog4 = Deadzone(Wiimote1.Classic.L,0.2) PPJoy1.Analog5 = Deadzone(Wiimote1.Classic.R,0.2) PPJoy1.Digital0 = Wiimote1.Classic.y PPJoy1.Digital1 = Wiimote1.Classic.x PPJoy1.Digital2 = Wiimote1.Classic.b PPJoy1.Digital3 = Wiimote1.Classic.a PPJoy1.Digital4 = Wiimote1.Classic.LFull PPJoy1.Digital5 = Wiimote1.Classic.RFull PPJoy1.Digital10 = Wiimote1.Classic.Minus PPJoy1.Digital11 = Wiimote1.Classic.Plus PPJoy1.Digital12 = Wiimote1.Classic.Left PPJoy1.Digital13 = Wiimote1.Classic.Up PPJoy1.Digital14 = Wiimote1.Classic.Down PPJoy1.Digital15 = Wiimote1.Classic.Right if wiimote1.Classic.home = true PPJoy1.Digital8 = wiimote1.Classic.ZL PPJoy1.Digital9 = wiimote1.Classic.ZR else PPJoy1.Digital6 = Wiimote1.Classic.ZL PPJoy1.Digital7 = wiimote1.Classic.ZR endif //Wiimote Battery Display //by J.Coulston // Modified by Carl Kenner for GlovePIE 0.25 // use up battery power :-) // comment out this line if you don't need it //Wiimote.Rumble = shift //A full battery gives 0xC0 (192) var.Batt = wiimote.Battery / 48 if true then wait 5 seconds //it sends an instruction that tells the Wiimote to actually //send the report. Wiimote.Report15 = 0x80 | Int(wiimote.Rumble) end if //Display the battery level of your wiimote using the four LEDs on the bottom. //Battery level is displayed in four levels increasing to the right, like a cell //phone battery gauge. As the battery gets close to the next level down, the LED //for the current level will blink. //Blink rate var.Blink = 500ms //debug = "Battery level: " + 100*48*var.Batt/192 + "%" if 0<=var.Batt<=0.25 then Wiimote.Leds = 1 wait var.Blink Wiimote.Leds = 0 wait var.Blink elseif 0.25 < var.Batt<=1 then Wiimote.Leds = 1 elseif 1 < var.Batt<=1.25 then Wiimote.Leds = 3 wait var.Blink Wiimote.Leds = 1 wait var.Blink elseif 1.25 < var.Batt<=2 then Wiimote.Leds = 3 elseif 2 < var.Batt<=2.25 then Wiimote.Leds = 7 wait var.Blink Wiimote.Leds = 3 wait var.Blink elseif 2.25 < var.Batt<=3 then Wiimote.Leds = 7 elseif 3 < var.Batt<=3.25 then Wiimote.Leds = 15 wait var.Blink Wiimote.Leds = 7 wait var.Blink elseif 3.25 < var.Batt<=4 then Wiimote.Leds = 15 else Wiimote.Leds = 0 endif
Once that's done, click "Run". The LEDs on the Wiimote should stop flashing and should now reflect the battery level of your Wiimote. If the Wiimote LEDs continue flashing, try stopping and running the script again. You can also try turning on "No Auto-Bluetooth Connect" in the TroubleShooter menu. Also, a little box should appear next to the run button that contains something along these lines:
Buttons: ; D-Pad: ; L:0.00, ZL: not pressed, R:0.00, ZR[...]
Try hitting a few buttons on your Classic Controller. If that box is responding to your input, then your classic controller is working properly. Hurrah! This does NOT mean that we have input for Frontier, however! There is still one more step that has to be done.
Also: REMEMBER TO SAVE THE SCRIPT! (File>Save in GlovePIE.)
Step 3: Installing and setting up PPJoy.
Run the PPJoy installer and let it install. Note that you may have to reboot.
Go to "Start>Programs>PPJoy Joystick Driver>Configure Joysticks". A window will pop up.
Click "Add".
A new window should pop up. Click the box next to "Parallel Port" and change it from "LPT1" to "Virtual Joystick". Make sure the "Controller Number" is set to "Controller 1".
Once it is done, let it install the drivers for the Virtual Joystick.
When Windows is done, Go to "Start>Programs>PPJoy Joystick Driver>Configure Joysticks"
Click on the Joystick "PPJoy Virtual Joystick 1" and click "Mappings". Click Next on the window that pops up.
Set "Axes" to 5, "Buttons" to 16, and "POV Hats" to 1. Once that is done, click Next, then Next again.
Just click Next again. YOu will now be at a window marked, "Configure mapping for Point Of View hats". The correct values for your PoV Hat should be:
North: Digital 13
East: Digital 15
West: Digital 12
South: Digital 14
You can also use the "Scan" buttons next to each field, too. It's your choice. Make sure they are in the right order!
Click Next, then Finish when you're done. It will activate the new mapping, and you will be ready.
Step 4: Making sure it all works.
Now that everything is settled, go to the Control Panel and find the Game Controllers dialog. Alternatively, you can go to GlovePIE, and use CP-Settings>Joystick to access it too.
Click on "PPJoy Virtual Joystick 1", then Properties.
Play with your classic controller for a bit. Everything on the button pane should react to input on your controller. Make sure the buttons are mapped where they are supposed to be. Use the GlovePIE script as a guide. (If you do that, Remember that Button 1 is 0, 2 is 1, 3 is 2, etc.) If it works and you are receiving input, you are basically done with the setup process! Now you can try it out in Frontier...
Step 5: Testing in Frontier.
Log into Frontier and try out your new controls. Hold on... Why is Run ZR? Why do I have to attack with the left stick? This is easy enough to fix:
Go to the Controls menu, hit the yellow button on the side, select Yes ( ?? in MHFO JP) then pick the TOP MOST OPTION. You can now save the options, and your controls will now be what you expect from Monster Hunter TRI. If the D-Pad is not working properly, go back to Step 3 and check your PoV Hat settings. Otherwise, everything should be done from here on out. Go hunt a Kut-Ku to celebrate!
After everything is connected, the only things you will have to do are connect your Wiimote and run the GlovePIE script again.
FAQ:
1. I'm having trouble with Bluetooth!
1A: It's bluetooth. I almost expect problems when bluetooth is involved. The only thing I can recommend is to keep fiddling with it and search Google. The link to Wiimote Project posted above can also shed some light on problems you may be having.
2. GlovePIE is reporting a working Wiimote, but there is no input in the Controller Settings control panel area!
2A: PPJoy seems to have problems recgonizing the input from GlovePIE sometimes... Try going through the Mappings dialog in the PPJoy Configuration, starting and stopping the GlovePIE script, or rebooting the machine+reconnecting the Wiimote. Sometimes, it's just tempremental. Keep trying, and it should eventually work.
3. Why a Classic Controller?
3A: Because I've been playing lots of Monster Hunter Tri, and I've gotten used to the controls. I also can't use the Keyboard-Mouse controls in Frontier at all. I have a Wiimote and a Classic Controller Pro, why not use it with Frontier?
4. PS3 controllers are Bluetooth enabled, too! Can I use one of those?
4A. Yes, but they are an entirely different beast that I will not be covering in these guides. The easiest way to get a PS3 controller set up is to use MotionInJoy. (Which is somewhat poorly designed and is RIDDLED with ads that take over the program until you restart it.) There are other ways of getting it set up, though. Find those with Google.
5. How do I get rid of the LED Battery Gauge?
5A. Simply stop GlovePIE and delete this from the script:
//Wiimote Battery Display //by J.Coulston // Modified by Carl Kenner for GlovePIE 0.25 // use up battery power :-) // comment out this line if you don't need it //Wiimote.Rumble = shift //A full battery gives 0xC0 (192) var.Batt = wiimote.Battery / 48 if true then wait 5 seconds //it sends an instruction that tells the Wiimote to actually //send the report. Wiimote.Report15 = 0x80 | Int(wiimote.Rumble) end if //Display the battery level of your wiimote using the four LEDs on the bottom. //Battery level is displayed in four levels increasing to the right, like a cell //phone battery gauge. As the battery gets close to the next level down, the LED //for the current level will blink. //Blink rate var.Blink = 500ms //debug = "Battery level: " + 100*48*var.Batt/192 + "%" if 0<=var.Batt<=0.25 then Wiimote.Leds = 1 wait var.Blink Wiimote.Leds = 0 wait var.Blink elseif 0.25 < var.Batt<=1 then Wiimote.Leds = 1 elseif 1 < var.Batt<=1.25 then Wiimote.Leds = 3 wait var.Blink Wiimote.Leds = 1 wait var.Blink elseif 1.25 < var.Batt<=2 then Wiimote.Leds = 3 elseif 2 < var.Batt<=2.25 then Wiimote.Leds = 7 wait var.Blink Wiimote.Leds = 3 wait var.Blink elseif 2.25 < var.Batt<=3 then Wiimote.Leds = 7 elseif 3 < var.Batt<=3.25 then Wiimote.Leds = 15 wait var.Blink Wiimote.Leds = 7 wait var.Blink elseif 3.25 < var.Batt<=4 then Wiimote.Leds = 15 else Wiimote.Leds = 0 endif
No more battery meter. The first LED on the Wiimote should still light up to let you know it is working.
6. Did you make this script?
6A. I didn't really write it per-se. I looked up some scripts on the internet and adapted pieces of them. If you check around, you will find them. I did not write the Battery Script. I didn't write the debug part of the script, either.
7. What exactly are these controls based off of?
7A: All guides are based off of the default Monster Hunter Frontier controls. I did this to make things simple and as headache-free as possible. The only thing you have to do is to tell the game to use the console style controls and you're ready. (Okay, there's one headache.)
Quote
8. How do I make my controls match the PSP version controls?
8A: They already do; you just have to tell the game to use the PSP/Console style controls.
This is just the Wiimote guide. Read the following post for the PSP Controller Guide.
Also: If someone is willing to follow this guide and tell me how useful it was, that would be great. I can't be held responsible for what happens, though. For the most part, however, it should work. I will add pictures to the guide later.
If you use this guide, please remember to give feedback. I want to make it as good as I possibly can.
Mods: If posting this guide is against the rules or something, feel free to remove it.
Edit 1: Fixed a formatting problem with the links...
1/16/2011: Added a few questions to the FAQ. I really need to get some pictures into this guide, but alas, I have no Frontier account at the moment.
This post has been edited by Rikon: 16 January 2011 - 07:28 AM

Help
















