GRID Autosport

GRID Autosport

View Stats:
Maxtrix Apr 2, 2016 @ 7:33pm
[Guide] Add G29 and G920 support to Grid Autosport (Includes Clutch and shifter)
Introduction
The user karolos in the logitech forums[forums.logitech.com] has posted a very simple method to fix this problem that the developers in Codemaster haven't solve in several months. The solution is very simple and implies only modify an XML file. I was trying an other method to make it work (vjoy + ujr method) but this is better because you don't need to install aditional software.

This method also works on Grid 2 and pherhaps in other Codemasters games

Procedure
First, open the file "lg_g27.xml" inside the "input" folder where Grid Autosport its installed:

Example: C:\Program Files\Grid Autosport\Input\lg_g27.xml

Make a backup of this file.

next, replace the contents inside of this file with the code below depending on the Wheel you have (G29 or G920) and save.

Logitech G920
<!-- Action map for the Logitech G920 --> <ActionMap name="Logitech G920" device_type="{C262046D-0000-0000-0000-504944564944}" priority="0"> <!-- In Game Actions --> <Action id="Accelerate"> <Axis id="di_slider_0" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Brake"> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="0.5" /> </Action> <Action id="Handbrake"> <Axis id="di_button_3" /> </Action> <Action id="Steer Left"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Steer Right"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Change View"> <Axis id="di_button_8" /> </Action> <Action id="Gear Up"> <Axis id="di_button_4" /> </Action> <Action id="Gear Down"> <Axis id="di_button_5" /> </Action> <Action id="Gear 1"> <Axis id="di_button_12" /> </Action> <Action id="Gear 2"> <Axis id="di_button_13" /> </Action> <Action id="Gear 3"> <Axis id="di_button_14" /> </Action> <Action id="Gear 4"> <Axis id="di_button_15" /> </Action> <Action id="Gear 5"> <Axis id="di_button_16" /> </Action> <Action id="Gear 6"> <Axis id="di_button_17" /> </Action> <Action id="Gear 7"> </Action> <Action id="Gear Reverse"> <Axis id="di_button_11" /> </Action> <Action id="Clutch"> <Axis id="di_z_axis_rotation" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Look Left"> <Axis id="di_dpad_0_left" /> </Action> <Action id="Look Right"> <Axis id="di_dpad_0_right" /> </Action> <Action id="Look Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Look Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Look Back"> <Axis id="di_button_9" /> </Action> <Action id="Pause"> <Axis id="di_button_6" /> </Action> <Action id="Instant Replay"> <Axis id="di_button_1" /> </Action> <Action id="Boost"> <Axis id="" /> </Action> <Action id="Reset Vehicle"> <Axis id="di_button_3" /> </Action> <!-- FE Actions --> <Action id="Menu Left"> <Axis id="di_dpad_0_left" /> </Action> <Action id="Menu Right"> <Axis id="di_dpad_0_right" /> </Action> <Action id="Menu Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Menu Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Menu Select"> <Axis id="di_button_0" /> </Action> <Action id="Menu Back"> <Axis id="di_button_1" /> </Action> <Action id="Menu Button3"> <Axis id="di_button_2" /> </Action> <Action id="Menu Button4"> <Axis id="di_button_3" /> </Action> <Action id="Menu Start Button"> <Axis id="di_button_1" /> </Action> <Action id="Menu Left Shoulder"> <Axis id="di_button_5" /> </Action> <Action id="Menu Right Shoulder"> <Axis id="di_button_4" /> </Action> <Action id="Fe View Tweak Left"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak Right"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak In"> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak Out"> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <!-- Replay/Youtube Actions --> <Action id="Replay Rewind"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Replay Fast Forward"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> <Axis id="di_slider_0" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Replay Pause"> <Axis id="di_button_0" /> </Action> <Action id="Replay Next Camera"> <Axis id="di_button_4" /> </Action> <Action id="Replay Prev Camera"> <Axis id="di_button_5" /> </Action> <Action id="Replay Jump In"> <Axis id="di_button_16" /> </Action> <Action id="Replay Exit"> <Axis id="di_button_1" /> </Action> <Action id="Replay UI On Off"> <Axis id="di_button_2" /> </Action> <Action id="Replay Youtube"> <Axis id="di_button_15" /> </Action> <Action id="Youtube Drag Left"> <Axis id="di_button_5" /> </Action> <Action id="Youtube Drag Right"> <Axis id="di_button_4" /> </Action> <Action id="Youtube Speed Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Youtube Speed Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Youtube Upload"> <Axis id="di_button_16" /> </Action> <Action id="Youtube Exit"> <Axis id="di_button_18" /> </Action> <!-- Spectator Actions --> <Action id="Spectator Next Camera"> <Axis id="di_button_4" /> </Action> <Action id="Spectator Previous Camera"> <Axis id="di_button_5" /> </Action> <Action id="Spectator UI On Off"> <Axis id="di_button_1" /> <Axis id="di_button_22" /> </Action> <Action id="Spectator List On Off"> <Axis id="di_button_16" /> </Action> <Action id="Cycle Forward On Board Cameras"> <Axis id="di_button_4" /> </Action> <Action id="Activate Replay System"> <Axis id="di_button_5" /> </Action> </ActionMap>

