Defense Grid & Defense Grid 2 Beta (Xbox 360)

Share and discuss profiles
Post Reply
scooterbaga
Posts: 9
Joined: 25 Apr 2012, 22:11

Defense Grid & Defense Grid 2 Beta (Xbox 360)

Post by scooterbaga »

Hello,

I put together a profile for Defense Grid that utilizes the keyboard shortcuts not available from the built-in controller scheme. The profile allows for immediate tower placement, upgrading and selling, etc. It's also very usable for the DG2 beta. (At least as of 5/28/2014, I'm betting it'll change multiple times prior to launch.)

While the profile itself is pretty straightforward, getting it to work is not. Since DG1 already has controller support, it needs to be disabled before the Xpadder profile will work properly. I was able to do this via x360ce using the "Clear" (empty) preset. (x360ce.App-2.1.2.191.zip at code.google) Once you have the ini and xinput1_3.dll from x360ce alongside the game exe and setup to block all inputs from the gamepad, the Xpadder profile below should work great. DG2 doesn't seem to have gamepad support yet, so the x360ce files may not be necessary for that exe. (I added them to mine anyway and all is well. YMMV.)

Code: Select all

;--- Xpadder Profile File ---
DataType=Profile
Version=2012.12.31

[Profile Settings]

[Set Settings]
Set1Name=Main
Set1StickDeadZones=84,84
Set1StickDiagonalSizes=17,31
Set1Stick2Mode=Vertical
Set2Name=Tower Select
Set2StickDeadZones=83,84
Set2StickDiagonalSizes=40,40
Set2Stick1Mode=Vertical
Set2Stick2Mode=Vertical
Set3Name=Mouse
Set3StickDeadZones=84,84
Set4StickDeadZones=84,84
Set5StickDeadZones=84,84
Set6StickDeadZones=84,84
Set7StickDeadZones=84,84
Set8StickDeadZones=84,84

