Home| What is Steam| Community| News| Cyber Cafés| Forums| Support| Stats

Go Back   Steam Users' Forums > Steam Game Discussions > D - G > Grand Theft Auto series
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-03-2008, 02:15 PM   #16
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
Quote:
Originally Posted by The-Keeper View Post
One way to work around the XBOX-360-Controller restriction is to emulate it.

I'm sharing my thoughts now: The main file responsible for Joystick / Gamepad input in DirectX Games are the files called "xinput1_*.dll" in the C:\WINDOWS\system32 folder.

So on my system there are 3 of them: xinput1_1.dll, xinput1_2.dll, xinput1_3.dll. Now some C-programming guys took the time to rewrite the .dll file and rewrote it to resemble to the "XBOX 360 Controller for Windows". (Info: He reprogrammed it mainly for his "Logitech Cordless RumblePad 2", but most probably it's compatible to most newer gamepads.)

Here's a guide including a download-link: Link

I haven't managed to get it working for GTA 4 atm... trying some stuff and letting you know if I've success with this solution.
Good news! I tried your method and actually got it to work. If you open the GTAIV.exe with some editor (or hexeditor) like notepad++ and search for xinput you will find that they in this case call xinput9_1_0.dll so if you have one, just backup that one somewhere and then replace it by renaming the xinput emulator from your link to xinput9_1_0.dll

Happy gaming, not sure how well everything is mapped but it'll have to do for now. Credits to The-Keeper for the tip.

Last edited by LentoMan : 12-03-2008 at 02:19 PM.
LentoMan is offline   Reply With Quote
Old 12-03-2008, 02:56 PM   #17
Mayphisto
 
Join Date: Dec 2008
Reputation: 0
Posts: 1
Quote:
Originally Posted by LentoMan View Post
Good news! I tried your method and actually got it to work. If you open the GTAIV.exe with some editor (or hexeditor) like notepad++ and search for xinput you will find that they in this case call xinput9_1_0.dll so if you have one, just backup that one somewhere and then replace it by renaming the xinput emulator from your link to xinput9_1_0.dll

Happy gaming, not sure how well everything is mapped but it'll have to do for now. Credits to The-Keeper for the tip.
Right, that works! File xinput9_1_0.dll should also be in the windows\system32 directory.
Only diffulty left is to figure out which key on your gamepad does what
Mayphisto is offline   Reply With Quote
Old 12-03-2008, 03:01 PM   #18
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
Quote:
Originally Posted by Mayphisto View Post
Right, that works! File xinput9_1_0.dll should also be in the windows\system32 directory.
Only diffulty left is to figure out which key on your gamepad does what
Seems there is a modified version of the .dll where there is an ini file where you can map your buttons, I haven't tried it but sure could come in handy since some buttons were mapped wrong for me:
http://tocaedit.com/forum/dload.php?...le&file_id=111
LentoMan is offline   Reply With Quote
Old 12-03-2008, 03:35 PM   #19
Stevel024
 
Join Date: Dec 2008
Reputation: 1
Posts: 91
Quote:
Originally Posted by LentoMan View Post
Good news! I tried your method and actually got it to work. If you open the GTAIV.exe with some editor (or hexeditor) like notepad++ and search for xinput you will find that they in this case call xinput9_1_0.dll so if you have one, just backup that one somewhere and then replace it by renaming the xinput emulator from your link to xinput9_1_0.dll

Happy gaming, not sure how well everything is mapped but it'll have to do for now. Credits to The-Keeper for the tip.
It won't let me replace the original xinput9_1_0.dll
in my system32 folder, it keeps saying I don't have permission
Stevel024 is offline   Reply With Quote
Old 12-03-2008, 03:44 PM   #20
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
Quote:
Originally Posted by Stevel024 View Post
It won't let me replace the original xinput9_1_0.dll
in my system32 folder, it keeps saying I don't have permission
Are you member of the administrator group on the computer?

run> cmd

Then in the console right click and paste this (do not change anything):
net user "%username%"

Check if you are member of Administrators for Local Group Memberships
LentoMan is offline   Reply With Quote
Old 12-03-2008, 03:45 PM   #21
Stevel024
 
Join Date: Dec 2008
Reputation: 1
Posts: 91
It has nothing to do with the administrators or stuff. I looked at the rights and admins only have the ability to read and execute, no modifying or anything. Microsoft protected that file so that I couldn't remove it.
Stevel024 is offline   Reply With Quote
Old 12-03-2008, 04:22 PM   #22
The-Keeper
 
Join Date: Nov 2007
Reputation: 0
Posts: 8
So, to sum things up:

*******************************
Problem:
Officially only the XBOX-360 Controller is allowed as a gamepad to play GTA 4 on Windows.

>> How can you make another Gamepad working?
Solution:
Emulate! --> Trick the System/DirectX to take your Non-Microsoft Gamepad as a XBOX-360 Controller.
*******************************

So here again how it's done:
(Credits for everything goes to Racer_S from ToCaEdit.com)

1) Close all applications which need DirectX (Games and other 2D/3D Software/Graphic Programs).

