Download the latest release
Or install with scoop
scoop bucket add slug https://github.com/woyxiang/slug
scoop install setres
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
Download a freeBASIC compiler here
or install with scoop scoop install freebasic
Clone this repo and then run
fbc SETRES.bas lang.rc
这个软件复刻自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.