User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: is it possible to suspend explorer.exe processes as ZC launches?

  1. #11
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,296
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.46%
    I giggled a little at that snippet. Can you perhaps log the results of the code snippet? Anyways I've noticed something for Zquest, the entire screen is either tinted white with the default DLL or entirely tinted pink by your modified DLL. The tint goes away after the initial dialog box but dialog box title bars are still rainbow coloured. Zelda-w.exe hasn't changed.

    Image 1 = original DLL with faded white tint over the whole screen. Phone camera kinda sucks and our proper camera is worse but probably because it is flat ._.

    Image 2 = Modified DLL with pink tint.


    Zquest is in fullscreen mode as it is only fullscreen modes for Zelda-w and Zquest that are affected. I doubt many use Zquest in Fullscreen though.
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

  2. #12
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,436
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.57%
    Quote Originally Posted by franpa View Post
    I giggled a little at that snippet. Can you perhaps log the results of the code snippet?
    Eh, no good. It just responds with WM_NO_U, and handling that creates an infinite loop.


    I think I've been going about this completely the wrong way... I don't think it'll work quite right, but what does this one do? http://www.mediafire.com/?ainkz4mzkmy (It might just hang the game, so be ready for that.)

    The problem with the new quest dialog may be unrelated. There seems to be an uninitialized bitmap being used there.

  3. #13
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,296
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.46%
    That fixes the new quest dialog screen tint but title bars still have a rainbow colour. It has no effect on ZC.
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

  4. #14
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,436
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.57%
    This one looks promising: http://www.mediafire.com/?2tofynee0t3

    If it screws up again, not counting ZQ's new quest dialog, post allegro.log afterward.
    Even if it does work, it's overkill and should be whittled down, but that's not a big deal.

  5. #15
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,296
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.46%
    FUCK YES! That solves the colour problems in full screen modes!

    I'll do a bit more in depth testing (aka: extended play session) but it looks very promising.



    edit: maybe get Freedom's attention
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

  6. #16
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,962
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.52%
    Cool. :)

    Just curious what the deciding code was.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  7. #17
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,436
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.57%
    Turns out a lot of the information out there about this problem only applies to GDI applications. Apparently, this is all it needs:
    Code:
          case WM_QUERYNEWPALETTE:
          case WM_PALETTECHANGED:
             if ((HWND)wparam != wnd && gfx_directx_primary_surface) {
                IDirectDrawSurface2_SetPalette(gfx_directx_primary_surface->id, ddpalette);
                InvalidateRect(wnd, NULL, 1);
             }
             return 1;


    One more file to try, with all the seemingly unnecessary stuff removed. If you can confirm that this one works, I think we're done here.
    http://www.mediafire.com/?3fz2aymigon

  8. #18
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,296
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.46%
    Yep, that works still :) no more additional logging to allegro.log either (which is intended, I know).
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

  9. #19
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,436
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.57%
    All right, I went ahead and committed it. Hopefully, that's the end of that. Thanks for being patient with me here.

  10. #20
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,296
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.46%
    It probably would have been worked out quicker if we had used MSN >.> though I have no clue how long it takes to compile Allegro.dll
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

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
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social