[Assignments]
Set1Button1Name=Select
Set1Button1Slots=Enter,Space
Set1Button2Name=Cancel
Set1Button2Slots=Escape
Set1Button4Name=Upgrade Tower
Set1Button4Slots=U
Set1Button5Name=Tower Select (Hold)
Set1Button5SetSelect=1
Set1Button6Name=Mouse (Hold)
Set1Button6SetSelect=2
Set1Button7Name=Fraps Shot
Set1Button7Slots=F12
Set1Button8Name=Pause
Set1Button8Slots=Escape
Set1DPadUpName=Tactical View
Set1DPadUpSlots=T
Set1DPadRightName=Fast Forward
Set1DPadRightSlots=F
Set1DPadDownName=Inspect Alien
Set1DPadDownSlots=Forward-Slash
Set1DPadLeftName=HUD Toggle
Set1DPadLeftSlots=Home
Set1Stick1UpName=Up
Set1Stick1UpSlots=Arrow Up
Set1Stick1UpTurboRate=23
Set1Stick1RightName=Right
Set1Stick1RightSlots=Arrow Right
Set1Stick1RightTurboRate=25
Set1Stick1DownName=Down
Set1Stick1DownSlots=Arrow Down
Set1Stick1DownTurboRate=25
Set1Stick1LeftName=Left
Set1Stick1LeftSlots=Arrow Left
Set1Stick1LeftTurboRate=25
Set1Stick2UpName=Zoom In
Set1Stick2UpSlots=Page Down
Set1Stick2UpTurbo=1
Set1Stick2UpTurboRate=33
Set1Stick2UpMouseSpeed=36
Set1Stick2RightName=Rotate Right
Set1Stick2RightSlots=Q
Set1Stick2RightTurbo=1
Set1Stick2RightTurboRate=31
Set1Stick2RightMouseSpeed=36
Set1Stick2DownName=Zoom Out
Set1Stick2DownSlots=Page Up
Set1Stick2DownTurbo=1
Set1Stick2DownTurboRate=33
Set1Stick2DownMouseSpeed=36
Set1Stick2LeftName=Rotate Left
Set1Stick2LeftSlots=TAP TIME 0.01s,E
Set1Stick2LeftTurbo=1
Set1Stick2LeftTurboRate=33
Set1Stick2LeftMouseSpeed=36
Set1TriggerLeftName=Orbital Laser
Set1TriggerLeftSlots=L
Set1TriggerRightName=Left Click
Set1TriggerRightSlots=Left Mouse Button (1)
Set2Button1Name=Select
Set2Button1Slots=Enter,Space
Set2Button2Name=Cancel
Set2Button2Slots=Escape
Set2Button3Name=Sell Tower
Set2Button3Slots=Left Shift,U
Set2Button4Name=Upgrade Tower
Set2Button4Slots=U
Set2Button5Name=Main (Release)
Set2Button5SetSelect=0
Set2Button7Name=Reload Checkpoint
Set2Button7Slots=Backspace
Set2Button8Name=Pause
Set2Button8Slots=Escape
Set2Button9Name=Concussion/
Set2Button9Slots=9
Set2Button10Name=Command/
Set2Button10Slots=0
Set2DPadUpName=Tactical View
Set2DPadUpSlots=T
Set2DPadRightName=Fast Forward
Set2DPadRightSlots=F
Set2DPadDownName=Inspect Alien
Set2DPadDownSlots=Forward-Slash
Set2DPadLeftName=HUD Toggle
Set2DPadLeftSlots=Home
Set2Stick1UpName=Machine Gun
Set2Stick1UpSlots=1
Set2Stick1RightName=Laser
Set2Stick1RightSlots=3
Set2Stick1DownName=Temporal/Cannon
Set2Stick1DownSlots=4
Set2Stick1LeftName=Inferno
Set2Stick1LeftSlots=2
Set2Stick2UpName=Meteor/Temporal
Set2Stick2UpSlots=5
Set2Stick2RightName=Tesla/
Set2Stick2RightSlots=7
Set2Stick2DownName=Missile
Set2Stick2DownSlots=8
Set2Stick2LeftName=Cannon/
Set2Stick2LeftSlots=6
Set3Button1Name=Enter
Set3Button1Slots=Enter
Set3Button2Name=Cancel
Set3Button2Slots=Escape
Set3Button6Name=Main (Release)
Set3Button6SetSelect=0
Set3Button8Name=Pause
Set3Button8Slots=Escape
Set3DPadUpName=Tactical View
Set3DPadUpSlots=T
Set3DPadRightName=Fast Forward
Set3DPadRightSlots=F
Set3DPadDownName=Inspect Alien
Set3DPadDownSlots=Forward-Slash
Set3DPadLeftName=HUD Toggle
Set3DPadLeftSlots=Home
Set3Stick1UpName=Up Faster
Set3Stick1UpSlots=Mouse Move Up
Set3Stick1UpMouseSpeed=36
Set3Stick1RightName=Right Faster
Set3Stick1RightSlots=Mouse Move Right
Set3Stick1RightMouseSpeed=36
Set3Stick1DownName=Down Faster
Set3Stick1DownSlots=Mouse Move Down
Set3Stick1DownMouseSpeed=36
Set3Stick1LeftName=Left Faster
Set3Stick1LeftSlots=Mouse Move Left
Set3Stick1LeftMouseSpeed=36
Set3Stick2UpName=Up Fastest
Set3Stick2UpSlots=Mouse Move Up
Set3Stick2UpMouseSpeed=115
Set3Stick2RightName=Right Fastest
Set3Stick2RightSlots=Mouse Move Right
Set3Stick2RightMouseSpeed=115
Set3Stick2DownName=Down Fastest
Set3Stick2DownSlots=Mouse Move Down
Set3Stick2DownMouseSpeed=115
Set3Stick2LeftName=Left Fastest
Set3Stick2LeftSlots=Mouse Move Left
Set3Stick2LeftMouseSpeed=115
Set3TriggerLeftName=Right Click
Set3TriggerLeftSlots=Right Mouse Button (2)
Set3TriggerRightName=Left Click
Set3TriggerRightSlots=Left Mouse Button (1)
Aaaand just caught that my version of Xpadder is completely outdated... sssuper.
App Screenshots: Show
Set 1
Image

