Skip to content

Source code for GamepadUI for Half-Life 2 and friends. Modified for FIREFIGHT RELOADED

License

Notifications You must be signed in to change notification settings

FIREFIGHT-RELOADED/FR-GamepadUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Half-Life 2 GamepadUI

What is it?

Source code for the Steam Deck GamepadUI I made used by Half-Life 2, Episode 1, Episode 2 and Portal 1.

It looks like this:

Image of Half-Life 2 main menu with GamepadUI

It's definitely not the cleanest thing in existence, especially as it was pretty rushed for the Steam Deck launch. However, you may be able to get some use out of it.

What is here?

Provided is the full GamepadUI code, as well as the .vpc projects to build it.

You will need to add gamepadui for each game to your projects.vgc and groups.vgc for the Visual Studio, etc projects to be generated.

Also provided is a modified cdll_client_int.cpp with the modifications needed for GamepadUI stuff to work.
Check out the parts that reference GamepadUI and merge them into your codebase.

SDK 2013 Notes

SDK 2013 by default does not have the modifications to the regular GameUI that were made that do things such as hide the main menu logo, or have the new loading screens.
Provided in game/bin is a copy of GameUI for SDK 2013 with the modifications you can use, unfortunately the code for this cannot be provided.

Special thanks to Madi for taking my code and making it compile against SDK 2013.
Thanks to my friend Dan Smith for helping with getting some screenshots for the chapter art.

About

Source code for GamepadUI for Half-Life 2 and friends. Modified for FIREFIGHT RELOADED

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.6%
  • ReScript 9.3%
  • C 0.1%