Quantcast

Jump to content

» «
Photo

[REL|III,VC|ASI] GInput

DualShock 3 XBOX 360 Controller PS3 X360 XInput
344 replies to this topic
Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#1

Posted 01 July 2013 - 02:20 PM Edited by SilentPL, 07 September 2013 - 08:57 PM.

a5wh.png


Hey, what's going on? You plugged in your PlayStation or XBOX pad in hopes that you'll be able to play GTA on your PC just like you used to play on the console, and for some reason you can't make the controls work properly? You can't use full possibilities of your brand new, XInput-compatible pad? Maybe you want to refresh your childhood memories after ages of playing IV and you're sick of the old-fashioned controls?
If any of these apply to you, GInput is the mod you've been looking for! This modification completely rewrites III/Vice City controls handling and ditches DirectInput in favour of XInput. This way, your PlayStation 3 and XBOX 360 pads will be handled by the game just perfectly, taking advantage of all their features, including analog triggers.

This modification features:
  • Complete XInput support, so pads are mapped to match console versions perfectly (including Start button, which can't be mapped on PC version without this modification).
  • Proper vibration support - something that was cut from all PC versions of the game!
  • FIVE different control mappings - four setups matching PS2 selectable setups and fifth one being a recreation of GTA IV controls!
  • Pad buttons in In-Game helps, replacing PC key names (depending on user's choice, either PlayStation or XBOX buttons are shown).
  • An INI file with tons of options - including toggleable vibration, selecting controls setup, Invert Look option from console versions, axis inversion options from San Andreas and more!
  • Automatic switching between keyboard & mouse and pad controls, basing on last device input.
  • Support for Guide/PS button. The button is fully functional and can show your Steam Overlay menu if you launched the game via Steam!
Screenshots

III version:
8rvk.jpgtsf5.jpg5ag7.jpg

Vice City version:
cy30.jpgc45c.jpg6xe.jpg
qo97.jpglxfr.jpg

Vice City version (running on GTA: Liberty City):
wqq9.jpg1wcc.jpg


Footages


http://youtu.be/lgspMapwDgM


http://youtu.be/e9rGqtJDtXc


Download

As GTAGarage widget is gone for now:
http://www.gtagarage...ow.php?id=24272


Usage

The changes take effect automatically, no need to toggle anything when the game is launched.
If you're using any of THESE, mods, you should try downloading the COMPATIBILITY SCRIPT. This way they will work fine with all GInput features.


Supported games
  • GTA III 1.0 (all versions)
  • GTA III 1.1 (all versions, including Steam version)
  • GTA VC 1.0 (all versions)
  • GTA VC 1.1 (all versions, including Steam version)
Credits

Thanks to Deji for creating original GInput for San Andreas, which acted as an inspiration for creating this modification.
Also huge thanks to Ash_735 for dealing with all the boring texture stuff smile.gif
Thanks to Emillister for creating GTA IV buttons for GInput.
  • Blackbird88, ToyGT_one, Nlwt and 2 others like this

Garju67
  • Garju67

    Soldier

  • Members
  • Joined: 10 Jul 2011

#2

Posted 01 July 2013 - 02:37 PM Edited by Garju67, 01 July 2013 - 02:39 PM.

Nice, is SA version planned ? smile.gif


Oops, just see the credits. So if I want to use this in SA, I have to download Deji mod right ?

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#3

Posted 01 July 2013 - 02:40 PM

QUOTE (Garju67 @ Jul 1 2013, 14:37)
Nice, is SA version planned ? smile.gif


QUOTE (SilentPL @ Jul 1 2013, 14:20)
(for San Andreas version, go HERE)


Forgot to link it, but hey, Credits state clearly SA version was already released by Deji tounge.gif

@up
Ninja. Yes, use his mod for SA.

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#4

Posted 01 July 2013 - 08:27 PM Edited by SilentPL, 01 July 2013 - 11:41 PM.

Doubleposting with decent stuff:

Here's a control map of all 5 GInput sets (applies to Vice City, III sets may be a bit different depending on how R* did them). Do you think R* did a good job with these sets? tounge.gif

http://pastebin.com/Zwg1Px64

Been wondering what to do with looking around in my own (5th) set, since L2 and R2 are used for braking/accelerating. I think the way I have chosen is fine though.


Edit:

Home/Guide mapped to show Steam Overlay (only if the game is launched via Steam, obviously)! That's quite an achievement.

lpgunit
  • lpgunit

    It's L, as in Lpgunit, not I.

  • Feroci Racing
  • Joined: 24 May 2008
  • Philippines

#5

Posted 02 July 2013 - 12:24 AM

Lol I've been waiting for this one, as I couldn't finish Demolition Man using the keyboard.

ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#6

Posted 02 July 2013 - 09:22 AM

By the way, i'm working on compatibility script for these cleos:
1) Manual Aiming (done)
2) Vehicle Camera Movement (in progress)
3) Swimming
and maybe some others. It designed only for mode 5(IV controls).

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#7

