Re: Black Screenshot Fix

Models + Mapping, Computer & SOF Problems.
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Re: Black Screenshot Fix

Post by CheaterSkeeter »

**here is the updated version, the one you posted is old and has an out dated window.cfg**

Changelog
-window.cfg v1.2 is does the same but is now compatible with non-SoFplus clients
-Updated to usage, Add "exec window.cfg" to your autoexec
-set _sp_cl_cpu_cool 1 to help users who experience lag (SoFplus client required)

Problem
Users with Vista/Win 7 produce Black/grey UAC3 Screenshots when playing SoF.
The old fix, of playing SoF in windowed mode is distracting and blocks part of the users screen, which is not acceptable.

Solution
Patched ref_gl.dll which removes theborders from SoF in windowed mode.

When desktop resolution is adjusted to the same resolution as SoF.exe it will look identical to fullscreen mode. (because it is). This will allow UAC3 to take normal/visible screenshots from users who have Vista/Win 7. Example here

Download links
http://sof1.megalag.org/sofplus/ref_gl_ ... erless.zip
http://sof1.megalag.org/sofplus/window.cfg


Usage
1.Replace the existing ref_gl.dll in your sof folder with this one.
2.Set desktop resolution the same as SoF.exe
3.Right click taskbar > properties > taskbar > uncheck Keep taskbar on top of other windows (option removed in Windows 7, choose Auto-hide instead)hint
4.Place window.cfg, in your base folder (check download links)
5.Add "exec window.cfg" to your autoexec.
7.Start UAC3 and click 'Start scanning'
8.Start SoF.exe and exec window.cfg and join a server.

Notes

-Aero does NOT have to be disabled
-Users who require the patched fixed ref_gl.dll to prevent crashes can use this one also.
-To minimise SoF.exe use alt+tab or type minimise in console.
-Users who are lagged by UAC should try setting _sp_cl_cpu_cool to 1
-Make sure that your vsynch is disabled and your monitor is running at its optimal refresh rate.
-If your UAC3 screens do not look like this with window.cfg please contact me.
-Advanced / Lazy people should refer to this post by Crooked:
Spoiler!
Crooked
i have an ATI vidcard and use ATI tray tools to tweak my vidcard, here you can create a profile especially for SOF , in this profile you can assign your desktop in the resolution you play sof in and then link your sof.exe ( whenever i start up sof this profile automatically loads )

and in my autoexec i just added the line window.cfg so my screen will always adjust to the right size.
Credits
CheaterSkeeter : Idea + window.cfg
GaLLo : Patch
Ctrl : File verification + hosting + binary wait aliases
Community: Testing + Tips
Reactions: 0
Posts: 225
Joined: 22 Nov 2011, 22:18

Black Screenshot Fix

Post by Yump »

Again very nice work :!:
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Re: Black Screenshot Fix

Post by Evil4N »

Ok so I exchanged my 4:3 monitor for a 16:9, and I used this fix and the widescreen fix to fix my sof... it works fine but I cant see my healthbar now ?
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Black Screenshot Fix

Post by CheaterSkeeter »

Sounds like your SOF resolution is too big for your monitor? are you using the correct gl_mode with the widescreen patch?
What resolution are you using?
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Re: Black Screenshot Fix

Post by Evil4N »

ahh... fixed it, I didnt realise my resolution was different from my sof.

I am using 1920x1080 on 120hz
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Re: Black Screenshot Fix

Post by Evil4N »

But my fps is now 119 instead 145, how comes ?
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Black Screenshot Fix

Post by CheaterSkeeter »

Just a guess, but, i think your pretty windows OS is competing with Sof.exe for resources, making the graphics card work harder, which isn't the case in fullscreen mode.
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Black Screenshot Fix

Post by Evil4N »

Ok, so I removed this black screenshot fix, and now I want my sof to be fullscreen, how do I do that ? because it wont go fullscreen whatever I try to do lol
Reactions: 0
Posts: 947
Joined: 21 Nov 2011, 18:55

Re: Black Screenshot Fix

Post by Persian »

set vid_fullscreen 1
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Re: Black Screenshot Fix

Post by Evil4N »

Tried, doesn't work.
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Black Screenshot Fix

Post by CheaterSkeeter »

Then your graphics card is struggling at these high resolutions :(
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Re: Black Screenshot Fix

Post by Evil4N »

no it's not, it works fine with mw3.

And on sof I got the same issue when i put it on low resolution.

Also the widescreen patch doesnt let me save my "gl_mode 2" configuration, everytime when i start my sof it startsup with gl_mode 6 instead of 2.
Reactions: 14
Posts: 4055
Joined: 23 Nov 2011, 14:56
Location: Netherlands

Black Screenshot Fix

Post by Evil4N »

ok fixed, changed some compabilities in sof.exe properties to get my fps back.
Reactions: 0
Posts: 16
Joined: 30 Nov 2011, 16:16
Location: Scotland

Black Screenshot Fix

Post by GamE »

I have just install uac and it went from grey (without fix) to to white using the above fix.
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Black Screenshot Fix

Post by CheaterSkeeter »

Game, make sure that you exec window.cfg when you are ready to uac to start taking screens.

UAC3 screens will be grey IF:
1. vid_fullscreen = 1
2. vid_ypos = 0

window.cfg sets these values vid_fullscreen 0 and vid_ypos 1

double check the value of these in console
Reactions: 0
Posts: 113
Joined: 24 Nov 2011, 17:35

Re: Black Screenshot Fix

Post by Onix »

I think I did everything as described. However my black ss turn grey after I execute window.cfg and set my resolution same as in sof.

I notice my taskbar is not on top as you are implying above. Maybe sof is turning to normal fullscreen mode again and that is why I get grey screens?
Reactions: 0
Posts: 409
Joined: 04 Dec 2011, 12:07

Black Screenshot Fix

Post by CheaterSkeeter »

correct onix.

UAC3 screens will be grey IF:
1. vid_fullscreen = 1
2. vid_ypos = 0

window.cfg sets these values vid_fullscreen 0 and vid_ypos 1

double check the value of these in console
Reactions: 0
Posts: 113
Joined: 24 Nov 2011, 17:35

Re: Black Screenshot Fix

Post by Onix »

I got these values in my window.cfg file and I double checked it in my console. It doesn't work. I am completely clueless what I can do more.
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

Re: Black Screenshot Fix

Post by Acadie »

from what you said earlier, ofc you'll get grey screen if you set same software resolution and desktop
Reactions: 0
Posts: 113
Joined: 24 Nov 2011, 17:35

Re: Black Screenshot Fix

Post by Onix »

But this fix was about playing windowed with same resolutions so I don't get your point Jonathan.
Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests