Menu

screen cropped when use Scaled GDI calls

2019-12-16
2019-12-16
  • Sumire Komurasaki

    My OS is win10 1909, dpi 150%, and I'm playing old game EVE -THE FATAL ATTRACTION-. when I'm using GDI mode, several area will be cropped and cannot see it. any ideas?

     
  • Sumire Komurasaki

    GDI mode

     
  • Sumire Komurasaki

    also, "main-do not notify on task switch" and "Video-window style" did not take effect at all on win 10 1909.

     
  • gho

    gho - 2019-12-16

    Tested on Win7-64 100% DPI scaling, with the attached configuration the game works pretty ok.
    The problem in your first screenshot seems caused by the lack of GDI scaling, fixed in the second screenshot. It is fixed in my configuration (maybe also in yours). I also added a few flags to handle binkw32 movies, maybe you could consider importing my configuration.

    also, "main-do not notify on task switch" and "Video-window style" did not take effect at all on win 10 1909.

    Damn, you're right! They don't take effect on Win7 either. I'll work on this, please stay tuned ...

     
    • Sumire Komurasaki

      I tried your dxw, but it is like this, still cropped:
      I think it is window size issue (or title bar?), the working area is about 1192x858 (1.389:1), not 4:3 (1:333:1) at all.

       
  • gho

    gho - 2019-12-16

    Now I see what you mean. Curiously, there are several different problems (cropping, window border, do not notify) all introduced somewhere during DxWnd development, since I tested the game with an old DxWnd release and this one seems to work much better.
    I'm going to check what release introduced the problem so that it will be easier to identify a possible culprint in the release notes.
    In effect, I think that this problem also belongs to other games, so in any case thank you for letting me know. Please, stay tuned for news.

     
  • Sumire Komurasaki

    Thank you! wait for good news.

     
  • gho

    gho - 2019-12-16

    The problem was all about the DxWnd hook not realizing that the game should be treated as a fullscreen game since startup. Setting an early hook flag fixes all problems.
    You can import the updated configuration file.
    If you are familiar with DxWnd, the change can be seen in "Expert mode" only, in the "Hook" pamel where the "Injection mode" selector was set to "Inject suspended process" to get a timely hooking, then also in the "Main" panel where I set "Fullscreen only" that tells DxWnd that the game should be treated as a fullscreen game in any case (the flag name is a little deceiving, I know ...).
    This new configuration seems to fix all problems:

    1. trimming
    2. window style (you can set the style you like in the "Video" tab
    3. Do not notify on task switch - now it works
    4. the window is resizeable and can be moved freely
     
  • gho

    gho - 2019-12-16

    Thank you! wait for good news.

    I bet sooner than you expected! ;)

     

    Last edit: gho 2019-12-16
  • Sumire Komurasaki

    hi, I tested, and I found if I choose"Video-window style"to "thick frame" ,and "Video- window size & position" to "Free", then the screen will still be cropped, but "Floating, Locked size, Anchored" is worked correctly. but unavailable to move the window.
    If I choose"Video-window style"to "modal", and "Video- window size & position" to "Free", then screen will not be cropped, but "Do not notify on task switch" not works, also unavailable to move the window.

    Also I think this game must choose "GDI-Invalidate full rect" or there will be an white rectangle around the mouse.

     

Log in to post a comment.

MongoDB Logo MongoDB