WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(>")> Classic Controller N64 Emu <("<)

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
Jademalo



Joined: 06 Apr 2007
Posts: 1

Digg It
PostPosted: Fri Apr 06, 2007 8:35 pm    Post subject: (>")> Classic Controller N64 Emu <("<)

Hi!

Recently i discovered how to hook my wii remote up to glovepie. Discovering this, i made a script that allows the N64 Emulators (its not illegal if you own a copy of the game, and im not posting links to the roms or emu) to be controlled with the classic controller!

Quick Guide:

1. Get a Bluetooth Device with the program Blue Soleil Running.
2. Press 1+2 buttons on wii remote to put it in discovery mode.
3. Click the red sphere on Blue Soleil to search for devices.
4. Wait for it to finish discovering, and press 1+2 again.
5. Right-Click on the wii remote (Nintendo-Rev-Cnt-001) and select "Browse Services".
6. When this finishes, press 1+2 again and from the symbols at the top if the program select the mouse one.
7. If it links sucesfully, go to step 8. if not, repeat steps 2-6.
8. Download Glovepie and PPjoy. configure a new joystick on PPjoy.
9. Open GlovePie, and in the box type this script:

Code:
PPJoy1.Analog0 = Wiimote.Nunchuk.JoyX
PPJoy1.Analog1 = Wiimote.Nunchuk.JoyY

// These might be continuous POV hat switches. If so, then they need
// to be set to 1, or you will get POV hat down for everything.
PPJoy1.Analog8 = 1
PPJoy1.Analog9 = 1
PPJoy1.Analog10 = 1
PPJoy1.Analog11 = 1
PPJoy1.Analog12 = 1
PPJoy1.Analog13 = 1
PPJoy1.Analog14 = 1
PPJoy1.Analog15 = 1

PPJoy1.Digital0 = Wiimote.One
PPJoy1.Digital1 = Wiimote.Two
PPJoy1.Digital2 = Wiimote.Minus
Escape = Wiimote.Home
PPJoy1.Digital4 = Wiimote.Plus
PPJoy1.Digital5 = Wiimote.Up
PPJoy1.Digital6 = Wiimote.Down
PPJoy1.Digital7 = Wiimote.Left
PPJoy1.Digital8 = Wiimote.Right
PPJoy1.Digital9 = Wiimote.A
PPJoy1.Digital10 = Wiimote.B
PPJoy1.Digital11 = Wiimote.Nunchuk.CButton
PPJoy1.Digital12 = Wiimote.Nunchuk.ZButton


10. use this to configure the analog stick on your emulator, by connecting the classic controller, running it and moving the stick to the left, then clicking set left etc.
11. Now, run this script.

Code:
//Classic Controller For N64 Emulator By Jademalo

//Set your emulator to these values:
//Analog Stick = Arrow Keys
//A-Button = X, B-Button = C, Start = S
//L-Button = A, R-Button = D, Z-Button = Z
//C-Left = j, C-Up = I
//C-Right = l, C-Down = k
//D-Up = Pageup, D-Down = Pagedown
//D-Right = Home, D-left = End

//This should replicate the Virtual Console N64 Setup Perfectly, with
//the HOME button pressing Enter to skip errors. This works perfectly
//with all the N64 Games I've tested so far. It works best with Project
//64 1.4. It is very similar to the Ocarina of Time VC setup, so it
//works on the same lines as that.

//Controller Preferances\\
//Right Analog = N64 Analoge, Left Analoge = C-Buttons
//D-Pad = N64 D-Pad
//L-Trigger = Z-Button, R-Trigger = R-Button, ZL = L-Button
//A-Button = A-Button, B-Button = B-Button
//Select & Start = Start, Home = Enter (Error Skip)
//Y-Button = C-Left, X-Button = C-Right, ZR = C-Down

// Analouge movement:
ppjoy1.analog0 = wiimote1.classic.joy1x
ppjoy1.analog1 = wiimote1.classic.joy1y

//D-Pad
pageup = wiimote1.classic.up
pagedown = wiimote1.classic.Down
home = wiimote1.classic.Right
end = wiimote1.classic.left

// A
X = Wiimote1.classic.A

// B
C = Wiimote1.classic.B

// Start Button
S = Wiimote1.Classic.plus or wiimote1.classic.minus

// L Trigger
A = wiimote1.classic.zl

// R Trigger
D = wiimote1.classic.r

// C Buttons
if 2 > Wiimote1.classic.Joy2X > 0.5 then
l = true
wait 60 ms
l = false
endif
if -2 < Wiimote1.classic.Joy2X < -0.5 then
j = true
wait 60 ms
j = false
endif
if 2 > Wiimote1.classic.Joy2Y > 0.5 then
k = true
wait 60 ms
k = false
endif
if -2 < Wiimote1.classic.Joy2Y < -0.5 then
i = true
wait 60 ms
i = false
endif

// Z Button
z = Wiimote1.classic.L

//X and Y Buttons (c left and right)
j = wiimote1.Classic.y
l = wiimote1.Classic.x

//ZR Button (C Up)
i = wiimote1.Classic.ZR

//Enter Skip
enter = wiimote.Classic.Home


10. Open your N64 Emulator and run a game.
11. Read the notes on the script, and configure the emulator further.
12. Play!

Enjoy! this perfectly replicates the virtual console setup for most games, and works perfectly for me!
If there is an error, Press the home button to get rid of the error! (it presses enter.. =p)

(= Jademalo =)

(It might be odd, but its easily customisable. just change the letter values etc. Smile)
Back to top
View user's profile Send private message
Fat D



Joined: 22 Nov 2006
Posts: 77

Digg It
PostPosted: Sun Apr 08, 2007 11:24 am    Post subject:

Even if ROMs were illegal under any circumstance (they are if you do not dump them YOURSELF), Emulators are legal as long as they do not contain code taken directly from the emulated machine without the copyright holder's permission. scripts for emulators should be legal even if the emulators themselves aren't. N64 Emulators do not use any copyrighted content, so they should be fine.
Back to top
View user's profile Send private message
SwedishFrog
Site Admin


Joined: 25 Jan 2007
Posts: 273
Location: New York

Digg It
PostPosted: Sun Apr 08, 2007 5:11 pm    Post subject:

Cool beans. Welcome aboard
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group