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

I did notice that had gone missing - theres also two or three with different names that are I think the same settings - will take a look when I can

Thanks buddy.

Wow, thanks for that very quick reply. Step one made no difference. Yes, the error appears every time I start EDProfiler, and every time I try to save a profile. The profile files are saved, but empty.
I'm not sure about step 2. You mean the graphics menu in the game? That creates new default files, that are useless, all my settings gone (of course). And I still get the same error.

I'd like to try and run the app as admin. Maybe it's access rights. But I have difficulties finding the actual exe. I only find this: EDProfiler.appref-ms

Exact same error for all those things?

Please send me the custom.fxcfg, DisplaySettings.xml and Settings.xml files (in that Graphics folder) to kaii@dr.com
 
just ran this for the first time, very good :)

no changes made to anything, this is how things look when it detects and displayed my current settings:

gui colour is blank, needs an elite default colour scheme so it can be set back after changing. Super sampling is blank when it should be 1.0. Controls binding should get it's name from inside the xml, I think you are using the filename right now. Terrain work is also blank.

pressing reset all after having a play throws up an exception...could not find path...custom.original. I presume that's because I haven't saved anything yet.
 
Last edited:
Exact same error for all those things?.

No. When trying to save a profile, it's different: "Invalid conversion of string in type single"
************** Ausnahmetext **************System.InvalidCastException: Ungültige Konvertierung von der Zeichenfolge in Typ Single. ---> System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
bei Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
bei Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value)
bei EDProfiler.EDPMainForm.saveProfile(Boolean saveAsNew)
bei EDProfiler.EDPMainForm.Button_CreateNew_Click(Object sender, EventArgs e)
bei EDProfiler.EDPMainForm.Button_Save_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
EDProfiler
Assembly-Version: 1.0.1.0.
Win32-Version: 1.0.1.0.
CodeBase: file:///C:/Users/RalfArbeit/AppData/Local/Apps/2.0/2N58X0EL.OCW/8ANPDBR7.AJL/edpr..tion_8fee7e9465259bde_0001.0000_bb099a3ae81d8f6a/EDProfiler.exe.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400).
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.8686 (QFE.050727-8600).
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.5491 (Win7SP1GDR.050727-5400).
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.5495 (Win7SP1GDR.050727-5400).
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.5488 (Win7SP1GDR.050727-5400).
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.5483 (Win7SP1GDR.050727-5400).
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.5494 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Deployment
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5493 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Microsoft.VisualBasic.resources
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_de_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll.
----------------------------------------
System.Xml.Linq
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.5420 built by: Win7SP1.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
System.Core
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.5420 built by: Win7SP1.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Core.resources
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.4926 built by: NetFXw7.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core.resources/3.5.0.0_de_b77a5c561934e089/System.Core.resources.dll.
----------------------------------------
System.XML.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
----------------------------------------

Rename: "Element does not exist"
************** Ausnahmetext **************System.Xml.XmlException: Das Stammelement ist nicht vorhanden.
bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
bei System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
bei System.Xml.XmlTextReaderImpl.Read()
bei System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
bei System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
bei System.Xml.Linq.XDocument.Load(String uri)
bei EDProfiler.StoredProfileReader..ctor(String profileFullName)
bei EDProfiler.EDPMainForm.Button_Rename_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
EDProfiler
Assembly-Version: 1.0.1.0.
Win32-Version: 1.0.1.0.
CodeBase: file:///C:/Users/RalfArbeit/AppData/Local/Apps/2.0/2N58X0EL.OCW/8ANPDBR7.AJL/edpr..tion_8fee7e9465259bde_0001.0000_bb099a3ae81d8f6a/EDProfiler.exe.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400).
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.8686 (QFE.050727-8600).
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.5491 (Win7SP1GDR.050727-5400).
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.5495 (Win7SP1GDR.050727-5400).
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.5488 (Win7SP1GDR.050727-5400).
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.5483 (Win7SP1GDR.050727-5400).
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.5494 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Deployment
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5493 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Microsoft.VisualBasic.resources
Assembly-Version: 8.0.0.0.
Win32-Version: 8.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_de_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll.
----------------------------------------
System.Xml.Linq
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.5420 built by: Win7SP1.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
System.Core
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.5420 built by: Win7SP1.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Core.resources
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.4926 built by: NetFXw7.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core.resources/3.5.0.0_de_b77a5c561934e089/System.Core.resources.dll.
----------------------------------------
System.XML.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
----------------------------------------

