Gaming GlovePIE + Wii GH Guitar + Frets on Fire??

zidane_genome

My sword has a +2 bleeding... wanna test it out?
OP
Member
Joined
May 21, 2006
Messages
2,320
Trophies
0
Age
42
Website
Visit site
XP
295
Country
United States
Does anyone have a key mapping for a Wii GH guitar for GlovePIE to play on Frets on Fire?


Wasn't sure if I should post it in Wii or Computers... if a Mod want's to move it, go ahead.

I've been trying to find the correct key outputs to plug into GlovePIE to get a Wii GH guitar to work with Frets on Fire... wife want's to play some of her songs, and there aren't enough to put on a GH3 disc, nor do I have the knowldege to do so!

If anyone could point me in the right direction, would be nice...

It's like 3:30am, and I'm starting to fall asleep at the keyboard/guitar trying to figure this out!
 

Trolly

Well-Known Member
Member
Joined
Sep 14, 2007
Messages
1,716
Trophies
0
Age
32
Location
Behind you! I know you looked!
Website
Visit site
XP
247
Country
This one's far more complex than what you basically need, but includes all the features (even hero mode - a star power mod for FoF):
QUOTE said:
/*
// Guitar Hero PC @ Les Paul WiiGuitar HeroMode powered!!!
// Version 1.0
// Written by DerFlash based on some other Guitar Hero Scripts
// derflash[dot]de
//
// Hero Mode: Hold down "Plus" & "Minus" and kick the whammy bar (tremolo) once to enable/disable hero mode
// While in Hero Mode you wiimote rumble's every strum and also flashes the leds ;-)
*/

var.found = "";
if WiiGuitar.Exists then var.found += "Guitar@Wiimote";

if var.found == "" then {
var.found = "No Guitar found - ";
}

if var.HeroMode then var.found += "@HeroMode";

var.found += (" - Battery: " + WiiMote.Battery) + "% - ";

// Debug
var.dummy = Wiimote.RawForceX
if WiiGuitar.Green then var.G = "Green" else var.G = ""
if WiiGuitar.Red then var.R = "Red" else var.R = ""
if WiiGuitar.Yellow then var.Y = "Yellow" else var.Y = ""
if WiiGuitar.Blue then var.B = "Blue" else var.B = ""
if WiiGuitar.Orange then var.O = "Orange" else var.O= ""
if WiiGuitar.Minus then var.Minus = "-" else var.Minus = ""
if WiiGuitar.Plus then var.Plus = "+" else var.Plus = ""
if WiiGuitar.StrumUp then var.Strum = "StrumUp" elseif WiiGuitar.StrumDown then var.Strum = "StrumDown" else var.Strum = ""
debug = var.found+"Frets: "+var.G+var.R+var.Y+var.B+var.O+var.Minus+var.Plus+"; Strum: "+var.Strum+"; Whammy:"+Wiimote.Classic.R+var.RF+"; Tilt=" + Wiimote.RawForceZ+"; Joystick: X = "+Wiimote.Classic.Joy1X+", Y = "+Wiimote.Classic.Joy1Y;

/*
---BUTTON MAPPING to Keyboard and Mouse--
Configuration:

Green - V
Red - C
Yellow - X
Blue - Z
Orange - Left Shift
Strum Up - Left Mouse Button
Strum Down - Right Mouse Button
Minus - Middle Mouse Button
Plus - Escape
Tilt - Middle Mouse Button
Whammy - Right Alt
Joystick Up - Up
Joystick Down - Down
Joystick Right - Right
Joystick Left - Left
*/


// Guitar Joystick
Key.Left = (-1.2 < WiiGuitar.JoyX < -0.5) // Joystick moving Left = minus X axis
Key.Right = (0.5 < WiiGuitar.JoyX < 1.2) // Joystick moving Right = positive X axis
Key.Up = (-1.2 < WiiGuitar.JoyY < -0.5) // Joystick moving Up = negative Y axis
Key.Down = (0.5 < WiiGuitar.JoyY < 1.2) // Joystick moving Down = positive Y axis


// Fret Buttons
Key.V = WiiGuitar.Green //Green
Key.C = WiiGuitar.Red //Red
Key.X = WiiGuitar.Yellow //Yellow
Key.Z = WiiGuitar.Blue //Blue
Key.LeftShift = WiiGuitar.Orange //Orange


