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.
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.
Check /dev
branch for in-progress tweaks.
old_glory.exe
Since version 5.11, OldGlory can enable/disable individual CSS modules and features via CSS Options -> CSS Sections.
Actions
steamui
folder as need.fixes.txt
variables.css
or old_glory.json
manually, then Reload Config will grab these new values and update the checkboxes and values in the GUI (CSS Options + JS Options), without having to restart the GUI app. Changing files in /scss
or /themes
doesn't require Reload Config.In Advanced -> Quick Links:
steamui
folder within Program Files/Steam
where the library files are located.config.css
in [steamdir]/steamui
already. If you are instead editing the config.css
in themes/
, clicking this button will copy config.css
over to [steamdir]/steamui
.
In Settings and About:
Remake JS - Deletes local JS files and re-applies JS tweaks. Use this when some JS tweaks may not apply due to new JavaScript. Usually:
clear_js_working_files
- deletes local JS files includinglibrary.js
, library.beaut.js
run_js_tweaker
- recreates JS files and applies JS tweaksReset - triple click to reset the steamui
directory back to using default library theme. Useful if something screws up or you want to test a clean slate.
variables.css
using OS default text editorscss/libraryroot.custom.scss
using OS default text editorJS Options
Enable Patching JS
Increase Number of Screenshots and DLC displayed - On game page: Screenshots: 4 -> 9, DLC 6 -> 12
Disable screenshot slideshow on hover - Hovering over games on HOME page will only show the Game Boxart, not the screenshot slideshow
Scrolling Tweak - Scroll past ADD SHELF Button on load
Change Game Image Grid Sizes - Change the size of Game Images on the HOME page, based on width in pixels. There are 3 values here to change, corresponding to Small, Medium, Large sizes in settings. Defaults are:
111
148
222
Landscape Images JS Tweaks - corresponds to Main Option Landscape Game Images. No need to configure manually.
Stop What's New Events from Loading - removes loading of What's New Events
Press Enter to Launch Games - Selected game in game list will launch upon pressing Enter
Expand Show more Details Panel by default - The Show More Details Panel (i) will expand by default on game page load
Dim Uninstalled Games - Dim Uninstalled games on HOME page
Don't load HOME game images, only alt text - Can improve performance by not loading images and only the alt text
old_glory.exe
- App to apply SteamUI-OldGlory's tweaks
variables.css
- CSS variables to customise
fixes.txt
- JS tweaks
libraryroot.custom.css
- output CSS file. Do not edit this directly, use the \scss
folder files
\scss
- (New in Release 5.0)
libraryroot.custom.scss
- contains all the @imports
for smaller .scss
files. The GUI handles enabling/disabling _module_playbarbox
, _module_verticalnavbar
, _module_landscapegameimages
, _module_classiclayout
. Manually comment out the other modules (for now)_custom_module1.scss
- put your custom CSS code here_custom_module2.scss
- put your custom CSS code here\themes
- Folder containing theme files
libraryroot.custom.css
- the CSS file for the themepreview.png
- the preview image for the themeThemes include:
old_glory_data.json
data for old_glory.exe
. Editing it is not required but it allows some data to be updated/hotfixed outside of having to rebuild the .exe
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.
Some tweaks are disabled by default. Under JS Options, you can select which options to enable/disable.
missing_cover_downloader
Shiina's steam-library theme is included as one of the starting themes you can choose from.
https://github.com/AikoMidori/steam-library
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.
steamui
folder and restart Steam
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.
To debug the Steam Library yourself, run Steam with the -dev
tag.
Steam
-> Right Click
-> Properties
.Target
, after Steam.exe"
add -dev
so the end of Target looks like this: Steam.exe" -dev
F12
.old_glory
Requires Python 3.8+
, Rust (tested with 1.69.0
)
Install pyinstaller:
pip install pyinstaller
Install libraries using pip
:
pip install jsbeautifier rjsmin libsass Pillow requests requests_oauthlib maturin
Run:
maturin develop
(you may need to create a Python virtualenv
first):
Linux: sudo apt install python3-venv
, then: link
Build old_glory.exe
:
pyinstaller -w --icon=steam_oldglory.ico --clean --onefile old_glory.spec
The .spec
file is included in the repository.
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.
js_tweaker
do?the JS goes through this process, eg:
library.js
- original filelibrary.beaut.js
- beautified js using jsbeautifier
library.modif.js
- beautified js with modified tweaks from fixes.txt
librery.js
- minified library.modif.js
using jsmin
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:
library.beaut.js
(make a backup first) and delete it afterwards if you want to go back to the clean version library.beaut.js
New (5.10.6) chunk~547eb3232.js
is now also being used. The modified file is called chenk~547eb3232.js