Index: Help/dxgl.hhp |
— | — | @@ -15,6 +15,7 @@ |
16 | 16 | [FILES]
|
17 | 17 | introduction.htm
|
18 | 18 | configuration.htm
|
 | 19 | +troubleshooting.htm
|
19 | 20 | dxgl.css
|
20 | 21 | dxglcfg.png
|
21 | 22 |
|
Index: Help/introduction.htm |
— | — | @@ -1,10 +1,105 @@ |
2 | 2 | <!DOCTYPE html>
|
3 | 3 | <html>
|
4 | Â | - <head>
|
 | 4 | +<head>
|
 | 5 | + <meta charset="utf-8">
|
5 | 6 | <title>Introduction</title>
|
6 | Â | - </head>
|
7 | Â | - <body>
|
8 | Â | - <p>DXGL is a project to create a DirectDraw/Direct3D version 1 to 7 implementation that runs on OpenGL 2.0. It is intended to alleviate some of the graphics glitches inherent with using legacy DirectX interfaces on modern video cards. The API will be 100% binary compatible with the system ddraw.dll file.</p>
|
9 | Â | - <p>DXGL is currently in an alpha stage of development and very little works at this point.</p>
|
10 | Â | - </body>
|
 | 7 | + <style></style>
|
 | 8 | +</head>
|
 | 9 | +<body id="preview">
|
 | 10 | + <h1>DXGL</h1>
|
 | 11 | + <p><a href="https://www.dxgl.info">https://www.dxgl.info</a></p>
|
 | 12 | + <h2>Introduction</h2>
|
 | 13 | + <p>DXGL is a free replacement for the Windows ddraw.dll library, running on OpenGL. It is designed to overcome driver bugs, particularly in Windows Vista and newer operating systems. It also adds various enhancements to the graphics output such as display scaling and filtering options. DXGL supports the DirectX 7.0 graphics APIs, however it is currently under development and many programs are not yet compatible with DXGL.</p>
|
 | 14 | + <h2>Updgrade notes</h2>
|
 | 15 | + <p>
|
 | 16 | + If you upgrade from DXGL 0.5.8 or earlier, the configuration format will be changed, and earlier versions of DXGL will no longer recognize the profiles.
|
 | 17 | + In addition, any profiles generated by older versions of DXGL going forward will not be recognized by DXGL 0.5.9 or later.
|
 | 18 | + If you wish to migrate any old profiles generated after installing DXGL 0.5.9 or later, you will need to use Regedit to delete the “Configuration Version” registry value from the HKEY_CURRENT_USER\SOFTWARE\DXGL registry key to force the upgrade to be run again.
|
 | 19 | + </p>
|
 | 20 | + <h2>GitHub Notice</h2>
|
 | 21 | + <p>If you downloaded the DXGL source code from GitHub, please note that when compiling DXGL, the version number will not indicate the revision number. This issue is also present when compiling from a zipped source code distribution from the <a href="http://www.dxgl.info">www.dxgl.info</a> or <a href="http://www.williamfeely.info">www.williamfeely.info</a> website.</p>
|
 | 22 | + <h2>System Requirements</h2>
|
 | 23 | + <ul>
|
 | 24 | + <li>Windows XP SP3, Vista, 7, 8, 8.1, or 10 (May work under recent versions of Wine)</li>
|
 | 25 | + <li>
|
 | 26 | + OpenGL 2.0 or higher compatible video card, with hardware accelerated non-power-of-two size textures
|
 | 27 | + <ul>
|
 | 28 | + <li>OpenGL 3.2 or higher recommended.</li>
|
 | 29 | + </ul>
|
 | 30 | + </li>
|
 | 31 | + <li>Visual C++ 2013 x86 runtime, available at <a href="https://www.microsoft.com/en-us/download/details.aspx?id=40784">https://www.microsoft.com/en-us/download/details.aspx?id=40784</a> (will be installed if not present)</li>
|
 | 32 | + </ul>
|
 | 33 | + <h2>Build Requirements</h2>
|
 | 34 | + <ul>
|
 | 35 | + <li>Visual Studio 2013, either full/community version or Express for Windows Desktop might work.</li>
|
 | 36 | + <li>
|
 | 37 | + The following components are optional. The build process will ask for these if they do not exist:
|
 | 38 | + <ul>
|
 | 39 | + <li>TortoiseSVN (to fill in revision on SVN builds)</li>
|
 | 40 | + <li>HTML Help Workshop (to build help)</li>
|
 | 41 | + <li>NSIS (to build installer, requires TortoiseSVN and HTML Help Workshop to succeed)</li>
|
 | 42 | + </ul>
|
 | 43 | + </li>
|
 | 44 | + </ul>
|
 | 45 | + <h2>Build Instructions</h2>
|
 | 46 | + <p>These instructions assume that you do not have any of the required software installed. If you already have any or all of this software installed and set up, skip those steps.</p>
|
 | 47 | + <ul>
|
 | 48 | + <li>Install Visual Studio 2013 Community at <a href="https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx">https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx</a></li>
|
 | 49 | + <li>Open the dxgl.sln file, select your build configuration (Debug or Release) in the toolbar, and press F7 to build.</li>
|
 | 50 | + </ul>
|
 | 51 | + <h2>Progress</h2>
|
 | 52 | + <p>
|
 | 53 | + For detailed progress information, please check <a href="https://www.williamfeely.info/wiki/DXGL_Features">https://www.williamfeely.info/wiki/DXGL_Features</a>
|
 | 54 | + What works:
|
 | 55 | + </p>
|
 | 56 | + <ul>
|
 | 57 | + <li>DirectDraw object creation and destruction (versions 1 to 7)</li>
|
 | 58 | + <li>Display mode enumeration and switching (with emulated mode switching)</li>
|
 | 59 | + <li>Fullscreen and windowed modes.</li>
|
 | 60 | + <li>Basic Blt() functionality</li>
|
 | 61 | + <li>8-bit color emulated with GLSL shader</li>
|
 | 62 | + </ul>
|
 | 63 | + <p>What partially works:</p>
|
 | 64 | + <ul>
|
 | 65 | + <li>3D graphics are only partially supported.</li>
|
 | 66 | + </ul>
|
 | 67 | + <p>What doesn’t work:</p>
|
 | 68 | + <ul>
|
 | 69 | + <li>Many functions are stubbed out and return an error</li>
|
 | 70 | + </ul>
|
 | 71 | + <h2>Installation</h2>
|
 | 72 | + <p>
|
 | 73 | + Run the installer. When the installer completes, open DXGL Config and add your program files to the config program.
|
 | 74 | + To uninstall, go to the Add/Remove Programs or Programs and Features control panel and uninstall.
|
 | 75 | + </p>
|
 | 76 | + <h2>SVN</h2>
|
 | 77 | + <p>
|
 | 78 | + SVN readonly access is available at:
|
 | 79 | + <a href="https://www.dxgl.info/svn/dxgl/">https://www.dxgl.info/svn/dxgl/</a>
|
 | 80 | + </p>
|
 | 81 | + <p>
|
 | 82 | + There is a Mediawiki-based SVN log at:
|
 | 83 | + <a href="https://www.williamfeely.info/wiki/Special:Code/DXGL">https://www.williamfeely.info/wiki/Special:Code/DXGL</a>
|
 | 84 | + </p>
|
 | 85 | + <h2>AppDB</h2>
|
 | 86 | + <p>
|
 | 87 | + An AppDB system (similar to that on <a href="http://winehq.org">winehq.org</a>) is now available at:
|
 | 88 | + <a href="https://www.dxgl.info/appdb/">https://www.dxgl.info/appdb/</a>
|
 | 89 | + </p>
|
 | 90 | + <p>This requires a user account separate from the other services.</p>