2) Download the RAR-file below and extract it in a temporary folder of your choice.

Download: RAR-Archive (with the necessary files)

3) Go to "C:\WINDOWS\system32", locate a file called xinput9_1_0.dll (for users with DirectX 9.x installed) and BACK IT UP! Note: I assume that, if you've installed DirectX 10 - probably on Vista - the file could be like "xinput10_x_y.dll"

4) Replace the orignial "xinput9_1_0.dll" in system32 with the downloaded one. (Note: DirectX10 users would need to rename the downloaded .dll accordingly.)

5) Make sure that your Gamepad is fully ready and atop of the list in the Gamepad settings of Windows. (Note: The modified .dll will only emulate the controller first in that list --> matters if you've multiple gamepads)

6) Try it out! Start GTA4 and listen to a beep sound after the Rockstar-Logo. This beep has been programmed into the .dll for letting you know that the emulation takes effect. Now try it out, change controller settings and play a bit.

Important Note: Vibrations won't work and right and left trigger are NOT analog with that .dll! We didn't find a better modified .dll yet.

If it's all fine with you now, stop reading and enjoy.
But if you're unsatisfied in how your gamepad is layoutet now, read on:

*******************************

If you're experiencing strange button-setup with your gamepad, you'll need to adjust the button-settings in a separate file called "xbox360cemu.ini". The xinput9_1_0.dll was originally reprogrammed for a Logitech Cordless Rumblepad2. If your gamepad has a completely different layout, you'll need to adjust it to yours manually in this .ini file.

You should read the Config.txt file which was included in my .rar file.



Hoping this solution reduces the frustration a bit.

Take care.

Last edited by The-Keeper : 12-03-2008 at 04:24 PM.
The-Keeper is offline   Reply With Quote
Old 12-03-2008, 04:24 PM   #23
Stevel024
 
Join Date: Dec 2008
Reputation: 1
Posts: 91
Quote:
Originally Posted by The-Keeper View Post
So, to sum things up:

*******************************
Problem:
Officially only the XBOX-360 Controller is allowed as a gamepad to play GTA 4 on Windows.

>> How can you make another Gamepad working?
Solution:
Emulate! --> Trick the System/DirectX to take your Non-Microsoft Gamepad as a XBOX-360 Controller.
*******************************

So here again how it's done:

1) Close all applications which need DirectX (Games and other 2D/3D Software/Graphic Programs).

2) Download the RAR-file below and extract it in a temporary folder of your choice.

Download: RAR-Archive (with the necessary files)

3) Go to "C:\WINDOWS\system32", locate a file called xinput9_1_0.dll (for users with DirectX 9.x installed) and BACK IT UP! Note: I assume that, if you've installed DirectX 10 - probably on Vista - the file could be like "xinput10_x_y.dll"

4) Replace the orignial "xinput9_1_0.dll" in system32 with the downloaded one. (Note: DirectX10 users would need to rename the downloaded .dll accordingly.)

5) Make sure that your Gamepad is fully ready and atop of the list in the Gamepad settings of Windows. (Note: The modified .dll will only emulate the controller first in that list --> matters if you've multiple gamepads)

6) Try it out! Start GTA4 and listen to a beep sound after the Rockstar-Logo. This beep has been programmed into the .dll for letting you know that the emulation takes effect. Now try it out, change controller settings and play a bit.

Important Note: Vibrations won't work and right and left trigger are NOT analog with that .dll! We didn't find a better modified .dll yet.

If it's all fine with you now, stop reading and enjoy.
But if you're unsatisfied in how your gamepad is layoutet now, read on:

*******************************

If you're experiencing strange button-setup with your gamepad, you'll need to adjust the button-settings in a separate file called "xbox360cemu.ini". The xinput9_1_0.dll was originally reprogrammed for a Logitech Cordless Rumblepad2. If your gamepad has a completely different layout, you'll need to adjust it to yours manually in this .ini file.

You should read the Config.txt file which was included in my .rar file.



