Index: Help/dxglcfg.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Index: cfgmgr/ReadMe.txt |
— | — | @@ -12,6 +12,15 @@ |
13 | 13 | 6 - Change display mode, center if matching mode not found
|
14 | 14 | 7 - Crop output to desktop, preserving aspect ratio
|
15 | 15 |
|
 | 16 | +Member fullmode
|
 | 17 | +REG_DWORD HKCU\DXGL\<app>\FullscreenWindowMode
|
 | 18 | +Determines how to handle fullscreen modes.
|
 | 19 | +Valid settings:
|
 | 20 | +0 - Use exclusive fullscreen
|
 | 21 | +1 - Use non-exclusive fullscreen aka borderless window
|
 | 22 | +2 - Use a non-resizable window
|
 | 23 | +3 - Use a resizable window, uses scaler mode, preferably 1, 2, 3, or 7
|
 | 24 | +
|
16 | 25 | Member colormode
|
17 | 26 | REG_DWORD HKCU\DXGL\<app>\ChangeColorDepth
|
18 | 27 | If nonzero, switches screen color depth if requested by the application.
|
Index: cfgmgr/cfgmgr.c |
— | — | @@ -441,6 +441,7 @@ |
442 | 442 | if (mask) cfgmask = mask;
|
443 | 443 | else cfgmask = &defaultmask;
|
444 | 444 | cfg->scaler = ReadDWORD(hKey, cfg->scaler, &cfgmask->scaler, _T("ScalingMode"));
|
 | 445 | + cfg->fullmode = ReadDWORD(hKey, cfg->fullmode, &cfgmask->fullmode, _T("FullscreenWindowMode"));
|
445 | 446 | cfg->colormode = ReadBool(hKey,cfg->colormode,&cfgmask->colormode,_T("ChangeColorDepth"));
|
446 | 447 | cfg->scalingfilter = ReadDWORD(hKey,cfg->scalingfilter,&cfgmask->scalingfilter,_T("ScalingFilter"));
|
447 | 448 | cfg->texfilter = ReadDWORD(hKey,cfg->texfilter,&cfgmask->texfilter,_T("TextureFilter"));
|
— | — | @@ -534,6 +535,7 @@ |
535 | 536 | memset(&defaultmask,1,sizeof(DXGLCFG));
|
536 | 537 | defaultmask.aspect = 1.0f;
|
537 | 538 | WriteDWORD(hKey,cfg->scaler,cfgmask->scaler,_T("ScalingMode"));
|
 | 539 | + WriteDWORD(hKey, cfg->fullmode, cfgmask->fullmode, _T("FullscreenWindowMode"));
|
538 | 540 | WriteBool(hKey,cfg->colormode,cfgmask->colormode,_T("ChangeColorDepth"));
|
539 | 541 | WriteDWORD(hKey,cfg->scalingfilter,cfgmask->scalingfilter,_T("ScalingFilter"));
|
540 | 542 | WriteDWORD(hKey,cfg->texfilter,cfgmask->texfilter,_T("TextureFilter"));
|
Index: cfgmgr/cfgmgr.h |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | typedef struct
|
28 | 28 | {
|
29 | 29 | DWORD scaler;
|
 | 30 | + DWORD fullmode;
|
30 | 31 | BOOL colormode;
|
31 | 32 | DWORD scalingfilter;
|
32 | 33 | DWORD texfilter;
|
Index: dxglcfg/dxglcfg.c |
— | — | @@ -552,6 +552,16 @@ |
553 | 553 | _tcscpy(buffer,_T("Crop to screen (experimental)"));
|
554 | 554 | SendDlgItemMessage(hWnd,IDC_VIDMODE,CB_ADDSTRING,7,(LPARAM)buffer);
|
555 | 555 | SendDlgItemMessage(hWnd,IDC_VIDMODE,CB_SETCURSEL,cfg->scaler,0);
|
 | 556 | + // fullmode
|
 | 557 | + _tcscpy(buffer, _T("Exclusive fullscreen"));
|
 | 558 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_ADDSTRING, 0, (LPARAM)buffer);