|
 | 91 | + <p>Please note that the AppDB is now deprecated and will be made read-only once the new DXGL Wiki launches.</p>
|
 | 92 | + <h2>Discussion boards</h2>
|
 | 93 | + <p>
|
 | 94 | + You may discuss DXGL at:
|
 | 95 | + <a href="https://www.dxgl.info/phpBB3/">https://www.dxgl.info/phpBB3/</a>
|
 | 96 | + </p>
|
 | 97 | + <p>You must create a forum account to post content. For bug reports, please refer to the next section.</p>
|
 | 98 | + <h2>Bug reports</h2>
|
 | 99 | + <p>
|
 | 100 | + Bug reports are managed by a Bugzilla system available at:
|
 | 101 | + <a href="https://www.dxgl.info/bugzilla/">https://www.dxgl.info/bugzilla/</a>
|
 | 102 | + </p>
|
 | 103 | + <p>A user account needs to be created at this site to post bug reports.</p>
|
 | 104 | +
|
 | 105 | +</body>
|
11 | 106 | </html> |
\ No newline at end of file |
Index: Installer/dxgl.nsi |
— | — | @@ -17,6 +17,10 @@ |
18 | 18 |
|
19 | 19 |
|
20 | 20 | SetCompressor /SOLID lzma
|
 | 21 | +!ifdef NSIS_PACKEDVERSION
|
 | 22 | + ManifestSupportedOS all
|
 | 23 | + ManifestDPIAware true
|
 | 24 | +!endif
|
21 | 25 |
|
22 | 26 | !include 'WinVer.nsh'
|
23 | 27 | !include 'LogicLib.nsh'
|
Index: ReadMe.md |
— | — | @@ -1,11 +1,16 @@ |
2 | Â | -# DXGL 0.5.8
|
3 | Â | -https://www.williamfeely.info/wiki/DXGL
|
 | 2 | +# DXGL 0.5.9
|
 | 3 | +https://www.dxgl.info
|
4 | 4 |
|
5 | 5 | ## Introduction
|
6 | Â | -DXGL is a free replacement for the Windows ddraw.dll library, running on OpenGL. It is designed to overcome driver bugs, particularly in Windows Vista and newer operating systems. It also adds various enhancements to the graphics output such as display scaling and filtering options. DXGL supports the DirectX 7.0 graphics APIs, however it is currently under development and does not work with many programs.
|
 | 6 | +DXGL is a free replacement for the Windows ddraw.dll library, running on OpenGL. It is designed to overcome driver bugs, particularly in Windows Vista and newer operating systems. It also adds various enhancements to the graphics output such as display scaling and filtering options. DXGL supports the DirectX 7.0 graphics APIs, however it is currently under development and many programs are not yet compatible with DXGL.
|
7 | 7 |
|
 | 8 | +## Updgrade notes
|
 | 9 | +If you upgrade from DXGL 0.5.8 or earlier, the configuration format will be changed, and earlier versions of DXGL will no longer recognize the profiles.
|
 | 10 | +In addition, any profiles generated by older versions of DXGL going forward will not be recognized by DXGL 0.5.9 or later.
|
 | 11 | +If you wish to migrate any old profiles generated after installing DXGL 0.5.9 or later, you will need to use Regedit to delete the "Configuration Version" registry value from the HKEY_CURRENT_USER\SOFTWARE\DXGL registry key to force the upgrade to be run again.
|
 | 12 | +
|
8 | 13 | ## GitHub Notice
|
9 | Â | -If you downloaded DXGL from GitHub, please note that the version number will not work.
|
 | 14 | +If you downloaded the DXGL source code from GitHub, please note that when compiling DXGL, the version number will not indicate the revision number. This issue is also present when compiling from a zipped source code distribution from the www.dxgl.info or www.williamfeely.info website.
