[FIXED] Down strum not working, completely out of ideas...

Discussion particular to FoFiX, its development, and themes
Forum rules
This topic is 11 years and 8 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
plaguedoct0r
Member
Posts: 7
Joined: May 23rd, 2012
Reputation: 0

[FIXED] Down strum not working, completely out of ideas...

Postby plaguedoct0r » Mon Jul 16, 2012 9:34 am

Using:
- FoFiX v3.121
- GlovePie 0.45
- windows native bluetooth software (glovepie code sends ping to keep it connected, so no problems there)
- cheap usb bluetooth adapter
- GH3 stock guitar
- GH world tour stock guitar

I've googled, i've searched the forums, i've read everything I can but I can't seem to find a fix.

Glovepie recognises when the down strum is played, but fofix doesn't.
It's mapped to up(strum)=enter & down=r-shift in both glovepie and fofix.
I tried swapping the mapping in fofix to up=r-shift & down=enter but it still only recognised the up strum.

I downloaded j2k, and it recognised the key mapping as working, but fofix still didn't.
Tried xpadder but it won't recognise any input :blink: works with other (non-guitar) controllers just fine tho

I've tried 2 different guitars, exact same story.

Any ideas, guys? It seems really friggin weird that it wouldn't work.

glovepie code:

Code: Select all

                                        /*
// FoFiX GH Wiitar script 2.0
// Version 2.1 by Death_au
// Now supports the GH:WT guitar
// Now initializes the WT guitar only once
*/

//GH4 guitar wakeup code:

if(!var.init)
WiimotePoke(1, 0x4A400F0, 0x55) // Decrypt
wait 100ms
WiimotePoke(1, 0x4A400FB, 0) // Unknown
//wait 100ms
//WiimoteDumpBytes(1, 0x4A400F0, 16) // view type
//wait 100ms
//WiimotePoke(1, 0x4A400F0, 0xAA) // Encrypt again
//wait 100ms
//WiimoteDumpBytes(1, 0x4A40020, 32) // view calibration
wait 100ms
WiimotePoke(1, 0x4A40040, 0)
wait 100ms
WiimoteSend(1, 0x17, 0x04, 0xA4, 0x00, 0xF0, 0, 16) // get type
var.init = true
end if

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

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

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;
//debug = var.wakeup+";" +wiimote.ExpString

/*---BUTTON MAPPING to Keyboard and PPJoy--*/
//Configuration:
//
//Green - F1
//Red - F2
//Yellow - F3
//Blue - F4
//Orange - F5
//Strum Up - enter
//Strum Down - Right Shift
//Minus - Page Down
//Plus - Escape
//Tilt - Page Down
//Whammy - Page Up OR PPJoy Analog 0 change in script below
//NOTE: Joystick doesn't work yet on the GH:WT guitar
//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.F1 = WiiGuitar.Green       //Green
Key.F2 = WiiGuitar.Red         //Red
Key.F3 = WiiGuitar.Yellow      //Yellow
Key.F4 = WiiGuitar.Blue        //Blue
Key.F5 = WiiGuitar.Orange      //Orange


// Plus and Minus Buttons
Key.Escape = WiiGuitar.Plus    //Menu / Pause


// Strum Bar
Key.Enter = WiiGuitar.StrumUp
Key.RightShift = WiiGuitar.StrumDown

//Whammy/Killswitch
Key.PageUp = WiiGuitar.Minus
Key.PageUp = (0.75 < WiiGuitar.WhammyBar < 0.9)
//ppjoy.Analog0 = WiiGuitar.WhammyBar
//debug = ppjoy.Analog0

// Star Power
//debug = Wiimote.RawForceZ
if(18 < Wiimote.RawForceZ < 100)
      Key.PageDown = true;
      Wiimote.Rumble = true;
else
      Key.PageDown = false;
      Wiimote.Rumble = false;
endif

//END OF FILE


-- Edit: Tue Jul 17, 2012 12:02 am --

Further note,

The FoFix controller .ini file was this:

Code: Select all

[controller]
analog_drum = 0
analog_fx = 0
analog_kill = 0
analog_slide = 0
analog_sp = 0
analog_sp_sensitivity = 4
analog_sp_threshold = 60
key_1 = K_F1
key_1a = None
key_2 = K_F2
key_2a = None
key_3 = K_F3
key_3a = None
key_4 = K_F4
key_4a = None
key_5 = K_F5
key_5a = None
key_action1 = 303
key_action2 = 13
key_cancel = K_ESCAPE
key_down = 118
key_kill = K_PAGEUP
key_left = K_LEFT
key_right = K_RIGHT
key_star = None
key_start = K_LCTRL
key_up = 98
mic_device = -1
mic_passthrough_volume = 0.0
mic_tap_sensitivity = 5
name = Keyboard
two_chord_max = 0
type = 0



and I tried changing the strum mapping to this

Code: Select all

key_action1 = K_RETURN
key_action2 = K_RSHIFT


Neither file worked.

Furthermore, the down strum on the world tour guitar is a bit dodgy, but the gh3 one works perfectly. Neither guitar registers the down strum in FoFix though.
Last edited by plaguedoct0r on Tue Jul 17, 2012 11:22 am, edited 1 time in total.
User avatar
opiumtest5
Member
Posts: 113
Joined: February 15th, 2011
Reputation: 9

Re: Down strum not working, completely out of ideas...

Postby opiumtest5 » Tue Jul 17, 2012 10:23 am

Could be a connection problem, or it's just your controller being a **** :I
Anyhow, you're little down strum problem is a unique one and probably nobody else had this problem before. So it's probs gonna take a while for people to find a fix.
But whatever you do, don't open up your hardware if you're not sure what's the problem yet.
Projects:
Melodeath Hero WIP
Bullet for my Valentine - Temper Temper (Album) WIP
Dimension Zero Discography WIP
Dragonforce - The Power Within discontinued...
In Flames Discography FINISHED


My custom song thread
(Anime) (video Games) (John 5) (Tool) (Protest The Hero) (In Flames) (Dragonforce) (Vitalij Kuprij) (Random Japanese bull****) (Full Band songs) (packages)
plaguedoct0r
Member
Posts: 7
Joined: May 23rd, 2012
Reputation: 0

Re: Down strum not working, completely out of ideas...

Postby plaguedoct0r » Tue Jul 17, 2012 11:07 am

It's not a hardware problem, and it's not a connection problem.

Reiterating my post, all the other buttons are working in FoFix, and the down strum is working in glovepie & j2k.
Therefore it's almost certainly a FoFix problem, or possibly a very strange glovepie problem.

-- Edit: Wed Jul 18, 2012 1:20 am --

-----------------------

Got it working.
I remapped in glovepie for down strum to be f6.
Doesn't really make sense since I already tried both enter and rshift for downstrum, but who cares!
I can finally start playing with the guitar :D

Return to “FoFiX”

Who is online

Users browsing this forum: No registered users and 30 guests