|
 | 559 | + _tcscpy(buffer, _T("Non-exclusive fullscreen"));
|
 | 560 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_ADDSTRING, 1, (LPARAM)buffer);
|
 | 561 | + _tcscpy(buffer, _T("Non-resizable window"));
|
 | 562 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_ADDSTRING, 2, (LPARAM)buffer);
|
 | 563 | + _tcscpy(buffer, _T("Resizable window"));
|
 | 564 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_ADDSTRING, 3, (LPARAM)buffer);
|
 | 565 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_SETCURSEL, cfg->fullmode, 0);
|
556 | 566 | // colormode
|
557 | 567 | if(cfg->colormode) SendDlgItemMessage(hWnd,IDC_COLOR,BM_SETCHECK,BST_CHECKED,0);
|
558 | 568 | else SendDlgItemMessage(hWnd,IDC_COLOR,BM_SETCHECK,BST_UNCHECKED,0);
|
— | — | @@ -957,7 +967,8 @@ |
958 | 968 | SendDlgItemMessage(hWnd,IDC_VIDMODE,CB_ADDSTRING,0,(LPARAM)strdefault);
|
959 | 969 | SendDlgItemMessage(hWnd,IDC_SORTMODES,CB_ADDSTRING,0,(LPARAM)strdefault);
|
960 | 970 | SendDlgItemMessage(hWnd,IDC_SCALE,CB_ADDSTRING,0,(LPARAM)strdefault);
|
961 | Â | - SendDlgItemMessage(hWnd,IDC_VSYNC,CB_ADDSTRING,0,(LPARAM)strdefault);
|
 | 971 | + //SendDlgItemMessage(hWnd,IDC_VSYNC,CB_ADDSTRING,0,(LPARAM)strdefault);
|
 | 972 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_ADDSTRING, 0, (LPARAM)strdefault);