Logitech G29
<!-- Action map for the Logitech G29 --> <ActionMap name="lg_g29" device_type="{C24F046D-0000-0000-0000-504944564944}" priority="0"> <!-- In Game Actions --> <Action id="Accelerate"> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Brake"> <Axis id="di_z_axis_rotation" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Handbrake"> <Axis id="di_button_2" /> </Action> <Action id="Steer Left"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Steer Right"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Change View"> <Axis id="di_button_10" /> </Action> <Action id="Gear Up"> <Axis id="di_button_4" /> </Action> <Action id="Gear Down"> <Axis id="di_button_5" /> </Action> <Action id="Gear 1"> <Axis id="di_button_12" /> </Action> <Action id="Gear 2"> <Axis id="di_button_13" /> </Action> <Action id="Gear 3"> <Axis id="di_button_14" /> </Action> <Action id="Gear 4"> <Axis id="di_button_15" /> </Action> <Action id="Gear 5"> <Axis id="di_button_16" /> </Action> <Action id="Gear 6"> <Axis id="di_button_17" /> </Action> <Action id="Gear 7"> </Action> <Action id="Gear Reverse"> <Axis id="di_button_18" /> </Action> <Action id="Clutch"> <Axis id="di_slider_0" type="uniDirNeg" deadzone="0.1" saturation="0.8" /> </Action> <Action id="Look Left"> <Axis id="di_dpad_0_left" /> </Action> <Action id="Look Right"> <Axis id="di_dpad_0_right" /> </Action> <Action id="Look Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Look Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Look Back"> <Axis id="di_button_11" /> </Action> <Action id="Pause"> <Axis id="di_button_6" /> </Action> <Action id="Instant Replay"> <Axis id="" /> </Action> <Action id="Boost"> <Axis id="" /> </Action> <Action id="Reset Vehicle"> <Axis id="di_button_3" /> </Action> <!-- FE Actions --> <Action id="Menu Left"> <Axis id="di_dpad_0_left" /> </Action> <Action id="Menu Right"> <Axis id="di_dpad_0_right" /> </Action> <Action id="Menu Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Menu Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Menu Select"> <Axis id="di_button_0" /> </Action> <Action id="Menu Back"> <Axis id="di_button_2" /> </Action> <Action id="Menu Button3"> <Axis id="di_button_1" /> </Action> <Action id="Menu Button4"> <Axis id="di_button_3" /> </Action> <Action id="Menu Start Button"> <Axis id="di_button_2" /> </Action> <Action id="Menu Left Shoulder"> <Axis id="di_button_5" /> </Action> <Action id="Menu Right Shoulder"> <Axis id="di_button_4" /> </Action> <Action id="Fe View Tweak Left"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak Right"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak In"> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Fe View Tweak Out"> <Axis id="di_z_axis_rotation" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <!-- Replay/Youtube Actions --> <Action id="Replay Rewind"> <Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" /> <Axis id="di_z_axis_rotation" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Replay Fast Forward"> <Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" /> <Axis id="di_y_axis" type="uniDirNeg" deadzone="0.0" saturation="1.0" /> </Action> <Action id="Replay Pause"> <Axis id="di_button_0" /> </Action> <Action id="Replay Next Camera"> <Axis id="di_button_4" /> </Action> <Action id="Replay Prev Camera"> <Axis id="di_button_5" /> </Action> <Action id="Replay Jump In"> <Axis id="di_button_16" /> </Action> <Action id="Replay Exit"> <Axis id="di_button_2" /> </Action> <Action id="Replay UI On Off"> <Axis id="di_button_1" /> </Action> <Action id="Replay Youtube"> <Axis id="di_button_15" /> </Action> <Action id="Youtube Drag Left"> <Axis id="di_button_5" /> </Action> <Action id="Youtube Drag Right"> <Axis id="di_button_4" /> </Action> <Action id="Youtube Speed Up"> <Axis id="di_dpad_0_up" /> </Action> <Action id="Youtube Speed Down"> <Axis id="di_dpad_0_down" /> </Action> <Action id="Youtube Upload"> <Axis id="di_button_16" /> </Action> <Action id="Youtube Exit"> <Axis id="di_button_18" /> </Action> <!-- Spectator Actions --> <Action id="Spectator Next Camera"> <Axis id="di_button_4" /> </Action> <Action id="Spectator Previous Camera"> <Axis id="di_button_5" /> </Action> <Action id="Spectator UI On Off"> <Axis id="di_button_1" /> <Axis id="di_button_22" /> </Action> <Action id="Spectator List On Off"> <Axis id="di_button_16" /> </Action> <Action id="Cycle Forward On Board Cameras"> <Axis id="di_button_4" /> </Action> <Action id="Activate Replay System"> <Axis id="di_button_5" /> </Action> </ActionMap>

