Jonius7 / SteamUI-OldGlory

A set of customisable Steam Library tweaks, with an installer. Also a reference that you can use to learn how to make your own tweaks.
https://jonius7.github.io
Apache License 2.0
253 stars 5 forks source link
steam steam-library steam-library-update tweaks

SteamUI-OldGlory

A set of customisable Steam Library tweaks, with an installer.
Also a reference that you can use to learn how to make your own tweaks.

GitHub all releases downloads GitHub Repo stars GitHub latest release version GitHub closed issues Lines of code in project GitHub commits on /dev since last merge

Download Latest Version | Quick Guide | Wiki | Known Issues | Troubleshooting | Discord

Check /dev branch for in-progress tweaks.

Video Guide and GIF

Alt Text

Video Guide to Customising The Steam Library

YouTube Video Views

Showcase of Tweaks

(click to expand)
Condensed sidebar buttons
img

Show more games
Show more games

Fix blurred images
Fix blurred images

Improved game page layout
Fix blurred images

Show more DLC and screenshots
Show more DLC

Play bar moved up into box
Play bar moved up into box

Classic Layout
Classic Layout

Quick Guide

Using SFP (SteamFriendsPatcher)

Using Millennium Patcher

Using SteamUI-OldGlory standalone (old method)

SteamUI-OldGlory supports patching the CSS directly however it only covers patching the main window (not friends list, store page or Big Picture)

Fix Blurry Portrait Game Images

More Info

When Steam Updates

SteamUI-OldGlory supports patching the Steam JS files to provide extra functionality.

This means sometimes when the Steam Client updates, you'll need to use the Remake JS option in Settings if you were previously using any JS tweaks.

SteamUI-OldGlory will notify you upon startup if it detects certain Steam files have been changed/updated.

If the Steam window does not appear (but appears in the system tray), try using the Remake JS button in Settings.

Other Config

SteamUI-OldGlory Updates

Customising CSS

Enable/Disable CSS modules and features

Since version 5.11, OldGlory can enable/disable individual CSS modules and features via CSS Options -> CSS Sections.

[version < 5.11] Manual Editing (CSS/SCSS)
More details
  • variables.css contains a list of CSS variables that tweak certain parts of the Library.
  • Most of these can be configured using the GUI, but there are additional options here you can set manually.
  • If you manually edit the file, use the Reload Config button to load them into the Installer.

  • scss/libraryroot.custom.scss contains the @imports for each of the CSS "modules", that each cover a different part of the Steam library.
  • You can enable and disable certain modules by adding // to the beginning of the line
  • Click Install in the Configurer to apply your changes.
GUI Images

OldGlory Installer (GUI)

Installer GUI Details

Included files:

Other files are copied from theSteam\steamui directory as required.

config.css for Shiina's steam-library theme will be created from config.css.original the first time you enable the theme. Alternatively, you can put your existing config.css file here and the app will use it.

JavaScript Tweaks

Some tweaks are disabled by default. Under JS Options, you can select which options to enable/disable.

Manual Editing (JS - fixes.txt)
More details
  • fixes.txt contains the list of JavaScript tweaks.
  • Each tweak is under its own Section Heading marked with the line starting ###.
  • Tweaked lines are the original JS separated by two spaces from the tweaked JS:
  • [original js]██[tweaked js]
  • Remove the ### for each line under the Section Heading to enable.
  • When old_glory applies the JS tweaks, commented lines with ###, and blank lines are ignored. You can use this to make fixes.txt more readable.
  • NEW (Release 5.5): You can now use the previous line of JS to search for the line you want. Just separate the two lines with ~~
    • Format: [previous line JS]~~[original JS]██[tweaked JS]
  • (Planned): Using any single variable letter with $^
    • Eg: Lo.searchSuggestions becomes $^$^.searchSuggestions

Quick Links

steam-library Support

Shiina's steam-library theme is included as one of the starting themes you can choose from.

https://github.com/AikoMidori/steam-library

preview image

Troubleshooting

If Library is not working, try one of these things (and restart Steam if necessary). If it still doesn't work, try the next thing in the list.

If none of these steps work, please open an Issue

The program can't start because api-ms-win-crt-math-l1-1-0.dll is missing from your computer.

Dev Notes

For more details, go to Story

CSS Changelog | GUI Changelog

SteamUI-OldGlory Wiki

Debugging Steam Library Yourself

To debug the Steam Library yourself, run Steam with the -dev tag.

Build old_glory

Requires Python 3.8+, Rust (tested with 1.75.0)

Create a Python Virtual Environment

​ Linux: sudo apt install python3-venv , then: link

Activate it:

​ Windows: "\Scripts\Activate"

​ Linux: source /bin/activate

Install pyinstaller: pip install pyinstaller

Install libraries using pip: pip install jsbeautifier rjsmin libsass Pillow requests requests_oauthlib maturin pyppeteer pyyaml rich schema gitpython

Run:

maturin develop:

Build old_glory.exe: pyinstaller --clean old_glory.spec

The .spec file is included in the repository.

Advanced

Sometimes you may need to install pyinstaller like this: Building PyInstaller Bootloader Windows Compilers

This is mainly for me to try and get an .exe that doesn't trigger false positives on virustotal.com

In the future, I may try to build using cx_freeze instead.

What does js_tweaker do?

the JS goes through this process, eg:

Limitation that the script reads library.beaut.js line by line, so some complex tweaks are unavailable to be added at the moment.

js_tweaker will use library.beaut.js if it already exists. This means:

New (5.10.6) chunk~547eb3232.js is now also being used. The modified file is called chenk~547eb3232.js