Set 2 (Tower select. "Sell Tower" and "Reload Checkpoint" are tucked away here.)
Image

Set 3 (Basically just faster cursor movement options and barely useful. I came across a random post regarding the sluggish default cursor speed when using the built-in gamepad scheme. I'm sure posting a solution a year and a half later on an unrelated forum behind a paywall will help them bunches...)
Image
Since the profile was built to work with both games, there are some quirks with this profile. There are several differences in controls between the two. (e.g. The new Boost tower doesn't seem to have a shortcut, they removed/haven't implemented the sell/upgrade shortcuts, DG1 doesn't have camera rotation, etc.) The most significant differences being in the tower numbering. Any other differences seem to be benign.

I used a forward slash "/" to indicate any towers that differ between games. (e.g. DG1/DG2, DG1 Only/) As the beta controls are very likely to change, it seemed pointless to OCD too much on that aspect. I'll edit the post as necessary and motivation permits.

Let me know if there are any questions or issues. I should mention, I'm afflicted with some sort of curse or ongoing causal anomaly the result of which is I rarely get notifications from forums and some other various subscriptions. (e.g. I'm subscribed to the Xpadder Update forum...) So if I'm long overdue for a response, feel free to track my ass down via my username.
Last edited by scooterbaga on 10 Jun 2014, 11:27, edited 1 time in total.

Primal Fear
Xpadder Xpert
Posts: 2437
Joined: 09 Feb 2010, 16:41
Location: Germany
Contact:

Re: Defense Grid & Defense Grid 2 Beta (Xbox 360)

Post by Primal Fear »

scooterbaga wrote:Since DG1 already has controller support, it needs to be disabled before the Xpadder profile will work properly. I was able to do this via x360ce using the "Clear" (empty) preset. (x360ce.App-2.1.2.191.zip at code.google) Once you have the ini and xinput1_3.dll from x360ce alongside the game exe and setup to block all inputs from the gamepad, the Xpadder profile below should work great. DG2 doesn't seem to have gamepad support yet, so the x360ce files may not be necessary for that exe. (I added them to mine anyway and all is well. YMMV.)
Usually it's enough to only place only the xinput1_3.dll there with out any .ini.

scooterbaga
Posts: 9
Joined: 25 Apr 2012, 22:11

Re: Defense Grid & Defense Grid 2 Beta (Xbox 360)

Post by scooterbaga »

Primal Fear wrote: Usually it's enough to only place only the xinput1_3.dll there with out any .ini.
Figures. I had a hell of a time figuring out which setting on a "cleared" preset was causing issues. Once I finally got it working I just made a backup copy of the ini and backed away slowly. Although troubleshooting it did lead me to a damn handy comparison plugin for notepad++.

Do you mind telling me where you learned that? Considering how many seem to know how to use it, the documentation seems bizarrely lacking. Everything I found was outdated, cursory or both. I suspect I missed a resource.

Primal Fear
Xpadder Xpert
Posts: 2437
Joined: 09 Feb 2010, 16:41
Location: Germany
Contact:

Re: Defense Grid & Defense Grid 2 Beta (Xbox 360)

Post by Primal Fear »

This is actually not a intended functionality of X360CE, I simply tried what would happen if I only place Xinput.dll in my installation folder and found out that it would hinder the game from detecting the controller.
As this works in the most Xinput compatible games, this is obviously really useful for Xpadder.

I have here a topic with where I put together different ways how to make a game not detect a controller by itself.

Post Reply

Return to “Game Profiles”