Skip to content

fix: Game Tracker truncating names containing dots#722

Open
ericreinsmidt wants to merge 1 commit into
LoveRetro:mainfrom
ericreinsmidt:fix/game-tracker-double-extension-strip
Open

fix: Game Tracker truncating names containing dots#722
ericreinsmidt wants to merge 1 commit into
LoveRetro:mainfrom
ericreinsmidt:fix/game-tracker-double-extension-strip

Conversation

@ericreinsmidt
Copy link
Copy Markdown

@ericreinsmidt ericreinsmidt commented May 15, 2026

Summary

  • cleanName() called removeExtension() on game names already stored in the DB without file extensions
  • This caused names with dots like "Gun.Smoke" to be truncated to "Gun" in Game Tracker
  • Fix: remove the redundant removeExtension() call from cleanName()

This is an extremely rare case with ROMs released by No-Intro — Gun.Smoke (USA).nes may literally be the only one — but could come into play with homebrew games.

Test plan

  • Verify "Gun.Smoke" displays correctly in Game Tracker
  • Verify games without dots still display correctly

cleanName() called removeExtension() on names already stored in the DB
without extensions, causing names like "Gun.Smoke" to display as "Gun".
@ericreinsmidt ericreinsmidt force-pushed the fix/game-tracker-double-extension-strip branch from e41d5d9 to 77aa9aa Compare May 19, 2026 03:24
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.

1 participant