How to play MapleStory with a Wiimote+Nunchuk

作成者

ステップ 4: Preparing the software configuration

Finally, let's set everything up to do our bidding. First off is GlovePIE.

Open GlovePIE. Click File->New. Copy the following code into the window:

//BEGIN COPY
/*
Nunchuck Stick - Up, Down, Left, Right
Nunchuck Flick Up - Jump
C - Buff 1
Z - Buff 2

Wiimote Flick Horizontally - Attack
Wiimote Flick Horizontally+A - Spell 1
Wiimote Flick Horizontally+B - Spell 2

Plus - Spell 3
Minus - Spell 4

D-Pad Up - Item 1
D-Pad Right - Item 2
D-Pad Left - Item 3
D=Pad Down - Item 4

Home+Nunchuck Tilt - Mouse Movement
1 - Left Mouse Click
2 - Right Mouse Click
*/

//Map Nunchuck stick digitals 0,1,2,3
PPJoy.Digital0=Wiimote.Nunchuk.JoyX < -0.2
PPJoy.Digital1=Wiimote.Nunchuk.JoyX > 0.2
PPJoy.Digital2=Wiimote.Nunchuk.JoyY < -0.2
PPJoy.Digital3=Wiimote.Nunchuk.JoyY > 0.2
//c and z to digital4,5
PPJoy.Digital4=Wiimote.Nunchuk.CButton
PPJoy.Digital5=Wiimote.Nunchuk.ZButton
//Plus Digital 6, Minus Digital 7
PPJoy.Digital6=Wiimote.Plus
PPJoy.Digital7=Wiimote.Minus
//D-Pad Up, Down, Left, Right, Digital 8,9,10,11
PPJoy.Digital8=Wiimote.Up
PPJoy.Digital9=Wiimote.Down
PPJoy.Digital10=Wiimote.Left
PPJoy.Digital11=Wiimote.Right
//If Home then Nunchuck tilt=Analog 0,1
if (Wiimote.Home) then
PPJoy.Analog0=Wiimote.Nunchuk.RawForceX
PPJoy.Analog1=Wiimote.Nunchuk.RawForceZ
else
//Map Nunchuck flick up to Digital0
PPJoy.Digital17=Wiimote.Nunchuk.RelAccZ>5
endif
//1 digital 12, 2 digital 13
PPJoy.Digital12=Wiimote.One
PPJoy.Digital13=Wiimote.Two
//Wiimote flick horizontally to Digital 14, a+flick Digital 15, b+flick Digital 16
if Wiimote.A then
PPJoy.Digital14=Wiimote.RawAccX>15
endif
if Wiimote.B then
PPJoy.Digital15=Wiimote.RawAccX>15
endif
if Wiimote.A==false&&Wiimote.B==false
PPJoy.Digital16=Wiimote.RawAccX>15
endif
//END COPY

Click File->Save and save the file as MapleStory.PIE.

Now, in GlovePIE, click CP-Settings->PPJoy. The PPJoy Joystick and Gamepad configuration Utility window should pop up. If you haven't already, add a Virtual joystick. More Found New Hardware wizards will appear. Do as before and let them install automatically. Once done, click on PPJoy Virtual joystick 1 then click the Mapping... button. Select Set A Custom Mapping and click Next. Select 2 axes and 18 buttons. Make sure Axis 1 is X Axis, and Axis 2 is Y Axis, then click Next. In the next page, make X Axis Analog0 and Y Axis Analog1, then click Next. In the next page make sure that buttons 1 through 16 are mapped to digitals 0 through 15, and click Next again. Finally, on the next page be sure that buttons 17 and 18 are mapped to digitals 16 and 17. Click Next, then Finish. Back in the PPJoy config window, click Done. PPJoy is now configured.

Next is JoyToKey. Now, you may be wondering why we're taking these extra steps using PPJoy and JoyToKey instead of simply mapping all the buttons in GlovePIE. The 'hack prevention system' called GameGuard that runs alongside many MMOGs including MapleStory blocks emulated inputs through GlovePIE, however it will allow JoyToKey. Now, onwards.

From GlovePIE, click CP-Settings->Joystick. Remember which joystick is the PPJoy joystick. If it is first in the list, then it is 1, if it is third, the it is joystick 3 in JoyToKey.

Now open JoyToKey. It should have already created your first configuration. Click Preferences on the far right. Set the number of joysticks to at least as many as your PPJoy is in the list. For example, if your PPJoy joystick is third in the list, make sure you have the number of joysticks in the JoyToKey preferences as 3 at least. Now click Joysticks on the far right, and click on the tab corresponding to the joystick number, e.x. Joystick 3, at the top of the JoyToKey window. All gamepad keys should be unmapped, and reading 'DISABLED'. Set the keys as follows:

