Skip to content

riverar/physpanel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physpanel

A Windows utility to query and modify the internal panel dimensions reported by the system, useful for simulating a Windows-based handheld PC. (This should not be needed on real consumer handhelds.)

It works by reading and writing data to the Windows Notification Facility (WNF) state WNF_DX_INTERNAL_PANEL_DIMENSIONS normally set by dxgkrnl.sys!DxgMonitor::EDIDCACHE::SetPhysicalDimensionOfInternalPanel on handheld gaming (and other) PCs.

Usage

Physpanel must run as the SYSTEM user, not just with elevated administrative privileges. See examples below.

Scheduled task (recommended)

  1. Open a shell as Administrator
  2. Execute:
schtasks /create /tn "SetPanelDimensions" /tr "C:\path\to\physpanel.exe set 155 87" /sc onstart /ru SYSTEM /rl highest /f

One-off via PSExec

  1. Open a shell as Administrator
  2. Execute:
psexec -s -i cmd.exe
  1. In the Command Prompt, call physpanel.exe as needed.
  2. (Optional) Sign-out/sign-in if you're testing full-screen experiences

Tips

If you're working with the Xbox full-screen experience in recent builds of Windows, be sure to also:

  • Enable features...
    • 52580392 (checked by gamemode.dll!IsGamingFullScreenExperienceSupported)
    • 50902630 (probably not needed, appears to enable a buggy fallback path; needs further investigation)
  • Set HKLM\Software\Microsoft\Windows NT\CurrentVersion\OEM!DeviceForm = 0x2E (DWORD)

About

A Windows utility to query and modify the internal panel dimensions reported by the system.

Resources

License

Stars

Watchers

Forks

Packages