Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

Secret of Mana w/ Wiimote (GlovePIE)

Discussion in 'The Lounge' started by KCBlack, Dec 27, 2006.

  1. KCBlack

    KCBlack WiiChat Member

    Joined:
    Nov 21, 2006
    Messages:
    486
    Likes Received:
    2
    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.
     
    #1 KCBlack, Dec 27, 2006
    Last edited: Dec 27, 2006
  2. ninnie x

    ninnie x AKA nintendoxxx1

    Joined:
    Oct 20, 2006
    Messages:
    301
    Likes Received:
    1
    Location:
    The Nearest Dumster to your house...
    Wii Friend Code: 5457-8878-2124-2087
    5457-8878-2124-2087
    Interesting...
     
  3. Gymdawg

    Gymdawg ~I Spy Hypocricy~

    Joined:
    Nov 4, 2006
    Messages:
    1,279
    Likes Received:
    24
    Location:
    Her arms
    Wii Friend Code: 5981-2669-3238-7379
    5981-2669-3238-7379
    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.
     
  4. KCBlack

    KCBlack WiiChat Member

    Joined:
    Nov 21, 2006
    Messages:
    486
    Likes Received:
    2
    Yeah you need a bluetooth adapter. You can get them for about 20-50 bucks. I saw one in the store on sale for 11.99 today, too.

    Ok, I've tweaked it a bit for Secret of Mana 2 (Seiken Detsetu 3). Don't know how many people on this forum can/will actually use this, but here:

    Code:
    //Ultimate Secret of Mana 2
    //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: Escape
    
    //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
    //-Shake Nunchuk to Dash
    //-------------------------------------
    //-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
    X = (wiimote.gx >= 0.5)
    L = wiimote.Left
    R = wiimote.Right
    S = wiimote.A
    D = Wiimote.Up
    Enter = Wiimote.Down
    Key.Z = Wiimote1.Nunchuk.CButton
    Key.A = (nunchuk.gx >= 1)
    F2 = Wiimote.Minus
    F3 = Wiimote.Home
    F4 = Wiimote.Plus
    Key.Escape = Wiimote1.Two
    Key.LeftControl = Wiimote.One
    Key.A = wiimote.nunchuk.ZButton
    
    
    // 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 (nunchuk.gx >= 1) = true or wiimote.nunchuk.zbutton = true then
       wiimote.Led3 = true
       wiimote.Led4 = true
    else
    if (nunchuk.gx >= 1) = false then
       wiimote.led3 = false
       wiimote.led4 = false
    endif
    endif
    
    // Controller rumbles when you slash!
    Wiimote.Rumble = (wiimote.gx >= 0.5)
    
    
    
    
    
    
    
    
     
    #4 KCBlack, Dec 29, 2006
    Last edited: Dec 29, 2006
  5. ocdan

    ocdan Pastafarian

    Joined:
    Oct 16, 2006
    Messages:
    1,212
    Likes Received:
    3
    Location:
    Oak Creek, Wisconsin
    ive downloaded a few applications that would work with a wiimote on my macbook, but it doesnt seem to recognize the wiimote when i hit 1+2 when it tells me to.
     
  6. kitsune_B

    kitsune_B WiiChat Member

    Joined:
    Oct 5, 2007
    Messages:
    46
    Likes Received:
    0
    Ditto here, too complicated and expensive (and I know zilch about Bluetooth)
    Wish someone could just make an adapter attachment for the Wii Classic Pad
    to turn it into an HID device the same way people did for the PS2 controllers.
    Something you'd plug that wire from the bottom into to let you use it as USB.
     
    #6 kitsune_B, Feb 21, 2009
    Last edited: Feb 21, 2009
  7. Battousai

    Battousai ṀàšŧěřĐ Ŧĥĕ Řévéřšĕ Ḃĺàđé

    Joined:
    Dec 27, 2007
    Messages:
    307
    Likes Received:
    1
    Location:
    DeathCage New York
    Wii Friend Code: 5292-8413-5491-5395
    5292-8413-5491-5395

Share This Page

Search tags for this page

//by kcblack //ultimate secret of mana 2 //wiimote only controls!

,
can you play secret of mana on the wii with the nunchuck
,
far cry glovepie
,
secert of mana wii nunchuk
,
secret of mana wii remote