婆罗门
精华
|
战斗力 鹅
|
回帖 0
注册时间 2007-12-21
|
$keyPath = "Software\COLOPL, Inc\KAZUMA KANEKO'S TSUKUYOMI"
$valueName = "QualityLocalSave_h1645200260"
$key = [Microsoft.Win32.Registry]::CurrentUser.OpenSubKey($keyPath, $true)
$bytes = $key.GetValue($valueName)
$json = [Text.Encoding]::UTF8.GetString($bytes).TrimEnd([char]0)
$config = $json | ConvertFrom-Json
$config.ResolutionWidth = 3200
$config.ResolutionHeight = 1800
$config.FullScreen = $false
$newJson = $config | ConvertTo-Json -Compress
$newBytes = [Text.Encoding]::UTF8.GetBytes($newJson)
$key.SetValue(
$valueName,
$newBytes,
[Microsoft.Win32.RegistryValueKind]::Binary
)
$key.Close()
$newJson
找AI大人搓了一个自定义窗口分辨率命令,在powershell里运行上述命令、其中加粗部分写你自己想要的分辨率即可(个人测试成功) |
|