EDProfiler - A New Display Switcher/Robust Settings Profiler/Switcher/Detector!

Now my problems are Solved. DrKaii found some mess in one of my xml config files.
Thanks a lot for very good support and a brilliant little tool.
 
It is not malware, but it's very possible that bitdefender could flag it as such because it doesn't really know what it is and wonders why it is changing your files
 
Hi, new user and I get the error below on installation, run as administrator, windows 10 64 bit:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Users\Paul\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\custom.fxcfg'.
File name: 'C:\Users\Paul\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\custom.fxcfg'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri)
at EDProfiler.StoredProfileReader..ctor(String profileFullName)
at EDProfiler.EDPMainForm.BadSettings()
at EDProfiler.EDPMainForm.EDPMainForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
EDProfiler
Assembly Version: 2.2.0.5
Win32 Version: 2.2.0.5
CodeBase: file:///C:/Users/Paul/AppData/Local/Apps/2.0/O30B9MGX.98D/DXZH2H12.XXR/edpr..tion_8fee7e9465259bde_0002.0002_0c26ce241365f6c0/EDProfiler.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8745 (WinRel.050727-8700)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.8763 built by: WinRel
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Hi, new user and I get the error below on installation, run as administrator, windows 10 64 bit:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Users\Paul\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\custom.fxcfg'.
File name: 'C:\Users\Paul\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\custom.fxcfg'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions

Hi, this looks like the tool I need but I get the same error?
 
Ah ha - found the problem...

One error points to the display settings file here:

C:\Users\[your user]\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics

And that file had the read only flag on for some reason ... no idea why! I right clicked properties on the file and unticked the read only checkbox.

Then I got an error on a file here:

D:\[your user]\Documents\EDProfiler\Backups

- it had copied the file originally as a back up and this also had the read only flag on it so I cleared that...now it works.
 
@AndyHOvine you are a gentleman and a scholar kind sir! Your fix worked for myself as well, and everything is working properly. Thanks for the advice :)
 
Had a weird thing this morning, almost certainly related to the recent changes you made re: remembering the EDProfiler window's last position.

So I start up EDProfiler as usual but all I got was the icon in the task bar - no EDProfiler Window. I quit and restarted it a few times, and played around with minimising and maximising it. Then on a hunch I hovered over the task bar icon to get the quick view popup, right-clicked on it and picked "Move", and then used the keyboard arrow keys. Turns out (as I suspected) that the window position had been saved off-screen and I was able to bring it back into view.

Can't reproduce this currently but there's definitely something mildly screwy going on there.
 
Last edited:
Arggh! Help! My EDProfiler just stopped working. One minute it was fine, the next minute, when I try to start it I get "Application cannot be started. Contact the vendor".

Details are as follows:

Code:
PLATFORM VERSION INFO
	Windows 			: 10.0.14393.0 (Win32NT)
	Common Language Runtime 	: 4.0.30319.42000
	System.Deployment.dll 		: 4.6.1586.0 built by: NETFXREL2
	clr.dll 			: 4.6.1586.0 built by: NETFXREL2
	dfdll.dll 			: 4.6.1586.0 built by: NETFXREL2
	dfshim.dll 			: 10.0.14393.0 (rs1_release.160715-1616)

SOURCES
	Deployment url			: file:///C:/Users/Alec/Desktop/EDProfiler.appref-ms%7C

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of C:\Users\Alec\Desktop\EDProfiler.appref-ms| resulted in exception. Following failure messages were detected:
		+ Activation failed.
		+ The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	* [10/11/2016 08:02:32] : Activation of C:\Users\Alec\Desktop\EDProfiler.appref-ms| has started.
	* [10/11/2016 08:02:32] : Performing necessary update check as specified by the deployment.

ERROR DETAILS
	Following errors were detected during this operation.
	* [10/11/2016 08:02:32] System.Deployment.Application.DeploymentException (Activation)
		- Activation failed.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
		--- Inner Exception ---
		System.IO.FileNotFoundException
		- The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
			at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.
 
Last edited:
Try to uninstall it but when it gives you the option, click revert to previous version. Then download it again in Internet Explorer rather than something else
 
Try to uninstall it but when it gives you the option, click revert to previous version. Then download it again in Internet Explorer rather than something else

The option to revert was disabled so I just completely un-unistalled and re-installed it. Seems to be working again now.
o7
 
Arggh! Help! My EDProfiler just stopped working. One minute it was fine, the next minute, when I try to start it I get "Application cannot be started. Contact the vendor".

Details are as follows:

