Results 1 to 12 of 12

Thread: Scar and Aero

  1. #1
    Join Date
    Jun 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Scar and Aero

    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,

    Code:
    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

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

    Code:
    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 ....

  2. #2
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Just make the theme basic while running the script then when you are not change it back to aero?
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  3. #3
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

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

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  4. #4
    Join Date
    Jun 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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)?

  5. #5
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by endlesslyonline View Post
    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.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  6. #6
    Join Date
    Jun 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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?

  7. #7
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

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

  8. #8
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by endlesslyonline View Post
    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.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  9. #9
    Join Date
    Jun 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  10. #10
    Join Date
    Feb 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  11. #11
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  12. #12
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •