• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Keeping KissIni Files Clean / Mass Update Ini Values

Joined
Feb 24, 2005
RedCents
2,154¢
If you guys haven't figured it out by now I'm a huge fan of LinqPad it let's you write C# scripts that compile at run time, etc etc etc.

This is a quick little utility to make sure you Ini files are well formed / valid. I also added the ability to mass update Section/Key/Value across all of your ini files.
I dump the file name as text for easy Copy & Paste along with any errors found.


1 - Download Linqpad
2 - Download KA-MassUpdate.txt and save it as KA-MassUpdate.linq (Couldn't upload .linq files :()
3 - Open KA-MassUpdate.linq with Linqpad
4 - Update: var MacroPath = @"C:\MQ2\Macros"; to wherever your Macro folder is located
5 - Press F5
6 - Fix Errors || Have pretty printed Ini Files w/ updated values


Screenshots:
What it should look like inside LinqPad
IniUpdate1.PNG

Sample of Error Found: (Line 31 inside the Ini file is where your error is)
IniUpdate2.PNG

- - - Updated - - -

It's amazing how much faster KA starts up when you have zero errors in your Ini file :P
 

Attachments

Keeping KissIni Files Clean / Mass Update Ini Values

Users who are viewing this thread

Back
Top
Cart