Guest User

Untitled

a guest
Jan 23rd, 2021
2,809
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. ; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org
  2.  
  3. ; ### NOTE TO PROJECT DIABLO 2 PLAYERS ###
  4.  
  5. ; To enable upscaling via shaders in -fullscreen mode- just change 'fullscreen=false' to 'fullscreen=true'
  6.  
  7. ; To enable upscaling via shaders in -windowed mode- just resize your window or set 'width=' and 'height=' to the desired window size
  8.  
  9. [ddraw]
  10. ; ### Optional settings ###
  11. ; Use the following settings to adjust the look and feel to your liking
  12.  
  13.  
  14. ; Stretch to custom resolution, 0 = defaults to the size game requests
  15. width=1920
  16. height=1080
  17.  
  18. ; Override the width/height settings shown above and always stretch to fullscreen
  19. ; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode
  20. fullscreen=false
  21.  
  22. ; Run in windowed mode rather than going fullscreen
  23. windowed=true
  24.  
  25. ; Maintain aspect ratio - (Requires 'handlemouse=true')
  26. maintas=false
  27.  
  28. ; Windowboxing / Integer Scaling - (Requires 'handlemouse=true')
  29. boxing=false
  30.  
  31. ; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap
  32. ; Note: Does not have an impact on the game speed, to limit your game speed use 'maxgameticks='
  33. maxfps=60
  34.  
  35. ; Vertical synchronization, enable if you get tearing - (Requires 'renderer=auto/opengl/direct3d9')
  36. ; Note: vsync=true can fix tearing but it will cause input lag
  37. vsync=false
  38.  
  39. ; Automatic mouse sensitivity scaling - (Requires 'handlemouse=true')
  40. ; Note: Only works if stretching is enabled. Sensitivity will be adjusted according to the size of the window
  41. adjmouse=false
  42.  
  43. ; Preliminary libretro shader support - (Requires 'renderer=opengl') https://github.com/libretro/glsl-shaders
  44. ; 2x scaling example: https://imgur.com/a/kxsM1oY - 4x scaling example: https://imgur.com/a/wjrhpFV
  45. shader=Shaders\crt-lottes-fast.glsl
  46.  
  47. ; Window position, -32000 = center to screen
  48. posX=-32000
  49. posY=-32000
  50.  
  51. ; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi)
  52. renderer=opengl
  53.  
  54. ; Developer mode (don't lock the cursor)
  55. devmode=false
  56.  
  57. ; Show window borders in windowed mode
  58. border=false
  59.  
  60. ; Save window position/size/state on game exit and restore it automatically on next game start
  61. ; Possible values: 0 = disabled, 1 = save to global 'ddraw' section, 2 = save to game specific section
  62. savesettings=0
  63.  
  64. ; Should the window be resizeable by the user in windowed mode?
  65. resizeable=true
  66.  
  67. ; Enable C&C video resize hack - Stretches C&C cutscenes to fullscreen
  68. vhack=false
  69.  
  70.  
  71.  
  72. ; ### Compatibility settings ###
  73. ; Use the following settings in case there are any issues with the game
  74.  
  75.  
  76. ; Hide WM_ACTIVATEAPP and WM_NCACTIVATE messages to prevent problems on alt+tab
  77. noactivateapp=false
  78.  
  79. ; Max game ticks per second, possible values: -1 = disabled, 0 = emulate 60hz vblank, 1-1000 = custom game speed
  80. ; Note: Can be used to slow down a too fast running game, fix flickering or too fast animations
  81. ; Note: Usually one of the following values will work: 60 / 30 / 25 / 20 / 15 (lower value = slower game speed)
  82. maxgameticks=0
  83.  
  84. ; Gives cnc-ddraw full control over the mouse cursor (required for adjmouse/boxing/maintas)
  85. ; Note: Set this to 'false' if your cursor becomes invisible at some places in the game
  86. handlemouse=true
  87.  
  88. ; Windows API Hooking, Possible values: 0 = disabled, 1 = IAT Hooking, 2 = Microsoft Detours, 3 = IAT+Detours Hooking (All Modules), 4 = IAT Hooking (All Modules)
  89. ; Note: Change this value if windowed mode or upscaling isn't working properly
  90. ; Note: 'hook=2' will usually work for problematic games, but 'hook=2' must be combined with renderer=gdi
  91. hook=4
  92.  
  93. ; Force minimum FPS, possible values: 0 = disabled, -1 = use 'maxfps=' value, 1-1000 = custom FPS
  94. ; Note: Set this to a low value such as 5 or 10 if some parts of the game are not being displayed (e.g. menus or loading screens)
  95. minfps=0
  96.  
  97. ; Disable fullscreen-exclusive mode for the direct3d9/opengl renderers
  98. ; Note: Can be used in case some GUI elements like buttons/textboxes/videos/etc.. are invisible
  99. nonexclusive=false
  100.  
  101. ; Force CPU0 affinity, avoids crashes/freezing, *might* have a performance impact
  102. singlecpu=true
  103.  
  104. [Game]
  105. width=1920
  106. height=1080
  107.  
Advertisement
Add Comment
Please, Sign In to add comment