View Single Post
Old 19-10-2008, 06:21 PM   #1 (permalink)
nutunited
Forum Guru
 
nutunited's Avatar
 
Join Date: Apr 2007
Location: Cape Town, South Africa
Age: 24
Posts: 2,235
Default Fix your gamepad/controller issues the easier way! *UPDATED

*See update number 2 at the bottom of this post if your controller is still not identified by name in FIFA 09 control settings even after following all the instructions in this thread

*See update at the bottom of this post for changing to PES style controls without 2nd defender pressing every time you try to tackle

NOTE: Try this devdata.dat (mirror 1 2 3 4) first (just replace existing one in C:\ProgramFiles\EA Sports\Fifa 09\Data\Input\). It fixes the 'empty' problem where you can't configure all your buttons. It also contains fixes for the right analog sticks of a few controllers (not all), and also all of the controllers mentioned in the second post! Please post corrections to this if you find any! If it doesn't work, keep reading...

I’m creating this thread because I think many people are still struggling to understand how to fix their controller problems using Waddaa13’s thread. No offense at all to him (he is the reason I understand this stuff at all), but many people are uncomfortable with doing this kind of messing around with these files.

The following method is the easiest way to get your controller working 100%, without having to understand what exactly the code does!

BEFORE I START: If your controller already works fine, or you fix it as a result of this thread – please post the working code block and the exact make and model of your pad so that I can include in the database in the second post! Community effort guys! (Because clearly EA aren’t planning on fixing this)

Step 1: File Backup and starting with devdata