Please send me the custom.fxcfg, etc.
done
 
Last edited:
just ran this for the first time, very good :)

no changes made to anything, this is how things look when it detects and displayed my current settings:

gui colour is blank, needs an elite default colour scheme so it can be set back after changing. Super sampling is blank when it should be 1.0. Controls binding should get it's name from inside the xml, I think you are using the filename right now. Terrain work is also blank.

pressing reset all after having a play throws up an exception...could not find path...custom.original. I presume that's because I haven't saved anything yet.

Manually change those blank settings to something, and then hit apply. Problem solved!

It's because I've given them a limited selection and your actual settings probably don't fall within them exactly.

Also, look a few posts up for the extra GUI Profiles I forgot to include. Standard is there, which is default
 
Hi me again :)

Couple of other funnies I've found:
- the Texture Quality drop-down has an Ultra setting but the game only goes up to High (when it's set to Ultra the in-game option shows Low)
- controls binding does not work - let's say my controls binding is called Custom.binds, the tool will write "Custom - Custom.binds" into the StartPreset.start file but the game is expecting simply "Custom". It doesn't find it so it reverts to the default.

- - - - - Additional Content Posted / Auto Merge - - - - -



Yep for the old 32-bit version. Tried that. Same thing happened.

Removed my Steam version and did a standard install, not getting the error when I click the Graphics preset buttons - will keep playing to see if I can recreate

- - - - - Additional Content Posted / Auto Merge - - - - -

Thanks buddy.

the following are the same:

Barons Blue (which is strangely enough Green)
DK2 Friendly
Voids Settings
 
Wow, thanks for that very quick reply. Step one made no difference. Yes, the error appears every time I start EDProfiler, and every time I try to save a profile. The profile files are saved, but empty.
I'm not sure about step 2. You mean the graphics menu in the game? That creates new default files, that are useless, all my settings gone (of course). And I still get the same error.

I'd like to try and run the app as admin. Maybe it's access rights. But I have difficulties finding the actual exe. I only find this: EDProfiler.appref-ms

Edit: in that appref I see: http://files.drkaii.com/EDP/EDProfiler.application
So is the app only online, not installed locally?


No its installed locally. Running as admin shouldnt make a difference, but if you want to try the easiest way is to launch it, and when the app is running in your taskbar, then right click on the taskbar icon and click 'Pin to Taskbar', then close the app.
Then right click on the shortcut in the taskbar, and in the menu that pops up, right click on 'ED Profiler by Dr. Kaii' and choose Run as Administrator (or alternatively click properties and set to always run as admin through the dialog)
 
Controls binding should get it's name from inside the xml, I think you are using the filename right now.

Indeed I believe it's possible for the file to have a different name than the actual profile.

If I leave Control Bindings - Enable unticked and then hit apply it overwrites StartPreset.xml and makes it empty - I don't think this is the intended behaviour, surely it should leave it alone? So at the moment whether I tick Enable or not I end up with the default bindings [sad]
 
Hi Dr. Kaii,

Quick report here, I can confirm there's a localization issue when starting up with my default french regional settings I get:

System.InvalidCastException: Conversion from string "-0.041174" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. If I change the regional settings so that the decimal separator is "." instead of "," it starts OK. I guess a CultureInfo.InvariantCulture is in order somewhere in your parsing code [big grin]

I then get this :
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at EDProfiler.StoredProfileReader.xmlSettingReader(String setting)
at EDProfiler.EDPMainForm.DetectCurrent()
...

I'm running the Oculus Home version of the game which is located here : C:\Program Files\Oculus\Software\frontier-developments-plc-elite-dangerous\Products\elite-dangerous-64. But I also have the non-steam regular install of the game somewhere else because I wanted to make sure the Oculus version was working correctly before removing the old one :)
 
Thanks, that is definitely unintended behaviour. Also, I was a bit silly with the renaming of the bindings in the list. I'll fix that for the next version. I'll get another version up tomorrow to fix those issues for you (and everyone).

Many thanks. Will gladly make a small donation once I'm using this daily - though at the moment the Oculus app and ED do not seem to be playing nicely together when I switch between Rift and monitor but that's another story...
 
Hi Dr. Kaii,

Quick report here, I can confirm there's a localization issue when starting up with my default french regional settings I get:

System.InvalidCastException: Conversion from string "-0.041174" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. If I change the regional settings so that the decimal separator is "." instead of "," it starts OK. I guess a CultureInfo.InvariantCulture is in order somewhere in your parsing code [big grin]

I then get this :
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at EDProfiler.StoredProfileReader.xmlSettingReader(String setting)
at EDProfiler.EDPMainForm.DetectCurrent()
...

I'm running the Oculus Home version of the game which is located here : C:\Program Files\Oculus\Software\frontier-developments-plc-elite-dangerous\Products\elite-dangerous-64. But I also have the non-steam regular install of the game somewhere else because I wanted to make sure the Oculus version was working correctly before removing the old one :)

Surely you don't have , decimal separators in the game files? If you do, we might need to talk, I'll DEF need some help sorting that out :)

