Moved strings to resource (frmMain)
This commit is contained in:
Generated
+1
-1
@@ -99,7 +99,7 @@ Partial Class frmMain
|
|||||||
'
|
'
|
||||||
Me.gMonTrayMenu.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.gMonTrayNotification, Me.gMonTrayShow, Me.gMonTraySep2, Me.gMonTrayMon, Me.gMonTraySettings, Me.gMonTraySetup, Me.gMonTrayTools, Me.gMonTraySep1, Me.gMonTrayExit})
|
Me.gMonTrayMenu.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.gMonTrayNotification, Me.gMonTrayShow, Me.gMonTraySep2, Me.gMonTrayMon, Me.gMonTraySettings, Me.gMonTraySetup, Me.gMonTrayTools, Me.gMonTraySep1, Me.gMonTrayExit})
|
||||||
Me.gMonTrayMenu.Name = "gMonTrayMenu"
|
Me.gMonTrayMenu.Name = "gMonTrayMenu"
|
||||||
Me.gMonTrayMenu.Size = New System.Drawing.Size(162, 192)
|
Me.gMonTrayMenu.Size = New System.Drawing.Size(162, 170)
|
||||||
'
|
'
|
||||||
'gMonTrayNotification
|
'gMonTrayNotification
|
||||||
'
|
'
|
||||||
|
|||||||
+130
-104
@@ -17,12 +17,6 @@ Public Class frmMain
|
|||||||
Restore = 3
|
Restore = 3
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
Private iProcessType As System.Reflection.ProcessorArchitecture = System.Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture
|
|
||||||
Private sVersion As String = "Version: " & My.Application.Info.Version.Major & "." & _
|
|
||||||
My.Application.Info.Version.Minor & " Beta (" & [Enum].GetName(GetType(System.Reflection.ProcessorArchitecture), iProcessType) & ")"
|
|
||||||
Private sRevision As String = "Build: " & My.Application.Info.Version.Build & "." & My.Application.Info.Version.Revision
|
|
||||||
Const sConstCopyright As String = "2015 Michael J. Seiferling"
|
|
||||||
|
|
||||||
Private eCurrentStatus As eStatus = eStatus.Stopped
|
Private eCurrentStatus As eStatus = eStatus.Stopped
|
||||||
Private eCurrentOperation As eOperation = eOperation.None
|
Private eCurrentOperation As eOperation = eOperation.None
|
||||||
Private bCancelledByUser As Boolean = False
|
Private bCancelledByUser As Boolean = False
|
||||||
@@ -75,15 +69,15 @@ Public Class frmMain
|
|||||||
|
|
||||||
'Build Info
|
'Build Info
|
||||||
sStatus1 = IO.Path.GetFileName(oRestoreInfo.FileName)
|
sStatus1 = IO.Path.GetFileName(oRestoreInfo.FileName)
|
||||||
sStatus2 = "Updated by " & oRestoreInfo.UpdatedBy & " on " & oRestoreInfo.DateUpdated
|
sStatus2 = mgrCommon.FormatString(My.Resources.frmMain_UpdatedBy, New String() {oRestoreInfo.UpdatedBy, oRestoreInfo.DateUpdated})
|
||||||
If oRestoreInfo.AbsolutePath Then
|
If oRestoreInfo.AbsolutePath Then
|
||||||
sStatus3 = oRestoreInfo.RestorePath
|
sStatus3 = oRestoreInfo.RestorePath
|
||||||
Else
|
Else
|
||||||
sStatus3 = oRestoreInfo.RelativeRestorePath
|
sStatus3 = oRestoreInfo.RelativeRestorePath
|
||||||
End If
|
End If
|
||||||
|
|
||||||
WorkingGameInfo("Restore in progress...", sStatus1, sStatus2, sStatus3)
|
WorkingGameInfo(My.Resources.frmMain_RestoreInProgress, sStatus1, sStatus2, sStatus3)
|
||||||
UpdateStatus("Restore in progress...")
|
UpdateStatus(My.Resources.frmMain_RestoreInProgress)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SetBackupInfo(ByVal oGame As clsGame) Handles oBackup.UpdateBackupInfo
|
Private Sub SetBackupInfo(ByVal oGame As clsGame) Handles oBackup.UpdateBackupInfo
|
||||||
@@ -100,8 +94,8 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
sStatus3 = String.Empty
|
sStatus3 = String.Empty
|
||||||
|
|
||||||
WorkingGameInfo("Backup in Progress...", sStatus1, sStatus2, sStatus3)
|
WorkingGameInfo(My.Resources.frmMain_BackupInProgress, sStatus1, sStatus2, sStatus3)
|
||||||
UpdateStatus("Backup in progress...")
|
UpdateStatus(My.Resources.frmMain_BackupInProgress)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub OperationStarted(Optional ByVal bPause As Boolean = True)
|
Private Sub OperationStarted(Optional ByVal bPause As Boolean = True)
|
||||||
@@ -175,7 +169,7 @@ Public Class frmMain
|
|||||||
If mgrRestore.CheckPath(oRestoreInfo, oGame, bTriggerReload) Then
|
If mgrRestore.CheckPath(oRestoreInfo, oGame, bTriggerReload) Then
|
||||||
oReadyList.Add(oRestoreInfo)
|
oReadyList.Add(oRestoreInfo)
|
||||||
Else
|
Else
|
||||||
UpdateLog(oRestoreInfo.Name & " restore was cancelled due to a restore path issue.", False, ToolTipIcon.Error, True)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_ErrorRestorePath, oRestoreInfo.Name), False, ToolTipIcon.Error, True)
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
@@ -206,18 +200,18 @@ Public Class frmMain
|
|||||||
bNoAuto = False
|
bNoAuto = False
|
||||||
gMonStripStatusButton.Enabled = False
|
gMonStripStatusButton.Enabled = False
|
||||||
|
|
||||||
UpdateLog("A manaul backup of " & oGame.Name & " was triggered.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_ManualBackup, oGame.Name), False)
|
||||||
|
|
||||||
If oGame.AbsolutePath = False Then
|
If oGame.AbsolutePath = False Then
|
||||||
If oGame.ProcessPath = String.Empty Then
|
If oGame.ProcessPath = String.Empty Then
|
||||||
If mgrCommon.IsProcessNotSearchable(oGame) Then bNoAuto = True
|
If mgrCommon.IsProcessNotSearchable(oGame) Then bNoAuto = True
|
||||||
oGame.ProcessPath = mgrPath.ProcessPathSearch(oGame.Name, oGame.TrueProcess, oGame.Name & " uses a relative path and has never been detected on this computer.", bNoAuto)
|
oGame.ProcessPath = mgrPath.ProcessPathSearch(oGame.Name, oGame.TrueProcess, mgrCommon.FormatString(My.Resources.frmMain_ErrorRelativePath, oGame.Name), bNoAuto)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If oGame.ProcessPath <> String.Empty Then
|
If oGame.ProcessPath <> String.Empty Then
|
||||||
oReadyList.Add(oGame)
|
oReadyList.Add(oGame)
|
||||||
Else
|
Else
|
||||||
UpdateLog(oGame.Name & " backup was cancelled due to unknown path.", True, ToolTipIcon.Error, True)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_ErrorBackupUnknownPath, oGame.Name), True, ToolTipIcon.Error, True)
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
oReadyList.Add(oGame)
|
oReadyList.Add(oGame)
|
||||||
@@ -273,27 +267,27 @@ Public Class frmMain
|
|||||||
|
|
||||||
If SupressBackup() Then
|
If SupressBackup() Then
|
||||||
bDoBackup = False
|
bDoBackup = False
|
||||||
UpdateLog(oProcess.GameInfo.Name & " backup was cancelled due to session length.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_ErrorBackupSessionLength, oProcess.GameInfo.Name), False)
|
||||||
SetLastAction(oProcess.GameInfo.CroppedName & " backup was cancelled due to session length")
|
SetLastAction(mgrCommon.FormatString(My.Resources.frmMain_ErrorBackupSessionLength, oProcess.GameInfo.CroppedName))
|
||||||
OperationEnded()
|
OperationEnded()
|
||||||
Else
|
Else
|
||||||
If oProcess.GameInfo.MonitorOnly = False Then
|
If oProcess.GameInfo.MonitorOnly = False Then
|
||||||
If oSettings.DisableConfirmation Then
|
If oSettings.DisableConfirmation Then
|
||||||
bDoBackup = True
|
bDoBackup = True
|
||||||
Else
|
Else
|
||||||
If mgrCommon.ShowMessage("Do you wish to backup data from " & oProcess.GameInfo.Name & "?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
If mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ConfirmBackup, oProcess.GameInfo.Name), MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
bDoBackup = True
|
bDoBackup = True
|
||||||
Else
|
Else
|
||||||
bDoBackup = False
|
bDoBackup = False
|
||||||
UpdateLog(oProcess.GameInfo.Name & " backup was cancelled.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_ErrorBackupCancel, oProcess.GameInfo.Name), False)
|
||||||
SetLastAction(oProcess.GameInfo.CroppedName & " backup was cancelled")
|
SetLastAction(mgrCommon.FormatString(My.Resources.frmMain_ErrorBackupCancel, oProcess.GameInfo.CroppedName))
|
||||||
OperationEnded()
|
OperationEnded()
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
bDoBackup = False
|
bDoBackup = False
|
||||||
UpdateLog(oProcess.GameInfo.Name & " is set to monitor only.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_MonitorEnded, oProcess.GameInfo.Name), False)
|
||||||
SetLastAction(oProcess.GameInfo.CroppedName & " monitoring ended")
|
SetLastAction(mgrCommon.FormatString(My.Resources.frmMain_MonitorEnded, oProcess.GameInfo.CroppedName))
|
||||||
OperationEnded()
|
OperationEnded()
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -313,9 +307,9 @@ Public Class frmMain
|
|||||||
|
|
||||||
If slRestoreData.Count > 0 Then
|
If slRestoreData.Count > 0 Then
|
||||||
If slRestoreData.Count > 1 Then
|
If slRestoreData.Count > 1 Then
|
||||||
sNotification = slRestoreData.Count & " New Saves Pending"
|
sNotification = mgrCommon.FormatString(My.Resources.frmMain_NewSaveNotificationMulti, slRestoreData.Count)
|
||||||
Else
|
Else
|
||||||
sNotification = slRestoreData.Count & " New Save Pending"
|
sNotification = mgrCommon.FormatString(My.Resources.frmMain_NewSaveNotificationSingle, slRestoreData.Count)
|
||||||
End If
|
End If
|
||||||
gMonNotification.Image = My.Resources.Inbox
|
gMonNotification.Image = My.Resources.Inbox
|
||||||
gMonTrayNotification.Image = My.Resources.Inbox
|
gMonTrayNotification.Image = My.Resources.Inbox
|
||||||
@@ -331,9 +325,9 @@ Public Class frmMain
|
|||||||
Dim sIcon As String
|
Dim sIcon As String
|
||||||
Dim fbBrowser As New OpenFileDialog
|
Dim fbBrowser As New OpenFileDialog
|
||||||
|
|
||||||
fbBrowser.Title = "Choose icon for " & oProcess.GameInfo.Name
|
fbBrowser.Title = mgrCommon.FormatString(My.Resources.frmMain_ChooseIcon, oProcess.GameInfo.CroppedName)
|
||||||
fbBrowser.DefaultExt = "ico"
|
fbBrowser.DefaultExt = "ico"
|
||||||
fbBrowser.Filter = "Icon files (*.ico)|*.ico"
|
fbBrowser.Filter = My.Resources.frmMain_IconFilter
|
||||||
Try
|
Try
|
||||||
fbBrowser.InitialDirectory = IO.Path.GetDirectoryName(oProcess.FoundProcess.MainModule.FileName)
|
fbBrowser.InitialDirectory = IO.Path.GetDirectoryName(oProcess.FoundProcess.MainModule.FileName)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -353,7 +347,7 @@ Public Class frmMain
|
|||||||
|
|
||||||
Private Sub ResetGameInfo(Optional ByVal bKeepInfo As Boolean = False)
|
Private Sub ResetGameInfo(Optional ByVal bKeepInfo As Boolean = False)
|
||||||
If bKeepInfo And Not oProcess.GameInfo Is Nothing Then
|
If bKeepInfo And Not oProcess.GameInfo Is Nothing Then
|
||||||
lblGameTitle.Text = "Last Game: " & oProcess.GameInfo.CroppedName
|
lblGameTitle.Text = mgrCommon.FormatString(My.Resources.frmMain_LastGame, oProcess.GameInfo.CroppedName)
|
||||||
pbIcon.Image = oPriorImage
|
pbIcon.Image = oPriorImage
|
||||||
lblStatus1.Text = sPriorPath
|
lblStatus1.Text = sPriorPath
|
||||||
lblStatus2.Text = sPriorCompany
|
lblStatus2.Text = sPriorCompany
|
||||||
@@ -364,7 +358,7 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
pbIcon.Image = My.Resources.Searching
|
pbIcon.Image = My.Resources.Searching
|
||||||
lblGameTitle.Text = "No Game Detected"
|
lblGameTitle.Text = My.Resources.frmMain_NoGameDetected
|
||||||
lblStatus1.Text = String.Empty
|
lblStatus1.Text = String.Empty
|
||||||
lblStatus2.Text = String.Empty
|
lblStatus2.Text = String.Empty
|
||||||
lblStatus3.Text = String.Empty
|
lblStatus3.Text = String.Empty
|
||||||
@@ -373,9 +367,9 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If eCurrentStatus = eStatus.Stopped Then
|
If eCurrentStatus = eStatus.Stopped Then
|
||||||
UpdateStatus("Not Scanning")
|
UpdateStatus(My.Resources.frmMain_NotScanning)
|
||||||
Else
|
Else
|
||||||
UpdateStatus("No Game Detected")
|
UpdateStatus(My.Resources.frmMain_NoGameDetected)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -410,11 +404,11 @@ Public Class frmMain
|
|||||||
If bMulti Then
|
If bMulti Then
|
||||||
bAllowIcon = False
|
bAllowIcon = False
|
||||||
bAllowDetails = False
|
bAllowDetails = False
|
||||||
lblGameTitle.Text = "Multiple Games"
|
lblGameTitle.Text = My.Resources.frmMain_MultipleGames
|
||||||
pbTime.Visible = False
|
pbTime.Visible = False
|
||||||
lblTimeSpent.Visible = False
|
lblTimeSpent.Visible = False
|
||||||
pbIcon.Image = My.Resources.Unknown
|
pbIcon.Image = My.Resources.Unknown
|
||||||
lblStatus1.Text = "Game details are unavailable."
|
lblStatus1.Text = My.Resources.frmMain_NoDetails
|
||||||
Else
|
Else
|
||||||
bAllowIcon = True
|
bAllowIcon = True
|
||||||
bAllowDetails = True
|
bAllowDetails = True
|
||||||
@@ -439,7 +433,7 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
If sFileName = String.Empty Then
|
If sFileName = String.Empty Then
|
||||||
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
||||||
sFileName = oProcess.GameInfo.ProcessPath & " (Executable Path)"
|
sFileName = mgrCommon.FormatString(My.Resources.frmMain_ExePath, oProcess.GameInfo.ProcessPath)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
If oProcess.GameInfo.Version <> String.Empty Then
|
If oProcess.GameInfo.Version <> String.Empty Then
|
||||||
@@ -459,19 +453,19 @@ Public Class frmMain
|
|||||||
|
|
||||||
'Set Details
|
'Set Details
|
||||||
If sFileName = String.Empty Then
|
If sFileName = String.Empty Then
|
||||||
lblStatus1.Text = "N/A"
|
lblStatus1.Text = My.Resources.frmMain_NotAvailable
|
||||||
Else
|
Else
|
||||||
lblStatus1.Text = sFileName
|
lblStatus1.Text = sFileName
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If sCompanyName = String.Empty Then
|
If sCompanyName = String.Empty Then
|
||||||
lblStatus2.Text = "N/A"
|
lblStatus2.Text = My.Resources.frmMain_NotAvailable
|
||||||
Else
|
Else
|
||||||
lblStatus2.Text = sCompanyName
|
lblStatus2.Text = sCompanyName
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If sFileVersion = String.Empty Then
|
If sFileVersion = String.Empty Then
|
||||||
lblStatus3.Text = "N/A"
|
lblStatus3.Text = My.Resources.frmMain_NotAvailable
|
||||||
Else
|
Else
|
||||||
lblStatus3.Text = sFileVersion
|
lblStatus3.Text = sFileVersion
|
||||||
End If
|
End If
|
||||||
@@ -490,15 +484,15 @@ Public Class frmMain
|
|||||||
Dim sSessionTime As String
|
Dim sSessionTime As String
|
||||||
|
|
||||||
If dTotalTime < 1 Then
|
If dTotalTime < 1 Then
|
||||||
sTotalTime = Math.Round((dTotalTime * 100) * 0.6) & " minutes"
|
sTotalTime = mgrCommon.FormatString(My.Resources.frmMain_SessionMinutes, Math.Round((dTotalTime * 100) * 0.6).ToString)
|
||||||
Else
|
Else
|
||||||
sTotalTime = Math.Round(dTotalTime, 1) & " hours"
|
sTotalTime = mgrCommon.FormatString(My.Resources.frmMain_SessionHours, Math.Round(dTotalTime, 1).ToString)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If dSessionTime < 1 Then
|
If dSessionTime < 1 Then
|
||||||
sSessionTime = Math.Round((dSessionTime * 100) * 0.6) & " minutes"
|
sSessionTime = mgrCommon.FormatString(My.Resources.frmMain_SessionMinutes, Math.Round((dSessionTime * 100) * 0.6).ToString)
|
||||||
Else
|
Else
|
||||||
sSessionTime = Math.Round(dSessionTime, 1) & " hours"
|
sSessionTime = mgrCommon.FormatString(My.Resources.frmMain_SessionHours, Math.Round(dSessionTime, 1).ToString)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If dSessionTime > 0 Then
|
If dSessionTime > 0 Then
|
||||||
@@ -550,10 +544,13 @@ Public Class frmMain
|
|||||||
|
|
||||||
'Functions handling the opening of other windows
|
'Functions handling the opening of other windows
|
||||||
Private Sub OpenAbout()
|
Private Sub OpenAbout()
|
||||||
mgrCommon.ShowMessage("Game Backup Monitor" & vbCrLf & sVersion & vbCrLf & sRevision & vbCrLf & Chr(169) & sConstCopyright & vbCrLf & vbCrLf &
|
Dim iProcessType As System.Reflection.ProcessorArchitecture = System.Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture
|
||||||
"This program comes with ABSOLUTELY NO WARRANTY." & vbCrLf &
|
Dim sVersion As String = My.Application.Info.Version.Major & "." & My.Application.Info.Version.Minor
|
||||||
"This is free software, and you are welcome to redistribute it under certain conditions." & vbCrLf & vbCrLf &
|
Dim sProcessType = [Enum].GetName(GetType(System.Reflection.ProcessorArchitecture), iProcessType)
|
||||||
"See gpl-3.0.html in the program folder for details.", MsgBoxStyle.Information)
|
Dim sRevision As String = My.Application.Info.Version.Build & "." & My.Application.Info.Version.Revision
|
||||||
|
Dim sConstCopyright As String = Chr(169) & My.Resources.AppCopyright
|
||||||
|
|
||||||
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.AppAbout, New String() {sVersion, sProcessType, sRevision, sConstCopyright}), MsgBoxStyle.Information)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub OpenTags()
|
Private Sub OpenTags()
|
||||||
@@ -651,7 +648,7 @@ Public Class frmMain
|
|||||||
'Load Monitor List
|
'Load Monitor List
|
||||||
hshScanList = mgrMonitorList.ReadList(mgrMonitorList.eListTypes.ScanList)
|
hshScanList = mgrMonitorList.ReadList(mgrMonitorList.eListTypes.ScanList)
|
||||||
|
|
||||||
UpdateLog("Game List (" & hshScanList.Keys.Count & ") Loaded.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_GameListLoaded, hshScanList.Keys.Count), False)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub StartSyncWatcher()
|
Private Sub StartSyncWatcher()
|
||||||
@@ -676,7 +673,7 @@ Public Class frmMain
|
|||||||
|
|
||||||
Private Sub HandleSyncWatcher() Handles oFileWatcher.Changed
|
Private Sub HandleSyncWatcher() Handles oFileWatcher.Changed
|
||||||
If oSettings.Sync Then
|
If oSettings.Sync Then
|
||||||
UpdateLog("The master game list has been changed by a program other than GBM.", False, ToolTipIcon.Info, True)
|
UpdateLog(My.Resources.frmMain_MasterListChanged, False, ToolTipIcon.Info, True)
|
||||||
SyncGameSettings()
|
SyncGameSettings()
|
||||||
LoadGameSettings()
|
LoadGameSettings()
|
||||||
CheckForNewBackups()
|
CheckForNewBackups()
|
||||||
@@ -702,7 +699,7 @@ Public Class frmMain
|
|||||||
|
|
||||||
'The application cannot continue if this fails
|
'The application cannot continue if this fails
|
||||||
If Not oBackup.CheckForUtilities(mgrPath.Utility7zLocation) Then
|
If Not oBackup.CheckForUtilities(mgrPath.Utility7zLocation) Then
|
||||||
mgrCommon.ShowMessage("7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue.", MsgBoxStyle.Critical)
|
mgrCommon.ShowMessage(My.Resources.frmMain_Error7zip, MsgBoxStyle.Critical)
|
||||||
bShutdown = True
|
bShutdown = True
|
||||||
Me.Close()
|
Me.Close()
|
||||||
End If
|
End If
|
||||||
@@ -738,7 +735,7 @@ Public Class frmMain
|
|||||||
'Verify the "Start with Windows" setting
|
'Verify the "Start with Windows" setting
|
||||||
If oSettings.StartWithWindows Then
|
If oSettings.StartWithWindows Then
|
||||||
If Not VerifyStartWithWindows() Then
|
If Not VerifyStartWithWindows() Then
|
||||||
UpdateLog("GBM is running from a new location, the Windows startup entry has been updated.", False, ToolTipIcon.Info)
|
UpdateLog(My.Resources.frmMain_ErrorAppLocationChanged, False, ToolTipIcon.Info)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -750,14 +747,14 @@ Public Class frmMain
|
|||||||
txtLog.Visible = True
|
txtLog.Visible = True
|
||||||
Me.Size = New System.Drawing.Size(540, 425)
|
Me.Size = New System.Drawing.Size(540, 425)
|
||||||
bLogToggle = True
|
bLogToggle = True
|
||||||
btnLogToggle.Text = "Hide &Log"
|
btnLogToggle.Text = My.Resources.frmMain_btnToggleLog_Hide
|
||||||
txtLog.Select(txtLog.TextLength, 0)
|
txtLog.Select(txtLog.TextLength, 0)
|
||||||
txtLog.ScrollToCaret()
|
txtLog.ScrollToCaret()
|
||||||
Else
|
Else
|
||||||
txtLog.Visible = False
|
txtLog.Visible = False
|
||||||
Me.Size = New System.Drawing.Size(540, 245)
|
Me.Size = New System.Drawing.Size(540, 245)
|
||||||
bLogToggle = False
|
bLogToggle = False
|
||||||
btnLogToggle.Text = "Show &Log"
|
btnLogToggle.Text = My.Resources.frmMain_btnToggleLog_Show
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -780,23 +777,21 @@ Public Class frmMain
|
|||||||
Case eStatus.Running
|
Case eStatus.Running
|
||||||
HandleScan()
|
HandleScan()
|
||||||
Case eStatus.Paused
|
Case eStatus.Paused
|
||||||
Dim sGame As String = oProcess.GameInfo.Name
|
Dim sGame As String = oProcess.GameInfo.CroppedName
|
||||||
|
|
||||||
If bProcessIsAdmin Then
|
If bProcessIsAdmin Then
|
||||||
mgrCommon.ShowMessage(sGame & " is running as Administrator and GBM is not." &
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ErrorAdminDetect, sGame), MsgBoxStyle.Exclamation)
|
||||||
vbCrLf & "You cannot cancel monitoring at this time." _
|
|
||||||
& vbCrLf & vbCrLf & "Run GBM as Administrator to prevent this issue.", MsgBoxStyle.Exclamation)
|
|
||||||
RestartAsAdmin()
|
RestartAsAdmin()
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If oProcess.Duplicate Then
|
If oProcess.Duplicate Then
|
||||||
sGame = "the unknown game"
|
sGame = My.Resources.frmMain_UnknownGame
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If mgrCommon.ShowMessage("Do you wish to cancel the monitoring of " & sGame & "?" & vbCrLf & vbCrLf & "Warning: When monitoring is cancelled, session time is NOT saved.", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
If mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ConfirmMonitorCancel, sGame), MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
UpdateLog("Monitoring of " & sGame & " was cancelled.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_MonitorCancel, sGame), False)
|
||||||
SetLastAction("Monitoring of " & oProcess.GameInfo.CroppedName & " was cancelled")
|
SetLastAction(mgrCommon.FormatString(My.Resources.frmMain_MonitorCancel, sGame))
|
||||||
|
|
||||||
bwMonitor.CancelAsync()
|
bwMonitor.CancelAsync()
|
||||||
StopScan()
|
StopScan()
|
||||||
@@ -816,7 +811,7 @@ Public Class frmMain
|
|||||||
Dim bClose As Boolean = False
|
Dim bClose As Boolean = False
|
||||||
|
|
||||||
If bPrompt Then
|
If bPrompt Then
|
||||||
If mgrCommon.ShowMessage("Are you sure you want to exit? Your games will no longer be monitored.", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
If mgrCommon.ShowMessage(My.Resources.AppExit, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
bClose = True
|
bClose = True
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
@@ -895,14 +890,14 @@ Public Class frmMain
|
|||||||
Private Sub ToggleMenuText()
|
Private Sub ToggleMenuText()
|
||||||
Select Case eCurrentStatus
|
Select Case eCurrentStatus
|
||||||
Case eStatus.Running
|
Case eStatus.Running
|
||||||
gMonFileMonitor.Text = "Stop &Monitoring"
|
gMonFileMonitor.Text = My.Resources.frmMain_gMonFileMonitor_Stop
|
||||||
gMonTrayMon.Text = "Stop &Monitoring"
|
gMonTrayMon.Text = My.Resources.frmMain_gMonFileMonitor_Stop
|
||||||
Case eStatus.Stopped
|
Case eStatus.Stopped
|
||||||
gMonFileMonitor.Text = "Start &Monitoring"
|
gMonFileMonitor.Text = My.Resources.frmMain_gMonFileMonitor_Start
|
||||||
gMonTrayMon.Text = "Start &Monitoring"
|
gMonTrayMon.Text = My.Resources.frmMain_gMonFileMonitor_Start
|
||||||
Case eStatus.Paused
|
Case eStatus.Paused
|
||||||
gMonFileMonitor.Text = "Cancel &Monitoring"
|
gMonFileMonitor.Text = My.Resources.frmMain_gMonFileMonitor_Cancel
|
||||||
gMonTrayMon.Text = "Cancel &Monitoring"
|
gMonTrayMon.Text = My.Resources.frmMain_gMonFileMonitor_Cancel
|
||||||
End Select
|
End Select
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -953,13 +948,51 @@ Public Class frmMain
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SetForm()
|
Private Sub SetForm()
|
||||||
|
'Set Menu Text
|
||||||
|
gMonFile.Text = My.Resources.frmMain_gMonFile
|
||||||
|
gMonFileMonitor.Text = My.Resources.frmMain_gMonFileMonitor_Start
|
||||||
|
gMonFileSettings.Text = My.Resources.frmMain_gMonFileSettings
|
||||||
|
gMonFileExit.Text = My.Resources.frmMain_gMonFileExit
|
||||||
|
gMonSetup.Text = My.Resources.frmMain_gMonSetup
|
||||||
|
gMonSetupGameManager.Text = My.Resources.frmMain_gMonSetupGameManager
|
||||||
|
gMonSetupAddWizard.Text = My.Resources.frmMain_gMonSetupAddWizard
|
||||||
|
gMonSetupCustomVariables.Text = My.Resources.frmMain_gMonSetupCustomVariables
|
||||||
|
gMonSetupTags.Text = My.Resources.frmMain_gMonSetupTags
|
||||||
|
gMonTools.Text = My.Resources.frmMain_gMonTools
|
||||||
|
gMonToolsCleanMan.Text = My.Resources.frmMain_gMonToolsCleanMan
|
||||||
|
gMonToolsCompact.Text = My.Resources.frmMain_gMonToolsCompact
|
||||||
|
gMonHelp.Text = My.Resources.frmMain_gMonHelp
|
||||||
|
gMonHelpWebSite.Text = My.Resources.frmMain_gMonHelpWebSite
|
||||||
|
gMonHelpManual.Text = My.Resources.frmMain_gMonHelpManual
|
||||||
|
gMonHelpCheckforUpdates.Text = My.Resources.frmMain_gMonHelpCheckForUpdates
|
||||||
|
gMonHelpAbout.Text = My.Resources.frmMain_gMonHelpAbout
|
||||||
|
|
||||||
|
'Set Tray Menu Text
|
||||||
|
gMonTrayShow.Text = My.Resources.frmMain_gMonTrayShow
|
||||||
|
gMonTrayMon.Text = My.Resources.frmMain_gMonFileMonitor_Start
|
||||||
|
gMonTraySettings.Text = My.Resources.frmMain_gMonFileSettings
|
||||||
|
gMonTraySetup.Text = My.Resources.frmMain_gMonSetup
|
||||||
|
gMonTraySetupGameManager.Text = My.Resources.frmMain_gMonSetupGameManager
|
||||||
|
gMonTraySetupAddWizard.Text = My.Resources.frmMain_gMonSetupAddWizard
|
||||||
|
gMonTraySetupCustomVariables.Text = My.Resources.frmMain_gMonSetupCustomVariables
|
||||||
|
gMonTraySetupTags.Text = My.Resources.frmMain_gMonSetupTags
|
||||||
|
gMonTrayTools.Text = My.Resources.frmMain_gMonTools
|
||||||
|
gMonTrayToolsCleanMan.Text = My.Resources.frmMain_gMonToolsCleanMan
|
||||||
|
gMonTrayToolsCompact.Text = My.Resources.frmMain_gMonToolsCompact
|
||||||
|
gMonTrayExit.Text = My.Resources.frmMain_gMonFileExit
|
||||||
|
|
||||||
|
'Set Form Text
|
||||||
|
lblLastActionTitle.Text = My.Resources.frmMain_lblLastActionTitle
|
||||||
|
btnCancelOperation.Text = My.Resources.frmMain_btnCancelOperation
|
||||||
|
gMonStripStatusButton.Text = My.Resources.frmMain_gMonStripStatusButton
|
||||||
|
|
||||||
If mgrCommon.IsElevated Then
|
If mgrCommon.IsElevated Then
|
||||||
gMonStripAdminButton.Image = My.Resources.Admin
|
gMonStripAdminButton.Image = My.Resources.Admin
|
||||||
gMonStripAdminButton.ToolTipText = "GBM is running with Administrator privileges."
|
gMonStripAdminButton.ToolTipText = My.Resources.frmMain_RunningAsAdmin
|
||||||
|
|
||||||
Else
|
Else
|
||||||
gMonStripAdminButton.Image = My.Resources.User
|
gMonStripAdminButton.Image = My.Resources.User
|
||||||
gMonStripAdminButton.ToolTipText = "GBM is running with normal privileges. Click to restart as Administrator."
|
gMonStripAdminButton.ToolTipText = My.Resources.frmMain_RunningAsNormal
|
||||||
End If
|
End If
|
||||||
btnCancelOperation.Visible = False
|
btnCancelOperation.Visible = False
|
||||||
txtLog.Visible = False
|
txtLog.Visible = False
|
||||||
@@ -983,14 +1016,14 @@ Public Class frmMain
|
|||||||
StopSyncWatcher()
|
StopSyncWatcher()
|
||||||
tmScanTimer.Stop()
|
tmScanTimer.Stop()
|
||||||
eCurrentStatus = eStatus.Stopped
|
eCurrentStatus = eStatus.Stopped
|
||||||
UpdateStatus("Not Scanning")
|
UpdateStatus(My.Resources.frmMain_NotScanning)
|
||||||
gMonStripStatusButton.Image = My.Resources.Stopped
|
gMonStripStatusButton.Image = My.Resources.Stopped
|
||||||
gMonTray.Icon = My.Resources.GBM_Tray_Stopped
|
gMonTray.Icon = My.Resources.GBM_Tray_Stopped
|
||||||
Else
|
Else
|
||||||
StartScan()
|
StartScan()
|
||||||
StartSyncWatcher()
|
StartSyncWatcher()
|
||||||
eCurrentStatus = eStatus.Running
|
eCurrentStatus = eStatus.Running
|
||||||
UpdateStatus("No Game Detected")
|
UpdateStatus(My.Resources.frmMain_NoGameDetected)
|
||||||
gMonStripStatusButton.Image = My.Resources.Ready
|
gMonStripStatusButton.Image = My.Resources.Ready
|
||||||
gMonTray.Icon = My.Resources.GBM_Tray_Ready
|
gMonTray.Icon = My.Resources.GBM_Tray_Ready
|
||||||
End If
|
End If
|
||||||
@@ -1002,7 +1035,7 @@ Public Class frmMain
|
|||||||
StopSyncWatcher()
|
StopSyncWatcher()
|
||||||
tmScanTimer.Stop()
|
tmScanTimer.Stop()
|
||||||
eCurrentStatus = eStatus.Paused
|
eCurrentStatus = eStatus.Paused
|
||||||
UpdateStatus("Not Scanning")
|
UpdateStatus(My.Resources.frmMain_NotScanning)
|
||||||
gMonStripStatusButton.Image = My.Resources.Detected
|
gMonStripStatusButton.Image = My.Resources.Detected
|
||||||
gMonTray.Icon = My.Resources.GBM_Tray_Detected
|
gMonTray.Icon = My.Resources.GBM_Tray_Detected
|
||||||
End If
|
End If
|
||||||
@@ -1017,7 +1050,7 @@ Public Class frmMain
|
|||||||
eCurrentStatus = eStatus.Running
|
eCurrentStatus = eStatus.Running
|
||||||
gMonStripStatusButton.Image = My.Resources.Ready
|
gMonStripStatusButton.Image = My.Resources.Ready
|
||||||
gMonTray.Icon = My.Resources.GBM_Tray_Ready
|
gMonTray.Icon = My.Resources.GBM_Tray_Ready
|
||||||
UpdateStatus("No Game Detected")
|
UpdateStatus(My.Resources.frmMain_NoGameDetected)
|
||||||
End If
|
End If
|
||||||
ToggleMenuText()
|
ToggleMenuText()
|
||||||
ToggleMenuEnable()
|
ToggleMenuEnable()
|
||||||
@@ -1027,7 +1060,7 @@ Public Class frmMain
|
|||||||
StopSyncWatcher()
|
StopSyncWatcher()
|
||||||
tmScanTimer.Stop()
|
tmScanTimer.Stop()
|
||||||
eCurrentStatus = eStatus.Stopped
|
eCurrentStatus = eStatus.Stopped
|
||||||
UpdateStatus("Not Scanning")
|
UpdateStatus(My.Resources.frmMain_NotScanning)
|
||||||
gMonStripStatusButton.Image = My.Resources.Stopped
|
gMonStripStatusButton.Image = My.Resources.Stopped
|
||||||
gMonTray.Icon = My.Resources.GBM_Tray_Stopped
|
gMonTray.Icon = My.Resources.GBM_Tray_Stopped
|
||||||
ToggleMenuText()
|
ToggleMenuText()
|
||||||
@@ -1038,7 +1071,7 @@ Public Class frmMain
|
|||||||
Private Sub VerifyCustomPathVariables()
|
Private Sub VerifyCustomPathVariables()
|
||||||
Dim sGames As String = String.Empty
|
Dim sGames As String = String.Empty
|
||||||
If Not mgrPath.VerifyCustomVariables(hshScanList, sGames) Then
|
If Not mgrPath.VerifyCustomVariables(hshScanList, sGames) Then
|
||||||
mgrCommon.ShowMessage("The following monitored game(s) contain a custom path variable that is not set." & vbCrLf & sGames & vbCrLf & vbCrLf & "You will encounter backup/restore errors with these games until the variables are set.", MsgBoxStyle.Exclamation)
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ErrorCustomVariable, sGames), MsgBoxStyle.Exclamation)
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -1066,7 +1099,7 @@ Public Class frmMain
|
|||||||
Try
|
Try
|
||||||
IO.Directory.CreateDirectory(sSettingsRoot)
|
IO.Directory.CreateDirectory(sSettingsRoot)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
mgrCommon.ShowMessage("An error occured creating application settings folder. The application cannot proceed." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Critical)
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ErrorSettingsFolder, ex.Message), MsgBoxStyle.Critical)
|
||||||
bShutdown = True
|
bShutdown = True
|
||||||
Me.Close()
|
Me.Close()
|
||||||
End Try
|
End Try
|
||||||
@@ -1082,9 +1115,9 @@ Public Class frmMain
|
|||||||
If Not oDatabase.CheckDBVer(iDBVer) Then
|
If Not oDatabase.CheckDBVer(iDBVer) Then
|
||||||
Select Case iDB
|
Select Case iDB
|
||||||
Case mgrSQLite.Database.Local
|
Case mgrSQLite.Database.Local
|
||||||
mgrCommon.ShowMessage("Your local GBM data (Version " & iDBVer & ") is too new for your version of GBM (Version " & mgrCommon.AppVersion & ")." & vbCrLf & vbCrLf & "Please upgrade GBM or restore the settings file appropriate for your version. The application cannot proceed.", MsgBoxStyle.Critical)
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ErrorDBVerLocal, New String() {iDBVer, mgrCommon.AppVersion}), MsgBoxStyle.Critical)
|
||||||
Case mgrSQLite.Database.Remote
|
Case mgrSQLite.Database.Remote
|
||||||
mgrCommon.ShowMessage("The GBM data (Version " & iDBVer & ") in your backup folder is too new for your version of GBM (Version " & mgrCommon.AppVersion & ")." & vbCrLf & vbCrLf & "All computers sharing a backup folder must use the same version of GBM. The application cannot proceed.", MsgBoxStyle.Critical)
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.frmMain_ErrorDBVerRemote, New String() {iDBVer, mgrCommon.AppVersion}), MsgBoxStyle.Critical)
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
bShutdown = True
|
bShutdown = True
|
||||||
@@ -1133,9 +1166,9 @@ Public Class frmMain
|
|||||||
'Functions to handle other features
|
'Functions to handle other features
|
||||||
Private Sub RestartAsAdmin()
|
Private Sub RestartAsAdmin()
|
||||||
If mgrCommon.IsElevated Then
|
If mgrCommon.IsElevated Then
|
||||||
mgrCommon.ShowMessage("Game Backup Monitor is already running as Administrator.", MsgBoxStyle.Information)
|
mgrCommon.ShowMessage(My.Resources.frmMain_ErrorAlreadyAdmin, MsgBoxStyle.Information)
|
||||||
Else
|
Else
|
||||||
If mgrCommon.ShowMessage("Do you want to restart Game Backup Monitor as Administrator?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
If mgrCommon.ShowMessage(My.Resources.frmMain_ConfirmRunAsAdmin, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
mgrCommon.RestartAsAdmin()
|
mgrCommon.RestartAsAdmin()
|
||||||
bShutdown = True
|
bShutdown = True
|
||||||
ShutdownApp(False)
|
ShutdownApp(False)
|
||||||
@@ -1148,20 +1181,17 @@ Public Class frmMain
|
|||||||
|
|
||||||
PauseScan()
|
PauseScan()
|
||||||
|
|
||||||
If mgrCommon.ShowMessage("This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network." & vbCrLf & vbCrLf &
|
If mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.AppConfirmClean), MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
"When alternating between different backup folders you should NOT use this tool." & vbCrLf & vbCrLf &
|
|
||||||
"Do you wish to proceed?", MsgBoxStyle.YesNo _
|
|
||||||
) = MsgBoxResult.Yes Then
|
|
||||||
|
|
||||||
slItems = mgrRestore.SyncLocalManifest()
|
slItems = mgrRestore.SyncLocalManifest()
|
||||||
|
|
||||||
If slItems.Count > 0 Then
|
If slItems.Count > 0 Then
|
||||||
For Each oItem As clsBackup In slItems.Values
|
For Each oItem As clsBackup In slItems.Values
|
||||||
UpdateLog(oItem.Name & " entry was removed from local manfiest.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.AppCleanedGame, oItem.Name), False)
|
||||||
Next
|
Next
|
||||||
mgrCommon.ShowMessage(slItems.Count & " entries were removed from the local manifest.", MsgBoxStyle.Information)
|
mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.AppCleanedTotal, slItems.Count), MsgBoxStyle.Information)
|
||||||
Else
|
Else
|
||||||
mgrCommon.ShowMessage("The local manifest is clean.", MsgBoxStyle.Information)
|
mgrCommon.ShowMessage(My.Resources.AppAlreadyClean, MsgBoxStyle.Information)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -1175,20 +1205,18 @@ Public Class frmMain
|
|||||||
|
|
||||||
PauseScan()
|
PauseScan()
|
||||||
|
|
||||||
If mgrCommon.ShowMessage("This will rebuild all databases and shrink them to an optimal size." & vbCrLf &
|
If mgrCommon.ShowMessage(mgrCommon.FormatString(My.Resources.AppConfirmRebuild), MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
"This should only be used if your gbm.s3db files are becoming very large." & vbCrLf & vbCrLf &
|
|
||||||
"Do you wish to continue?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
|
||||||
|
|
||||||
oLocalDatabase = New mgrSQLite(mgrSQLite.Database.Local)
|
oLocalDatabase = New mgrSQLite(mgrSQLite.Database.Local)
|
||||||
oRemoteDatabase = New mgrSQLite(mgrSQLite.Database.Remote)
|
oRemoteDatabase = New mgrSQLite(mgrSQLite.Database.Remote)
|
||||||
|
|
||||||
UpdateLog("Local Database Vacuum Initialized: " & oLocalDatabase.GetDBSize & " KB", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.AppLocalCompactInit, oLocalDatabase.GetDBSize), False)
|
||||||
oLocalDatabase.CompactDatabase()
|
oLocalDatabase.CompactDatabase()
|
||||||
UpdateLog("Local Database Vacuum Completed: " & oLocalDatabase.GetDBSize & " KB", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.AppLocalCompactComplete, oLocalDatabase.GetDBSize), False)
|
||||||
|
|
||||||
UpdateLog("Remote Database Vacuum Initialized: " & oRemoteDatabase.GetDBSize & " KB", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.AppRemoteCompactInit, oRemoteDatabase.GetDBSize), False)
|
||||||
oRemoteDatabase.CompactDatabase()
|
oRemoteDatabase.CompactDatabase()
|
||||||
UpdateLog("Remote Database Vacuum Completed: " & oRemoteDatabase.GetDBSize & " KB", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.AppRemoteCompactComplete, oRemoteDatabase.GetDBSize), False)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ResumeScan()
|
ResumeScan()
|
||||||
@@ -1324,13 +1352,12 @@ Public Class frmMain
|
|||||||
bContinue = False
|
bContinue = False
|
||||||
If iErrorCode = 5 Then
|
If iErrorCode = 5 Then
|
||||||
If oProcess.Duplicate Then
|
If oProcess.Duplicate Then
|
||||||
sErrorMessage = "Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup." & vbCrLf & vbCrLf &
|
sErrorMessage = mgrCommon.FormatString(My.Resources.frmMain_ErrorMultiAdmin)
|
||||||
"Please run GBM as Administrator to properly detect and backup this game."
|
|
||||||
mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation)
|
mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation)
|
||||||
bAskForRestart = True
|
bAskForRestart = True
|
||||||
Else
|
Else
|
||||||
If Not CheckForSavedPath() Then
|
If Not CheckForSavedPath() Then
|
||||||
sErrorMessage = oProcess.GameInfo.Name & " is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup."
|
sErrorMessage = mgrCommon.FormatString(My.Resources.frmMain_ErrorAdminBackup, oProcess.GameInfo.Name)
|
||||||
oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage)
|
oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage)
|
||||||
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
||||||
'Update and reload
|
'Update and reload
|
||||||
@@ -1344,12 +1371,11 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
ElseIf iErrorCode = 299 Then
|
ElseIf iErrorCode = 299 Then
|
||||||
If oProcess.Duplicate Then
|
If oProcess.Duplicate Then
|
||||||
sErrorMessage = "Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup." & vbCrLf & vbCrLf &
|
sErrorMessage = mgrCommon.FormatString(My.Resources.frmMain_ErrorMulti64)
|
||||||
"Please install the 64-bit version of GBM to detect and backup this game properly."
|
|
||||||
mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation)
|
mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation)
|
||||||
Else
|
Else
|
||||||
If Not CheckForSavedPath() Then
|
If Not CheckForSavedPath() Then
|
||||||
sErrorMessage = oProcess.GameInfo.Name & " is a 64-bit game, GBM cannot detect the required information to save your backup."
|
sErrorMessage = mgrCommon.FormatString(My.Resources.frmMain_Error64Backup, oProcess.GameInfo.Name)
|
||||||
oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage)
|
oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage)
|
||||||
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
If oProcess.GameInfo.ProcessPath <> String.Empty Then
|
||||||
'Update and reload
|
'Update and reload
|
||||||
@@ -1367,12 +1393,12 @@ Public Class frmMain
|
|||||||
If bContinue = True Then
|
If bContinue = True Then
|
||||||
CheckForSavedDuplicate()
|
CheckForSavedDuplicate()
|
||||||
If oProcess.Duplicate Then
|
If oProcess.Duplicate Then
|
||||||
UpdateLog("Multiple Games Detected", oSettings.ShowDetectionToolTips)
|
UpdateLog(My.Resources.frmMain_MultipleGamesDetected, oSettings.ShowDetectionToolTips)
|
||||||
UpdateStatus("Multiple Games Detected")
|
UpdateStatus(My.Resources.frmMain_MultipleGamesDetected)
|
||||||
SetGameInfo(True)
|
SetGameInfo(True)
|
||||||
Else
|
Else
|
||||||
UpdateLog(oProcess.GameInfo.Name & " Detected", oSettings.ShowDetectionToolTips)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_GameDetected, oProcess.GameInfo.Name), oSettings.ShowDetectionToolTips)
|
||||||
UpdateStatus(oProcess.GameInfo.CroppedName & " Detected")
|
UpdateStatus(mgrCommon.FormatString(My.Resources.frmMain_GameDetected, oProcess.GameInfo.CroppedName))
|
||||||
SetGameInfo()
|
SetGameInfo()
|
||||||
End If
|
End If
|
||||||
oProcess.StartTime = Now
|
oProcess.StartTime = Now
|
||||||
@@ -1406,11 +1432,11 @@ Public Class frmMain
|
|||||||
|
|
||||||
If Not bCancelledByUser Then
|
If Not bCancelledByUser Then
|
||||||
If DoMultiGameCheck() Then
|
If DoMultiGameCheck() Then
|
||||||
UpdateLog(oProcess.GameInfo.Name & " has ended.", False)
|
UpdateLog(mgrCommon.FormatString(My.Resources.frmMain_GameEnded, oProcess.GameInfo.Name), False)
|
||||||
If oSettings.TimeTracking Then HandleTimeSpent()
|
If oSettings.TimeTracking Then HandleTimeSpent()
|
||||||
RunBackup()
|
RunBackup()
|
||||||
Else
|
Else
|
||||||
UpdateLog("The unidentified game has ended.", False)
|
UpdateLog(My.Resources.frmMain_UnknownGameEnded, False)
|
||||||
ResetGameInfo()
|
ResetGameInfo()
|
||||||
ResumeScan()
|
ResumeScan()
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -127,8 +127,40 @@ Public Class mgrCommon
|
|||||||
|
|
||||||
Public Shared Function ShowMessage(ByVal sMsg As String, ByVal oType As MsgBoxStyle) As MsgBoxResult
|
Public Shared Function ShowMessage(ByVal sMsg As String, ByVal oType As MsgBoxStyle) As MsgBoxResult
|
||||||
Dim oResult As MsgBoxResult
|
Dim oResult As MsgBoxResult
|
||||||
oResult = MsgBox(sMsg, oType, "Game Backup Monitor")
|
oResult = MsgBox(sMsg, oType, My.Resources.AppNameLong)
|
||||||
Return oResult
|
Return oResult
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
'Handles no extra parameters
|
||||||
|
Public Shared Function FormatString(ByVal sString As String) As String
|
||||||
|
sString = sString.Replace("[BR]", vbCrLf)
|
||||||
|
|
||||||
|
Return sString
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
'Handles single parameter stings
|
||||||
|
Public Shared Function FormatString(ByVal sString As String, ByVal sParam As String) As String
|
||||||
|
sString = sString.Replace("[BR]", vbCrLf)
|
||||||
|
sString = sString.Replace("[PARAM]", sParam)
|
||||||
|
|
||||||
|
Return sString
|
||||||
|
End Function
|
||||||
|
|
||||||
|
'Handles multi-parameter strings
|
||||||
|
Public Shared Function FormatString(ByVal sString As String, ByVal sParams As String()) As String
|
||||||
|
Dim iParam As Integer
|
||||||
|
|
||||||
|
sString = sString.Replace("[BR]", vbCrLf)
|
||||||
|
|
||||||
|
For Each s As String In sParams
|
||||||
|
iParam = sString.IndexOf("[PARAM]")
|
||||||
|
sString = sString.Remove(iParam, 7)
|
||||||
|
sString = sString.Insert(iParam, s)
|
||||||
|
Next
|
||||||
|
|
||||||
|
Return sString
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
Imports System.Resources
|
||||||
|
|
||||||
Imports System
|
Imports System
|
||||||
Imports System.Reflection
|
Imports System.Reflection
|
||||||
Imports System.Runtime.InteropServices
|
Imports System.Runtime.InteropServices
|
||||||
@@ -15,10 +17,10 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyCopyright("Copyright © 2015 Michael J. Seiferling")>
|
<Assembly: AssemblyCopyright("Copyright © 2015 Michael J. Seiferling")>
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
<Assembly: Guid("bc5c563d-71b2-47f4-a318-3313baf26540")>
|
<Assembly: Guid("bc5c563d-71b2-47f4-a318-3313baf26540")>
|
||||||
|
|
||||||
' Version information for an assembly consists of the following four values:
|
' Version information for an assembly consists of the following four values:
|
||||||
'
|
'
|
||||||
@@ -33,3 +35,5 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
<Assembly: AssemblyVersion("0.96.*")>
|
<Assembly: AssemblyVersion("0.96.*")>
|
||||||
<Assembly: AssemblyFileVersion("0.96.0.0")>
|
<Assembly: AssemblyFileVersion("0.96.0.0")>
|
||||||
|
|
||||||
|
<Assembly: NeutralResourcesLanguageAttribute("en")>
|
||||||
Generated
+783
@@ -70,6 +70,132 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Game Backup Monitor[BR]Version: [PARAM] Beta ([PARAM])[BR]Build: [PARAM][BR][PARAM][BR][BR]This program comes with ABSOLUTELY NO WARRANTY.[BR]This is free software, and you are welcome to redistribute it under certain conditions.[BR][BR]See gpl-3.0.html in the program folder for details..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppAbout() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppAbout", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The local manifest is clean..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppAlreadyClean() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppAlreadyClean", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] entry was removed from local manfiest..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppCleanedGame() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppCleanedGame", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] entries were removed from the local manifest..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppCleanedTotal() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppCleanedTotal", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network.[BR][BR]When alternating between different backup folders you should NOT use this tool.[BR][BR]Do you wish to proceed?.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppConfirmClean() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppConfirmClean", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to This will rebuild all databases and shrink them to an optimal size.[BR]This should only be used if your gbm.s3db files are becoming very large.[BR][BR]Do you wish to continue?.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppConfirmRebuild() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppConfirmRebuild", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to 2015 Michael J. Seiferling.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppCopyright() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppCopyright", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Are you sure you want to exit? Your games will no longer be monitored..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppExit() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppExit", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Local Database Vacuum Completed: [PARAM] KB.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppLocalCompactComplete() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppLocalCompactComplete", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Local Database Vacuum Initialized: [PARAM] KB.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppLocalCompactInit() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppLocalCompactInit", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Game Backup Monitor.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppNameLong() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppNameLong", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to GBM.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppNameShort() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppNameShort", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Remote Database Vacuum Completed: [PARAM] KB.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppRemoteCompactComplete() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppRemoteCompactComplete", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Remote Database Vacuum Initialized: [PARAM] KB.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AppRemoteCompactInit() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AppRemoteCompactInit", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -90,6 +216,663 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Backup in Progress....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_BackupInProgress() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_BackupInProgress", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Cancel.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_btnCancelOperation() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_btnCancelOperation", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Hide &Log.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_btnToggleLog_Hide() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_btnToggleLog_Hide", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Show &Log.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_btnToggleLog_Show() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_btnToggleLog_Show", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Choose icon for [PARAM].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ChooseIcon() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ChooseIcon", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Do you wish to backup data from [PARAM]?.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ConfirmBackup() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ConfirmBackup", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Do you wish to cancel the monitoring of [PARAM]?[BR][BR]Warning: When monitoring is cancelled, session time is NOT saved..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ConfirmMonitorCancel() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ConfirmMonitorCancel", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Do you want to restart Game Backup Monitor as Administrator?.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ConfirmRunAsAdmin() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ConfirmRunAsAdmin", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] is a 64-bit game, GBM cannot detect the required information to save your backup..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_Error64Backup() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_Error64Backup", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to 7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_Error7zip() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_Error7zip", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorAdminBackup() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorAdminBackup", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] is running as Administrator and GBM is not.[BR]You cannot cancel monitoring at this time.[BR][BR]Run GBM as Administrator to prevent this issue..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorAdminDetect() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorAdminDetect", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Game Backup Monitor is already running as Administrator..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorAlreadyAdmin() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorAlreadyAdmin", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to GBM is running from a new location, the Windows startup entry has been updated..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorAppLocationChanged() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorAppLocationChanged", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] backup was cancelled..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorBackupCancel() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorBackupCancel", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] backup was cancelled due to session length..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorBackupSessionLength() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorBackupSessionLength", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] backup was cancelled due to unknown path..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorBackupUnknownPath() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorBackupUnknownPath", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The following monitored game(s) contain a custom path variable that is not set.[BR][PARAM][BR][BR]You will encounter backup/restore errors with these games until the variables are set..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorCustomVariable() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorCustomVariable", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Your local GBM data (Version [PARAM]) is too new for your version of GBM (Version [PARAM]).[BR][BR]Please upgrade GBM or restore the database file appropriate for your version. The application cannot proceed..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorDBVerLocal() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorDBVerLocal", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The GBM data (Version [PARAM]) in your backup folder is too new for your version of GBM (Version [PARAM])[BR][BR]All computers sharing a backup folder must use the same version of GBM. The application cannot proceed..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorDBVerRemote() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorDBVerRemote", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please install the 64-bit version of GBM to detect and backup this game properly..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorMulti64() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorMulti64", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please run GBM as Administrator to properly detect and backup this game..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorMultiAdmin() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorMultiAdmin", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] uses a relative path and has never been detected on this computer..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorRelativePath() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorRelativePath", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] restore was cancelled due to a restore path issue..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorRestorePath() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorRestorePath", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to An error occured creating application settings folder. The application cannot proceed.[BR][BR][PARAM].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ErrorSettingsFolder() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ErrorSettingsFolder", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] (Executable Path).
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ExePath() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ExePath", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] Detected.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_GameDetected() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_GameDetected", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] has ended..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_GameEnded() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_GameEnded", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Game List ([PARAM]) Loaded..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_GameListLoaded() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_GameListLoaded", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &File.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFile() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFile", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Exit.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFileExit() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFileExit", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Cancel &Monitoring.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFileMonitor_Cancel() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFileMonitor_Cancel", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Start &Monitoring.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFileMonitor_Start() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFileMonitor_Start", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Stop &Monitoring.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFileMonitor_Stop() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFileMonitor_Stop", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Settings....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonFileSettings() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonFileSettings", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Help.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonHelp() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonHelp", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &About Game Backup Monitor.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonHelpAbout() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonHelpAbout", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Check for Updates....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonHelpCheckForUpdates() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonHelpCheckForUpdates", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Online &Manual....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonHelpManual() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonHelpManual", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Official Web Site....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonHelpWebSite() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonHelpWebSite", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Setup.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonSetup() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonSetup", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Add Game &Wizard....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonSetupAddWizard() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonSetupAddWizard", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Custom &Path Variables....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonSetupCustomVariables() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonSetupCustomVariables", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Game Manager....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonSetupGameManager() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonSetupGameManager", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Tags....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonSetupTags() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonSetupTags", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Monitor Status:.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonStripStatusButton() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonStripStatusButton", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Tools.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonTools() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonTools", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Clea&n Local Manifest.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonToolsCleanMan() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonToolsCleanMan", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to &Compact Databases.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonToolsCompact() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonToolsCompact", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Show / Hide.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_gMonTrayShow() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_gMonTrayShow", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Icon files (*.ico)|*.ico.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_IconFilter() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_IconFilter", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Last Game: [PARAM].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_LastGame() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_LastGame", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Last Action:.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_lblLastActionTitle() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_lblLastActionTitle", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to A manaul backup of [PARAM] was triggered..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_ManualBackup() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_ManualBackup", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The master game list has been changed by a program other than GBM..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_MasterListChanged() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_MasterListChanged", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Monitoring of [PARAM] was cancelled..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_MonitorCancel() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_MonitorCancel", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] monitoring ended..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_MonitorEnded() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_MonitorEnded", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Multiple Games.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_MultipleGames() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_MultipleGames", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Multiple Games Detected.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_MultipleGamesDetected() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_MultipleGamesDetected", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] New Saves Pending.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NewSaveNotificationMulti() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NewSaveNotificationMulti", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] New Save Pending.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NewSaveNotificationSingle() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NewSaveNotificationSingle", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Game details are unavailable..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NoDetails() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NoDetails", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to No Game Detected.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NoGameDetected() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NoGameDetected", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to N/A.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NotAvailable() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NotAvailable", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Not Scanning.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_NotScanning() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_NotScanning", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Restore in progress....
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_RestoreInProgress() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_RestoreInProgress", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to GBM is running with Administrator privileges..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_RunningAsAdmin() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_RunningAsAdmin", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to GBM is running with normal privileges. Click to restart as Administrator..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_RunningAsNormal() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_RunningAsNormal", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] hours.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_SessionHours() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_SessionHours", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] minutes.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_SessionMinutes() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_SessionMinutes", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to the unidentified game.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_UnknownGame() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_UnknownGame", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The unidentified game has ended..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_UnknownGameEnded() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_UnknownGameEnded", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to Updated by [PARAM] on [PARAM].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmMain_UpdatedBy() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmMain_UpdatedBy", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
''' Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -121,12 +121,213 @@
|
|||||||
<data name="Admin" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Admin" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Admin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Admin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="AppAbout" xml:space="preserve">
|
||||||
|
<value>Game Backup Monitor[BR]Version: [PARAM] Beta ([PARAM])[BR]Build: [PARAM][BR][PARAM][BR][BR]This program comes with ABSOLUTELY NO WARRANTY.[BR]This is free software, and you are welcome to redistribute it under certain conditions.[BR][BR]See gpl-3.0.html in the program folder for details.</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppAlreadyClean" xml:space="preserve">
|
||||||
|
<value>The local manifest is clean.</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppCleanedGame" xml:space="preserve">
|
||||||
|
<value>[PARAM] entry was removed from local manfiest.</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppCleanedTotal" xml:space="preserve">
|
||||||
|
<value>[PARAM] entries were removed from the local manifest.</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppConfirmClean" xml:space="preserve">
|
||||||
|
<value>This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network.[BR][BR]When alternating between different backup folders you should NOT use this tool.[BR][BR]Do you wish to proceed?</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppConfirmRebuild" xml:space="preserve">
|
||||||
|
<value>This will rebuild all databases and shrink them to an optimal size.[BR]This should only be used if your gbm.s3db files are becoming very large.[BR][BR]Do you wish to continue?</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppCopyright" xml:space="preserve">
|
||||||
|
<value>2015 Michael J. Seiferling</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppExit" xml:space="preserve">
|
||||||
|
<value>Are you sure you want to exit? Your games will no longer be monitored.</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppLocalCompactComplete" xml:space="preserve">
|
||||||
|
<value>Local Database Vacuum Completed: [PARAM] KB</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppLocalCompactInit" xml:space="preserve">
|
||||||
|
<value>Local Database Vacuum Initialized: [PARAM] KB</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppNameLong" xml:space="preserve">
|
||||||
|
<value>Game Backup Monitor</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppNameShort" xml:space="preserve">
|
||||||
|
<value>GBM</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppRemoteCompactComplete" xml:space="preserve">
|
||||||
|
<value>Remote Database Vacuum Completed: [PARAM] KB</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppRemoteCompactInit" xml:space="preserve">
|
||||||
|
<value>Remote Database Vacuum Initialized: [PARAM] KB</value>
|
||||||
|
</data>
|
||||||
<data name="Clock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Clock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Clock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Clock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Detected" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Detected" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Detected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Detected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="frmMain_BackupInProgress" xml:space="preserve">
|
||||||
|
<value>Backup in Progress...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_btnToggleLog_Hide" xml:space="preserve">
|
||||||
|
<value>Hide &Log</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_btnToggleLog_Show" xml:space="preserve">
|
||||||
|
<value>Show &Log</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ChooseIcon" xml:space="preserve">
|
||||||
|
<value>Choose icon for [PARAM]</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ConfirmBackup" xml:space="preserve">
|
||||||
|
<value>Do you wish to backup data from [PARAM]?</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ConfirmMonitorCancel" xml:space="preserve">
|
||||||
|
<value>Do you wish to cancel the monitoring of [PARAM]?[BR][BR]Warning: When monitoring is cancelled, session time is NOT saved.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ConfirmRunAsAdmin" xml:space="preserve">
|
||||||
|
<value>Do you want to restart Game Backup Monitor as Administrator?</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_Error64Backup" xml:space="preserve">
|
||||||
|
<value>[PARAM] is a 64-bit game, GBM cannot detect the required information to save your backup.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_Error7zip" xml:space="preserve">
|
||||||
|
<value>7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorAdminBackup" xml:space="preserve">
|
||||||
|
<value>[PARAM] is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorAdminDetect" xml:space="preserve">
|
||||||
|
<value>[PARAM] is running as Administrator and GBM is not.[BR]You cannot cancel monitoring at this time.[BR][BR]Run GBM as Administrator to prevent this issue.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorAlreadyAdmin" xml:space="preserve">
|
||||||
|
<value>Game Backup Monitor is already running as Administrator.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorAppLocationChanged" xml:space="preserve">
|
||||||
|
<value>GBM is running from a new location, the Windows startup entry has been updated.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorBackupCancel" xml:space="preserve">
|
||||||
|
<value>[PARAM] backup was cancelled.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorBackupSessionLength" xml:space="preserve">
|
||||||
|
<value>[PARAM] backup was cancelled due to session length.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorBackupUnknownPath" xml:space="preserve">
|
||||||
|
<value>[PARAM] backup was cancelled due to unknown path.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorCustomVariable" xml:space="preserve">
|
||||||
|
<value>The following monitored game(s) contain a custom path variable that is not set.[BR][PARAM][BR][BR]You will encounter backup/restore errors with these games until the variables are set.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorDBVerLocal" xml:space="preserve">
|
||||||
|
<value>Your local GBM data (Version [PARAM]) is too new for your version of GBM (Version [PARAM]).[BR][BR]Please upgrade GBM or restore the database file appropriate for your version. The application cannot proceed.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorDBVerRemote" xml:space="preserve">
|
||||||
|
<value>The GBM data (Version [PARAM]) in your backup folder is too new for your version of GBM (Version [PARAM])[BR][BR]All computers sharing a backup folder must use the same version of GBM. The application cannot proceed.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorMulti64" xml:space="preserve">
|
||||||
|
<value>Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please install the 64-bit version of GBM to detect and backup this game properly.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorMultiAdmin" xml:space="preserve">
|
||||||
|
<value>Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please run GBM as Administrator to properly detect and backup this game.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorRelativePath" xml:space="preserve">
|
||||||
|
<value>[PARAM] uses a relative path and has never been detected on this computer.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorRestorePath" xml:space="preserve">
|
||||||
|
<value>[PARAM] restore was cancelled due to a restore path issue.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ErrorSettingsFolder" xml:space="preserve">
|
||||||
|
<value>An error occured creating application settings folder. The application cannot proceed.[BR][BR][PARAM]</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ExePath" xml:space="preserve">
|
||||||
|
<value>[PARAM] (Executable Path)</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_GameDetected" xml:space="preserve">
|
||||||
|
<value>[PARAM] Detected</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_GameEnded" xml:space="preserve">
|
||||||
|
<value>[PARAM] has ended.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_GameListLoaded" xml:space="preserve">
|
||||||
|
<value>Game List ([PARAM]) Loaded.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFileMonitor_Cancel" xml:space="preserve">
|
||||||
|
<value>Cancel &Monitoring</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFileMonitor_Start" xml:space="preserve">
|
||||||
|
<value>Start &Monitoring</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFileMonitor_Stop" xml:space="preserve">
|
||||||
|
<value>Stop &Monitoring</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_IconFilter" xml:space="preserve">
|
||||||
|
<value>Icon files (*.ico)|*.ico</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_LastGame" xml:space="preserve">
|
||||||
|
<value>Last Game: [PARAM]</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_ManualBackup" xml:space="preserve">
|
||||||
|
<value>A manaul backup of [PARAM] was triggered.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_MasterListChanged" xml:space="preserve">
|
||||||
|
<value>The master game list has been changed by a program other than GBM.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_MonitorCancel" xml:space="preserve">
|
||||||
|
<value>Monitoring of [PARAM] was cancelled.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_MonitorEnded" xml:space="preserve">
|
||||||
|
<value>[PARAM] monitoring ended.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_MultipleGames" xml:space="preserve">
|
||||||
|
<value>Multiple Games</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_MultipleGamesDetected" xml:space="preserve">
|
||||||
|
<value>Multiple Games Detected</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NewSaveNotificationMulti" xml:space="preserve">
|
||||||
|
<value>[PARAM] New Saves Pending</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NewSaveNotificationSingle" xml:space="preserve">
|
||||||
|
<value>[PARAM] New Save Pending</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NoDetails" xml:space="preserve">
|
||||||
|
<value>Game details are unavailable.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NoGameDetected" xml:space="preserve">
|
||||||
|
<value>No Game Detected</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NotAvailable" xml:space="preserve">
|
||||||
|
<value>N/A</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_NotScanning" xml:space="preserve">
|
||||||
|
<value>Not Scanning</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_RestoreInProgress" xml:space="preserve">
|
||||||
|
<value>Restore in progress...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_RunningAsAdmin" xml:space="preserve">
|
||||||
|
<value>GBM is running with Administrator privileges.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_RunningAsNormal" xml:space="preserve">
|
||||||
|
<value>GBM is running with normal privileges. Click to restart as Administrator.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_SessionHours" xml:space="preserve">
|
||||||
|
<value>[PARAM] hours</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_SessionMinutes" xml:space="preserve">
|
||||||
|
<value>[PARAM] minutes</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_UnknownGame" xml:space="preserve">
|
||||||
|
<value>the unidentified game</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_UnknownGameEnded" xml:space="preserve">
|
||||||
|
<value>The unidentified game has ended.</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_UpdatedBy" xml:space="preserve">
|
||||||
|
<value>Updated by [PARAM] on [PARAM]</value>
|
||||||
|
</data>
|
||||||
<data name="GBM_Tray_Detected" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="GBM_Tray_Detected" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\GBM_Tray_Detected.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\GBM_Tray_Detected.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -157,4 +358,64 @@
|
|||||||
<data name="Working" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Working" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Working.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Working.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="frmMain_btnCancelOperation" xml:space="preserve">
|
||||||
|
<value>&Cancel</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFile" xml:space="preserve">
|
||||||
|
<value>&File</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFileExit" xml:space="preserve">
|
||||||
|
<value>&Exit</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonFileSettings" xml:space="preserve">
|
||||||
|
<value>&Settings...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonHelp" xml:space="preserve">
|
||||||
|
<value>&Help</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonHelpAbout" xml:space="preserve">
|
||||||
|
<value>&About Game Backup Monitor</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonHelpCheckForUpdates" xml:space="preserve">
|
||||||
|
<value>&Check for Updates...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonHelpManual" xml:space="preserve">
|
||||||
|
<value>Online &Manual...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonHelpWebSite" xml:space="preserve">
|
||||||
|
<value>&Official Web Site...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonSetup" xml:space="preserve">
|
||||||
|
<value>&Setup</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonSetupAddWizard" xml:space="preserve">
|
||||||
|
<value>Add Game &Wizard...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonSetupCustomVariables" xml:space="preserve">
|
||||||
|
<value>Custom &Path Variables...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonSetupGameManager" xml:space="preserve">
|
||||||
|
<value>&Game Manager...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonSetupTags" xml:space="preserve">
|
||||||
|
<value>&Tags...</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonStripStatusButton" xml:space="preserve">
|
||||||
|
<value>Monitor Status:</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonTools" xml:space="preserve">
|
||||||
|
<value>&Tools</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonToolsCleanMan" xml:space="preserve">
|
||||||
|
<value>Clea&n Local Manifest</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonToolsCompact" xml:space="preserve">
|
||||||
|
<value>&Compact Databases</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_gMonTrayShow" xml:space="preserve">
|
||||||
|
<value>Show / Hide</value>
|
||||||
|
</data>
|
||||||
|
<data name="frmMain_lblLastActionTitle" xml:space="preserve">
|
||||||
|
<value>Last Action:</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user