Forum
ToggleDesktop
Created 10th March 2011 @ 12:21
Add A Reply Pages: 1 2 3 Next »
I wrote this a while ago when I was learning AutoHotkey (not a great language, but pretty good for simple desktop tasks), did a few tweaks just now and should be ok for general release.
To explain what it does, take a look at this screenshot: http://etf2l.org/wp-content/uploads/2010/12/xr_rej_obscure_gc.jpg
That screenshot was taken using -windowed -noborder at 1920×960, or a 2:1 ratio. By using a very high horizontal resolution relative to your vertical resolution, you can attain high FOV values even with fov_desired set to 90 (TF2 automatically compensates fov_desired for ‘widescreen’ resolutions up to and including a ratio of 2:1). This is useful as any class, but it is especially useful as medic.
When I started using this resolution, one of the main caveats was that a lot of my desktop was showing (my desktop resolution is 1920×1200), icons were flashing and it was generally quite distracting and detracted from the game. Since I was learning AutoHotkey for fun at the time, I decided I’d try to whip up something that would blank the desktop/taskbar and make it so that it had a sort of ‘widescreen movie’ feel to it (black around the image), as such ToggleDesktop was created.
To use it, run ToggleDesktop, launch TF2 in windowed mode in a resolution that is smaller than your desktop resolution, and then press CTRL + (numpad) *
. You should see the effect immediately (although the screen may go fully black for a second or two if TF2 is pending a redraw). To have the desktop/taskbar reappear, simply press the same key combination again.
In case you wish to modify this for use with any other games, I have made the game window title a variable (%game_title%) for easy modification. Let me know if you find anything you think is a bug.
Download (if you don’t know which, choose ‘binary’):
Source: https://github.com/cdown/toggledesktop/raw/master/ToggleDesktop.ahk
Binary: http://fakkelbrigade.eu/chris/misc/ahk/ToggleDesktop.exe
Last edited by octochris,
This is the exact same thing as you posted in your “goodbye” topic right? Anyway, thx for it again, even though I kinda got used to seeing my desktop in the background now :P
Also: ffs don’t tell everyone!!! :D :D
edit: NVM SOLVED :P
Last edited by skeej,
Quoted from skeej
This is the exact same thing as you posted in your “goodbye” topic right? Anyway, thx for it again, even though I kinda got used to seeing my desktop in the background now :P
Also: ffs don’t tell everyone!!! :D :D
yeah, with some fixes that i noticed. a few people asked me where on earth i put it since i said i would, so i figured i’d make a topic that actually explained what the fuck it did :D
edit: what a great job i did leaving tf2
Last edited by octochris,
Fuck Chris has joined TC and Spike, next it will be Skyride then we are all fucked.
Quoted from choiie
http://steamcommunity.com/profiles/76561197998577229/screenshots/
over 2:1 ratio won’t get you any more degrees of fov :D
Quoted from octochris
[…]
over 2:1 ratio won’t get you any more degrees of fov :D
but it’s so…. COOL!
Welcome to the first episode of Chris Learns Programming!
Quoted from Spike Himself
Welcome to the first episode of Chris Learns Programming!
i knew you’d be in here to diss autohotkey
but seriously, autohotkey isn’t a bad language. sure, it’s bloated, but for these purposes writing something in python or c++ would be pointless
ALSO
<SpikeAtWork> i program in asp.net/vb.net/vb6
<cGChris> LOL viewstate
Last edited by octochris,
O_O so how much relative FOV does this give you?
Quoted from Wabbeh
O_O so how much relative FOV does this give you?
hello, it appears you’ve not at all understood what this tool does. bye.
Quoted from octochris
[…]
i knew you’d be in here to diss autohotkey
I wasn’t – I haven’t even ever heard of it.
Add A Reply Pages: 1 2 3 Next »