User Tag List

Results 1 to 7 of 7

Thread: Slow menus and dialogs in ZC 2.55

  1. #1
    Gibdo
    Join Date
    Mar 2004
    Age
    36
    Posts
    888
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,996
    Level
    17
    vBActivity - Bars
    Lv. Percent
    72.82%

    Slow menus and dialogs in ZC 2.55

    Why are the menus in the ZC player so slow? It makes it very painful slow especially configuring all the controller/keyboard bindings. What gives???

  2. #2
    Gel
    ZC Developer

    Join Date
    Aug 2018
    Posts
    3
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    62
    Level
    2
    vBActivity - Bars
    Lv. Percent
    70.5%
    Menus are slow? I'm afraid I have no idea what you mean by that.

  3. #3
    Octorok
    Join Date
    Dec 2001
    Age
    36
    Posts
    149
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,053
    Level
    11
    vBActivity - Bars
    Lv. Percent
    19.59%
    If you are using DXGL it is currently a bug in how it handles direct writes to the primary surface, which Allegro does a lot of when drawing the UI elements. Try not forcing Vsync in either the control panel or DXGL settings.

  4. #4
    Gibdo
    Join Date
    Mar 2004
    Age
    36
    Posts
    888
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,996
    Level
    17
    vBActivity - Bars
    Lv. Percent
    72.82%
    Thank you! That fixed it.

  5. #5
    The Timelord
    QDB Manager
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,358
    Mentioned
    110 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,514
    Level
    21
    vBActivity - Bars
    Lv. Percent
    19.66%
    Quote Originally Posted by BFeely View Post
    If you are using DXGL it is currently a bug in how it handles direct writes to the primary surface, which Allegro does a lot of when drawing the UI elements. Try not forcing Vsync in either the control panel or DXGL settings.
    Hmm, perhaps I should write this in zquest.cfg when enabling or disabling DXGL.

  6. #6
    The Timelord
    QDB Manager
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,358
    Mentioned
    110 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,514
    Level
    21
    vBActivity - Bars
    Lv. Percent
    19.66%
    Quote Originally Posted by BFeely View Post
    If you are using DXGL it is currently a bug in how it handles direct writes to the primary surface, which Allegro does a lot of when drawing the UI elements. Try not forcing Vsync in either the control panel or DXGL settings.
    Oh, wait. Do you mean the allegro vsynnc setting in ZC< or is there a DXGL vsync variable somewhere that we need to address in the config files?

    If so, with the .cfg files that we include with 2.53.1 and 2.55, where would I add that, and what is the exact setting?

    Code:
    ; DXGL Configuration file for ZC Player/ZQuest
    ; Note: gfx_card and gfx_cardw must be set to DXAC in zc.cfg and zquest.cfg
    
    [system]
    ; Do not write a DXGL profile by default - leave this set
    NoWriteRegistry = true
    
    ; Leave this line if if releasing a package on Steam
    NoOverwrite = true
    
    ; Uncomment and fill this line in with the SHA256 hash of ddraw.dll if not
    ; releasing on Steam to enable DXGL Config backup/restore:
    ;BundledDDrawSHA256 =
    
    [display]
    ; Add 8-bit color mode needed to run ZC fullscreen, required for compatibility
    ; with Windows 8 and above
    AddColorDepths = 1
    
    ; Override and DXGL Config screen aspect settings
    ScreenAspect = Default
    
    ; Screen filter - choose 0 for nearest or 1 for linear.  Affects fullscreen
    ; scaled/stretched modes.
    ScalingFilter = 1
    
    ; Set to 0 for exclusive fullscreen (best performance), 1 for non-exclusive
    ; fullscreen, or 5 boderless window mode
    FullscreenWindowMode = 0
    
    ; Choose an additional configuration file to enable fullscreen mode, stretched
    ; mode, scaled mode, or 4:3 mode - uncomment the desired one
    
    ; For window mode, set window mode in zc.cfg or zquest.cfg
    ; Window mode scaline will come in a later version of DXGL. 
    
    ; Fullscreen - change display mode
    ;Include = dxgl-fullscreen.cfg
    
    ; Fullscreen - aspect stretch
    ;Include = dxgl-aspect.cfg
    
    ; Fullscreen - Expand game to 4:3 aspect
    Include = dxgl-aspect-zc-43-scale.cfg
    Do you have a list of variables for this config file that it supports?

    It seems that I will need to add a small DXGL tab to ZCL.

  7. #7
    Octorok
    Join Date
    Dec 2001
    Age
    36
    Posts
    149
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,053
    Level
    11
    vBActivity - Bars
    Lv. Percent
    19.59%
    The current documentation for DXGL variables is in dxgl-example.ini included in both the installer and source code package. It lists all the configurable settings, within the required INI sections.

    In the [display] section you will want to add the following:
    Code:
    VSync = 0
    This will enforce the DXGL default setting, which allows the game to turn it on and off as required.
    1 will completely disable vsync.
    2 will force vsync, even when writing to the primary surface, which is currently broken hence causing the slow menus.

    As already mentioned, make sure not to set vsync in your graphics card control panel, as this will be equivalent to changing this setting to 2.
    Last edited by BFeely; 11-13-2019 at 02:40 AM. Reason: Explain the setting to add

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