major-gnuisance.github.io

Major Gnuisance's Github Pages


Project maintained by major-gnuisance Hosted on GitHub Pages — Theme by mattgraham

Gyro Revolution for Half-Life 2

by Major Gnuisance

Table of Contents

  1. Introduction
  2. Resource summary
  3. Installation, summarized
  4. Installation, detailed
  5. Removal
  6. Controls
    1. Basics
    2. Weapons
    3. Utility
    4. Menu mode
  7. Feature List
  8. Bugs/Problems
  9. Possible Improvements
  10. Changelog
    1. v1.0-beta
    2. v1.1
    3. v1.1.1
  11. Acknowledgments
  12. Contact

Introduction

This page will help you set up and use my Steam Input configuration to play Half-Life 2 with a DualShock 4 controller.

Here’s some footage of what playing with this looks like:

Follow either the summarized or detailed Installation section to set everything up, then check out the Controls section details to see how this control scheme works exactly.

Resource summary

Installation, summarized

  1. Extract icon pack into game’s directory (Half-Life 2)
  2. Put gyro_revolution.cfg under the hl2/cfg/ directory
    1. For Episodes 1 and 2, put it in the episodic/cfg/ directory
  3. Add a line with exec gyro_revolution to your autoexec.cfg file in the same directory (hl2/cfg/ or episodic/cfg/). You can use this autoexec.cfg if you don’t have one.
  4. Connect DS4 controller
  5. Enable PlayStation Configuration Support in Big Picture, if not already enabled
  6. Import my controller configuration (link above)
  7. (Linux only) Remove the file at <GAME_DIRECTORY>/bin/libSDL2-2.0.so.0

Installation, detailed

  1. Install icon pack and custom configuration file
    1. Open the game’s directory
      • Right click game in Steam library > Manage > Browse local files
        img
    2. Extract the Icon Pack zip there. You should now have a TouchMenuIcons directory.
    3. Enter the hl2/cfg/ directory and place the gyro_revolution.cfg and autoexec.cfg files there.
      • For Episode 1 and Episode 2, use the episodic/cfg/ directory instead.
      • If you already have an autoexec.cfg file, you can edit it and add a line with following text: exec gyro_revolution
    4. (OPTIONAL) Make a backup of your config.cfg file, should you want to restore it later.
  2. Connect your DualShock 4 to your computer. Either:
    • Wired, using a micro USB cable
    • Wireless, using Bluetooth
      • With the DualShock 4 turned off, hold SHARE and the PS button to enter Bluetooth pairing mode, then pair it with the computer.
  3. Enable DualShock 4 configuration support in Steam’s Big Picture mode
    1. Start Big Picture by clicking the button to the left of the “minimize” button in Steam
      img
    2. Go to Setting > Controller Settings
      img img
    3. Check “PlayStation Configuration Support” box
      img
    4. Select your controller under “Detected Controllers” and then click Calibrate
      img
      img
    5. Tune your joystick deadzones if necessary
      img
    6. Place the controller on a stable, level surface and click “Start Gyro-Only Calibration.”
      img
    7. Make sure the controller stays completely still until the calibration is done (about 5 seconds).
  4. Import my configuration
    1. Click the links below to open the configuration in Steam. Choose the one for the game you want.
    2. This screen should appear:
      img
    3. Press glyph for square to apply, then glyph for circle to exit
  5. (Linux only) Remove the libSDL2-2.0.so.0 file in the game files, under the bin/ directory. It’s outdated as of this writing (2020-05-03) and it can cause double input problems. The version included in the Steam Runtime works fine and will be used automatically instead.
  6. Play the game!

Removal

  1. Remove the exec gyro_revolution line from your autoexec.cfg file
  2. Delete config.cfg and optionally restore a backup of it.

Controls

Basics

Use glyph for rs and the gyroscope to move the camera.

It’s recommended to rely on the gyro to aim and glyph for rs for broader motions.

The gyro is always on by default, but you can toggle it on and off by clicking glyph for rs. It’s recommended to turn it off when driving outside of combat.

Hold glyph for l2 to aim more precisely.
Gyro is always enabled when doing this.

Note: If the camera moves on its own you might be experiencing gyro drift.
Try recalibrating the gyroscope as explained in the detailed installation instructions if this happens.

Use glyph for ls to move.
Click glyph for ls while moving to sprint.
You will stop sprinting when you return the stick to its neutral position.

Tap glyph for cross to jump.
Tap glyph for triangle to toggle crouch.
Press glyph for circle to use.

Hold glyph for cross to crouch while jumping, which may help extend your reach, land tricky jumps or vault over obstacles.
Note: the game itself automatically crouch jumps in some situations, usually next to boxes/windows/vents/etc. This is only useful for more advanced moves.

Press glyph for options to pause.

Table 1: Summary
Action Control
Move glyph for ls
Sprint glyph for ls click
Move Camera Gyro
Move Camera (coarse) glyph for rs
Toggle gyro glyph for rs click
Jump glyph for cross
Crouch-jump glyph for cross (hold)
Toggle Crouch glyph for triangle
Use glyph for circle
Pause glyph for options

Weapons

Pull glyph for r2 for primary fire and press glyph for r1 for secondary fire.
Tap glyph for square to reload

Tap glyph for l1 to swap to your previously selected weapon.
Hold glyph for l1 to bring up the Weapon Select Wheel and then select a weapon with glyph for rs.

Due to usability constraints, not all weapons are in the selection wheel, but they have their own dedicated quick access buttons.

The following weapons have quick access buttons:

You can also browse and select from available weapons the traditional way with glyph for dpadl and glyph for dpadr. Press glyph for r2 to confirm your selection.

Table 2: Summary
Action Control
Fire glyph for r2
Secondary fire glyph for r1
Reload glyph for square
Weapon Wheel Hold glyph for l1 + glyph for rs
Last Weapon Tap glyph for l1
Previous/Next Slot glyph for dpadl / glyph for dpadr
Crowbar glyph for dpadu
Gravity Gun (swap) glyph for dpadd
Grenade glyph for dpadu (hold), glyph for square (hold)
Pheropods glyph for dpadd (hold), glyph for touchpad

Utility

Hold glyph for l2 to zoom in and reduce aiming sensitivity.
Use it to aim with additional precision if necessary.
This temporarily enables the gyroscope if it’s toggled off.

Hold glyph for triangle to toggle the flashlight.

Click glyph for rs to toggle the gyroscope.

Squad Commands can be found on the right edge of glyph for touchpad

Click and hold the corresponding glyph for touchpad icons to Quicksave or Quickload.
(The requirement to hold is so that you don’t accidentally save or load your game.)

Table 3: Summary
Action Control
Aim mode glyph for l2
Gyro Toggle Click glyph for rs
Flashlight Toggle Hold glyph for triangle
Quickload/save glyph for touchpad
Squad send/recall glyph for touchpad

When the mouse cursor is shown, the configuration enters a special mode for menu interaction.

In this mode, the following controls are available:

Action Control
Mouse glyph for touchpad or glyph for rs
Click glyph for touchpad click, glyph for rs click or glyph for r2
Volume Up/Down glyph for ls up/down

Feature List

Bugs/Problems

Possible Improvements

Changelog

v1.0-beta

v1.1

v1.1.1

This version only affected the cfg file and guide.

Acknowledgments

Contact

You can find me at the following places (sorted by reliability):