SRL Archive - General

Scar and Aero


endlesslyonline

2011-06-18 13:26:13

ok, i have tried everything that i can think of, so know i come here for some help.

I made a scar script for a game, and it does not wanna play along with win7 aero.

so i made this test script to see if i can see whats wrong, and this is the outcome.

here is the script i made,

program New;
var
color:integer;
begin


findwindowtitlepart('endless edge',false)
activateClient;
wait(3000)

color:=getColor(174,367)
wait(1000)
writeln(IntToStr(color));
color:=getColor(169, 445);
wait(1000)
writeln(IntToStr(color));
color:=getColor(65, 448);
wait(1000)
writeln(IntToStr(color));
end.

and these are the results from runnin the same script twice, once in basic, once in aero

Basic

Successfully compiled (35 ms)
2710156
3238804
2710148
and this is from aero

Successfully compiled (33 ms)
16777215
16777215
16777215
Successfully executed

i have tested this with other coords in aero aswell, everytime it returns the number code 16777215, if i take the manual color picker, it shows the correct color though

Even went so far as to try it in different versions of SCAR aswell …

Does scar not like aero? or is this game just fail when it comes to scar+aero?

I really wana change my theme back to aero, basic sucks ….

cycrosism

2011-06-18 22:29:51

Just make the theme basic while running the script then when you are not change it back to aero?

Dgby714

2011-06-18 22:36:16

There is a compatibility option that will make SCAR force windows to turn off Aero while running.

endlesslyonline

2011-06-19 09:20:05

OK, thanks for the replies.

i just want to find out 2 things.

1.) is it absolutely impossible to run scar in windows 7 aero mode?

2.) what is the compatibility option to force aero to basic in scar(how do i set it up)?

Dgby714

2011-06-19 11:53:16

From: endlesslyonline
OK, thanks for the replies.

i just want to find out 2 things.

1.) is it absolutely impossible to run scar in windows 7 aero mode?

2.) what is the compatibility option to force aero to basic in scar(how do i set it up)?


1) I don't use SCAR so I don't know =(

2) Right-click the executable (Scar.exe) and click properties, Compatibility tab, Disable desktop composition.

endlesslyonline

2011-06-19 13:02:32

Thanks dgby.

i have tried it in simba just to test, also does the same, picking color 16777215 everywhere.

1.) is simba suppose to work in aero?
2.) can it be my GPU drivers?

i luffs yeww

2011-06-19 14:45:28

Both of them work just fine with Aero for me. The problem is possibly either with FindWindowTitlePart or the game itself.

Dgby714

2011-06-19 14:54:03

From: endlesslyonline
Thanks dgby.

i have tried it in simba just to test, also does the same, picking color 16777215 everywhere.

1.) is simba suppose to work in aero?
2.) can it be my GPU drivers?


Try running as administrator?

Also I was reading about OpenGL capturing a few days ago and came across, Windows Aero messes with the Overlays (Like the one we use) maybe Wizzup or I will find a fix? I could also just be a problem like the post ^ said.

endlesslyonline

2011-06-19 16:52:47

ok, tested the same script on 3 different PC's, same result, it messes around in aero.

also ran as admin, no change.

So its not the display drivers

wundertüte

2011-09-02 06:43:19

you can see the problem when you move the mouse with color picker in aero design - > one pixel have different colors …

Wanted

2011-09-02 12:29:33

I would help you if I knew the answer but you may have more luck posting in the SCAR bug tracker http://bug.scar-divi.com and/or the official SCAR Divi forums http://forums.scar-divi.com/forumdisplay.php?fid=9

Freddy1990

2011-09-05 04:47:47

Maybe the issue you're having is the title bar of the window which can differ from machine to machine, th upcoming SCAR Divi 3.30 will be able to circument this issue by allowing you to work with the client area of a selected window rather than the entire window.