Skip to content

Condense Steam's resource usage

License

Notifications You must be signed in to change notification settings

otacoo/steam-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Lite

A tiny program to condense Steam’s resource usage by controlling its CEF (Chromium Embedded Framework) and offering lightweight launch options.

  Capture

Note

Steam Lite is a DLL that Steam will load at startup (it replaces the system DLL user32.dll when placed in the Steam folder).
Once loaded, it presents an options dialog on first run and a system-tray icon for quick CEF toggling.

What it does

  • CEF control – Turn CEF off, leave it on, or set it to Automatic (off while a game is running, on when no game is running).  

  • Launch Options – Configure Steam's launch options: launch minimized, no joystick, no GPU for CEF.
    If no options are checked, no shortcut is created.

  • Desktop shortcut – When you save options, Steam Lite creates or updates a Steam Lite shortcut on your Desktop that starts Steam with the chosen launch options.
     Use this shortcut instead of steam.exe to launch Steam.

  • Config file – All options are stored in SteamLite.ini in the same folder as the DLL (Steam root directory).

Usage

  1. Download the latest release from GitHub Releases.

  2. Place user32.dll in your Steam installation directory (the folder that contains steam.exe).

  3. Start Steam normally, configure the options. Then close Steam again.

  4. Use the Desktop shortcut to launch Steam.

  5. Use the system-tray icon to switch between Automatic CEF, Enable CEF, and Disable CEF, or open Options to change settings again.

Notes

  • To reset everything, delete SteamLite.ini in the Steam folder (and optionally remove the Desktop shortcut).
  • To remove Steam Lite, delete user32.dll.

Build

Steam Lite is built with GCC in an MSYS2 environment.

  1. Install MSYS2.

  2. Launch MSYS2 UCRT64 and update:

pacman -Syu --noconfirm
  1. Install the required gcc MinGW toolchain:
pacman -S mingw-w64-ucrt-x86_64-gcc --noconfirm
  1. Browse to the project directory, and run the build script:
cd /path/to/SteamLite
./build.sh
  1. The built DLL will be at src/bin/user32.dll.

Credits

This program is inspired by AveYo's steam_min.bat from which it takes its shortcut creation commands.

About

Condense Steam's resource usage

Resources

License

Stars

Watchers

Forks

Sponsor this project