Button 1 - Arrow - Left
Button 2 - Arrow - Right
Button 3 - Arrow - Up
Button 4 - Arrow - Down
Button 5 - Page Up
Button 6 - Page Down
Button 7 - Home
Button 8 - End
Button 9 - 1
Button 10 - 2
Button 11 - 3
Button 12 - 4
Button 13 - Leave Disabled for now
Button 14 - Leave Disabled for now
Button 15 - Insert
Button 16 - Delete
Button 17 - Control
Button 18 - Shift

Now minimize all applications.

Lastly, open up MapleStory. Log in and choose a server/channel/character. Once you're loaded on to a map move yourself someplace safe; to a town or on a safe ledge away from monsters. Go to the Key Config window. This is how I set up my keys. Feel free to change it around as you wish.

Attack - Ctrl
Jump - Shift

Item 1 - 1
Item 2 - 2
Item 3 - 3
Item 4 - 4

Main Spell 1 - Insert
Main Spell 2 - Delete

Buff Spell 1 - PageUp
Buff Spell 2 - PageDn

Other Spell 1 - Home
Other Spell 2 - End

Be sure to click OK when done.
Post a comment
Be nice!

当サイトでは仲良しコメントの方針を定めています。
前向き、肯定的なコメントを投稿してください。

xnathanielx1
xnathanielx1 は言っています: 7月 7, 2010. 4:45 AM
I Know I May take a bit of your time i want to swing my WiiMote Up Down Forwards and Backwards and the Nuncuck: Left Right Forwards and Backwards If you do this it might make this instructables even better! :) But GOOD JOB BTW! (note: your heaps good at programing T_T its so hard for me and that code is just to confusing.)
sharkiee
sharkiee は言っています: 4月 28, 2010. 2:19 PM
 im sorry to inform you that the link is broken
