|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
![]() Join Date: Dec 2008
Reputation: 19
Posts: 405
|
-noborder for Counter strike source
Does anyone here have it working? How did you get it working?
It's not working for me :< |
|
|
|
|
|
#2 |
![]() Join Date: Mar 2007
Reputation: 0
Posts: 285
|
I think it only works for orangebox games.
|
|
|
|
|
|
#3 |
![]() Join Date: Dec 2008
Reputation: 19
Posts: 405
|
So no fix?
![]() |
|
|
|
|
|
#4 |
![]() Join Date: Aug 2007
Reputation: 64
Posts: 893
|
Not unless they bother to upgrade the engine, which is another thread altogether.
|
|
|
|
|
|
#5 |
![]() Join Date: Aug 2009
Reputation: 1
Posts: 3
|
Old thread I know, but will hopefully be useful to some people (like me with dual-monitors)
Home Made Version: (any screen resolution - you made it yourself so you know its safe/no virus in it) 1. Install AutoHotKeys from http://www.autohotkey.com/ 2. Create a new hotkey script with the following in it: Code:
Loop
{
WinWait, ahk_class Valve001
IfWinExist
{
WinSet, Style, -0xC00000 ; remove the titlebar and border(s)
WinMove, , , 0, 0, 1280, 1024 ; move the window to 0,0 and reize it to 1280x1024
}
Sleep 1000 ; 1 Second
}
return
4. [OPTIONAL] Right click the .ahk file you make and click "compile" to turn it into an exe for ease of use 5. Run your exe/ahk file ~ OR ~ Download ready-made version: (Dont have to install autohotkeys, you trust me, you only want 1280x1024) www.syserror.co.uk/HLwin.exe - This version is *ONLY* for 1280x1024 End Result: + You will have a green icon with an 'H' in it on your taskbar + You can right click this icon to close it. + This script will "-noborder" all hl1/h2 games and mods! + This script does not make any permanent changes to the game. + Simply close the script and restart your game and it will be back to normal! + This is not a cheat and will never be detected as a cheat or get you banned. + Your hl1/hl2 games need to be run in windowed mode at the screen resolution that you put in this .ahk script! (1280x1024 in my case). Tested & Works On: Counter-Strike: Source Natural-Selection Team-Fortress 2 Left4Dead Day of Defeat: Source The Ship (Yes I bought it, go figure) Portal Half-Life: Source Okay.. I can't be arsed to test the rest of my hl1/hl2 games - it works mkay? Tested & Ignores (correctly): Crysis (Steam Version) Elf Bowling: Hawaiian Vacation (Steam Version - Don't ask...) Call of Duty 4: Modern Warfare Okay.. I can't be arsed to test the rest of my non-hl1/hl2 games - it doesn't break them, mkay? Bugs: ~ If the game/mod is not running at the same resolution as this script you may get weird resizing/UI issues. ~ If you run the game on a secondary monitor it will get moved back to 0,0 after a second. (Alter the coordinates of WinMove 0,0 if you are feeling brave) Last minute thought: This may try to do resizing on SDK tools/Hammer Editor - Just close the script if this is the case Advanced notes: - It runs all the time, although it doesn't need to. It doesn't do much however (as you can see) - it uses no CPU. - It is constantly checking for a hl1/hl2 game, if it finds one it just removes its border/titlebar, resizes it to the correct resolution since it is a smaller window (no titlebar/borders) and sticks it in the absolute top left of the screen (0,0). This is basically what -noborder does. If it doesn't find a hl1/hl2 game it skips this. It then sleeps for a second (so that its not checking every processor cycle, no need), rinse repeat. - From what I can tell all hl1/hl2 based games have a window class name of "Valve001" so this should pick up all hl1/hl2 games including mods. |
|
|
|
|
|
#6 |
![]() Join Date: Aug 2009
Reputation: 1
Posts: 3
|
Update 12/08/2009 3:30 AM (Colds ftl)
Todo: + Guess the correct screen resolution from the nearest neighbour + Accept screen resolution arguments from the command line to allow for a generic exe/ahk + Implement a GUI for settings the screen resolution (?) + Save settings to file (.ini?) |
|
|
|
|
|
#7 |
![]() Join Date: Aug 2009
Reputation: 0
Posts: 3
|
Thanks Syserror, works like a charm! Now i have it running at all times because starting it everytime im playing is something i forget.. Do you think that it does any hog at all?
Cheers |
|
|
|
|
|
#8 |
![]() Join Date: Aug 2009
Reputation: 1
Posts: 3
|
I've got 2, 1 for CoD4 and the above one, running at all times and from what I can tell it doesn't have any CPU usage (which is why I run them all the time, like you I can't be bothered to keep starting them)
On a side note, this is the Call of Duty:Modern Warare (CoD4) version: Code:
Loop
{
WinWait, ahk_class CoD4
IfWinExist
{
WinSet, Style, -0xC00000 ; remove the titlebar and border(s)
WinMove, , , 0, 0, 1280, 1024 ; move the window to 0,0 and reize it to 1280x1024
}
Sleep 1000 ; 1 Second
}
return
There is 1 extra thing to get it working with CoD4 however, since there is no option to change between windowed and full-screen mode you have to enter a couple of console commands. Enter the following commands (one per line, press enter after each one) into the CoD4 console to set it to windowed mode (to work in this "borderless" mode): Code:
/r_fullscreen 0 /vid_restart Code:
/r_fullscreen 1 /vid_restart ![]() |
|
|
|
|
|
#9 |
![]() Join Date: Aug 2009
Reputation: 0
Posts: 3
|
Yeah i made a COD4 my self :P WindowSpy helped..
Thanks bud |
|
|
|
|
|
#10 |
![]() Join Date: Sep 2007
Reputation: 0
Posts: 41
|
Awesome post dude, my poor dual-monitor self has been looking for just this kind of solution!
|
|
|
|
|
|
#11 |
![]() Join Date: Aug 2004
Reputation: 1
Posts: 4,275
|
Can someone post a description of what "-noborder" does and also post links to screenshots showing what the "before" and "after" looks like with this program?
Gentle |
|
|
|
|
|
#12 |
![]() Join Date: May 2006
Reputation: 2
Posts: 361
|
Nice little program this should help out a great deal for people with dual monitors.
|
|
|
|
|
|
#13 | |
![]() Join Date: Mar 2006
Reputation: 0
Posts: 144
|
Quote:
![]() |
|
|
|
|
|
|
#14 | |
![]() Join Date: Sep 2007
Reputation: 0
Posts: 41
|
Quote:
If you run fullscreen, when you try to go outside of the game, it will minimize the game, which takes time. |
|
|
|
|
|
|
#15 |
![]() Join Date: Mar 2009
Reputation: 0
Posts: 5
|
Hello I took Your idea and made these Scripts for the following most used Resolutions.
800x600 1024x768 1152x864 1280x960 1280x1024 1440x900 1600x900 1680x1050 1920x1200 You can Download them all together packed in a little Zip-file from my Webspace: http://www.kiloswiss.ch/downloads/CSS_Noborder.zip (1.92MB) btw. It would be nice if someone could make a Readme on English, because My English isn't very good ![]() I will then put it also in the Zip-file and reupload it on my Webspace. I can also add some more Resolutions if You People like, just tell me which resolutions You also use often on Your Computers. Have Fun Greez KiloSwiss |edit| added 1920x1200.exe to the Zip-file Last edited by KiloSwiss : 11-19-2009 at 11:20 AM. |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
All times are GMT -8. The time now is 04:14 AM.












Linear Mode
