Skip to content

Conversation

@jcdoll
Copy link
Contributor

@jcdoll jcdoll commented Jan 19, 2026

Updates the HLTB for Steam plugin submodule to v1.2.0.

Changes

This is a major feature update:

  • Steam Import Cache: For users with public Steam profiles, the plugin now fetches all Steam-to-HLTB ID mappings at startup. This enables direct lookups by HLTB ID instead of relying on name-based search, significantly improving match accuracy.
  • Direct ID Fetch: When a cached HLTB ID exists, game data is fetched directly by ID (fast path, guaranteed match)
  • Cache refetch: Fixed cache to always refetch misses so name fixes take effect immediately
  • Name Fixes: Now includes 250+ game name corrections
  • Test Coverage: Added Lua unit tests for Steam import and game fetch APIs

Background discussion here: #113

@shdwmtr
Copy link
Member

shdwmtr commented Jan 20, 2026

Looks good. Not sure if you're aware, but there is a regex module Millennium provides:
https://docs.steambrew.app/plugins/lua/regex

Should make some of the matching easier.

@jcdoll
Copy link
Contributor Author

jcdoll commented Jan 20, 2026

Yeah I saw that partway through the python -> lua rewrite but chose not to use it for a few reasons:

  1. unit tests run outside of millennium for CI via busted
  2. the utils code is resuable so i can use it in scripts to test the matching performance and the scraping stuff i did today

It's simple code and so get some upsides this way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants