SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Downloads > Sub Command
Mods, missions, patches, & files for every subsim there ever was!
Forget password? Reset here

Navigation

If you are experiencing trouble downloading, it could be due to an ad-blocker or extension in your Chrome browser.
Try turning off the ad-blocker or whitelisting www.subsim.com in your ad-blocker extension
or switching to Microsoft Edge browser or Firefox to complete the download. Thanks.

Main | Legacy Downloads | Utilities | Category Tree | Stats | Search

You must be registered with this forum to download files. If you are registered and getting this message,
then the Downloads section is experiencing heavy load volumes and has been temporarily restricted to members
who are in the Subsim Navy (donors). Please try again later.

 

Become an officer in the Subsim Navy here and have your download limit increased to 25, 35 or even 60 a day! Click here to join.

A website this big uses a lot of bandwidth and needs a really powerful server to stay online day after day, for 20 years. Thanks for the support!

File Name: Dangerous Waters/Sub Command Win10 compatibility (48.5 KB) Download
Author: Komat (Uploaded by Neal Stevens)
Date Added: 12-30-15
Downloads: 366
Grade: Not Rated
Description
Very early version of simple wrapper which improves compatibility of Dangerous Waters with Windows 8 and Windows 10.

Background of the problem(s)

The Windows 8 does not directly support 16-bit display modes anymore. For old applications it provides a thin emulation layer which transparently changes the parameters used to create the default back buffer from R5G6B5 to X8R8G8B8. This works well for applications which render geometry using the standard drawing calls and do not care about the real layout of the buffer. Unfortunately DW draws its UI by locking the buffer and manually writing it here. While the game seems to contain some code to support 32bit back buffers, it was likely not tested, does not work and will crash the game.

On Windows 10 (at least Nvidia driver) the Present call will generate black screen if the device was created with D3DSWAPEFFECT_COPY swap effect.

What the wrapper does

It redirects all rendering of the game to separate new lockable 16-bit color buffer and when the game wants to show the result, it blits that buffer to the 32-bit one created by the compatibility layer. Please note that the wrapper is designed to work with DW and it only implements the minimal functionality required by the game.

It also replaces the swap effect with D3DSWAPEFFECT_DISCARD and removes unnecessary D3DPRESENTFLAG_LOCKABLE_BACKBUFFER flag just to be sure.

Installation

Unpack the archive to the game directory.

http://www.jiri-dvorak.cz/dangw/index.html

http://www.subsim.com/radioroom/showthread.php?t=221253
Images
None

You must be registered with this forum to download files. If you are registered and getting this message,
then the Downloads section is experiencing heavy load volumes and has been temporarily restricted to members
who are in the Subsim Navy (donors). Please try again later.

 

Become an officer in the Subsim Navy here and have your download limit increased to 25, 35 or even 60 a day! Click here to join.

A website this big uses a lot of bandwidth and needs a really powerful server to stay online day after day, for 20 years. Thanks for the support!



Comments
Edwald0
03-14-20 at 06:44 PM
Работает! спасибо


DownloadsII 5.1.0 by CyberRanger & Jelle
Based on ecDownloads 4.1 © Ronin
Graphics by Danlisa

All times are GMT -5. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 1995- 2023 Subsim®
"Subsim" is a registered trademark, all rights reserved.