=RS=Funkie Posted November 9, 2020 Posted November 9, 2020 (edited) I was getting tired of making edits to the startup.cfg file whenever I wanted to make changes to the graphics either for more fps or for screen capture. So I wanted to make this program to do the changes for me. Basically, load the startup.cfg file. And it should load in the settings you currently have. Make your changes, then hit Save Changes. NOTES: It will make a backup of your existing startup.cfg file as startup.cfg.bak so if something stuffs up. Just delete the cfg file and rename the bak file. The screen resolution will change the settings for both fullscreen and windowed resolutions. but the dropdown list isn't exhaustive. It's only got a selection of common resolutions. The Grass quality setting in the graphics options seem to actually be a combination of Grass Resolution, and Grass Distance. So although the settings seem to have the correct effect in-game. It doesn't report correctly in the in-game settings. Also, Horizon Draw Distance is a scale of 0.0 - 1.0, whereas in the in-game settings it's 40km > 150km. So consider 0.0 to equal 40km and 1.0 to equal 150 km. I was going to add some more settings like IP address and Port for Multiplayer stuff. But I think it's handy the way it is for now. Feel free to report any issues, or suggestions. Also, I could probably just share the source code (VB .net) if anyone wants to take it further. ConfigEditor.rar Edited December 23, 2020 by =RS=Funkie Updated version (include bloom checkbox) 11 12 6
Ala13_UnopaUno_VR Posted November 10, 2020 Posted November 10, 2020 Please need PRESET: LOW, EQUAL,HIGHT, ULTRA please 2
THERION Posted December 10, 2020 Posted December 10, 2020 On 11/9/2020 at 2:38 PM, =RS=Funkie said: I was getting tired of making edits to the startup.cfg file whenever I wanted to make changes to the graphics either for more fps or for screen capture. So I wanted to make this program to do the changes for me. ConfigEditor.rar Basically, load the startup.cfg file. And it should load in the settings you currently have. Make your changes, then hit Save Changes. NOTES: It will make a backup of your existing startup.cfg file as startup.cfg.bak so if something stuffs up. Just delete the cfg file and rename the bak file. The screen resolution will change the settings for both fullscreen and windowed resolutions. but the dropdown list isn't exhaustive. It's only got a selection of common resolutions. The Grass quality setting in the graphics options seem to actually be a combination of Grass Resolution, and Grass Distance. So although the settings seem to have the correct effect in-game. It doesn't report correctly in the in-game settings. Also, Horizon Draw Distance is a scale of 0.0 - 1.0, whereas in the in-game settings it's 40km > 150km. So consider 0.0 to equal 40km and 1.0 to equal 150 km. I was going to add some more settings like IP address and Port for Multiplayer stuff. But I think it's handy the way it is for now. Feel free to report any issues, or suggestions. Also, I could probably just share the source code (VB .net) if anyone wants to take it further. Very nice tool, mate, and I appreciate it so far. Maybe there is just one little thing that comes up to my mind and you might consider implementing this too: - HDR option: As we all know, when HDR is activated, the bloom effect is also automatically set to 1 in the startup.cfg. This is annoying because a lot of users complain about this effect - they want HDR, but without this blooming effect. So my suggestion would be to give the possibility to select HDR and Bloom effect as an separate option too. Cheers 3
=RS=Funkie Posted December 23, 2020 Author Posted December 23, 2020 (edited) On 12/10/2020 at 9:30 PM, THERION said: Very nice tool, mate, and I appreciate it so far. Maybe there is just one little thing that comes up to my mind and you might consider implementing this too: - HDR option: As we all know, when HDR is activated, the bloom effect is also automatically set to 1 in the startup.cfg. This is annoying because a lot of users complain about this effect - they want HDR, but without this blooming effect. So my suggestion would be to give the possibility to select HDR and Bloom effect as an separate option too. Cheers I've added the bloom checkbox, hopefully this works the way you want. (download the rar file in the OP.) Cheers, Funkie Edited December 23, 2020 by =RS=Funkie 1 1
THERION Posted December 23, 2020 Posted December 23, 2020 10 hours ago, =RS=Funkie said: I've added the bloom checkbox, hopefully this works the way you want. (download the rar file in the OP.) Cheers, Funkie Thank you very much for your work - alas, I doesn't work as it should. There is a small glitch: - when you select the Bloom box and save the changes, then the flag Bloom in the startup.cfg file is set to "1" (this is correct and means it is activated) - when you deselect the Bloom box and save the changes, the flag is not set to "0" - it remains to "1" and so it is still active. Sorry, I don't want to spoil your day. Cheerio 1
=RS=Funkie Posted December 23, 2020 Author Posted December 23, 2020 2 hours ago, THERION said: Thank you very much for your work - alas, I doesn't work as it should. There is a small glitch: - when you select the Bloom box and save the changes, then the flag Bloom in the startup.cfg file is set to "1" (this is correct and means it is activated) - when you deselect the Bloom box and save the changes, the flag is not set to "0" - it remains to "1" and so it is still active. Sorry, I don't want to spoil your day. Cheerio Sorry about that! I'll check it out when i next get some time. 1 1
=RS=Funkie Posted December 23, 2020 Author Posted December 23, 2020 11 hours ago, THERION said: Thank you very much for your work - alas, I doesn't work as it should. There is a small glitch: - when you select the Bloom box and save the changes, then the flag Bloom in the startup.cfg file is set to "1" (this is correct and means it is activated) - when you deselect the Bloom box and save the changes, the flag is not set to "0" - it remains to "1" and so it is still active. Sorry, I don't want to spoil your day. Cheerio Updated! I have checked that it changes the bloom now. 1 3
Dutch2 Posted December 30, 2020 Posted December 30, 2020 Think some settings can be much lower then what according to Ingame can be. Gamma as an sample, in game the minimum setting is 0,8, but can be set to 0,7 in the Startup file and maybe even lower, think that could be another advantage for using this software. 1
AboveTheClouds83 Posted February 5, 2022 Posted February 5, 2022 (edited) This is great! Thanks for your work. Maybe you could add the possibility to display left eye, right eye or both eyes on the screen for VR users who want to record their games or play while someone is watching the screen. It would be a nice addition for some. Thanks again Edited February 5, 2022 by AboveTheClouds83
=RS=Funkie Posted April 12, 2022 Author Posted April 12, 2022 Good idea, I'll update the application when I get some time.
56RAF_Roblex Posted April 12, 2022 Posted April 12, 2022 (edited) On 12/30/2020 at 9:34 AM, Dutch2 said: Think some settings can be much lower then what according to Ingame can be. Gamma as an sample, in game the minimum setting is 0,8, but can be set to 0,7 in the Startup file and maybe even lower, think that could be another advantage for using this software. I think that if you set gamma to 0.7 or whatever, then next time you make a change to any graphic setting it will reset gamma to 0.8. If this utility is updated to change gamma to lower setting, will the way it works bypass that unwanted behaviour? I would guess that reset is done by the game itself so your utility working directly on the file would stop it happening but it might be worth checking when you work on it. Edited April 12, 2022 by 56RAF_Roblex
RossMarBow Posted April 21, 2022 Posted April 21, 2022 Wouldn't it be better to be able to save two complete setups i.e. playing, recording then you can just one click change them? kinda like cutting and pasting two different cfg files would do
FurphyForum Posted September 19, 2022 Posted September 19, 2022 @=RS=Funkie Update pls, are you still working on this or are you finished.
CIA_Matabo Posted October 3, 2023 Posted October 3, 2023 I need to find the startup.cfg file location. If I add \startup.cfg behind data I can open it and do an edit and save it. But I need to right click on the startup.cfg file so I can tic read only but it is not in the list. Anyone one know how to make it show up?
-332FG-BlackCatActual- Posted February 13 Posted February 13 I keep running into this issue: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.UnauthorizedAccessException: Access to the path 'D:\IL2 Mods\startup.cfg.bak' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite) at ConfigEditor.frmMain.btnLoadConfig_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.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: 4.0.0.0 Win32 Version: 4.8.9290.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- ConfigEditor Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/IL2%20Mods/Config%20Editor/ConfigEditor.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9297.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.
-332FG-BlackCatActual- Posted April 23 Posted April 23 I fixed the issue by moving the application into the same drive as the config file. That was the solution for some reason.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now