Hoping this solution reduces the frustration a bit.

Take care.
What do I do if I can't replace the original XInput9_1_0.dll??? I am an administrator so that ain't the problem
Stevel024 is offline   Reply With Quote
Old 12-03-2008, 04:29 PM   #24
thirdeye
 
Join Date: Nov 2008
Reputation: 0
Posts: 10
Quote:
Originally Posted by NovaBlack View Post
thats utterly ridiculous.

Does it say anywhere on the box that ONLY 360 controllers are supported? If not its false advertising.
I think the correct term we are looking for here is "whoring
the masses" :|

MONOPOLISATION!
thirdeye is offline   Reply With Quote
Old 12-03-2008, 04:45 PM   #25
Stevel024
 
Join Date: Dec 2008
Reputation: 1
Posts: 91
OMFG YES I DID IT HAHA MICROSOFT TAKE THAT I OWNED YOU MWAHHAHAHAH

I managed to take ownership of the file and then give full control and I deleted the file MWHAHAHAHAHHAHA
Stevel024 is offline   Reply With Quote
Old 12-03-2008, 04:46 PM   #26
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
Quote:
Originally Posted by Stevel024 View Post
What do I do if I can't replace the original XInput9_1_0.dll??? I am an administrator so that ain't the problem
Try unlocker:
http://ccollomb.free.fr/unlocker/

If that doesn't work, try pendmoves:
http://technet.microsoft.com/en-us/s.../bb897556.aspx

Edit: Neverming, you figured it out I see
LentoMan is offline   Reply With Quote
Old 12-03-2008, 04:53 PM   #27
The-Keeper
 
Join Date: Nov 2007
Reputation: 0
Posts: 8
Quote:
Originally Posted by Stevel024 View Post
What do I do if I can't replace the original XInput9_1_0.dll??? I am an administrator so that ain't the problem
  • Make sure that you have NO applications and NO processes running which need DirectX.
  • Try it the oldscool way: 1) Open the Command-Prompt of Windows (found under Utilities in the start-menu), right-click on it and click on "Execute as..." 2) Choose Administrator and enter admin-password if needed 3)Now go to the directory by entering "cd C:\Windows\system32\" 4) To delete the file, write "del xinput9_1_0.dll"
  • If that also doesnt work you would need to double-check processes and maybe start in safe-mode. Also check the Permissions of the computer's users. Check Folder-permissions, if the file is locked and so on.
Hope it works for you.
The-Keeper is offline   Reply With Quote
Old 12-03-2008, 04:57 PM   #28
Stevel024
 
Join Date: Dec 2008
Reputation: 1
Posts: 91
Thanks 4 the help, but I did a google on TrustedInstaller and changed the ownership. Once I did that then I had full control of the file . Works great btw, now I just gotta remap everything.

Thanks

Edit: I also have a cordless rumblepad 2, but the buttons were mapped wrong, just fyi.
Stevel024 is offline   Reply With Quote
Old 12-03-2008, 11:33 PM   #29
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
Although we found a workable solution, there are some news regarding this issue here:
http://www.rockstargames.com/support...&submit=Submit

Quote:
Currently Supported Controllers
We are actively working on adding support for a larger variety of gamepads. For now here is a complete list of all controllers compatible with Grand Theft Auto IV PC:

* XBOX 360 for Windows (Controller)
* Wireless XBOX 360 Controller
* Joytech 360 pad (Controller)
* Pelican TSZ360 Pad (Controller)
* MadCatz 360 (Controller)
* MadCatz 360 Pro (Controller)
* MadCatz 360 MicroCon (Controller)
* Bigben Controller BB7201 (Controller)
* MadCatz Arcade GameStick 360
* Logitech Chillstream

Last edited by LentoMan : 12-03-2008 at 11:37 PM.
LentoMan is offline   Reply With Quote
Old 12-04-2008, 12:28 PM   #30
LentoMan
 
Join Date: Dec 2008
Reputation: 8
Posts: 19
For those of you with a Saitek Cyborg Rumble Pad,
This one: http://www.saitek.com/uk/prod/p3600.htm

Here is a (complete?) config, I spent around 2 hours on it to get it right:
http://www.lentoman.net/downloads/misc/xbox360cemu.ini

ini is for this fix:
http://forums.steampowered.com/forum...8&postcount=22

Last edited by LentoMan : 12-04-2008 at 12:31 PM.
LentoMan is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -8. The time now is 01:11 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site Content Copyright Valve Corporation 1998-2009, All Rights Reserved.