Code:
PLATFORM VERSION INFO
	Windows 			: 10.0.14393.0 (Win32NT)
	Common Language Runtime 	: 4.0.30319.42000
	System.Deployment.dll 		: 4.6.1586.0 built by: NETFXREL2
	clr.dll 			: 4.6.1586.0 built by: NETFXREL2
	dfdll.dll 			: 4.6.1586.0 built by: NETFXREL2
	dfshim.dll 			: 10.0.14393.0 (rs1_release.160715-1616)

SOURCES
	Deployment url			: file:///C:/Users/Alec/Desktop/EDProfiler.appref-ms%7C

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of C:\Users\Alec\Desktop\EDProfiler.appref-ms| resulted in exception. Following failure messages were detected:
		+ Activation failed.
		+ The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	* [10/11/2016 08:02:32] : Activation of C:\Users\Alec\Desktop\EDProfiler.appref-ms| has started.
	* [10/11/2016 08:02:32] : Performing necessary update check as specified by the deployment.

ERROR DETAILS
	Following errors were detected during this operation.
	* [10/11/2016 08:02:32] System.Deployment.Application.DeploymentException (Activation)
		- Activation failed.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
			at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
		--- Inner Exception ---
		System.IO.FileNotFoundException
		- The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
			at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.

Happened again! Had to uninstall, reboot and re-install. I think what triggered it was starting EDProfiler, quitting it and then starting it up again, all within a fairly short timeframe (I quit and then realised I wanted to double check something so started it straight back up again).

Also, I'm finding that renaming my 2nd profile causes it to inherit all the settings of my 1st profile rather than retaining its own settings. In the end I simply quit, found the XML file, and then edited and renamed it manually.
 
Last edited:
Four or five thousand people using it and you seem to be the only one getting this issue at the moment :) To be honest, that issue is a ClickOnce issue, something I'm not too familiar with...
 
Hi drkaii; when I click on the button to load Elite, the window for it briefly opens then closes; started through the launcher works fine though. I reckon I gave EDProfiler (on first try) the wrong location for the right executable (EliteDangerous64.exe) Where does it store this? Uninstalling EDProfile didn't remove it, so a new install pick up the (wrong) location again!
 
Hi drkaii; when I click on the button to load Elite, the window for it briefly opens then closes; started through the launcher works fine though. I reckon I gave EDProfiler (on first try) the wrong location for the right executable (EliteDangerous64.exe) Where does it store this? Uninstalling EDProfile didn't remove it, so a new install pick up the (wrong) location again!

You're not supposed to give it the location of the game, but the launcher. You can edit the paths.xml in Documents\EDProfiler\Defaults
 
Hi drkaii, when I select my monitor profile and click apply ED starts with a 75Hz refresh rate instead of the 60 that is shown in the ED Profiler window.

When I look in the profile xml it has:
<DX11_RefreshRateNumerator>60000</DX11_RefreshRateNumerator>

This value is of course transferred by ED Profiler to DisplaySettings.xml. So clearly ED does not like 60000 so sets itself to 75 which is the default refresh rate of my monitor (to be clear, I want to set it to 60 not 75 because reasons).

I noticed in DisplaySettings.xml there is:
<DX11_RefreshRateDenominator>1</DX11_RefreshRateDenominator>
...not sure if that has anything to do with it. I tried setting it to 100 to see what happened but ED set it back to 1.
 
Hi drkaii, when I select my monitor profile and click apply ED starts with a 75Hz refresh rate instead of the 60 that is shown in the ED Profiler window.

When I look in the profile xml it has:
<DX11_RefreshRateNumerator>60000</DX11_RefreshRateNumerator>

This value is of course transferred by ED Profiler to DisplaySettings.xml. So clearly ED does not like 60000 so sets itself to 75 which is the default refresh rate of my monitor (to be clear, I want to set it to 60 not 75 because reasons).

I noticed in DisplaySettings.xml there is:
<DX11_RefreshRateDenominator>1</DX11_RefreshRateDenominator>
...not sure if that has anything to do with it. I tried setting it to 100 to see what happened but ED set it back to 1.

I'm not really sure how refresh rate works, because it is never exact to 5 significant figures, so I just set it to be exact values like 60000 etc. and ED would correct it. That normally works but it seems for some reason it doesn't for you. Figure out what value Elite puts for 60Hz on your setup, then manually edit the profile to have that too?
 
I'm not really sure how refresh rate works, because it is never exact to 5 significant figures, so I just set it to be exact values like 60000 etc. and ED would correct it. That normally works but it seems for some reason it doesn't for you. Figure out what value Elite puts for 60Hz on your setup, then manually edit the profile to have that too?

It's 60 :)

I put a value of 0.06 in ED Profiler and that seems to work.
 
Back
Top Bottom