diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 6bb27ba..d11137b 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -1553,6 +1553,13 @@ Public Class frmGameManager Dim sFile As String Dim sFiles As String() + 'Show one time warning + If Not (oSettings.SuppressMessages And mgrSettings.eSuppressMessages.BackupImport) = mgrSettings.eSuppressMessages.BackupImport Then + mgrCommon.ShowMessage(frmGameManager_WarningImportBackup, MsgBoxStyle.Information) + oSettings.SuppressMessages = oSettings.SetMessageField(oSettings.SuppressMessages, mgrSettings.eSuppressMessages.BackupImport) + oSettings.SaveSettings() + End If + ImportBackupList.Clear() sFiles = mgrCommon.OpenMultiFileBrowser("GM_ImportBackup", frmGameManager_Choose7zImport, "7z", diff --git a/GBM/Managers/mgrSettings.vb b/GBM/Managers/mgrSettings.vb index c4c6311..2366a4d 100644 --- a/GBM/Managers/mgrSettings.vb +++ b/GBM/Managers/mgrSettings.vb @@ -30,6 +30,7 @@ Public Class mgrSettings Public Enum eSuppressMessages None = 0 GameIDSync = 1 + BackupImport = 2 End Enum Property StartWithWindows As Boolean diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 96f0194..367cd36 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -2445,6 +2445,15 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to This feature is intended to import 7-Zip backup archives compatible with the selected game configuration.[BR][BR]GBM does NOT verify these files, you should only use files created by GBM or other compatible archives that were created using the same settings as the current game configuration.[BR][BR]This message will only be shown once.. + ''' + Friend ReadOnly Property frmGameManager_WarningImportBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_WarningImportBackup", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to XML. ''' diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index 8fc2c07..a4b39cb 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -2248,4 +2248,7 @@ Pro&cesses... + + This feature is intended to import 7-Zip backup archives compatible with the selected game configuration.[BR][BR]GBM does NOT verify these files, you should only use files created by GBM or other compatible archives that were created using the same settings as the current game configuration.[BR][BR]This message will only be shown once. + \ No newline at end of file