Skip to content

Commit 4f72228

Browse files
New Version
Fix issue #12 Fix issue #13 Add files via upload Add AutoClosingMessageBox Update version
1 parent 3ae6cbf commit 4f72228

File tree

74 files changed

+29824
-29740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+29824
-29740
lines changed

NVidiaProfileInspectorDmW.sln

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.23107.0
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NVidiaProfileInspectorDmW", "nspector\NVidiaProfileInspectorDmW.csproj", "{27B20027-E783-4ADC-AF16-40A49463F4BF}"
7-
EndProject
8-
Global
9-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|Any CPU = Debug|Any CPU
11-
Release|Any CPU = Release|Any CPU
12-
EndGlobalSection
13-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Release|Any CPU.Build.0 = Release|Any CPU
18-
EndGlobalSection
19-
GlobalSection(SolutionProperties) = preSolution
20-
HideSolutionNode = FALSE
21-
EndGlobalSection
22-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NVidiaProfileInspectorDmW", "nspector\NVidiaProfileInspectorDmW.csproj", "{27B20027-E783-4ADC-AF16-40A49463F4BF}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{27B20027-E783-4ADC-AF16-40A49463F4BF}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ NVidiaProfileInspectorDmW is a Fork from Orbmu2k/nvidiaProfileInspector for full
2727
- [Install](#install)
2828
- [Usage](#usage)
2929
- [Build](#build)
30-
- [Common Issues](#common-issues)
3130
- [Feedback](#feedback)
3231
- [Maintainers](#maintainers)
3332
- [Contribute](#contribute)
3433
- [License](#license)
3534
- [Donations](#donations)
35+
- [Common Issues](#common-issues)
3636

3737
## Features
3838
Full optimization NVidia graphic cards.
@@ -67,16 +67,12 @@ msbuild nvidiaProfileInspectorDmW.sln /verbosity:minimal /t:Rebuild /p:Configura
6767
```
6868
Release files build in NVidiaProfileInspectorDmW\nspector\bin\release
6969
```
70+
AutoClosingMessageBox.dll
7071
NVidiaProfileInspectorDMW.exe
7172
NVidiaProfileInspectorDMW.exe.config
7273
Reference.xml
7374
```
7475

75-
## Common Issues
76-
77-
#### NVAPI_ACCESS_DENIED
78-
Issue [#9](../../issues/9) | Status: **Solved**.
79-
8076
## Feedback
8177
Please inform me for aditional Improvments. [Open an Issue](../../issues).
8278

@@ -100,7 +96,15 @@ Ethereum Address (ETH):
10096
* 0x7013275311fc37ccc1e40193D75086293eCb43A4
10197

10298
Monero Address (XMR):
103-
* 41s1ALMHsW8EiYU31NCT3nWJqsShgZJXQGwXUsTbb8TdfDtiEfPrjeCiqDD3pZ5q2uAsgPM6ykJ3DYDUsZk2LJ7xFmbWaLS
99+
* 42q4HmXdsp1XgNCrDmPubL8ndtgG2JBtmZMEn28sB4XtEGHhwYojvB65HXPidByfNUFSzxg6ysQsHUHa3ZSrsKLX5pTkCET
104100

105101
Aeon Address (AEON):
106102
* WmssXd9iiPCjjhfVyqYvPzhBuPKkZ5wkVXP5q8L7aYxfPJG5Z8nLyLJXUzxMeuvna9dCEBAmqBzCRWezF6AQqUS51EDJtjAYL
103+
104+
## Common Issues
105+
106+
#### NVAPI_ACCESS_DENIED:
107+
Issue [#9](../../issues/9) | Status: **Solved**.
108+
#### Application window is not visible:
109+
Issue [#12](../../issues/12) | Status: **Solved**.
110+
Issue [#13](../../issues/13) | Status: **Solved**.
Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
using System;
2-
using System.Text;
3-
4-
namespace nspector.Common
5-
{
6-
internal class CachedSettingValue
7-
{
8-
9-
internal CachedSettingValue() { }
10-
11-
internal CachedSettingValue(uint Value, string ProfileNames)
12-
{
13-
this.Value = Value;
14-
this.ProfileNames = new StringBuilder(ProfileNames);
15-
this.ValueProfileCount = 1;
16-
}
17-
18-
internal CachedSettingValue(string ValueStr, string ProfileNames)
19-
{
20-
this.ValueStr = ValueStr;
21-
this.ProfileNames = new StringBuilder(ProfileNames);
22-
this.ValueProfileCount = 1;
23-
}
24-
25-
internal CachedSettingValue(byte[] ValueBin, string ProfileNames)
26-
{
27-
this.ValueBin = ValueBin;
28-
this.ProfileNames = new StringBuilder(ProfileNames);
29-
this.ValueProfileCount = 1;
30-
}
31-
32-
internal string ValueStr = "";
33-
internal uint Value = 0;
34-
internal byte[] ValueBin = new byte[0];
35-
internal StringBuilder ProfileNames;
36-
internal uint ValueProfileCount;
37-
}
1+
using System;
2+
using System.Text;
3+
4+
namespace nspector.Common
5+
{
6+
internal class CachedSettingValue
7+
{
8+
9+
internal CachedSettingValue() { }
10+
11+
internal CachedSettingValue(uint Value, string ProfileNames)
12+
{
13+
this.Value = Value;
14+
this.ProfileNames = new StringBuilder(ProfileNames);
15+
this.ValueProfileCount = 1;
16+
}
17+
18+
internal CachedSettingValue(string ValueStr, string ProfileNames)
19+
{
20+
this.ValueStr = ValueStr;
21+
this.ProfileNames = new StringBuilder(ProfileNames);
22+
this.ValueProfileCount = 1;
23+
}
24+
25+
internal CachedSettingValue(byte[] ValueBin, string ProfileNames)
26+
{
27+
this.ValueBin = ValueBin;
28+
this.ProfileNames = new StringBuilder(ProfileNames);
29+
this.ValueProfileCount = 1;
30+
}
31+
32+
internal string ValueStr = "";
33+
internal uint Value = 0;
34+
internal byte[] ValueBin = new byte[0];
35+
internal StringBuilder ProfileNames;
36+
internal uint ValueProfileCount;
37+
}
3838
}
Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
1-
using nspector.Native.NVAPI2;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
5-
namespace nspector.Common
6-
{
7-
internal class CachedSettings
8-
{
9-
internal CachedSettings() { }
10-
11-
internal CachedSettings(uint settingId, NVDRS_SETTING_TYPE settingType)
12-
{
13-
SettingId = settingId;
14-
SettingType = settingType;
15-
}
16-
17-
internal uint SettingId;
18-
19-
internal List<CachedSettingValue> SettingValues = new List<CachedSettingValue>();
20-
21-
internal uint ProfileCount = 0;
22-
23-
internal NVDRS_SETTING_TYPE SettingType = NVDRS_SETTING_TYPE.NVDRS_DWORD_TYPE;
24-
25-
internal void AddDwordValue(uint valueDword, string Profile)
26-
{
27-
var setting = SettingValues.FirstOrDefault(s => s.Value == valueDword);
28-
if (setting == null)
29-
{
30-
SettingValues.Add(new CachedSettingValue(valueDword, Profile));
31-
}
32-
else
33-
{
34-
setting.ProfileNames.Append(", " + Profile);
35-
setting.ValueProfileCount++;
36-
}
37-
ProfileCount++;
38-
}
39-
40-
internal void AddStringValue(string valueStr, string Profile)
41-
{
42-
43-
var setting = SettingValues.FirstOrDefault(s => s.ValueStr == valueStr);
44-
if (setting == null)
45-
{
46-
SettingValues.Add(new CachedSettingValue(valueStr, Profile));
47-
}
48-
else
49-
{
50-
setting.ProfileNames.Append(", " + Profile);
51-
setting.ValueProfileCount++;
52-
}
53-
ProfileCount++;
54-
}
55-
56-
internal void AddBinaryValue(byte[] valueBin, string Profile)
57-
{
58-
59-
var setting = SettingValues.FirstOrDefault(s => s.ValueBin.SequenceEqual(valueBin));
60-
if (setting == null)
61-
{
62-
SettingValues.Add(new CachedSettingValue(valueBin, Profile));
63-
}
64-
else
65-
{
66-
setting.ProfileNames.Append(", " + Profile);
67-
setting.ValueProfileCount++;
68-
}
69-
ProfileCount++;
70-
}
71-
}
1+
using nspector.Native.NVAPI2;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
5+
namespace nspector.Common
6+
{
7+
internal class CachedSettings
8+
{
9+
internal CachedSettings() { }
10+
11+
internal CachedSettings(uint settingId, NVDRS_SETTING_TYPE settingType)
12+
{
13+
SettingId = settingId;
14+
SettingType = settingType;
15+
}
16+
17+
internal uint SettingId;
18+
19+
internal List<CachedSettingValue> SettingValues = new List<CachedSettingValue>();
20+
21+
internal uint ProfileCount = 0;
22+
23+
internal NVDRS_SETTING_TYPE SettingType = NVDRS_SETTING_TYPE.NVDRS_DWORD_TYPE;
24+
25+
internal void AddDwordValue(uint valueDword, string Profile)
26+
{
27+
var setting = SettingValues.FirstOrDefault(s => s.Value == valueDword);
28+
if (setting == null)
29+
{
30+
SettingValues.Add(new CachedSettingValue(valueDword, Profile));
31+
}
32+
else
33+
{
34+
setting.ProfileNames.Append(", " + Profile);
35+
setting.ValueProfileCount++;
36+
}
37+
ProfileCount++;
38+
}
39+
40+
internal void AddStringValue(string valueStr, string Profile)
41+
{
42+
43+
var setting = SettingValues.FirstOrDefault(s => s.ValueStr == valueStr);
44+
if (setting == null)
45+
{
46+
SettingValues.Add(new CachedSettingValue(valueStr, Profile));
47+
}
48+
else
49+
{
50+
setting.ProfileNames.Append(", " + Profile);
51+
setting.ValueProfileCount++;
52+
}
53+
ProfileCount++;
54+
}
55+
56+
internal void AddBinaryValue(byte[] valueBin, string Profile)
57+
{
58+
59+
var setting = SettingValues.FirstOrDefault(s => s.ValueBin.SequenceEqual(valueBin));
60+
if (setting == null)
61+
{
62+
SettingValues.Add(new CachedSettingValue(valueBin, Profile));
63+
}
64+
else
65+
{
66+
setting.ProfileNames.Append(", " + Profile);
67+
setting.ValueProfileCount++;
68+
}
69+
ProfileCount++;
70+
}
71+
}
7272
}
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Globalization;
4-
using System.Xml.Serialization;
5-
6-
namespace nspector.Common.CustomSettings
7-
{
8-
[Serializable]
9-
public class CustomSetting
10-
{
11-
12-
public string UserfriendlyName { get; set; }
13-
[XmlElement(ElementName = "HexSettingID")]
14-
public string HexSettingId { get; set; }
15-
public string Description { get; set; }
16-
public string GroupName { get; set; }
17-
public string OverrideDefault { get; set; }
18-
public float MinRequiredDriverVersion { get; set; }
19-
20-
public List<CustomSettingValue> SettingValues { get; set; }
21-
22-
internal uint SettingId
23-
{
24-
get { return Convert.ToUInt32(HexSettingId.Trim(), 16); }
25-
}
26-
27-
internal uint? DefaultValue
28-
{
29-
get { return string.IsNullOrEmpty(OverrideDefault) ? null : (uint?)Convert.ToUInt32(OverrideDefault.Trim(), 16); }
30-
}
31-
32-
}
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Globalization;
4+
using System.Xml.Serialization;
5+
6+
namespace nspector.Common.CustomSettings
7+
{
8+
[Serializable]
9+
public class CustomSetting
10+
{
11+
12+
public string UserfriendlyName { get; set; }
13+
[XmlElement(ElementName = "HexSettingID")]
14+
public string HexSettingId { get; set; }
15+
public string Description { get; set; }
16+
public string GroupName { get; set; }
17+
public string OverrideDefault { get; set; }
18+
public float MinRequiredDriverVersion { get; set; }
19+
20+
public List<CustomSettingValue> SettingValues { get; set; }
21+
22+
internal uint SettingId
23+
{
24+
get { return Convert.ToUInt32(HexSettingId.Trim(), 16); }
25+
}
26+
27+
internal uint? DefaultValue
28+
{
29+
get { return string.IsNullOrEmpty(OverrideDefault) ? null : (uint?)Convert.ToUInt32(OverrideDefault.Trim(), 16); }
30+
}
31+
32+
}
3333
}

0 commit comments

Comments
 (0)