Skip to content

Command line program to change screen resolution, colour depth and refresh. 一个更改屏幕分辨率、色深和刷新频率的命令行程序。

License

Notifications You must be signed in to change notification settings

woyxiang/SETRES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SETRES

GitHub language count GitHub Actions Workflow Status GitHub Downloads (all assets, latest release) Scoop License GitHub code size in bytes

Installation

Download the latest release

Or install with scoop

scoop bucket add slug https://github.com/woyxiang/slug
scoop install setres

Useage

        SETRES h<XXXX> v<XXXX> [f<XX>] [b<XX>]
        SETRES f<XX> [b<XX>]

        h<XXXX> = Horizontal size of screen in pixels
        v<XXXX> = Vertical size of screen in pixels
          b<XX> = Bit (colour) depth such as 8, 16 24, 32
          f<XX> = Refresh frequncy in Hertz, e.g. 60, 75, 85

EXAMPLES
        SETRES h1024 v768
        SETRES h800 v600 b24
        SETRES h1280 v1024 b32 f75
        SETRES f75

Compile

Download a freeBASIC compiler here or install with scoop scoop install freebasic

Clone this repo and then run fbc SETRES.bas lang.rc

Others

这个软件复刻自Ian Sharpe的同名软件SETRES,用法几乎一样。之所以要自己写一个几乎一样的软件的直接原因是原版本不能单独修改刷新率,而我常常要单独修改它,所以就写了一个可以只传递f参数版本。

This tool is inspired by Ian Sharpe's SETRES. It offers nearly identical functionality but was written from scratch. The main motivation was to add the ability to change only the refresh rate (using the 'f' parameter only), a feature missing from the original.

About

Command line program to change screen resolution, colour depth and refresh. 一个更改屏幕分辨率、色深和刷新频率的命令行程序。

Resources

License

Stars

Watchers

Forks

Packages

No packages published