Posted 02 July 2013 - 10:39 PM

Nearing completion now! Just managed to hack into menu helpers so they display controller buttons if you're using pad (they revert to keyboard helps upon detecting keyboard input):

user posted image

Gonna start porting the mod to other VC versions soon, and then III version. Stay tuned smile.gif

Frank.s
  • Frank.s

    PingPang

  • Feroci Racing
  • Joined: 15 Apr 2008
  • None

#8

Posted 02 July 2013 - 11:05 PM

Awesome to see this made public, your work is always quality. cookie.gif

Ash_735
  • Ash_735

    1 627 826 3789

  • Feroci Racing
  • Joined: 15 Nov 2005
  • None
  • Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#9

Posted 02 July 2013 - 11:21 PM

Been trying this out now, it works very well, makes the game feel more modern with auto-switching, etc, plus there's something really cool about hitting the Xbox Guide button when someone sends you a message on Steam and actually having the overlay pop up right away, very nice touch. tounge.gif

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#10

Posted 02 July 2013 - 11:25 PM Edited by SilentPL, 02 July 2013 - 11:56 PM.

OK, a quick question, should Steam Overlay pause the game or not?

Forget it, looks like Steam does not allow checking whether Overlay is active or not.

Alt
  • Alt

    BugBear's Fan

  • Members
  • Joined: 09 May 2007

#11

Posted 03 July 2013 - 12:17 AM

QUOTE (ThirteenAG @ Tuesday, Jul 2 2013, 09:22)
By the way, i'm working on compatibility script for these cleos:
1) Manual Aiming (done)
2) Vehicle Camera Movement (in progress)
3) Swimming
and maybe some others. It designed only for mode 5(IV controls).

What 'swimming' script do you referring to?

Methical
  • Methical

    Gramps

  • Feroci Racing
  • Joined: 23 May 2008
  • New-Zealand

#12

Posted 03 July 2013 - 07:35 AM

QUOTE (SilentPL @ Tuesday, Jul 2 2013, 23:25)
OK, a quick question, should Steam Overlay pause the game or not?

Forget it, looks like Steam does not allow checking whether Overlay is active or not.

Well if you push the Guide/PS button, can't you pause the game then load Steam Overlay?
If you push it again, it hides the overlay, and resumes game (or takes you to the menu)?

I hear that Deji might be back in 2-3 weeks .. I hope you will help him in adding some of these features into the SA Edition icon14.gif

ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#13

Posted 03 July 2013 - 08:47 AM

QUOTE (Alt @ Wednesday, Jul 3 2013, 04:17)
QUOTE (ThirteenAG @ Tuesday, Jul 2 2013, 09:22)
By the way, i'm working on compatibility script for these cleos:
1) Manual Aiming (done)
2) Vehicle Camera Movement (in progress)
3) Swimming
and maybe some others. It designed only for mode 5(IV controls).

What 'swimming' script do you referring to?

http://www.gtagarage...ow.php?id=15167

ToyGT_one
  • ToyGT_one

    Happy birthday GTA V and me!

  • Members
  • Joined: 17 Sep 2012
  • None

#14

Posted 03 July 2013 - 10:33 AM

QUOTE (SilentPL @ Tuesday, Jul 2 2013, 22:39)
Nearing completion now! Just managed to hack into menu helpers so they display controller buttons if you're using pad (they revert to keyboard helps upon detecting keyboard input):

user posted image

Gonna start porting the mod to other VC versions soon, and then III version. Stay tuned smile.gif

Which version you done with? 1.0?

Also can I play with wireless control (With dualshock 3) in this mod?

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#15

Posted 03 July 2013 - 10:37 AM Edited by SilentPL, 03 July 2013 - 02:46 PM.

QUOTE (methodunderg @ Jul 3 2013, 07:35)
Well if you push the Guide/PS button, can't you pause the game then load Steam Overlay?
If you push it again, it hides the overlay, and resumes game (or takes you to the menu)?

No game does that! tounge.gif


QUOTE (ToyGT_one @ Jul 3 2013, 10:33)
Also can I play with wireless control (With dualshock 3) in this mod?

I guess, as long as you have MotioninJoy/x360ce and anything to receive signal from the pad. I use a wired DualShock 3 pad and it works perfectly.