|
10 | 15 |
|
11 | 16 | ## System Requirements
|
12 | 17 |
|
— | — | @@ -15,7 +20,7 @@ |
16 | 21 | * Visual C++ 2013 x86 runtime, available at https://www.microsoft.com/en-us/download/details.aspx?id=40784 (will be installed if not present)
|
17 | 22 |
|
18 | 23 | ## Build Requirements
|
19 | Â | -* Visual Studio 2013, either full version or Express for Windows Desktop might work.
|
 | 24 | +* Visual Studio 2013, either full/community version or Express for Windows Desktop might work.
|
20 | 25 | * The following components are optional. The build process will ask for these if they do not exist:
|
21 | 26 | * TortoiseSVN (to fill in revision on SVN builds)
|
22 | 27 | * HTML Help Workshop (to build help)
|
— | — | @@ -66,14 +71,13 @@ |
67 | 72 | ## Discussion boards
|
68 | 73 |
|
69 | 74 | You may discuss DXGL at:
|
70 | Â | -https://www.dxgl.info/phpBB3
|
 | 75 | +https://www.dxgl.info/phpBB3/
|
71 | 76 |
|
72 | Â | -You must create a forum account to post content.
|
 | 77 | +You must create a forum account to post content. For bug reports, please refer to the next section.
|
73 | 78 |
|
74 | Â | -
|
75 | 79 | ## Bug reports
|
76 | 80 |
|
77 | 81 | Bug reports are managed by a Bugzilla system available at:
|
78 | Â | -https://www.dxgl.info/bugzilla
|
 | 82 | +https://www.dxgl.info/bugzilla/
|
79 | 83 |
|
80 | 84 | A user account needs to be created at this site to post bug reports.
|
Index: cfgmgr/cfgmgr.c |
— | — | @@ -901,7 +901,6 @@ |
902 | 902 | olddir = realloc(olddir, olddirsize);
|
903 | 903 | if (!olddir)
|
904 | 904 | {
|
905 | Â | - free(olddir);
|
906 | 905 | MessageBox(NULL, _T("Out of memory updating registry"), _T("Fatal error"), MB_ICONSTOP | MB_OK);
|
907 | 906 | ExitProcess(error);
|
908 | 907 | }
|
Index: common/releasever.h |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 |
|
6 | 6 | #define DXGLMAJORVER 0
|
7 | 7 | #define DXGLMINORVER 5
|
8 | Â | -#define DXGLPOINTVER 8
|
 | 8 | +#define DXGLPOINTVER 9
|
9 | 9 |
|
10 | 10 | #define STR2(x) #x
|
11 | 11 | #define STR(x) STR2(x)
|
Index: dxglcfg/dxglcfg.c |
— | — | @@ -749,6 +749,7 @@ |
750 | 750 | EnableWindow(GetDlgItem(hWnd, IDC_PATHLABEL), FALSE);
|
751 | 751 | EnableWindow(GetDlgItem(hWnd, IDC_PROFILEPATH), FALSE);
|
752 | 752 | // Check install path
|
 | 753 | + installpath = NULL;
