x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 
x
To those who participated in the Highlander Season 32 (Summer 2024), please fill out this Feedback Form for the current & next Highlander seasons!

Forum

ToggleDesktop

Created 10th March 2011 @ 12:21

Add A Reply Pages: 1 2 3 Next »

octochris

(0v0)

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,

choiie

keso

I love you

skeej

(ETF2L Donator)
UbeR |
Fe |

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,

octochris

(0v0)

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,

CrashSite

RIPMOULD

Fuck Chris has joined TC and Spike, next it will be Skyride then we are all fucked.

choiie

keso

http://steamcommunity.com/profiles/76561197998577229/screenshots/

octochris

(0v0)

Quoted from choiie

http://steamcommunity.com/profiles/76561197998577229/screenshots/

over 2:1 ratio won’t get you any more degrees of fov :D

Forsak3n

S

still not comfortable for 1280×1024 monitors. ^^

choiie

keso

Quoted from octochris

[…]

over 2:1 ratio won’t get you any more degrees of fov :D

but it’s so…. COOL!

Spike Himself

TC

Welcome to the first episode of Chris Learns Programming!

octochris

(0v0)

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,

Wabbeh

O_O so how much relative FOV does this give you?

octochris

(0v0)

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.

Spike Himself

TC

Quoted from octochris

[…]

i knew you’d be in here to diss autohotkey

I wasn’t – I haven’t even ever heard of it.

octochris

(0v0)

Quoted from Spike Himself

[…]

I wasn’t – I haven’t even ever heard of it.

YOU FACKING NOOB

Add A Reply Pages: 1 2 3 Next »