EDIT:
QUOTE (lpgunit @ Tuesday, Jul 2 2013, 02:24)
Lol I've been waiting for this one, as I couldn't finish Demolition Man using the keyboard.

Just tried it, plays very well smile.gif Some helps are wrong (R2 to drop the bomb, but in IV controls mode it's L1), but it's not my fault. Can't be fixed without altering the GXT, which I don't want to do. 95% of the helps are OK though.

ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#16

Posted 03 July 2013 - 07:27 PM Edited by ThirteenAG, 17 July 2013 - 09:11 AM.

Be prepared for GInput VC release, if you have any of the following mods:
1) Manual aiming v1.5/ Grenader (Hold Aim + UP button to throw grenade or molotov)
2) VehCameraMovement v2.0a
3) Swimming/Climbing script from Parkour Cleo v4.1
4) Hit Indicator
5) Walk (compatibility with crosshair feature)
6) Bonus scripts v2 (fixed bug with text boxes, but not with subtitles)
7) Quicksave (F5 or Guide button to quicksave to first slot)
8) Gasoline (press Square / X to refuel)
9) Taxi Service (Press DOWN button to call a cab)
GInput compatibility script:

Download || Source code

Scripts should have their original names, or you can modify the source code to fit your game. Script was made only for usage with controls set 5, aka IV controls.

Ash_735
  • Ash_735

    1 627 826 3789

  • Feroci Racing
  • Joined: 15 Nov 2005
  • None
  • Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#17

Posted 03 July 2013 - 08:36 PM

I have been told to post this, I have no idea what it is:

user posted image

Oh yeah, it's the directional stick button icons I did for the mod. tounge.gif

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#18

Posted 03 July 2013 - 09:07 PM Edited by SilentPL, 04 July 2013 - 03:06 PM.

Also, GTA IV controls have been finished, now you can even rotate the helicopter by using L1 and R1.

I really like IV controls now.


EDIT:
Just fooling around:

user posted image


