diff --git a/Documentation/Authors.txt b/Documentation/Authors.txt
index be73194..4f22c4b 100644
--- a/Documentation/Authors.txt
+++ b/Documentation/Authors.txt
@@ -3,6 +3,7 @@
|
================= Contributors =====================================
| Christoph 'Giswald'
+| 'Captnwalker1'
|
================= Special Thanks =====================================
| Hans Passant ~ Help with the code at Stack Overflow (http://stackoverflow.com/questions/20874108/creating-a-handles-for-each-new-item-in-a-dropdownitems)
diff --git a/Documentation/Changelog.txt b/Documentation/Changelog.txt
index d121076..102ceb2 100644
--- a/Documentation/Changelog.txt
+++ b/Documentation/Changelog.txt
@@ -1,4 +1,9 @@
- Version 3.0.1.5
+ Version 3.1.0.0
+- Added maintainable custom Game ID List via an XML file ~ By Captnwalker1 @ GitHub
+ (Keep using Half-Life Dedicated Server for GoldSrc games)
+- Moved all XML files to the Settings folder
+
+ Version 3.0.1.5
- Fixed that couldn't find steamcmd.exe at launch the program
Version 3.0.1.4
diff --git a/README.md b/README.md
index 3514292..4dfdf54 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,10 @@ SteamCMD GUI by Ra
Last Changes
============
-######Version 3.0.1.5
-* Fixed that couldn't find steamcmd.exe at launch the program
+######Version 3.1.0.0
+* Added maintainable custom Game ID List via an XML file ~ By Captnwalker1 @ GitHub
+ * (Keep using Half-Life Dedicated Server for GoldSrc games)
+* Moved all XML files to the Settings folder
Screenshots
============
diff --git a/Source Code/SteamCMD GUI/MainMenu.Designer.vb b/Source Code/SteamCMD GUI/MainMenu.Designer.vb
index df71303..ea95aef 100644
--- a/Source Code/SteamCMD GUI/MainMenu.Designer.vb
+++ b/Source Code/SteamCMD GUI/MainMenu.Designer.vb
@@ -27,8 +27,6 @@ Partial Class MainMenu
Me.GamesList = New System.Windows.Forms.ComboBox()
Me.SteamCMDDownloadButton = New System.Windows.Forms.Button()
Me.DonwloadBar = New System.Windows.Forms.ProgressBar()
- Me.CustomIDCheckbox = New System.Windows.Forms.CheckBox()
- Me.CustomIDTextBox = New System.Windows.Forms.TextBox()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.OpenFolderButton = New System.Windows.Forms.Button()
Me.CheckUpdatesButton = New System.Windows.Forms.Button()
@@ -36,6 +34,7 @@ Partial Class MainMenu
Me.AboutButton = New System.Windows.Forms.Button()
Me.ExitButton = New System.Windows.Forms.Button()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
+ Me.AddCustomGameButton = New System.Windows.Forms.Button()
Me.CheckBoxConsole = New System.Windows.Forms.CheckBox()
Me.ValidateCheckBox = New System.Windows.Forms.CheckBox()
Me.IdHelpButton = New System.Windows.Forms.Button()
@@ -131,7 +130,6 @@ Partial Class MainMenu
Me.AboutToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.XmlConfigOpenFileDialog = New System.Windows.Forms.OpenFileDialog()
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
- Me.AddCustomGameButton = New System.Windows.Forms.Button()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox3.SuspendLayout()
@@ -168,17 +166,6 @@ Partial Class MainMenu
Me.DonwloadBar.Name = "DonwloadBar"
Me.DonwloadBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous
'
- 'CustomIDCheckbox
- '
- resources.ApplyResources(Me.CustomIDCheckbox, "CustomIDCheckbox")
- Me.CustomIDCheckbox.Name = "CustomIDCheckbox"
- Me.CustomIDCheckbox.UseVisualStyleBackColor = True
- '
- 'CustomIDTextBox
- '
- resources.ApplyResources(Me.CustomIDTextBox, "CustomIDTextBox")
- Me.CustomIDTextBox.Name = "CustomIDTextBox"
- '
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.OpenFolderButton)
@@ -235,15 +222,19 @@ Partial Class MainMenu
Me.GroupBox2.Controls.Add(Me.Label1)
Me.GroupBox2.Controls.Add(Me.UsernameTextBox)
Me.GroupBox2.Controls.Add(Me.PasswdTextBox)
- Me.GroupBox2.Controls.Add(Me.CustomIDTextBox)
Me.GroupBox2.Controls.Add(Me.GamesList)
- Me.GroupBox2.Controls.Add(Me.CustomIDCheckbox)
Me.GroupBox2.Controls.Add(Me.GoldSrcModLabel)
Me.GroupBox2.Controls.Add(Me.GoldSrcModInput)
resources.ApplyResources(Me.GroupBox2, "GroupBox2")
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.TabStop = False
'
+ 'AddCustomGameButton
+ '
+ resources.ApplyResources(Me.AddCustomGameButton, "AddCustomGameButton")
+ Me.AddCustomGameButton.Name = "AddCustomGameButton"
+ Me.AddCustomGameButton.UseVisualStyleBackColor = True
+ '
'CheckBoxConsole
'
resources.ApplyResources(Me.CheckBoxConsole, "CheckBoxConsole")
@@ -851,12 +842,6 @@ Partial Class MainMenu
'
Me.XmlConfigOpenFileDialog.RestoreDirectory = True
'
- 'AddCustomGameButton
- '
- resources.ApplyResources(Me.AddCustomGameButton, "AddCustomGameButton")
- Me.AddCustomGameButton.Name = "AddCustomGameButton"
- Me.AddCustomGameButton.UseVisualStyleBackColor = True
- '
'MainMenu
'
resources.ApplyResources(Me, "$this")
@@ -900,8 +885,6 @@ Partial Class MainMenu
Friend WithEvents GamesList As System.Windows.Forms.ComboBox
Friend WithEvents SteamCMDDownloadButton As System.Windows.Forms.Button
Friend WithEvents DonwloadBar As System.Windows.Forms.ProgressBar
- Friend WithEvents CustomIDCheckbox As System.Windows.Forms.CheckBox
- Friend WithEvents CustomIDTextBox As System.Windows.Forms.TextBox
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents Status As System.Windows.Forms.TextBox
diff --git a/Source Code/SteamCMD GUI/MainMenu.resx b/Source Code/SteamCMD GUI/MainMenu.resx
index 626bd62..ebbe6f9 100644
--- a/Source Code/SteamCMD GUI/MainMenu.resx
+++ b/Source Code/SteamCMD GUI/MainMenu.resx
@@ -174,7 +174,7 @@
GroupBox2
- 13
+ 12
6, 15
@@ -221,59 +221,65 @@
5
-
- True
+
+ OpenFolderButton
-
- 284, 22
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 75, 17
+
+ GroupBox1
-
- 3
+
+ 0
-
- Custom ID
+
+ CheckUpdatesButton
-
- CustomIDCheckbox
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ GroupBox1
-
- GroupBox2
+
+ 2
-
- 14
+
+ VDCButton
-
- False
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 204, 20
+
+ GroupBox1
-
- 10
+
+ 3
-
- 74, 20
+
+ 435, 34
-
- 2
+
+ 165, 101
-
- CustomIDTextBox
+
+ 0
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Tools
-
- GroupBox2
+
+ GroupBox1
-
- 12
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 8
@@ -357,30 +363,6 @@
3
-
- 435, 34
-
-
- 165, 101
-
-
- 0
-
-
- Tools
-
-
- GroupBox1
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 8
-
435, 283
@@ -430,7 +412,7 @@
7
- 284, 51
+ 284, 18
75, 23
@@ -760,7 +742,7 @@
GroupBox2
- 15
+ 13
204, 20
@@ -784,7 +766,7 @@
GroupBox2
- 16
+ 14
6, 60
@@ -840,6 +822,78 @@
188, 17
+
+ MAPButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox3
+
+
+ 0
+
+
+ ESButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox3
+
+
+ 1
+
+
+ MMButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox3
+
+
+ 2
+
+
+ SMButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox3
+
+
+ 3
+
+
+ 435, 141
+
+
+ 165, 136
+
+
+ 100
+
+
+ Addons
+
+
+ GroupBox3
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 3
+
6, 103
@@ -936,29 +990,65 @@
3
-
- 435, 141
+
+ ExeBrowserButton
-
- 165, 136
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 100
+
+ GroupBox4
-
- Addons
+
+ 0
-
- GroupBox3
+
+ ExePath
-
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox4
+
+
+ 1
+
+
+ Label4
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox4
+
+
+ 2
+
+
+ 6, 6
+
+
+ 397, 48
+
+
+ 0
+
+
+ SteamCMD Configuration
+
+
+ GroupBox4
+
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- $this
+
+ UpdateTab
-
- 3
+
+ 0
323, 15
@@ -1032,30 +1122,6 @@
2
-
- 6, 6
-
-
- 397, 48
-
-
- 0
-
-
- SteamCMD Configuration
-
-
- GroupBox4
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- UpdateTab
-
-
- 0
-
4, 22
@@ -1083,11 +1149,542 @@
0
-
- Center
+
+ GroupBox6
-
- 293, 173
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ RunTab
+
+
+ 0
+
+
+ GroupBox5
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ RunTab
+
+
+ 1
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 580, 277
+
+
+ 1
+
+
+ Run Server
+
+
+ RunTab
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabMenu
+
+
+ 1
+
+
+ ConsoleConnect
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 0
+
+
+ ConsoleClearLog
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 1
+
+
+ ConsoleOpenLog
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 2
+
+
+ ConsoleSaveLog
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 3
+
+
+ ConsoleCommandList
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 4
+
+
+ ConsoleButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 5
+
+
+ ConsoleInput
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 6
+
+
+ ConsoleOutput
+
+
+ System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConsoleTab
+
+
+ 7
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 580, 277
+
+
+ 2
+
+
+ Console
+
+
+ ConsoleTab
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabMenu
+
+
+ 2
+
+
+ 12, 27
+
+
+ 588, 303
+
+
+ 0
+
+
+ TabMenu
+
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ AddButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 0
+
+
+ SaveButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 1
+
+
+ InsecureCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 2
+
+
+ DevModeCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 3
+
+
+ RunServerButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 4
+
+
+ ConsoleCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 5
+
+
+ BotsCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 6
+
+
+ SourceTVCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 7
+
+
+ DebugModeCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 8
+
+
+ CheckBoxMask
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 9
+
+
+ UDPPortTexBox
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 10
+
+
+ RconTextBox
+
+
+ System.Windows.Forms.MaskedTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 11
+
+
+ Label11
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 12
+
+
+ Label10
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 13
+
+
+ NetworkComboBox
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 14
+
+
+ ServerNameTextBox
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 15
+
+
+ Label7
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 16
+
+
+ MaxPlayersTexBox
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 17
+
+
+ ModHelpButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 18
+
+
+ CustomModTextBox
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 19
+
+
+ ModList
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 20
+
+
+ CustomModCheckBox
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 21
+
+
+ MapList
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 22
+
+
+ Label6
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 23
+
+
+ Label8
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 24
+
+
+ Label5
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox6
+
+
+ 25
+
+
+ 6, 60
+
+
+ 397, 211
+
+
+ 2
+
+
+ Game Configuration
+
+
+ GroupBox6
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ RunTab
+
+
+ 0
+
+
+ Center
+
+
+ 293, 173
23, 23
@@ -1794,29 +2391,77 @@
25
-
- 6, 60
+
+ SrcdsExePathOpen
-
- 397, 211
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox5
+
+
+ 0
+
+
+ SrcdsExeBrowserButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox5
+
+
+ 1
+
+
+ SrcdsExePathTextBox
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox5
+
+
+ 2
+
+
+ Label3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GroupBox5
+
+
+ 3
+
+
+ 6, 6
-
- 2
+
+ 397, 48
-
- Game Configuration
+
+ 1
-
- GroupBox6
+
+ Srcds Configuration
-
+
+ GroupBox5
+
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
RunTab
-
- 0
+
+ 1
Center
@@ -1920,57 +2565,6 @@
3
-
- 6, 6
-
-
- 397, 48
-
-
- 1
-
-
- Srcds Configuration
-
-
- GroupBox5
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- RunTab
-
-
- 1
-
-
- 4, 22
-
-
- 3, 3, 3, 3
-
-
- 580, 277
-
-
- 1
-
-
- Run Server
-
-
- RunTab
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabMenu
-
-
- 1
-
Center
@@ -2178,57 +2772,18 @@
7
-
- 4, 22
-
-
- 3, 3, 3, 3
-
-
- 580, 277
-
-
- 2
-
-
- Console
-
-
- ConsoleTab
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabMenu
-
-
- 2
-
-
- 12, 27
-
-
- 588, 303
-
-
- 0
-
-
- TabMenu
-
-
- System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
629, 17
+
+ 184, 48
+
+
+ ContextMenuStrip1
+
+
+ System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
183, 22
@@ -2241,18 +2796,39 @@
ToolStripMenuItem2
-
- 184, 48
-
-
- ContextMenuStrip1
-
-
- System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
786, 17
+
+ 0, 0
+
+
+ 609, 24
+
+
+ 20
+
+
+ MenuStrip1
+
+
+ MenuStrip1
+
+
+ System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 1
+
+
+ 37, 20
+
+
+ File
+
Ctrl+S
@@ -2283,11 +2859,20 @@
Exit
-
- 37, 20
+
+ 39, 20
-
- File
+
+ Edit
+
+
+ False
+
+
+ 151, 22
+
+
+ Common Files
125, 22
@@ -2307,14 +2892,14 @@
maplist
-
+
False
-
+
151, 22
-
- Common Files
+
+ Cfg Files
119, 22
@@ -2325,38 +2910,23 @@
116, 6
-
- False
-
-
- 151, 22
-
-
- Cfg Files
-
148, 6
-
- 67, 22
-
151, 22
SourceMod
-
- 39, 20
-
-
- Edit
+
+ 67, 22
-
- 77, 22
+
+ 44, 20
-
-
+
+ Help
False
@@ -2367,42 +2937,18 @@
SteamCMD Logs
+
+ 77, 22
+
+
+
+
162, 22
About
-
- 44, 20
-
-
- Help
-
-
- 0, 0
-
-
- 599, 24
-
-
- 20
-
-
- MenuStrip1
-
-
- MenuStrip1
-
-
- System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 1
-
901, 17
@@ -2422,7 +2968,7 @@
6, 13
- 599, 359
+ 609, 369
615, 397
diff --git a/Source Code/SteamCMD GUI/MainMenu.vb b/Source Code/SteamCMD GUI/MainMenu.vb
index bc810c0..e7b5e8d 100644
--- a/Source Code/SteamCMD GUI/MainMenu.vb
+++ b/Source Code/SteamCMD GUI/MainMenu.vb
@@ -10,7 +10,7 @@ Module Module1
' Run Server
Public SrcdsExePath, GameMod, ServerName, ServerMap, NetworkType, MaxPlayers, RCON, UDPPort, DebugMode, SourceTV, ConsoleMode, InsecureMode, NoBots, DevMode, AdditionalCommands, Parameters As String
' Strings
- Public DownloadingString, DownloadDoneString, DownloadDone2String, PathSteamCMDString, CantFindSteamCMDString, CustomIDString, PathEmptyString, PathForInstallString, GameInstallString, ValidateString, SteamAppIDEmptyString, SteamNameString, SteamPasswdString As String
+ Public DownloadingString, DownloadDoneString, DownloadDone2String, PathSteamCMDString, CantFindSteamCMDString, PathEmptyString, PathForInstallString, GameInstallString, ValidateString, SteamAppIDEmptyString, SteamNameString, SteamPasswdString As String
Public ServerPathInstallString, HLmodErrorString, InstallingString As String
Public GameDictionary As Dictionary(Of String, String) = New Dictionary(Of String, String)
@@ -37,8 +37,8 @@ Public Class MainMenu
If Not Directory.Exists("Logs") Then
Directory.CreateDirectory("Logs")
End If
- If File.Exists("SteamCMDPath.xml") Then
- Dim XmlConfig As XmlReader = New XmlTextReader("SteamCMDPath.xml")
+ If File.Exists("Settings/SteamCMDPath.xml") Then
+ Dim XmlConfig As XmlReader = New XmlTextReader("Settings/SteamCMDPath.xml")
While (XmlConfig.Read())
Dim type = XmlConfig.NodeType
If (type = XmlNodeType.Element) Then
@@ -52,7 +52,7 @@ Public Class MainMenu
End While
XmlConfig.Close()
End If
- If File.Exists("SteamCMDGames.xml") Then
+ If File.Exists("Settings/SteamCMDGames.xml") Then
LoadGamesList()
Else
InitializeDefaultGamesList()
@@ -63,10 +63,6 @@ Public Class MainMenu
GamesList.DataBindings.DefaultDataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged
GamesList.SelectedIndex = 1
- 'Hide the customID textbox and checkbox as they aren't needed
- CustomIDTextBox.Hide()
- CustomIDCheckbox.Hide()
-
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0F, 13.0F)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
End Sub
@@ -84,7 +80,6 @@ Public Class MainMenu
DownloadDone2String = "The file has already been downloaded!"
PathSteamCMDString = "Current path of 'steamcmd.exe' is "
CantFindSteamCMDString = "Can't find the file 'steamcmd.exe'!"
- CustomIDString = "Custom Steam App ID: "
PathEmptyString = "Please, select a folder for install/update the server."
PathForInstallString = "The server will be installed/updated in '"
GameInstallString = "Game to install: "
@@ -173,7 +168,7 @@ Public Class MainMenu
Dim CMDConfig As New XmlWriterSettings()
CMDConfig.Indent = True
- Dim XmlWrt As XmlWriter = XmlWriter.Create("SteamCMDPath.xml", CMDConfig)
+ Dim XmlWrt As XmlWriter = XmlWriter.Create("Settings/SteamCMDPath.xml", CMDConfig)
With XmlWrt
.WriteStartDocument()
.WriteComment("Config used by SteamCMD GUI")
@@ -202,25 +197,6 @@ Public Class MainMenu
End If
End Sub
- Private Sub CustomIDCheckbox_Click() Handles CustomIDCheckbox.CheckedChanged, CustomIDTextBox.TextChanged
- If CustomIDCheckbox.Checked = True Then
- GamesList.Enabled = False
- CustomIDTextBox.Enabled = True
- SteamAppID = CustomIDTextBox.Text
- Status.Text = CustomIDString & SteamAppID
- Status.BackColor = Color.FromArgb(240, 240, 240)
- Else
- GamesList.Enabled = True
- CustomIDTextBox.Enabled = False
- End If
- End Sub
-
- Private Sub CustomIDTextBox_KeyPress(ByVal sender As Object, ByVal e As Windows.Forms.KeyPressEventArgs) Handles CustomIDTextBox.KeyPress
- If InStr(1, "0123456789" & Chr(8), e.KeyChar) = 0 Then
- e.KeyChar = ""
- End If
- End Sub
-
Private Sub AnonymousCheckBox_CheckedChanged() Handles AnonymousCheckBox.CheckedChanged
If AnonymousCheckBox.Checked = True Then
UsernameTextBox.Enabled = False
@@ -264,15 +240,13 @@ Public Class MainMenu
If Not SteamAppID = 90 Then
- 'CustomIDTextBox.Show()
- 'CustomIDCheckbox.Show()
GoldSrcModInput.Hide()
GoldSrcModLabel.Hide()
+ AddCustomGameButton.Show()
Else
- 'CustomIDTextBox.Hide()
- 'CustomIDCheckbox.Hide()
GoldSrcModInput.Show()
GoldSrcModLabel.Show()
+ AddCustomGameButton.Hide()
End If
Status.Text = GameInstallString & GamesList.Text & " - Steam App ID:" & SteamAppID
Status.BackColor = Color.FromArgb(240, 240, 240)
@@ -956,11 +930,7 @@ Public Class MainMenu
Dim result As Integer = MessageBox.Show("Really want to stop and close SteamCMD?", "Stop SteamCMD", MessageBoxButtons.YesNo)
If result = DialogResult.Yes Then
If Not proc.HasExited Then
- If CustomIDCheckbox.Checked Then
- Game = "Steam App ID: " & SteamAppID
- Else
- Game = "Game: " & GamesList.Text
- End If
+ Game = "Game: " & GamesList.Text
Program = "SteamCmd.exe"
PathForLog = "Server path: " & ServerPathInstallation
SaveLog()
@@ -1010,11 +980,15 @@ Public Class MainMenu
ID = InputBox("Custom Game App ID")
If ("" = Name) Then
+ My.Computer.Audio.PlaySystemSound( _
+ Media.SystemSounds.Hand)
MessageBox.Show("Custom Game Name was not entered.", "Add Custom Game Error")
Return
End If
If ("" = ID) Then
+ My.Computer.Audio.PlaySystemSound( _
+ Media.SystemSounds.Hand)
MessageBox.Show("Custom Game ID was not entered.", "Add Custom Game Error")
Return
End If
@@ -1022,6 +996,8 @@ Public Class MainMenu
Dim TestInt As Integer = 0
Integer.TryParse(ID, TestInt)
If (TestInt = 0) Then
+ My.Computer.Audio.PlaySystemSound( _
+ Media.SystemSounds.Hand)
MessageBox.Show("Custom Game ID was not a number (e.x 444880).", "Add Custom Game Error")
Return
End If
@@ -1036,7 +1012,7 @@ Public Class MainMenu
End Sub
Private Sub LoadGamesList()
- Dim XmlDoc As XmlReader = New XmlTextReader("SteamCMDGames.xml")
+ Dim XmlDoc As XmlReader = New XmlTextReader("Settings/SteamCMDGames.xml")
'XmlDoc.ReadToFollowing("Games")
While (XmlDoc.Read())
Dim type = XmlDoc.NodeType
@@ -1074,7 +1050,7 @@ Public Class MainMenu
Private Sub WriteOutDictionaryAsXml(dict As Dictionary(Of String, String))
Dim XmlSettings As XmlWriterSettings = New XmlWriterSettings()
XmlSettings.Indent = True
- Dim XmlWrt As XmlWriter = XmlWriter.Create("SteamCMDGames.xml", XmlSettings)
+ Dim XmlWrt As XmlWriter = XmlWriter.Create("Settings/SteamCMDGames.xml", XmlSettings)
XmlWrt.WriteStartDocument()
XmlWrt.WriteComment("Custom Games Config used by SteamCMD GUI")
diff --git a/Source Code/SteamCMD GUI/My Project/AssemblyInfo.vb b/Source Code/SteamCMD GUI/My Project/AssemblyInfo.vb
index 0b91525..fd8c91f 100644
--- a/Source Code/SteamCMD GUI/My Project/AssemblyInfo.vb
+++ b/Source Code/SteamCMD GUI/My Project/AssemblyInfo.vb
@@ -31,7 +31,7 @@ Imports System.Runtime.InteropServices
' mediante el asterisco ('*'), como se muestra a continuación:
'
-
-
+
+
\ No newline at end of file