ValveSoftware / ValveSoftware/Proton

Need a fake implementation of POWRPROF.dll.PowerSettingRegisterNotification for compatibility with Special K mods

Open
#5,625 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Special K has a lot of integration with power management on Windows to help with low-end systems. It has been a part of Special K for many years, so there are versions of Special K used in mods 5+ years old at this point that require this API.

I cannot go back and retroactively add compat hacks into all my old mods to make them work with WINE, so I really need the compat hack burden to be placed on Proton's shoulders. Newer versions actually detect WINE and start to disable these features, but I need Proton to do some of the work to make Tales of Vesperia Fix, etc. compatible with SteamDeck.

As I understand things, WINE doesn't implement much of any of the power management APIs in Windows, so there should be absolutely no harm in implementing a stub that just lies to my software and claims to have registered a notification.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating Proton/Wine implementations or entry points for POWRPROF.dll and related power-management APIs. Check how PowerSettingRegisterNotification is exposed and how compatibility stubs are tested. Done means Special K's registration call succeeds under Proton without requiring actual power-management behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.