this post was submitted on 20 Jul 2026
188 points (94.3% liked)

PC Master Race

21976 readers
791 users here now

A community for PC Master Race.

Rules:

  1. No bigotry: Including racism, sexism, homophobia, transphobia, or xenophobia. Code of Conduct.
  2. Be respectful. Everyone should feel welcome here.
  3. No NSFW content.
  4. No Ads / Spamming.
  5. Be thoughtful and helpful: especially when new beginners have questions.

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pivot_root@lemmy.world 8 points 2 weeks ago* (last edited 2 weeks ago) (2 children)
  • Check for the existence of Z:/etc/os-release and parse it
  • Check for the steamDeck environment variables set by Steam
  • Check that the current account's username is "deck"
  • Use assembly to directly perform a Linux syscall that would crash the application on Windows but not on Linux.

It still can't guarantee that the system is a Steam Deck, but combining all the above is reliable enough to that it would be easier to write an assembly patch for the game than to spoof all of those checks to pass.

That being said: any developer who adds an achievement just for playing on a specific piece of hardware deserves to be kicked in the groin.

[–] Buddahriffic@lemmy.world 5 points 2 weeks ago

7000 achievements available, one for each specific RAM kit. 6344 of these achievements earned by 0 people.

[–] 1Fuji2Taka3Nasubi@piefed.zip 3 points 2 weeks ago

Achievement: kicked developer in the groin.