// Plus and Minus Buttons
Mouse.MiddleButton = WiiGuitar.Minus //Star Power
Key.Escape = WiiGuitar.Plus //Menu / Pause


// Strum Bar
Mouse.LeftButton = WiiGuitar.StrumDown
Mouse.RightButton = WiiGuitar.StrumUp


Key.RightAlt = (0.6 < WiiGuitar.WhammyBar < 0.9)
//Mouse.DirectInputX = WiiGuitar.WhammyBar * 1500 // you can also use this line instead of the one above if you want to use the mouse-whammy

// Star Power
Mouse.MiddleButton = (20 < Wiimote.RawForceZ < 100)


// Turn on Players Led's
if !var.hmChange
Wiimote1.Leds = 1;
Wiimote2.Leds = 2;
Wiimote3.Leds = 4;
Wiimote4.Leds = 8;
endif


//////////// HEROMODE ///////////////


if !var.hmChange // get rid of the on-off-stuttering
// deactivating HeroMode
if var.HeroMode then
if WiiGuitar.Plus && WiiGuitar.Minus && (0.6 < WiiGuitar.WhammyBar < 0.9)
var.hmChange = true;
var.HeroMode = false;
wiimote.Leds = 15
wait 100 ms
wiimote.Leds = 7
wait 100 ms
wiimote.Leds = 3
wait 100 ms
wiimote.Leds = 1
wait 1000 ms;
var.hmChange = false;
endif
// activating HeroMode
else
if WiiGuitar.Plus && WiiGuitar.Minus && (0.6 < WiiGuitar.WhammyBar < 0.9)
var.hmChange = true;
var.HeroMode = true;
wiimote.Leds = 1
wait 100 ms
wiimote.Leds = 3
wait 100 ms
wiimote.Leds = 7
wait 100 ms
wiimote.Leds = 15
wait 1000 ms;
wiimote.Speaker = false;
var.hmChange = false;
endif
endif
endif

// if Hero Mode active
if var.HeroMode = true
Wiimote.Rumble = WiiGuitar.StrumUp || WiiGuitar.StrumDown;

if WiiGuitar.StrumUp || WiiGuitar.StrumDown
wiimote.Leds = 1
wait 50 ms
wiimote.Leds = 3
wait 50 ms
wiimote.Leds = 7
wait 50 ms
wiimote.Leds = 15
endif
endif;

//END OF FILE

It works pretty well, if you can calibrate the lag accurately. Shame FoF mysteriously won't work on my new PC though, so I haven't played it in ages.
Have fun!
biggrin.gif
 

zidane_genome

My sword has a +2 bleeding... wanna test it out?
OP
Member
Joined
May 21, 2006
Messages
2,320
Trophies
0
Age
42
Website
Visit site
XP
295
Country
United States
Doesn't work with GlovePIE... every instance of Wii.Guitar causes an error... thanks though... I'm closer to getting it working!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Do you have the mini radiator cooler? I Jerry rigged a heatsink and 5volt fan from a dead graphics card on mine, but eventually wanna get a real cooler/fan.
  • Psionic Roshambo @ Psionic Roshambo:
    Pure copper heat sink kit and fans
    +1
  • BigOnYa @ BigOnYa:
    I don't know bout sets, I downloaded all the roms for mine separately.
  • Psionic Roshambo @ Psionic Roshambo:
    My 1500ish games is all hand picked and scraped it's taken me months but zero trash well except MAME.... Tried deleting clones and broke the originals uugghh
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I legit have been complaining about MAME for over 20 years... Hate the way they handle roms
  • BigOnYa @ BigOnYa:
    Yea is a pain sometimes
  • Psionic Roshambo @ Psionic Roshambo:
    Now that they decided to add Tiger handheld and fruit machines.... Newer sets are worthless
  • Psionic Roshambo @ Psionic Roshambo:
    Because who doesn't want to emulate Halo LCD by Tiger when the machine needed to emulate it... Could just play Halo....
  • K3Nv2 @ K3Nv2:
    Batocera has some tiger games
  • Psionic Roshambo @ Psionic Roshambo:
    I don't have them on mine Ken lol
  • K3Nv2 @ K3Nv2:
    Waste of the 128kb they take
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Tiger handhelds are good for one thing.... Occupying space in a landfill
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
    Xdqwerty @ Xdqwerty: an online friend I've known since 2021 left me :( bc my attitude is "cutty"