|
753 | 754 | error = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Software\\DXGL"), 0, KEY_READ, &hKey);
|
754 | 755 | if (error == ERROR_SUCCESS)
|
755 | 756 | {
|
— | — | @@ -925,7 +926,7 @@ |
926 | 927 | case IDC_APPS:
|
927 | 928 | OldTextColor = GetTextColor(drawitem->hDC);
|
928 | 929 | OldBackColor = GetBkColor(drawitem->hDC);
|
929 | Â | - if((drawitem->itemAction | ODA_SELECT) && (drawitem->itemState & ODS_SELECTED) &&
|
 | 930 | + if((drawitem->itemAction & ODA_SELECT) && (drawitem->itemState & ODS_SELECTED) &&
|
930 | 931 | !(drawitem->itemState & ODS_COMBOBOXEDIT))
|
931 | 932 | {
|
932 | 933 | SetTextColor(drawitem->hDC,GetSysColor(COLOR_HIGHLIGHTTEXT));
|
— | — | @@ -1377,6 +1378,7 @@ |
1378 | 1379 | if (error == ERROR_SUCCESS)
|
1379 | 1380 | {
|
1380 | 1381 | dxgl_installdir = TRUE;
|
 | 1382 | + sizeout = (MAX_PATH + 1) * sizeof(TCHAR);
|
1381 | 1383 | error = RegQueryValueEx(hKeyInstall, _T("InstallDir"), NULL, NULL, (LPBYTE)installpath, &sizeout);
|
1382 | 1384 | if (error == ERROR_SUCCESS) installed = TRUE;
|
1383 | 1385 | }
|
— | — | @@ -1466,6 +1468,7 @@ |
1467 | 1469 | if (error == ERROR_SUCCESS)
|
1468 | 1470 | {
|
1469 | 1471 | dxgl_installdir = TRUE;
|
 | 1472 | + sizeout = (MAX_PATH + 1) * sizeof(TCHAR);
|
1470 | 1473 | error = RegQueryValueEx(hKeyInstall, _T("InstallDir"), NULL, NULL, (LPBYTE)installpath, &sizeout);
|
1471 | 1474 | if (error == ERROR_SUCCESS) installed = TRUE;
|
1472 | 1475 | }
|
Index: dxglcfg2/dxglcfg2.c |
— | — | @@ -997,6 +997,7 @@ |
998 | 998 | //EnableWindow(GetDlgItem(hWnd, IDC_PATHLABEL), FALSE);
|
999 | 999 | //EnableWindow(GetDlgItem(hWnd, IDC_PROFILEPATH), FALSE);
|
1000 | 1000 | // Check install path
|
 | 1001 | + installpath = NULL;
|
1001 | 1002 | error = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Software\\DXGL"), 0, KEY_READ, &hKey);
|
1002 | 1003 | if (error == ERROR_SUCCESS)
|
1003 | 1004 | {
|
— | — | @@ -1193,7 +1194,7 @@ |
1194 | 1195 | case IDC_APPS:
|
1195 | 1196 | OldTextColor = GetTextColor(drawitem->hDC);
|
1196 | 1197 | OldBackColor = GetBkColor(drawitem->hDC);
|
1197 | Â | - if((drawitem->itemAction | ODA_SELECT) && (drawitem->itemState & ODS_SELECTED) &&
|
 | 1198 | + if((drawitem->itemAction & ODA_SELECT) && (drawitem->itemState & ODS_SELECTED) &&
|
1198 | 1199 | !(drawitem->itemState & ODS_COMBOBOXEDIT))
|
1199 | 1200 | {
|
1200 | 1201 | SetTextColor(drawitem->hDC,GetSysColor(COLOR_HIGHLIGHTTEXT));
|
— | — | @@ -1635,6 +1636,7 @@ |
1636 | 1637 | if (error == ERROR_SUCCESS)
|
1637 | 1638 | {
|
1638 | 1639 | dxgl_installdir = TRUE;
|
 | 1640 | + sizeout = (MAX_PATH + 1) * sizeof(TCHAR);
|
1639 | 1641 | error = RegQueryValueEx(hKeyInstall, _T("InstallDir"), NULL, NULL, (LPBYTE)installpath, &sizeout);
|
1640 | 1642 | if (error == ERROR_SUCCESS) installed = TRUE;
|
1641 | 1643 | }
|
— | — | @@ -1724,6 +1726,7 @@ |
1725 | 1727 | if (error == ERROR_SUCCESS)
|
1726 | 1728 | {
|
1727 | 1729 | dxgl_installdir = TRUE;
|
 | 1730 | + sizeout = (MAX_PATH + 1) * sizeof(TCHAR);
|
1728 | 1731 | error = RegQueryValueEx(hKeyInstall, _T("InstallDir"), NULL, NULL, (LPBYTE)installpath, &sizeout);
|
1729 | 1732 | if (error == ERROR_SUCCESS) installed = TRUE;
|
1730 | 1733 | }
|