- Backup the files in C:\ProgramFiles\EA Sports\Fifa 09\Data\Input\ *should be two of them, devdata.dat and XPadLib.dll
- Navigate to My Documents\Fifa 09\User
- Delete the devdata.dat file in that directory
- Go Back to C:\ProgramFiles\EA Sports\Fifa 09\Data\Input\
- Right click devdata.dat and select ‘open with’ and choose notepad (if you're using Vista, you might have to move the file out of program files to edit it and then put it back)
- You’ll see a whole lot of code blocks (that will all probably be greek to you ), each code block is 6 lines long.
- Now select all (Ctrl + A) and delete everything. (don’t worry, you’ve backed this file up remember )
- Replace the code with this instead:
Code:
PLATFORM=PC
[Keyboard|Keyboard]
DEADZONES=0.0,0.0,0.0,0.0
28|0|2,63|3|2,1|1|2,16|10|2,18|13|2,44|11|2,46|14|2,203|16|2,205|17|2,200|18|2,208|19|2,75|16|2,77|17|2,72|18|2,80|19|2,57|8|2,59|9|2,15|15|2,62|12|2,64|15|2,60|2|2
203|20|2,205|21|2,200|22|2,208|23|2,18|0|2,57|1|2,17|2|2,19|3|2,30|10|2,42|13|2,31|11|2,29|14|2,54|15|2,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,16|7|2,207|15|2,6|9|2,19|4|2,57|5|2,18|6|2,54|12|2
203|20|2,205|21|2,200|22|2,208|23|2,18|0|2,57|1|2,17|2|2,19|3|2,30|10|2,42|13|2,31|11|2,29|14|2,54|15|2,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,16|7|2,207|15|2,6|9|2,19|4|2,57|5|2,18|6|2,54|12|2
203|20|2,205|21|2,200|22|2,208|23|2,18|0|2,57|1|2,17|2|2,19|3|2,30|10|2,42|13|2,31|11|2,29|14|2,54|15|2,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,16|7|2,207|15|2,6|9|2,19|4|2,57|5|2,18|6|2,54|12|2
[Keyboard and Mouse|Keyboard and Mouse]
DEADZONES=0.0,0.0,0.0,0.0
28|0|2,63|3|2,1|1|2,16|10|2,18|13|2,44|11|2,46|14|2,203|16|2,205|17|2,200|18|2,208|19|2,75|16|2,77|17|2,72|18|2,80|19|2,57|8|2,59|9|2,15|15|2,62|12|2,64|15|2
30|20|2,32|21|2,17|22|2,31|23|2,16|0|2,2000|1|25,1000|2|25,3000|3|25,42|10|2,57|13|2,29|11|2,56|14|2,3000|12|25,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,45|15|2,6|9|2,1000|4|25,2000|5|25,4000|6|25,4000|7|25
30|20|2,32|21|2,17|22|2,31|23|2,16|0|2,2000|1|25,1000|2|25,3000|3|25,42|10|2,57|13|2,29|11|2,56|14|2,3000|12|25,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,45|15|2,6|9|2,1000|4|25,2000|5|25,4000|6|25,4000|7|25
30|20|2,32|21|2,17|22|2,31|23|2,16|0|2,2000|1|25,1000|2|25,3000|3|25,42|10|2,57|13|2,29|11|2,56|14|2,3000|12|25,1|8|2,2|16|2,3|17|2,4|18|2,5|19|2,45|15|2,6|9|2,1000|4|25,2000|5|25,4000|6|25,4000|7|25
[Default Pad|Default]
DEADZONES=0.3,0.3,0.3,0.3
2|24|3,2|25|4,5|26|5,5|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,2|0|2,0|1|2,3|2|2,1|3|2,8|8|2,6|10|2,4|11|2,7|13|2,5|14|2
2|24|3,2|25|4,5|26|5,5|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|0|2,1|1|2,2|2|2,3|3|2,6|10|2,7|13|2,4|11|2,5|14|2,8|8|2,6|7|2,9|9|2,1|4|2,3|5|2,0|6|2
2|24|3,2|25|4,5|26|5,5|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|0|2,1|1|2,2|2|2,3|3|2,6|10|2,7|13|2,4|11|2,5|14|2,8|8|2,6|7|2,9|9|2,1|4|2,3|5|2,0|6|2
2|24|3,2|25|4,5|26|5,5|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|0|2,1|1|2,2|2|2,3|3|2,6|10|2,7|13|2,4|11|2,5|14|2,8|8|2,6|7|2,9|9|2,1|4|2,3|5|2,0|6|2
[XBOX 360 For Windows (Controller)|XBox 360 For Windows (Controller)|Controller (XBOX 360 For Windows)|Controller (Xbox 360 Wireless Receiver for Windows)|Xbox 360 Wireless Receiver for Windows]
DEADZONES=0.3,0.3,0.3,0.3
2|24|3,2|25|4,3|26|5,3|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|0|2,2|3|2,3|2|2,1|1|2,9|8|2,8|9|2,4|10|2,6|11|2,10|12|2,5|13|2,7|14|2,11|15|2
2|24|3,2|25|4,3|26|5,3|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|2|2,1|1|2,2|3|2,3|0|2,9|8|2,8|9|2,4|10|2,6|11|2,10|12|2,5|13|2,7|14|2,11|15|2,1|4|2,2|5|2,3|6|2,4|7|2
2|24|3,2|25|4,3|26|5,3|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|2|2,1|1|2,2|3|2,3|0|2,9|8|2,8|9|2,4|10|2,6|11|2,10|12|2,5|13|2,7|14|2,11|15|2,1|4|2,2|5|2,3|6|2,4|7|2
2|24|3,2|25|4,3|26|5,3|27|6,1|22|5,1|23|6,0|20|3,0|21|4,0|18|21,0|19|22,0|16|19,0|17|20,0|2|2,1|1|2,2|3|2,3|0|2,9|8|2,8|9|2,4|10|2,6|11|2,10|12|2,5|13|2,7|14|2,11|15|2,1|4|2,2|5|2,3|6|2,4|7|2
ENDOFFILE
//
- This is the bare minimum requirement code for FIFA to still run without crashing
- Now, leave this file open and move on to Step 2

Step 2: Generating your code block

- Before you do this, check post two in this thread to see if a working code block has already been found – if so, skip ahead to step 4.
- Download this excel file (Mirror 1 2 3 4) (if you do not have excel, you can download openoffice which runs this file too. Alternatively, you can edit it online if you upload it into Google Docs - but you'll need a google account)
- Open the file
- Inside you will find two worksheets – ‘Info’ and ‘Output’
- In the info sheet you will enter all of your gamepad details and your desired button configuration.

GAMEPAD INFO
- You will need to find the exact name of your gamepad
- Go to Control Panel – Game Controllers
- Type the exact name that appears there into the block for gamepad name (NB This name must be identical, and is case sensitive)



- You will then need to fill in whether or not your Gamepad has Left & Right analog sticks and a D-pad. Type 0 for NO and 1 for YES

BUTTON CONFIGURATION

- If you don’t already know the numbers of your gamepads buttons, go into Control Panel – Game Controllers
- Select your controller and go to properties
- The red numbered circles will light up depending on which button is pressed. Take down which numbers correspond to which buttons.



A FEW NOTES ON BUTTON CONFIGURATION:

- VERY IMPORTANT: Only map up to the number of buttons you have, leave the rest blank.
- When mapping your in-game buttons:

o If you don’t map the cancel/dummy move button, you will not be able to perform a chip shot
o Do not map buttons you don’t have.
o Do not map a button to multiple functions.


The page should look something like this:


Step 3: The output page

- When you’re done with the info sheet, click on the output sheet (bottom left corner)
- There you will see something like this (using my example)

- There are 7 blocks of code listed
- If you have NO ANALOG STICKS, each one is THE SAME
- If you have analog sticks, each one will be different – because your right analog stick could be mapped to any of 7 different axis combinations (or maybe more)
- What this means is that you will have to try each block IN TURN to see which one works for you.
- The blocks are listed in order from most to least common, so it is very unlikely you will get to the last one

Step 4: Inserting the code into devdata.dat

- Copy the first block of code (as shown below), and paste it into your devdata.dat file just above the ENDOFFILE line (as shown below)
- Leave no spaces above or below your block




- Save the file, and run FIFA 09
- Go to Game Settings – Controls
- Change to your controller (it should be identified by name as shown, if not see the end of this thread) to check that everything is how you want it.



- Everything should work now


Common Problems:

- Right Stick not working: Return to step 4 and try the next block of code (replace the one you tried already.
- Left stick not working: Either you’ve done something wrong, there’s something wrong with your gamepad, or you have a very unusual Left Stick axis mapping. Try re-calibrating your controller (described below)
- Other buttons not working: you’ve done something wrong
If after trying all 7 code blocks your right stick still doesn’t work, or only works partially, reply to this thread with the code that works the best and a precise description of exactly what doesn’t work properly.
- Gamepad still appears as 'Controller' even though you've created a code block for it. SEE THE END OF THIS THREAD FOR AN UPDATED SOLUTION TO THIS PROBLEM

If you’re still having problems:

1. Try deleting the XPadLib.dll file

2. Try updating your gamepad drivers with drivers from the manufacturers website (Logitech, Saitek, etc.)

3. Re-calibrate your controller: Go to Control Panel – Game Controllers, select your controller and click properties. Go to the settings tab and choose reset to default and then calibrate.

4. You can use this - which is a gamepad profiler that basically allows you to map buttons/axes on your controller to simulate key presses on the keyboard. (Thanks to hoodboilu4 for this suggestion)

IF YOUR CONTROLLER NOW WORKS, PLEASE POST THE MAKE AND MODEL AND THE WORKING CODE BLOCK SO THAT I CAN ADD IT TO THE DATABASE IN THE SECOND POST

*UPDATE:

To make your controls PES style - i.e.
Pass and Conservative tackle on the same button (without doing 2nd defender pressing every time you try and tackle)
Shoot & 2nd defender press on same button
Cross & Slide Tackle on same button

Go to My Documents\FIFA 09\
Open devaux.txt
You should see something like this:
Code:
Keyboard| 50|  0|  0|
Keyboard and Mouse| 50|  0|  0|
'Your controller name'| 50|  0|  0|
You want to look at the three numbers beside your controller name (works for keyboard too)

The first number (50 in this case) corresponds to the Auto-player switching sensitivity - change this number anywhere between 0 and 100

The second number (0 by default) is the value we want to change.
- Change it to 1 for analog player movement with the PES style controls
- Change it to 2 for digital player movement with standard controls
- Change it to 3 for digital player movement with PES style controls

What this does:

Switches the shoot/clearance and cross functions around (so in control setup where it says shoot it will now actually be cross)

Makes slide tackle and cross the same button (no matter what you set slide tackle to in control setup - it ignores that value)

Makes conservative tackle and pass the same button (no matter what you change conservative takle to - it ignores it)

Takes second defender press off pass and puts it on to the same button as shoot

The third number controls controller vibration (0 is off and 1 is on)

*UPDATE 2: CONTROLLER NOT IDENTIFIED BY NAME IN FIFA 09 CONTROL SETTINGS

Common examples: Mad Catz Game Controller and Nyko Airflo (AIRFLO)

If your controller still appears as 'Controller', even after following all the instructions in this thread, you have two options:

1. Solution 1: Your controller is essentially using the [Default Pad|Default] block to operate in FIFA09. So instead of adding your entire code block to the end of the devdata file, just replace the 4 lines of code in the Default pad block with your own 4 lines of code from your excel output. (obviously you'll have to try them until the right stick works)

The only problem with this solution is that if your controller is using the default pad code block then you can't save your settings (Vibration, Digital/Analog player movement etc.), even directly using devaux.txt as described above.

2. Solution 2: What is causing this problem is that the controller name in Game Controllers is not the same as the one you entered into the excel file, because the controller name in the registry has a whole bunch of extra spaces after it (which you can't see, obviously). So basically what you see as 'AIRFLO' (for example) in game controllers is actually 'AIRFLO '.

To fix this: (This fix is only for more advanced users and under no circumstances are you to change/delete any registry entries except for the ones I tell you to now)

- Open the registry. Go to Start-Run, type regedit and hit enter.

- Navigate using the folder structure on the left to the following folder:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\MediaProperties\PrivateProperties\Joystick\OEM\

There will be numerous folders underneath that one (you expand folders by clicking the + next to them btw) each called something different along the lines of VID_xxxx&PID_xxxx. (see below)



One of these folders will contain a key called OEMName that will have your controllers name as its data value. Open the key and you should see something like the above picture where there are clearly extra spaces after the gamepad name.

Remove all the extra spaces until the gamepad name is exactly the same as the name you entered into the excel file. UPDATE: If you have a Mad Catz Game Controller, change this name to XBOX 360 For Windows (Controller)

Hit ok and close the registry. Your controller should now be identified by name in FIFA09

Obviously edit the registry at your own risk, but I assure you if thats the only value you change nothing should go wrong.
__________________
nutunited
Get the most out of FIFA09!

Controller problems?

Last edited by nutunited; 01-11-2008 at 01:50 PM..
nutunited is offline   Reply With Quote