|
962 | 973 | SendDlgItemMessage(hWnd,IDC_MSAA,CB_ADDSTRING,0,(LPARAM)strdefault);
|
963 | 974 | SendDlgItemMessage(hWnd,IDC_ANISO,CB_ADDSTRING,0,(LPARAM)strdefault);
|
964 | 975 | SendDlgItemMessage(hWnd,IDC_TEXFILTER,CB_ADDSTRING,0,(LPARAM)strdefault);
|
— | — | @@ -980,8 +991,10 @@ |
981 | 992 | SendDlgItemMessage(hWnd,IDC_SORTMODES,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
982 | 993 | SendDlgItemMessage(hWnd,IDC_SCALE,CB_DELETESTRING,
|
983 | 994 | SendDlgItemMessage(hWnd,IDC_SCALE,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
984 | Â | - SendDlgItemMessage(hWnd,IDC_VSYNC,CB_DELETESTRING,
|
985 | Â | - SendDlgItemMessage(hWnd,IDC_VSYNC,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
 | 995 | +/* SendDlgItemMessage(hWnd,IDC_VSYNC,CB_DELETESTRING,
|
 | 996 | + SendDlgItemMessage(hWnd,IDC_VSYNC,CB_FINDSTRING,-1,(LPARAM)strdefault),0);*/
|
 | 997 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_DELETESTRING,
|
 | 998 | + SendDlgItemMessage(hWnd, IDC_FULLMODE, CB_FINDSTRING, -1, (LPARAM)strdefault), 0);
|
986 | 999 | SendDlgItemMessage(hWnd,IDC_MSAA,CB_DELETESTRING,
|
987 | 1000 | SendDlgItemMessage(hWnd,IDC_MSAA,CB_FINDSTRING,-1,(LPARAM)strdefault),0);
|
988 | 1001 | SendDlgItemMessage(hWnd,IDC_ANISO,CB_DELETESTRING,
|
— | — | @@ -1007,7 +1020,8 @@ |
1008 | 1021 | SetCombo(hWnd,IDC_VIDMODE,cfg->scaler,cfgmask->scaler,tristate);
|
1009 | 1022 | SetCombo(hWnd,IDC_SORTMODES,cfg->SortModes,cfgmask->SortModes,tristate);
|
1010 | 1023 | SetCombo(hWnd,IDC_SCALE,cfg->scalingfilter,cfgmask->scalingfilter,tristate);
|
1011 | Â | - SetCombo(hWnd,IDC_VSYNC,cfg->vsync,cfgmask->vsync,tristate);
|
 | 1024 | + //SetCombo(hWnd,IDC_VSYNC,cfg->vsync,cfgmask->vsync,tristate);
|
 | 1025 | + SetCombo(hWnd,IDC_FULLMODE,cfg->fullmode,cfgmask->fullmode,tristate);
|
1012 | 1026 | SetCombo(hWnd,IDC_MSAA,cfg->msaa,cfgmask->msaa,tristate);
|
1013 | 1027 | SetCombo(hWnd,IDC_ANISO,cfg->anisotropic,cfgmask->anisotropic,tristate);
|
1014 | 1028 | SetCombo(hWnd,IDC_TEXFILTER,cfg->texfilter,cfgmask->texfilter,tristate);
|
— | — | @@ -1038,10 +1052,15 @@ |
1039 | 1053 | EnableWindow(GetDlgItem(hWnd,IDC_APPLY),TRUE);
|
1040 | 1054 | *dirty = TRUE;
|
1041 | 1055 | break;
|
1042 | Â | - case IDC_VSYNC:
|
 | 1056 | +/* case IDC_VSYNC:
|
1043 | 1057 | cfg->vsync = GetCombo(hWnd,IDC_VSYNC,&cfgmask->vsync);
|
1044 | 1058 | EnableWindow(GetDlgItem(hWnd,IDC_APPLY),TRUE);
|
1045 | 1059 | *dirty = TRUE;
|
 | 1060 | + break;*/
|
 | 1061 | + case IDC_FULLMODE:
|
 | 1062 | + cfg->fullmode = GetCombo(hWnd, IDC_FULLMODE, &cfgmask->fullmode);
|
 | 1063 | + EnableWindow(GetDlgItem(hWnd, IDC_APPLY), TRUE);
|
 | 1064 | + *dirty = TRUE;
|
1046 | 1065 | break;
|
1047 | 1066 | case IDC_MSAA:
|
1048 | 1067 | cfg->msaa = GetCombo(hWnd,IDC_MSAA,&cfgmask->msaa);
|
Index: dxglcfg/dxglcfg.rc |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
32 | 32 | IDD_DXGLCFG DIALOG 0, 0, 405, 265
|
33 | 33 | STYLE DS_3DLOOK | DS_CONTEXTHELP | DS_SETFONT | WS_CAPTION | WS_SYSMENU
|
34 | Â | -CAPTION "DXGL Config (DEPRECATED)"
|
 | 34 | +CAPTION "DXGL Config"
|
35 | 35 | FONT 8, "Ms Shell Dlg 2"
|
36 | 36 | {
|
37 | 37 | DEFPUSHBUTTON "OK", IDOK, 247, 247, 50, 14
|
— | — | @@ -47,8 +47,8 @@ |
48 | 48 | AUTOCHECKBOX "Change display color depth", IDC_COLOR, 299, 14, 100, 10
|
49 | 49 | LTEXT "Scaling method", IDC_STATIC, 195, 69, 49, 8, SS_LEFT
|
50 | 50 | COMBOBOX IDC_SCALE, 195, 79, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
|
51 | Â | - LTEXT "Vertical sync", IDC_STATIC, 299, 69, 41, 8, SS_LEFT
|
52 | Â | - COMBOBOX IDC_VSYNC, 299, 79, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
|
 | 51 | + LTEXT "Fullscreen mode", IDC_STATIC, 299, 69, 41, 8, SS_LEFT
|
 | 52 | + COMBOBOX IDC_FULLMODE, 299, 79, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
|
53 | 53 | LTEXT "Post-processing shader", IDC_STATIC, 195, 94, 90, 8, SS_LEFT
|
54 | 54 | EDITTEXT IDC_SHADER, 195, 104, 183, 14, ES_AUTOHSCROLL
|
55 | 55 | PUSHBUTTON "...", IDC_BROWSESHADER, 379, 104, 20, 14
|
— | — | @@ -110,7 +110,7 @@ |
111 | 111 | {
|
112 | 112 | BLOCK "08000352"
|
113 | 113 | {
|
114 | Â | - VALUE "FileDescription", "DXGL Configuration Program (DEPRECATED VERSION)"
|
 | 114 | + VALUE "FileDescription", "DXGL Configuration Program"
|
115 | 115 | VALUE "FileVersion", DXGLVERSTRING
|
116 | 116 | VALUE "InternalName", "DXGL"
|
117 | 117 | VALUE "LegalCopyright", "Copyright © 2011-2014 William Feely"
|
Index: dxglcfg/resource.h |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | #define IDC_REMOVE 1039
|
35 | 35 | #define IDC_VIDMODE 1041
|
36 | 36 | #define IDC_SCALE 1042
|
37 | Â | -#define IDC_VSYNC 1043
|
 | 37 | +#define IDC_FULLMODE 1043
|
38 | 38 | #define IDC_SHADER 1044
|
39 | 39 | #define IDC_BROWSESHADER 1045
|
40 | 40 | #define IDC_TEXFILTER 1046
|
Index: dxglcfg2/dxglcfg2.rc |
— | — | @@ -57,6 +57,8 @@ |
58 | 58 | LTEXT "DPI scaling mode", IDC_STATIC, 7, 107, 55, 8, SS_LEFT, WS_EX_LEFT
|
59 | 59 | COMBOBOX IDC_DPISCALE, 7, 117, 102, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS, WS_EX_LEFT
|
60 | 60 | AUTOCHECKBOX "Change display color depth", IDC_COLOR, 114, 118, 100, 10, 0, WS_EX_LEFT
|
 | 61 | + LTEXT "Fullscreen mode", IDC_STATIC, 7, 132, 78, 9, SS_LEFT, WS_EX_LEFT
|
 | 62 | + COMBOBOX IDC_FULLMODE, 8, 143, 101, 30, CBS_DROPDOWN | CBS_HASSTRINGS, WS_EX_LEFT
|
61 | 63 | }
|
62 | 64 |
|
63 | 65 |
|
— | — | @@ -186,8 +188,8 @@ |
187 | 189 | //
|
188 | 190 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
189 | 191 | 1 VERSIONINFO
|
190 | Â | - FILEVERSION 0,5,7,609
|
191 | Â | - PRODUCTVERSION 0,5,7,609
|
 | 192 | + FILEVERSION DXGLVERNUMBER
|
 | 193 | + PRODUCTVERSION DXGLVERNUMBER
|
192 | 194 | FILEOS VOS__WINDOWS32
|
193 | 195 | FILETYPE VFT_APP
|
194 | 196 | FILESUBTYPE VFT2_UNKNOWN
|
— | — | @@ -199,12 +201,12 @@ |
200 | 202 | BLOCK "08000352"
|
201 | 203 | {
|
202 | 204 | VALUE "FileDescription", "DXGL Configuration Program"
|
203 | Â | - VALUE "FileVersion", "0.5.7 r609"
|
 | 205 | + VALUE "FileVersion", "DXGLVERSTRING"
|
204 | 206 | VALUE "InternalName", "DXGL"
|
205 | 207 | VALUE "LegalCopyright", "Copyright © 2011-2015 William Feely"
|
206 | 208 | VALUE "OriginalFilename", "dxglcfg.exe"
|
207 | 209 | VALUE "ProductName", "DXGL"
|
208 | Â | - VALUE "ProductVersion", "0.5.7 r609"
|
 | 210 | + VALUE "ProductVersion", "DXGLVERSTRING"
|
209 | 211 | }
|
210 | 212 | }
|
211 | 213 | BLOCK "VarFileInfo"
|
Index: dxglcfg2/resource.h |
— | — | @@ -54,3 +54,4 @@ |
55 | 55 | #define IDC_FIXEDSCALEY 1038
|
56 | 56 | #define IDC_FIXEDSCALESQUARE 1039
|
57 | 57 | #define IDC_LOWCOLORRENDER 1040
|
 | 58 | +#define IDC_FULLMODE 1041
|