Try it

Now, Start the game and go to the preset options (options->controller->presets) and select <LNG_LOGITECH_G29>

Now you can personalize the G29 or G920 as you like, the shifter works with the clutch now (remember to change the transmission dificulti to H shifter + clutch)
Last edited by Maxtrix; Apr 2, 2016 @ 7:34pm
< >
Showing 1-15 of 34 comments
FrizFrow Apr 17, 2016 @ 10:03am 
All the buttons worked correctly with my g920 except for the accelerator pedal, the game simply does not recognize di_slider_0, wanted to know if you have a fix or this
Wanda Jul 9, 2016 @ 3:11pm 
Thx but Clutch dont work, and i can't customize buttons either. :/
daveflatline Aug 30, 2016 @ 8:11am 
Works great for Grid 2. Thank you!
Dan2312 Sep 4, 2016 @ 2:29pm 
I did all this for my g920 and the game does not detect the wheel, all i get is a rear view of my car and pedals are messed up. menu constantly scrolling down. just a royal pain in the ass. its a shame because i enjoyed this game oin the 360 controller.

Edit: im such a fool i have a g29 not a 920. just need to get the h shifter working now...
Last edited by Dan2312; Sep 4, 2016 @ 2:45pm
Skullmonkey Nov 25, 2016 @ 11:05am 
Unfortunately this did not work for me and the only other preset I see besides 360 controller and keyboard is preset1 which does nothing.

Any help for me?
Odaglas Nov 25, 2016 @ 1:23pm 
everything works now except the clutch. The game cant recognize the clutch pedal. After i change the gear mode to manual + clutch, the clutch key appears on the controls but when i press it to try to assign the pedal to the clutch, it remains unassigned. any idea??
HAL9000 Dec 4, 2016 @ 8:45pm 
Hi Guys,

I've figured out the complete solution for G29, with clutch and everything.
Here you can download the XLM files and the simple instructions.
https://drive.google.com/open?id=0ByTzOjXwNNxSSFhjeVJ0R2ctekU

For G920 you can find hints how to solve the issue in the readme.txt,
but I do not own one, so can not do it for you :)

I hope it helps! ENJOY!:)
Djoemaalie Dec 11, 2016 @ 10:53am 
Originally posted by HAL9000:
Hi Guys,

I've figured out the complete solution for G29, with clutch and everything.
Here you can download the XLM files and the simple instructions.
https://drive.google.com/open?id=0ByTzOjXwNNxSSFhjeVJ0R2ctekU

For G920 you can find hints how to solve the issue in the readme.txt,
but I do not own one, so can not do it for you :)

I hope it helps! ENJOY!:)


Stop lying mate, your solution is just the same as OPs.
HAL9000 Dec 11, 2016 @ 9:31pm 
Originally posted by TheLastOttoman:
Originally posted by HAL9000:
Hi Guys,

I've figured out the complete solution for G29, with clutch and everything.
Here you can download the XLM files and the simple instructions.
https://drive.google.com/open?id=0ByTzOjXwNNxSSFhjeVJ0R2ctekU

For G920 you can find hints how to solve the issue in the readme.txt,
but I do not own one, so can not do it for you :)

I hope it helps! ENJOY!:)


Stop lying mate, your solution is just the same as OPs.

You should check your facts on this "mate". I do not know who "OP" is, I figured this solution out on my own, believe or not, please read the readme.txt to learn how. I do not doubt that somebody else found it as well, it's not magic, but I doubt that the files are the same, since I spent hours to figure out the right codes, making the clutch and everything work.

Please respect my work and stop trolling "mate".
FrizFrow Dec 11, 2016 @ 10:23pm 
Hal900 is right, the text files are different, just have a quick question, does anyone know if i can play on multiplayer if i edit text files?
Djoemaalie Dec 12, 2016 @ 8:39am 
Originally posted by HAL9000:
Originally posted by TheLastOttoman:


Stop lying mate, your solution is just the same as OPs.