bombmistro
bombmistro は言っています: 1月 16, 2010. 11:47 PM
i love your tutorial so far but when i go in to choose ppjoy in glovepie nothing happens
pokemon2539
pokemon2539 は言っています: 1月 31, 2010. 8:15 PM
same here
pokemon2539
pokemon2539 は言っています: 1月 31, 2010. 8:19 PM
oh wait, go to step one, (ppjoy wasnt installed)
Yoda12999
Yoda12999 は言っています: 4月 14, 2009. 7:12 PM
To Gordon, first, nice name and secong a wow glove-pie script is already pacaged with glove-pie.
Easymac79
Easymac79 は言っています: 2月 3, 2009. 6:45 PM
So, can this be used for any windows application and not just maple? and, is all that is needed is the remote, and a bluetooth adapter? do you have to have a wii for this to work?
Lunis
Lunis は言っています: 2月 3, 2009. 9:45 PM
Definately do not need a Wii, just a Wiimote.
Easymac79
Easymac79 は言っています: 2月 4, 2009. 6:54 AM
Thank you. And my friend made a website explaining it all. I will post the link here if he says it's ok.
l4nd0fc0nfu510n
l4nd0fc0nfu510n は言っています: 10月 14, 2008. 4:25 PM
Do you need an IR Sensor bar for this? I thought you needed one to pick up movement.
Lunis
Lunis は言っています: 10月 15, 2008. 8:38 PM
Nope. All movement controls used in this are based on the accelerometers. There's no way (that I know of) that allows a third-party app to control a "hack-protected" game or I would have added IR support, eliminating the use of a keyboard (essentially).
l4nd0fc0nfu510n
l4nd0fc0nfu510n は言っています: 10月 16, 2008. 4:17 PM
Hmmm, then there's something wrong with my bluetooth dongle. I guess it should have been a clue when it wasnt listed on the list of bluetooth dongles you supplied. Not even tested.... The battery was kind of low on the wii remote I tried it on so I'll try a different one today.
l4nd0fc0nfu510n
l4nd0fc0nfu510n は言っています: 11月 26, 2008. 12:39 PM
I don't know if my Bluetooth dongle will work because its not on the list you provide. Its a Belkin Model: F8T003 Version 2 It works fine for connecting the wii remote to the pc but I can't do anything with it.
Trebawa
Trebawa は言っています: 8月 14, 2008. 12:23 PM
Isn't Buuf great?
Lunis
Lunis は言っています: 8月 16, 2008. 9:54 AM
Quite. When I used Windows, it was my poison of choice, along with Litestep.
INSTRUCTUBAL
INSTRUCTUBAL は言っています: 2月 2, 2009. 9:33 PM
quite.
JellyWoo
JellyWoo は言っています: 5月 24, 2008. 6:03 PM
3 questions: Do you have to do the key configuration in maple story? I tried to use the wiimote in maple story but it isn't working. When i minimize PPJOY, why does it close? Thanks a lot:)
JellyWoo
JellyWoo は言っています: 5月 22, 2008. 3:51 PM
is ppjoy compatible with windows xp? when i install it there is a warning that says the program hasn't been aproved by the windows logo or something like that.
Lunis
Lunis は言っています: 5月 23, 2008. 5:14 PM
Tell it to "continue anyway". It's compatible, and the Windows Logo program is bollocks ;)
JellyWoo
JellyWoo は言っています: 5月 23, 2008. 6:44 PM
you're positive right, because i don't want bad side effects.
Lunis
Lunis は言っています: 5月 23, 2008. 9:01 PM
No I'm just guessing I actually have no clue as to whether or not it will wor-- oh wait, yeah, I'm positive ;) I wouldn't say something like that unless sure.
JellyWoo
JellyWoo は言っています: 5月 24, 2008. 6:30 AM
lol
theburn7
theburn7 は言っています: 6月 14, 2008. 10:27 PM
IT WILL WORK the logo thing means it isn't bought, sponsored by, or recognized by the Microsoft corp, it is just installing a driver, it'll be ok
mega+man+4bm
mega+man+4bm は言っています: 5月 7, 2008. 12:53 PM
i have an ir sensor in my computer whats that?
Rokko8652
Rokko8652 は言っています: 6月 27, 2008. 6:23 PM
first of all, ir means infared, and an ir sensor picks up data sent over an infared beam.
JellyWoo
JellyWoo は言っています: 1月 21, 2008. 5:30 PM
in the second step on the paragraph about ppjoy, you said "Next, use the EXE file to download a second ZIP file." how do you do that??? maybe a video or an exact explanation would help ( i have windows xp) thank:)
Lunis
Lunis は言っています: 1月 21, 2008. 8:29 PM
The problem is that the author of that program has his application strewn across two hosts. The original file is on an old host and the new file is hosted by a file distribution service that requires you to use a "downloader" that will install spyware on your system. If I can contact the author then perhaps I can host the complete package, since both parts are needed to get it working. That's the best I can do right now, sorry.
Lunis
Lunis は言っています: 1月 21, 2008. 9:19 PM
I have update the instructable. I am now hosting the complete package and no sandbox program is required. See step 2.
JellyWoo
JellyWoo は言っています: 1月 22, 2008. 1:15 PM
thanks but i still have a problem. i can't seem to open the ppjoy program. i click the website, click save the file (the file is rar), then i try to extract but there is nothing to extract, if i open it it doesn't open. what should i do?
Lunis
Lunis は言っています: 1月 22, 2008. 5:42 PM
Be sure to use the latest version of Winrar from RARLabs as other package programs don't necessarily work right with later versions of Winrar archives.
JellyWoo
JellyWoo は言っています: 1月 24, 2008. 1:36 PM
thanks!
Gordon+Freeman
Gordon+Freeman は言っています: 1月 9, 2008. 5:08 PM
Not to be mean but why wold you wast your time making it work for Maplestory Maplestory no offense but it's a poor man's Wow.
Lunis
Lunis は言っています: 1月 12, 2008. 11:42 AM
Because it works, and it's fun. You should also note that Maplestory has been around much longer than WoW. Thanks for trolling!
Gordon+Freeman
Gordon+Freeman は言っています: 1月 13, 2008. 3:31 PM
Ok man don't assume I am stupid I know Maplestory has been around longer than Wow.
weretater
weretater は言っています: 3月 25, 2008. 8:30 PM
That doesn't mean you have a right to flame.
Derin
Derin は言っています: 10月 17, 2008. 4:49 AM
*dumps water*
jc817
jc817 は言っています: 8月 12, 2008. 5:43 PM
Yeah dude don't assume he's stupid. Geez. People these days.
pokemon2539
pokemon2539 は言っています: 1月 31, 2010. 8:40 PM
its a great game, and since maplestory is free to play then EVERYONE can play, except those with no computer and internet connection......
wow needs a fee to play, which means that wow hasnt got a good player list.
Maplestory has optional extras for those who pay

free games with optional extras get more players than pay2play games (ie. WoW)

X_D_3_M_1
X_D_3_M_1 は言っています: 10月 28, 2007. 10:53 AM
lol i know how to do this iwth a ps2/ps1 controller