Grand Theft Auto V Legacy

Grand Theft Auto V Legacy

Not enough ratings
GTAV Wii Balance Board gas pedals script for Glovepie
By Plantman Knows Where Plants Grow
This guide will show you how to set up a Wii Balance board to work as gas pedals for GTAV
   
Award
Favorite
Favorited
Unfavorite
intro
I got a free Wii Balance Board and at this point they can be had used for around $20 but I had no interest in Wii fit, then I had the idea that it would be a good input device to use for gas pedals the sensitivity is good enough on the board that I can just lightly push on it or rest my foot on it for gas or reverse.
Setting up the Wii Board and getting Glovepie
Glovepie can be had with a quick google search.

I'll try to give a brief explanation of how to connect but this guide is more about the script. I tried to find a page with good instructions but most are out of date or convoluted.
( Preface https://www.wiimoteproject.com/bluetooth-and-connectivity-knowledge-center/a-summary-of-windows-bluetooth-stacks-and-their-connection/msg6012/#msg6012 )
1. Check the above, it has a list of bluetooth dongles that work with wii equipment.
(Pre-step 2 disclaimer) I can only give instructions for a windows 7 system, your system may be different in which case you will just need to remain calm and cope with it on your own, sorry bro.
2. All I needed was the included Microsoft (OS 7) Bluetooth. I didn't need to download widcomm or anything. I suspect the guide is old and Microsoft update their bluetooth since then.
3. Run the Glovepie script
4. Open the battery compartment and locate the red button. DO NOT PRESS THE RED BUTTON!!
5. Go to the start bar>Search>type bluetooth>select "add a bluetooth device"
6. It is now okay to press Red Button that was located in step 4. Press it Now.
7. When the Nintendo device pops up select it
8. Pair Without Code


(method 1) The easy but digital glovepie script
var.BSense = 1.2 // left // higher numbers decrease sensitivity you'll want to adjust this if your board is being reluctant or too sensitive
var.FSense = .3 // right // my board sat in the bottom off a closet with 100 lbs of books on top of it for 2 years so it needed a bit of adjustment


if BalanceBoard.WeightLeft >= var.BSense {
var.BBBck = 1
wait(0.1s)
var.BBBck = 0
}
key.s = var.BBBck

if BalanceBoard.WeightRight >= var.FSense {
var.BBFwd = 1
wait(0.1s)
var.BBFwd = 0
}
key.w = var.BBFwd
(method 2) The more difficult but nicer analog controls
1. You'll need to find and install PPJoy the joystick emulator for this to work.
2. You will also need to identify the PID and VID code.
a. Possibly PPJOY is default config'd with the PID: BEF0 and VID: DEAD making the code "bef0dead-0000-0000-0000-504944564944" for your "Item key=" value
b. If this is not the case you will need a tool to discover this info for item key I used X360ce_X64 this https://cronusmax.com/manual/finding_the_vid_pid_of_your_controller.htm can also guide you.
3. You will most likely need to create a file in C:\Users\(your user account)\Documents\Rockstar Games\GTA V\Profiles\(your profile)\control\ called gamepad.xml
4. Open Gamepad.xml with notepad(I use notepad++ all the time but regular notepad should work too) and enter these lines of code:

<?xml version="1.0" encoding="UTF-8"?>

<rage__ControlInput__Gamepad__DefinitionList>
<Devices>
<Item key="BEF0DEAD-0000-0000-0000-504944564944">
<Definitions>
<Item>
<PadParameter>L2</PadParameter>
<JoystickParameter>IOM_JOYSTICK_AXIS3</JoystickParameter>
<JoystickSource>IOMS_JOYSTICK_AXIS_POSITIVE</JoystickSource>
</Item>
<Item>
<PadParameter>R2</PadParameter>
<JoystickParameter>IOM_JOYSTICK_AXIS6</JoystickParameter>
<JoystickSource>IOMS_JOYSTICK_AXIS_POSITIVE</JoystickSource>
</Item>
</Definitions>
</Item>
</Devices>
</rage__ControlInput__Gamepad__DefinitionList>

(Steam forum destroyed the branched spacing I hope this isn't a problem)

5. Don't forget to change the Item Key if needed
6. You need an analog glovepie script

var.ryoffset = -0.8 // left side.
var.rxoffset = 0.5 // right side.
// negative values decrease sensitivity and positive values increase sensitivity

var.ry = BalanceBoard.WeightLeft
var.rx = BalanceBoard.WeightRight
var.ray = var.ry + var.ryoffset
var.rax = var.rx + var.rxoffset
ppjoy1.Analog3 = var.rax
ppjoy1.Analog2 = var.ray

7. You should be good to go.
Notes
*In Glovepie under TroubleShooter you might need to activate the "No Auto-Bluetooth Connect" option. I had to otherwise my board disconnected every 10 seconds.
*You'll need to reconnect after a PC reboot.
*Batteries with low charge can still power the wii board into a connected state but the board will not relay information to the PC. This is probably a fault with the devices being unable to communicate a low battery state.
*I'm terrible at answering questions outside of my system, I have no idea what to tell you if you run into problems with MacOS, Android, Win10, Linux or what ever. Hopefully if you have a problem and ask here there will be someone who can help you.
*It doesn't look like much but it took several days and maybe 20 hours of research to pull this off I blame Google search which seems to be dying and doesn't index criteria correctly anymore because if it had dug into old forums a bit better the information would have been a lot easier to find.
5 Comments
ExpiredLemons Jun 25, 2019 @ 6:02pm 
10/10 would play wii fit again- wait this isnt wii fit
Plantman Knows Where Plants Grow  [author] Jun 23, 2019 @ 4:27am 
It's a $30 dollar project, Niko. I'm a bit jealous TBH, back in the day gas pedals for a videogame started at $90 for cheap and junkie and could go as high as $450 for the Pro-Grade VR simulator stuff.
Niko Jun 23, 2019 @ 3:36am 
Cool, now I can use my non existent Wii Balance Board to pretend I have gas pedals
xpolish Jun 22, 2019 @ 10:40am 
i have this board home i go to try it. mayby
Burger Beers Jun 22, 2019 @ 6:43am 
thought this was a meme to be honest