EDIT2:
Working on GTA LC code so it supports GInput fully - next GTA LC version will probably work perfectly with the mod, being even more accurate than VC (I don't want to edit VC GXT, but that results in around 5% of the helps being wrong):

user posted image

TJGM
  • TJGM

    James May is the best May!

  • Feroci Racing
  • Joined: 14 Jun 2011
  • Ireland

#19

Posted 04 July 2013 - 03:31 PM

Sooo.. I just set-up my PS3 controller for the first time ever on PC to try out this mod, then I realise its not even released yet.
Ah well, any information on when we can expect it to be released?

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#20

Posted 04 July 2013 - 03:47 PM

QUOTE (TheJAMESGM @ Thursday, Jul 4 2013, 17:31)
Ah well, any information on when we can expect it to be released?

Next week, I guess? Stuff is still being worked on.

yojo2
  • yojo2

    ~y

  • Members
  • Joined: 06 Dec 2008
  • Poland
  • Most Knowledgeable [Technology] 2013
    Helpfulness Award

#21

Posted 04 July 2013 - 04:46 PM

I haven't played III-era GTAs on the PC for a while... but this mod is just epic, I'll need to try this out icon14.gif Thanks in advance tounge.gif

Jitterdoomer
  • Jitterdoomer

    Player Hater

  • Members
  • Joined: 05 Jan 2011
  • United-States

#22

Posted 04 July 2013 - 04:50 PM

SilentPL, in San Andreas, there's a PS2 button layout are in the txd folder if you browse through it.

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#23

Posted 04 July 2013 - 04:51 PM Edited by SilentPL, 04 July 2013 - 06:10 PM.

III/VC PS2 have the buttons inside fonts.txd character map - I didn't use them, I have used San Andreas way instead with a separate TXD for buttons. This way I won't mess up people's custom fonts.

Unless you meant the controller mappings - if so, I got them from the EXE.

EDIT:
More GTA LC with IV controls:

user posted image


EDIT2:
FINALLY passed that mission (with using adrenaline pill)! Good thing though, made some adjustments in IV controls to make them more balanced smile.gif

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#24

Posted 06 July 2013 - 09:00 PM

OK, so the mod has reached a state I may call finished, now making the code compatible with all Vice City EXEs, then GInputIII!

lpgunit
  • lpgunit

    It's L, as in Lpgunit, not I.

  • Feroci Racing
  • Joined: 24 May 2008
  • Philippines

#25

Posted 07 July 2013 - 03:26 AM

QUOTE (SilentPL @ Saturday, Jul 6 2013, 21:00)
OK, so the mod has reached a state I may call finished, now making the code compatible with all Vice City EXEs, then GInputIII!

That's 'swell! Will there be separate ASIs for VC and III, or are you going to incorporate compatibility with the two games into a single library?

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#26

Posted 07 July 2013 - 12:07 PM Edited by SilentPL, 07 July 2013 - 12:09 PM.

I planned to unify them at first, but due to the fact they'll have different TXD files anyway they'll end up being separated.

I'll release them at the same time though.

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#27

Posted 15 July 2013 - 01:28 PM

Adding VC Steam EXE support took WAY longer than expected, but it's finally done:

user posted image

Now - GInputIII icon14.gif

ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#28

Posted 16 July 2013 - 04:19 PM

Controls configuration with compatibility script:
CODE
Required INI configuration:
ControlsSet=5
HotkeyToDriveby=1
GuideLaunchesOverlay=0

Setup 5 - GTA IV styled controls, with compatibility script and standart controls ingame:
ON FOOT:
 - Left analog stick - Movement/Move crosshair (with SwapAxesDuringAiming enabled)/Sniper zoom (with SwapAxesDuringAiming disabled)
 - Right analog stick - Look around/Move crosshair (with SwapAxesDuringAiming disabled)/Sniper zoom (with SwapAxesDuringAiming enabled)/Switch targets (when aiming)
 - D-Pad Up - Throw greande/molotov (with grenader script)
 - D-Pad Down - Call a cab (with Taxi script)
 - D-Pad Left - Previous weapon
 - D-Pad Right - Next weapon
 - Circle / B - Melee attack
 - Cross / A - Sprint
 - Square / X - Jump
 - Triangle / Y - Enter vehicle
 - Select / Back - Next camera
 - Start - Pause menu
 - L1 / LB - Answer phone/Collect pick-up
 - R1 / RB - Center camera (Classic camera only, but with some scripts it could be unavailable)
 - L2 / LT - Aim (with Manual Aiming script, L2/LT + D-Pad Right - first person aiming for sniper rifles and rocket launchers, with Walk mod - show crosshair)
 - R2 / RT - Fire
 - L3 / LS - Duck
 - R3 / RS - Look behind
 - Home / Guide - Quicksave to first slot, with quicksave script. No need for GuideLaunchesOverlay=0, of you don't have it. Show Steam Overlay (if available and GuideLaunchesOverlay enabled).

IN VEHICLE:
 - Left analog stick - Steer
 - Right analog stick - Move turret (with Vehicle Camera Movement mod - also move camera)
 - D-Pad Up - Unused
 - D-Pad Down - with Radar Zoom mod, radar zoom out
 - D-Pad Left - Previous radio station
 - D-Pad Right - Next radio station
 - Circle / B - Unused
 - Cross / A - Handbrake
 - Square / X - with Gasoline mod, refuel
 - Triangle / Y - Exit vehicle
 - Select / Back - Next camera
 - Start - Pause menu
 - L1 / LB - Fire
 - R1 / RB + Right analog stick - Look left/Look right/Look behind
 - L2 / LT - Brake
 - R2 / RT - Accelerate
 - L3 / LS - Horn
 - R3 / RS - Sub-mission, with Vehicle Camera Movement - also look behind
 - Home / Guide - Show Steam Overlay (if available and GuideLaunchesOverlay enabled)

I tested all story missions with it, works like a charm. icon14.gif

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci Racing
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#29

Posted 16 July 2013 - 10:41 PM

First version of GInputVC is now up, enjoy!

GInputIII will come later, probably next week. III has more differences from VC than I thought.

nkjellman
  • nkjellman

    Boss

  • Members
  • Joined: 28 Aug 2008
  • United-States

#30

Posted 16 July 2013 - 11:17 PM

Looks good. Didn't see the VC Xbox Standard controls.

CODE
Gameplay Controls
Grand Theft Auto: Vice City

ON FOOT
Directional Pad Right = Next Weapon, Left = Previous Weapon
Left Thumbstick Walk, (button) Crouch
Right Thumbstick Look Around, (button) Look Behind
A Button Run
X Button Jump
White Button Change Camera View
Left Trigger Target / Answer Cell Phone
Right Trigger Fire Weapon / Attack

IN VEHICLE
Left Thumbstick Steer, (button) Horn
Right Thumbstick Drive-by / Look Around, (button) Fire Weapon
B Button Hand Brake (Fire missiles when in Attack Helicopter)
X Button Sub-Mission Toggle (in Emergency Vehicle)
Y Button Get Into / Out of Vehicle
White Button Camera Select
Black Button Radio Stations
Left Trigger Reverse / Brake (Descend in Helicopter)
Right Trigger Accelerate (Ascend in Helicopter)

Identical to IV controls on this. But I think when in vehicle, moving the right stick half way just looks around.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users