You should check your facts on this "mate". I do not know who "OP" is, I figured this solution out on my own, believe or not, please read the readme.txt to learn how. I do not doubt that somebody else found it as well, it's not magic, but I doubt that the files are the same, since I spent hours to figure out the right codes, making the clutch and everything work.

Please respect my work and stop trolling "mate".

I have followed your instructions till the last letter and the clutch is still not recognised. Effectively making your solution as OPs.
Pacito Mar 12, 2017 @ 12:19pm 
HAL9000
My clutch does not work, even with your solution. Can you help me? I have a g29 and everything is fine, the gearbox looks good, but it does not take the clutch pedal
YorkyPudsy Apr 28, 2017 @ 2:43pm 
Same issue here with G29 clutch pedal not working. Did anyone get this sorted out?

I've tried various methods of editing the xml files and/or copying over a file from DiRT Rally (including the posts above), and eventually got everything working with the G29+pedals+shifter...

...but the clutch pedal is simply listed as "unassigned" in the controls settings, and isn't detected by the game if I try to map it.

I've even tried using Pinnacle Game Profiler, but that doesn't pick up the clutch either, so I can't map it to a keypress using that. I know the clutch pedal works though, as it's working in other games + the Windows game controllers properties page.

Grateful for any further advice from anyone who got it working. Thanks!


EDIT: Oh, I also tried changing "di_slider_0" to "di_slider_1" on the Clutch line of the xml. This made an entry appear in the controls/settings of the game, but the pedal still didn't work once I started a race.


EDIT 2: I now realise that the game doesn't seem to be saving my settings (even though everything is working, except the clutch). When I quit, then restart the game, the "Difficulty" settings revert to "Automatic" transmission, and any custom mappings I've made in the controls reset to defaults. So I have to map them all each time by the looks of it.
Last edited by YorkyPudsy; Apr 28, 2017 @ 3:10pm
YorkyPudsy Apr 29, 2017 @ 1:17am 
Quick update on progress configuring G29 with the game... since I've now got it to save my settings between sessions, though I still haven't got the clutch pedal working.

- First, I restored everything to how it was originally (removed the xml edits to files in "input")

- I launched the game, and selected "keyboard" preset in the control options (I saw a suggestion that this is a good workaround for the game losing controls settings when you exit)

- I then mapped my wheel + pedals + buttons as desired in the controls options (except for Pause, which I left as the Esc key... not sure if this actually made the difference to it saving settings, as I saw it mentioned somewhere online)

- After mapping the wheel like that, you can even access the advanced options (deadzone/saturation) & setup vibration


This seems to be a much easier way than messing with xml files (and I wasn't sure if there were any VAC implications with doing that, so better peace of mind).


The only problems remaining are...

- I can't control the game menus with the wheel, but I could setup some mappings for the d-pad etc. in Logitech's LGS (on-screen prompts obviously wouldn't change though)

- I still can't get the game to detect the clutch pedal, so I'm stuck with sequential gears, or H-shift without the clutch


As mentioned above, I've tried Pinnacle Game Profiler & it didn't seem to detect the clutch either (though I don't really know how to use PGP very well, so I may have missed something there!)

Anyone know of any (safe / VAC-friendly) apps/tools/utils that might detect the clutch pedla & allow me to remap it to another axis or key press?
YorkyPudsy Apr 29, 2017 @ 4:20am 
OK, I've finally got the G29 clutch pedal working. Some more info for anyone coming to this thread in the future...


The clutch pedal *can* actually be mapped to eg. a keypress using "Pinnacle Game Profiler". And then you simply define that key as the clutch in the game's settings.

PGP wasn't detecting the clutch when I tried before. But the trick was to go through the controller setup wizard. I defined the G29 as a controller with 4 Axes (3 pedals all on "inverted" axes, plus the wheel on the X axis). Then PGP's mapping screen detected each pedal correctly, including the clutch, so I just setup a blank PGP profile & added a single mapping for that to press SPACEBAR in zone 2 of an axis command.

I haven't yet experimented with mapping the clutch to some other analog input that the game might be able to detect (because PGP wants to install game "hooks" to support that, and I don't trust it with VAC).


Anyway, after all that effort, to be honest the game's clutch simulation is poor (eg. no fluffed gear changes, because you can select a gear on the shifter, then as soon as you depress the clutch it changes gear! That's without even releasing the clutch button/pedal)

So it's kind of disappointing. I don't know if the game might handle it more realistically if I could map it to an analog input. And either way, I won't have access to Gear 7 as the shifter only has 6+Reverse, so I'll end up having to tune cars ignoring 7th.

I may be better off forgetting about the clutch & just sticking to sequential shifting. Maybe even setup a rubber-band mod on the G29 shifter to use it for sequential shifting.
< >
Showing 1-15 of 34 comments
Per page: 1530 50