How tiniifan/cfgbineditor works
CfgBinEditor is a Windows Forms tool for reading and modifying Level 5 cfg.bin files. The user launches the editor, works with binary entries and their variables, and can enter or search for values. The README also documents optional MyTags.txt naming and MyIDs.txt hash lookup capabilities. The sampled code shows editor interactions with binary and JSON models and value dialogs; unsampled UI details are represented only where documented. Edges are limited to those shown in excerpts or stated in the README.
Main entry points: CfgBinEditorWindow.cs CfgBin editor · SearchWindow.cs Entry search dialog · InputValueWindow.cs Value input dialog · Program.cs Application entry
Components 12
Editor workflow
- Application entry
CfgBinEditor/Program.cs - CfgBin editor
CfgBinEditor/CfgBinEditorWindow.cs
Binary and data
- Binary file model
CfgBinEditor/CfgBinCore/Binary/ExportableCfgBin.cs - Tag metadata
CfgBinEditor/CfgBinCore/Common/Tag.cs - JSON entry
CfgBinEditor/CfgBinCore/Json/JsonEntry.cs - JSON variable
CfgBinEditor/CfgBinCore/Json/JsonVariable.cs
Value lookup
- ID record
CfgBinEditor/CfgBinCore/Common/ID.cs - ID lookup dialog
CfgBinEditor/IDsWindow.cs
Desktop UI
- Value input dialog
CfgBinEditor/InputValueWindow.cs - Entry search dialog
CfgBinEditor/SearchWindow.cs - Custom tab control
CfgBinEditor/UI/VSTabControl.cs
Other components
- User
Connections 14
- User → Application entry: launches
CfgBinEditor/Program.cs - Application entry → CfgBin editor: runs
CfgBinEditor/Program.cs - User → CfgBin editor: edits files
README.md - CfgBin editor → Binary file model: opens binary
CfgBinEditor/CfgBinEditorWindow.cs - CfgBin editor → Tag metadata: uses tags
CfgBinEditor/CfgBinEditorWindow.cs - CfgBin editor → JSON entry: builds entries
CfgBinEditor/CfgBinEditorWindow.cs - CfgBin editor → JSON variable: reads variables
CfgBinEditor/CfgBinEditorWindow.cs - JSON entry → JSON variable: contains
CfgBinEditor/CfgBinCore/Json/JsonEntry.cs - CfgBin editor → Value input dialog: prompts values
CfgBinEditor/CfgBinEditorWindow.cs - Value input dialog → ID lookup dialog: opens lookup
CfgBinEditor/InputValueWindow.cs - ID lookup dialog → ID record: displays IDs
CfgBinEditor/IDsWindow.cs - Entry search dialog → Value input dialog: prompts search
CfgBinEditor/SearchWindow.cs - Entry search dialog → Binary file model: searches entries
CfgBinEditor/SearchWindow.cs - User → Entry search dialog: searches values