Wii Chat Forums


 
 
Extras


Go Back   Nintendo Wii Forum > Off-Topic Forums > The Lounge

The Lounge General off-topic forum for all your none Wii needs.

Wii Chat is the largest Unofficial Nintendo Wii community, with the latest Wii news and articles alongside upto the minute Wii gaming and hardware discussion.

You are currently viewing our boards as a guest, by joining our free community you will have access to post topics, communicate privately with other members (PM), upload your own photos and access many other special features.


Sign Up today and these ads will disappear!


Reply
 
Thread Tools Search this Thread Display Modes
Old 12-27-2006, 11:29 PM   #1
WiiChat Member
 
Join Date: Nov 2006
Posts: 486
Friends: 0

View KCBlack's Profile   View KCBlack's Photo Album   View KCBlack's Blog   View Social Groups
Tournaments Joined: 0
Tournament Wins: 0
For anyone with GlovePIE, I've made a script to use with it and Secret of Mana on the ZSNES emulator.

Code:
/Ultimate Secret of Mana 1 and 2 (Seiken Densetsu 2 and 3)
//Wiimote and Nunchuk Controls! (v.2)
********************************************************************************


//Set your emulator up with the following controls:
//Up, Down, Left, Right: Arrow Keys
//Start: LeftCtrl (it doesn't interfere with our other keys/not needed for game)
//Select: LeftAlt (same reason as Start)
//A: X
//B: A
//X: B
//Y: Z
//L: L
//R: R
//then go into the Misc.-> game keys and enter the following:
//>Fasfwd Key: 2
//>BG2: Any button besides 2/any button besides those used by the Wiimote

//How to play:
*************************************
//+Controller rumbles when you slash
//+One on Wiimote is for Escape (Use it to reach
//the emulator menus)
//+Minus is save in selected slot
//+Home is to bring up Slot Selection
//+Plus is to load selected slot
//+Analog Stick on Nunchuck is arrow keys,
//meaning:
//>Use it to navigate through emulator menus
//>Use it to move in game
//>Use it to navigate through game menus
//+Dpad Up/Down changes your speaker's volume up/down (I change the volume alot)
//+Two on remote is to fastfwd (I use this in cutscenes all the time, too)
//*************************************
//-L is Left D-Pad
//-R is Right D-Pad
//-------------------------------------
//-X is B on the Wiimote
//-Y is Z on the Nunchuck
//-------------------------------------
//-Shake your Wiimote for B button (meaning to use sword and start conversation)
//-Press C on the nunchuck for A (bringing up menus/progressing through conv.)
//-------------------------------------



// Button inputs
Left = Wiimote.Nunchuk.JoyX < -0.2
Right = Wiimote.Nunchuk.JoyX > 0.2
Up = Wiimote.Nunchuk.JoyY < -0.2
Down = Wiimote.Nunchuk.JoyY > 0.2
B = wiimote.B
A = (wiimote.gx >= 0.5)
L = wiimote.Left
R = wiimote.Right
S = wiimote.Up
D = Wiimote.Down
Enter = Wiimote.A
Key.Z = Wiimote1.Nunchuk.CButton
Key.X = Wiimote1.Nunchuk.ZButton
F2 = Wiimote.Minus
F3 = Wiimote.Home
F4 = Wiimote.Plus
Key.Escape = Wiimote1.One
Key.Two = Wiimote.Two

// Dpad handles the volume
if wiimote.up then
   volumeup = true
   wait 60 ms
   volumeup = false
endif
if wiimote.down then
   volumedown = true
   wait 60 ms
   volumedown = false
endif

// 2 Leds light up when you slash and the other 2 light up whe you dash
if (wiimote.gx >= 0.5) then
   wiimote.Led1 = true
   wiimote.Led2 = true
   wait 60 ms
   wiimote.Led1 = false
   wiimote.Led2 = false
endif

if Wiimote1.Nunchuk.zButton = true then
   wiimote.Led3 = true
   wiimote.Led4 = true
else
if wiimote.nunchuk.zbutton = false then
   wiimote.led3 = false
   wiimote.led4 = false
endif
endif

// Controller rumbles when you slash!
Wiimote.Rumble = (wiimote.gx >= 0.5)
I've been using it for Secret of Mana (about to try it with SoM2). If anyone would like to try it and tell me if they like it, it'd be much appreciated. Also, should I make it so that you have to shake the nunchuk for A (i.e. to get to your menu and progress text in conversation)? Thanks.

Last edited by KCBlack; 12-27-2006 at 11:31 PM.
KCBlack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiStumble this Post!
Reply With Quote
Old 12-29-2006, 01:20 AM   #2
 
ninnie x's Avatar
AKA nintendoxxx1
 
Join Date: Oct 2006
Location: The Nearest Dumster to your house...
Posts: 301
Friends: 0

View ninnie x's Profile   View ninnie x's Photo Album   View ninnie x's Blog   View Social Groups
Tournaments Joined: 0
Tournament Wins: 0
Interesting...
__________________



Spoiler Alert!
ninnie x is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiStumble this Post!
Reply With Quote
Old 12-29-2006, 03:15 AM   #3
 
Gymdawg's Avatar
«Hulk Troll»
 
Join Date: Nov 2006
Posts: 1,488
Friends: 0

View Gymdawg's Profile   View Gymdawg's Photo Album   View Gymdawg's Blog   View Social Groups
Tournaments Joined: 0
Tournament Wins: 0
You need a bluetooth card for glovePIE, right. That's the only thing keeping me from getting into thw whole "wii-mote to PC" thing. Far Cry with the wiimote would own.
__________________

~Treacherous Whore, you'll rule the world~

Gymdawg is offline