User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Full Screen ZC Makes Me Sad

  1. #1
    Lynel Modus Ponens's Avatar
    Join Date
    Mar 2001
    Location
    Redmond, WA
    Age
    42
    Posts
    1,583
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    4,005
    Level
    20
    vBActivity - Bars
    Lv. Percent
    12.28%

    Unhappy Full Screen ZC Makes Me Sad

    [Edit: before I said my problem occurred in both ZC and ZQ, when in reality, it only happens as described in ZC — there's an entirely different problem in ZQ]

    Hey guys, I guess I haven't posted in... like at least five years or more. Hi.

    So, this thread talks about a bug that plagues me as well. If I run ZC in full screen, it flickers the whole time that the game is running. It's like it's showing the game properly for one frame, and then the next frame it's all blue with some stuff on the left side of the screen.

    Proper frame, and glitch frame, rapidly alternating between the two. (Note that these two frames do not perfectly correspond to one another — I moved Link around a little bit between them, but ZC crashed while I was trying to take screenshots and I didn't feel like launching it again.)

    As you might be able to see from these images, it appears that the glitch frame is actually the data from the proper frame, but kind of squished against the left side of the screen and without proper color palette information. I don't suppose that diagnosis will help at all, but there it is.

    For the record, I'm running 2.50.2, launched from the ZC Launcher with the launcher's Screen Mode set to "Full Screen". I'm running Windows 10 Pro (version 1703, build number 15063.413) on a Retina Macbook Pro, with its NVIDIA GeForce GT 750M graphics card, in case any of this matters.

    As an aside, I can't tell you how nice it is to see that ZC is still around after all these years, and in such good hands. Please keep it up!
    Last edited by Modus Ponens; 07-17-2017 at 01:04 AM.
    All men are mortal.
    Socrates is a man.
    Therefore, all men are Socrates.

  2. #2
    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,430
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.57%
    Try setting
    doublebuffer = 1
    in the zeldadx section of ag.cfg.

  3. #3
    Lynel Modus Ponens's Avatar
    Join Date
    Mar 2001
    Location
    Redmond, WA
    Age
    42
    Posts
    1,583
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    4,005
    Level
    20
    vBActivity - Bars
    Lv. Percent
    12.28%
    Radical. Thank you, Saffith, that helps very much. However, problems persist.

    First of all, your solution is actively defeated by the launcher, who seems to gleefully overwrite the doublebuffer setting when I use it to launch ZC. If I launch it directly via zelda-w.exe, everything's fine. Is there a way around this?

    Secondly, I goofed in my initial report (which I have now edited): I said that that behavior occurs in both ZC and ZQuest. In reality, the glitchy behavior I described does not happen in ZQ, though it still doesn't work. In ZQ, when I try to enable fullscreen, it tries to open a full-screen-sized window. It remains visible with only black contents for a few moments, and then it disappears. A few moments later, it tries and fails again. This repeats several times, before ZQ finally gives up and goes back to windowed mode.

    Any thoughts on this matter?
    All men are mortal.
    Socrates is a man.
    Therefore, all men are Socrates.

  4. #4
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,815
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,933
    Level
    33
    vBActivity - Bars
    Lv. Percent
    23.44%
    Sounds like it is running through the available supported hardware (GPU) display settings and failing? I'm not sure. What does allegro.log report? Triple buffering started to become a problem once windows went to 8 (false positives result in crashes) and 10, so I would make sure triple-buffering is not set in the config file (If you say it gets reverted by ZL?). Triple-buffer is officially permanently deprecated now in 2.50.3.

    Are you running wine, and does the Mac build work any better?
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  5. #5
    Lynel Modus Ponens's Avatar
    Join Date
    Mar 2001
    Location
    Redmond, WA
    Age
    42
    Posts
    1,583
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    4,005
    Level
    20
    vBActivity - Bars
    Lv. Percent
    12.28%
    Hi, Gleeok. No, I'm not running Wine, I'm using Boot Camp to run Windows natively. It doesn't seem that triple-buffering is ever being set.

    Here's my Allegro dump:

    ZQuest v2.50 (Build 29)
    Allocating tunes buffer (16.00k/16.00k)... OK
    Allocating map buffer (1008.84k/1.00M)... OK
    Allocating combo buffer (5.98k/1.01M)... OK
    Allocating string buffer (680.00k/1.67M)... OK
    Allocating door combo buffer (159.50k/1.83M)... OK
    Allocating dmap buffer (234.00k/2.06M)... OK
    Allocating combo buffer (1.62M/3.67M)... OK
    Allocating color data buffer (314.11k/3.98M)... OK
    Allocating tile buffer (8.50M/12.48M)... OK
    Allocating tile grab buffer (511.88k/20.98M)... OK
    Allocating trash buffer (97.66k/21.07M)... OK
    Allocating item buffer (31.12k/21.10M)... OK
    Allocating weapon buffer (2.50k/21.10M)... OK
    Allocating guy buffer (70.00k/21.17M)... OK
    Allocating combo class buffer (33.30k/21.21M)... OK
    Allocating combo undo buffer (1.62M/22.82M)... OK
    Allocating new tile undo buffer (511.88k/23.32M)... OK
    Resetting new tile buffer...OK
    Allocating file path buffers (14.00k/23.33M)... OK
    Initializing Allegro... OK
    Loading data files:
    Fonts.Dat...OK
    ZQuest.Dat...OK
    QST.Dat...OK
    SFX.Dat...OK
    OK
    Initializing sound driver... OK
    gfx mode set at -2 8bpp 800 x 600
    Loading Quest: c:\Users\Modus Ponens\Desktop\- Gams -\Zelda Classic\Quests\NewThing.qst...

    Decrypting...okay.
    Opening...okay.
    Reading Header...okay.
    Made in ZQuest 250 Beta 29
    Reading Rules...okay.
    Reading Strings...okay.
    Reading Doors...okay.
    Reading DMaps...okay.
    Reading Misc. Data...okay.
    Reading Misc. Colors...okay.
    Reading Game Icons...okay.
    Reading Items...okay.
    Reading Weapons...okay.
    Reading Maps...okay.
    Reading Combos...okay.
    Reading Combo Aliases...okay.
    Reading Color Data...okay.
    Reading Tiles...okay.
    Reading Tunes...okay.
    Reading Cheat Codes...okay.
    Reading Init. Data...okay.
    Reading Custom Guy Data...okay.
    Reading Custom Link Sprite Data...okay.
    Reading Custom Subscreen Data...okay.
    Reading FF Script Data...okay.
    Reading SFX Data...okay.
    Reading Item Drop Sets...okay.
    Reading Favorite Combos...okay.
    Done.
    Removing timers.
    Cleaning aliases.
    Cleaning subscreens.
    Cleaning sfx.
    Cleaning script buffer.
    Cleaning qst buffers.
    Cleaning maps.
    Cleaning tile buffers.
    Cleaning misc.
    Cleaning midis.
    Cleaning undotilebuf.
    Cleaning datafiles.
    Cleaning bitmaps...... OK.


    This is after opening ZQ (via zquest-w.exe), attempting to switch to fullscreen, seeing it fail, and then quitting the program.
    All men are mortal.
    Socrates is a man.
    Therefore, all men are Socrates.

  6. #6
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,815
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,933
    Level
    33
    vBActivity - Bars
    Lv. Percent
    23.44%
    Oh right, ZQuest... Forget what I said about triple-buffering then. Sorry. I don't see the cause off hand, but points of interest:

    Is there a screen resolution in ZQuest that your computer will support? If not then fullscreen is probably impossible without DXGL or something similar. (800x600 is 4:3; does ZC run fullscreen at 800x600?)
    I couldn't add custom resolutions in ZQ (too much work at the time; impractical) at the time they were added to ZC, but I can take another look if it's something that users really want. I just always thought that people preferred ZQ to be in windowed mode. I don't think I've ever run ZQ in fullscreen since 1.93.

    Do we have a Mac guy at all?
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  7. #7
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,025
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.16%
    You can force arbitrary resolutions in the master branch (assuming you are fine with the resulting aliasing artifacts).

    Do we have a Mac guy at all?
    Sadly no...

  8. #8
    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,430
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.57%
    Quote Originally Posted by Modus Ponens View Post
    First of all, your solution is actively defeated by the launcher, who seems to gleefully overwrite the doublebuffer setting when I use it to launch ZC.
    Strange, it shouldn't do that... It wasn't already running when you edited ag.cfg, right?

    In ZQ, when I try to enable fullscreen, it tries to open a full-screen-sized window. It remains visible with only black contents for a few moments, and then it disappears. A few moments later, it tries and fails again. This repeats several times, before ZQ finally gives up and goes back to windowed mode.
    Scaling the new interface up in ZQuest wasn't allowed until after 2.50.2, so I don't know what it'll do if 800x600x8 isn't supported. A newer version might work.

  9. #9
    Lynel Modus Ponens's Avatar
    Join Date
    Mar 2001
    Location
    Redmond, WA
    Age
    42
    Posts
    1,583
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    4,005
    Level
    20
    vBActivity - Bars
    Lv. Percent
    12.28%
    Quote Originally Posted by Gleeok View Post
    Is there a screen resolution in ZQuest that your computer will support?
    I don't know. How do I change the ZQ screen resolution?

    (800x600 is 4:3; does ZC run fullscreen at 800x600?)
    800x600 doesn't show up as an option in the drop-down list of resolutions in the launcher. Is there a way to manually specify that? (Presumably in ag.cfg?)

    I couldn't add custom resolutions in ZQ (too much work at the time; impractical) at the time they were added to ZC, but I can take another look if it's something that users really want. I just always thought that people preferred ZQ to be in windowed mode. I don't think I've ever run ZQ in fullscreen since 1.93.
    It isn't a big deal. I think I probably do actually prefer to run it windowed, like you said, because it's so much easier to switch to other applications that way. If you get the option in, I might use it sometimes, but it's far from a priority on my personal wants list.

    Quote Originally Posted by Saffith View Post
    Strange, it shouldn't do that... It wasn't already running when you edited ag.cfg, right?
    Ooh, good catch. I think that was the problem. I just checked ag.cfg without the launcher open and confirmed the doublebuffer setting, and then closed that and launched ZC via the launcher, and everything is fine there.

    BUT...
    when I have ZC in fullscreen mode and I Alt-Tab to another program, it's bad. Last night I tried it a couple times, and when I tabbed back to it, it was put into that glitched state I mentioned in my first post. Today I can't replicate that because it just crashes altogether when I Alt-Tab away. So maybe this is a different bug, or maybe it's related, but there it is.

    Fortunately, things seem pretty agreeable at this point: I'm able to run both ZC and ZQuest and I'm happy with how it's working, so long as I'm careful to toggle Fullscreen before I want to switch programs from ZC.
    All men are mortal.
    Socrates is a man.
    Therefore, all men are Socrates.

  10. #10
    birb Tim's Avatar
    Join Date
    Apr 2004
    Age
    36
    Posts
    678
    Mentioned
    41 Post(s)
    Tagged
    8 Thread(s)
    vBActivity - Stats
    Points
    3,612
    Level
    19
    vBActivity - Bars
    Lv. Percent
    23.64%
    That tab-out issue also happens on a PC running Win 10, so no surprise there. That one's not a Mac issue.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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