Many thanks. Will gladly make a small donation once I'm using this daily - though at the moment the Oculus app and ED do not seem to be playing nicely together when I switch between Rift and monitor but that's another story...

Thanks buddy and yeah I've heard. Will find out when I get my graphics card how annoying they are :)


Anyway, I have submitted a revision to the file that should fix the following issues:


  • Custom binds no longer getting renamed (the files themselves were never renamed but it made problems populating the list correctly in EDProfiler)
  • Custom bind for loading is not set to nothing anymore if you apply with the check box unchecked
  • Those getting the "element missing" error on startup shouldn't get it anymore
  • Added tool tips when you hover your mouse over some settings that can be blank until you change them and hit apply the first time with instructions


Please download again and reinstall: http://bit.ly/EDprofiler

Note, I've set the update to be daily for now.
 
right click on 'ED Profiler by Dr. Kaii' and choose Run as Administrator (or alternatively click properties and set to always run as admin through the dialog)

I tried that, there is no such option. All other of my apps have "Run as admin", EDprofiler does not.
 
I tried that, there is no such option. All other of my apps have "Run as admin", EDprofiler does not.

Looks like Dr Kaii has fixed your issue in the latest build but if you want to run it as admin you definitely can (see screenshot)

run_as_admin.jpg
 
Surely you don't have , decimal separators in the game files? If you do, we might need to talk, I'll DEF need some help sorting that out :)

Eheh no, it's not the files that have commas, they have dots as expected. But .NET uses the system's regional settings by default and in my case expects commas, hence the exception when it tries to read a decimal with a dot separator. You need to set Thread.CurrentThread.CurrentCulture to InvariantCulture before loading the files and I suspect prior to saving the files also or you'll end up saving them with the default regional settings and ED won't be able to read them as they'll have commas too.

Cheers !
 
As for the other exception System.InvalidOperationException: Sequence contains no elements. It's caused by this :

storedProfileReader1.xmlSettingReader("DOFEnabled")

xmlSettingReader expects to find a setting named "DOFEnabled" but there isn't one in the file in question and it fails since it uses Single().

I don't know why this setting isn't present in my settings file but you may want to use something more permissive than Single() to read the settings as things may be missing for unknown reasons (a.k.a. Thargoids).

More cheers !
 
Yeah, I literally just fixed that :) please can you download the latest version (1.0.1.2) and tell me if it is fixed?

http://bit.ly/EDprofiler

EDIT: As for the culture thing, I'll def look into that. Thanks for bringing to my attention :)
 
is it possible for you to include an option to stop the oculus service and a restart? Stopping the service for non-hmd use stops the oculus home firing up when you run elite. I can do it with a cmd shortcut but thought it might be useful to have in this.
 
is it possible for you to include an option to stop the oculus service and a restart? Stopping the service for non-hmd use stops the oculus home firing up when you run elite. I can do it with a cmd shortcut but thought it might be useful to have in this.

Perfectly possible. Can you guys please confirm if the latest build has solved your issues? Haven't heard anything
 
Back
Top Bottom