diff --git a/src/RetroGOG/frmDependencies.Designer.cs b/src/RetroGOG/frmDependencies.Designer.cs index d97844d..11847f4 100644 --- a/src/RetroGOG/frmDependencies.Designer.cs +++ b/src/RetroGOG/frmDependencies.Designer.cs @@ -28,221 +28,258 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDependencies)); - this.btnAbout = new System.Windows.Forms.Button(); - this.btnCancel = new System.Windows.Forms.Button(); - this.btnNext = new System.Windows.Forms.Button(); - this.btnBack = new System.Windows.Forms.Button(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.lblExplain = new System.Windows.Forms.Label(); - this.imgRetroStatus = new System.Windows.Forms.PictureBox(); - this.imgGOGStatus = new System.Windows.Forms.PictureBox(); - this.lblRetroStatus = new System.Windows.Forms.Label(); - this.lblGOGStatus = new System.Windows.Forms.Label(); - this.lblRetroBrowse = new System.Windows.Forms.Label(); - this.txtRetroPath = new System.Windows.Forms.TextBox(); - this.btnRetroBrowse = new System.Windows.Forms.Button(); - this.tmrCheck = new System.Windows.Forms.Timer(this.components); - this.btnDownloadGOG = new System.Windows.Forms.Button(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.imgRetroStatus)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.imgGOGStatus)).BeginInit(); - this.SuspendLayout(); - // - // btnAbout - // - this.btnAbout.Location = new System.Drawing.Point(12, 343); - this.btnAbout.Name = "btnAbout"; - this.btnAbout.Size = new System.Drawing.Size(75, 23); - this.btnAbout.TabIndex = 8; - this.btnAbout.Text = "&About"; - this.btnAbout.UseVisualStyleBackColor = true; - this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); - // - // btnCancel - // - this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.Location = new System.Drawing.Point(543, 343); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(75, 23); - this.btnCancel.TabIndex = 7; - this.btnCancel.Text = "&Cancel"; - this.btnCancel.UseVisualStyleBackColor = true; - this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); - // - // btnNext - // - this.btnNext.Enabled = false; - this.btnNext.Location = new System.Drawing.Point(462, 343); - this.btnNext.Name = "btnNext"; - this.btnNext.Size = new System.Drawing.Size(75, 23); - this.btnNext.TabIndex = 6; - this.btnNext.Text = "&Next > >"; - this.btnNext.UseVisualStyleBackColor = true; - this.btnNext.Click += new System.EventHandler(this.btnNext_Click); - // - // btnBack - // - this.btnBack.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnBack.Location = new System.Drawing.Point(93, 343); - this.btnBack.Name = "btnBack"; - this.btnBack.Size = new System.Drawing.Size(75, 23); - this.btnBack.TabIndex = 9; - this.btnBack.Text = "< < &Back"; - this.btnBack.UseVisualStyleBackColor = true; - this.btnBack.Click += new System.EventHandler(this.btnBack_Click); - // - // pictureBox2 - // - this.pictureBox2.Image = global::RetroGOG.Properties.Resources.galaxy_logo; - this.pictureBox2.Location = new System.Drawing.Point(39, 39); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(48, 48); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 12; - this.pictureBox2.TabStop = false; - // - // pictureBox1 - // - this.pictureBox1.Image = global::RetroGOG.Properties.Resources.retroarch; - this.pictureBox1.InitialImage = global::RetroGOG.Properties.Resources.retroarch; - this.pictureBox1.Location = new System.Drawing.Point(39, 93); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(48, 48); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 11; - this.pictureBox1.TabStop = false; - // - // lblExplain - // - this.lblExplain.AutoSize = true; - this.lblExplain.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblExplain.Location = new System.Drawing.Point(9, 9); - this.lblExplain.Name = "lblExplain"; - this.lblExplain.Size = new System.Drawing.Size(500, 18); - this.lblExplain.TabIndex = 13; - this.lblExplain.Text = "Please wait while we look for your Retroarch and GOG Galaxy applications"; - // - // imgRetroStatus - // - this.imgRetroStatus.Location = new System.Drawing.Point(93, 100); - this.imgRetroStatus.Name = "imgRetroStatus"; - this.imgRetroStatus.Size = new System.Drawing.Size(32, 32); - this.imgRetroStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.imgRetroStatus.TabIndex = 14; - this.imgRetroStatus.TabStop = false; - // - // imgGOGStatus - // - this.imgGOGStatus.Location = new System.Drawing.Point(93, 46); - this.imgGOGStatus.Name = "imgGOGStatus"; - this.imgGOGStatus.Size = new System.Drawing.Size(32, 32); - this.imgGOGStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.imgGOGStatus.TabIndex = 15; - this.imgGOGStatus.TabStop = false; - // - // lblRetroStatus - // - this.lblRetroStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblRetroStatus.Location = new System.Drawing.Point(131, 109); - this.lblRetroStatus.Name = "lblRetroStatus"; - this.lblRetroStatus.Size = new System.Drawing.Size(487, 23); - this.lblRetroStatus.TabIndex = 16; - // - // lblGOGStatus - // - this.lblGOGStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblGOGStatus.Location = new System.Drawing.Point(131, 55); - this.lblGOGStatus.Name = "lblGOGStatus"; - this.lblGOGStatus.Size = new System.Drawing.Size(487, 23); - this.lblGOGStatus.TabIndex = 17; - // - // lblRetroBrowse - // - this.lblRetroBrowse.AutoSize = true; - this.lblRetroBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblRetroBrowse.Location = new System.Drawing.Point(90, 182); - this.lblRetroBrowse.Name = "lblRetroBrowse"; - this.lblRetroBrowse.Size = new System.Drawing.Size(343, 18); - this.lblRetroBrowse.TabIndex = 18; - this.lblRetroBrowse.Text = "Please enter the path to your Retroarch installation:"; - this.lblRetroBrowse.Visible = false; - // - // txtRetroPath - // - this.txtRetroPath.Enabled = false; - this.txtRetroPath.Location = new System.Drawing.Point(93, 203); - this.txtRetroPath.Name = "txtRetroPath"; - this.txtRetroPath.Size = new System.Drawing.Size(444, 20); - this.txtRetroPath.TabIndex = 19; - this.txtRetroPath.Visible = false; - // - // btnRetroBrowse - // - this.btnRetroBrowse.Location = new System.Drawing.Point(543, 200); - this.btnRetroBrowse.Name = "btnRetroBrowse"; - this.btnRetroBrowse.Size = new System.Drawing.Size(75, 23); - this.btnRetroBrowse.TabIndex = 20; - this.btnRetroBrowse.Text = "B&rowse"; - this.btnRetroBrowse.UseVisualStyleBackColor = true; - this.btnRetroBrowse.Visible = false; - this.btnRetroBrowse.Click += new System.EventHandler(this.btnRetroBrowse_Click); - // - // tmrCheck - // - this.tmrCheck.Enabled = true; - this.tmrCheck.Tick += new System.EventHandler(this.tmrCheck_Tick); - // - // btnDownloadGOG - // - this.btnDownloadGOG.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnDownloadGOG.Image = global::RetroGOG.Properties.Resources.downloadgog; - this.btnDownloadGOG.Location = new System.Drawing.Point(50, 272); - this.btnDownloadGOG.Name = "btnDownloadGOG"; - this.btnDownloadGOG.Size = new System.Drawing.Size(534, 54); - this.btnDownloadGOG.TabIndex = 21; - this.btnDownloadGOG.UseVisualStyleBackColor = true; - this.btnDownloadGOG.Visible = false; - this.btnDownloadGOG.Click += new System.EventHandler(this.btnDownloadGOG_Click); - // - // frmDependencies - // - this.AcceptButton = this.btnNext; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.btnBack; - this.ClientSize = new System.Drawing.Size(630, 378); - this.Controls.Add(this.btnDownloadGOG); - this.Controls.Add(this.btnRetroBrowse); - this.Controls.Add(this.txtRetroPath); - this.Controls.Add(this.lblRetroBrowse); - this.Controls.Add(this.lblGOGStatus); - this.Controls.Add(this.lblRetroStatus); - this.Controls.Add(this.imgGOGStatus); - this.Controls.Add(this.imgRetroStatus); - this.Controls.Add(this.lblExplain); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.btnBack); - this.Controls.Add(this.btnAbout); - this.Controls.Add(this.btnCancel); - this.Controls.Add(this.btnNext); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MaximizeBox = false; - this.Name = "frmDependencies"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "RetroGOG"; - this.Load += new System.EventHandler(this.frmDependencies_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.imgRetroStatus)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.imgGOGStatus)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDependencies)); + this.btnAbout = new System.Windows.Forms.Button(); + this.btnCancel = new System.Windows.Forms.Button(); + this.btnNext = new System.Windows.Forms.Button(); + this.btnBack = new System.Windows.Forms.Button(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.lblExplain = new System.Windows.Forms.Label(); + this.imgRetroStatus = new System.Windows.Forms.PictureBox(); + this.imgGOGStatus = new System.Windows.Forms.PictureBox(); + this.lblRetroStatus = new System.Windows.Forms.Label(); + this.lblGOGStatus = new System.Windows.Forms.Label(); + this.lblRetroBrowse = new System.Windows.Forms.Label(); + this.txtRetroPath = new System.Windows.Forms.TextBox(); + this.btnRetroBrowse = new System.Windows.Forms.Button(); + this.tmrCheck = new System.Windows.Forms.Timer(this.components); + this.btnDownloadGOG = new System.Windows.Forms.Button(); + this.btnGOGBrowse = new System.Windows.Forms.Button(); + this.txtGOGPath = new System.Windows.Forms.TextBox(); + this.lblGOGBrowse = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.imgRetroStatus)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.imgGOGStatus)).BeginInit(); + this.SuspendLayout(); + // + // btnAbout + // + this.btnAbout.Location = new System.Drawing.Point(12, 343); + this.btnAbout.Name = "btnAbout"; + this.btnAbout.Size = new System.Drawing.Size(75, 23); + this.btnAbout.TabIndex = 8; + this.btnAbout.Text = "&About"; + this.btnAbout.UseVisualStyleBackColor = true; + this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); + // + // btnCancel + // + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(543, 343); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(75, 23); + this.btnCancel.TabIndex = 7; + this.btnCancel.Text = "&Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + // + // btnNext + // + this.btnNext.Enabled = false; + this.btnNext.Location = new System.Drawing.Point(462, 343); + this.btnNext.Name = "btnNext"; + this.btnNext.Size = new System.Drawing.Size(75, 23); + this.btnNext.TabIndex = 6; + this.btnNext.Text = "&Next > >"; + this.btnNext.UseVisualStyleBackColor = true; + this.btnNext.Click += new System.EventHandler(this.btnNext_Click); + // + // btnBack + // + this.btnBack.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnBack.Location = new System.Drawing.Point(93, 343); + this.btnBack.Name = "btnBack"; + this.btnBack.Size = new System.Drawing.Size(75, 23); + this.btnBack.TabIndex = 9; + this.btnBack.Text = "< < &Back"; + this.btnBack.UseVisualStyleBackColor = true; + this.btnBack.Click += new System.EventHandler(this.btnBack_Click); + // + // pictureBox2 + // + this.pictureBox2.Image = global::RetroGOG.Properties.Resources.galaxy_logo; + this.pictureBox2.Location = new System.Drawing.Point(39, 39); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(48, 48); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 12; + this.pictureBox2.TabStop = false; + // + // pictureBox1 + // + this.pictureBox1.Image = global::RetroGOG.Properties.Resources.retroarch; + this.pictureBox1.InitialImage = global::RetroGOG.Properties.Resources.retroarch; + this.pictureBox1.Location = new System.Drawing.Point(39, 93); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(48, 48); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 11; + this.pictureBox1.TabStop = false; + // + // lblExplain + // + this.lblExplain.AutoSize = true; + this.lblExplain.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblExplain.Location = new System.Drawing.Point(9, 9); + this.lblExplain.Name = "lblExplain"; + this.lblExplain.Size = new System.Drawing.Size(500, 18); + this.lblExplain.TabIndex = 13; + this.lblExplain.Text = "Please wait while we look for your Retroarch and GOG Galaxy applications"; + // + // imgRetroStatus + // + this.imgRetroStatus.Location = new System.Drawing.Point(93, 100); + this.imgRetroStatus.Name = "imgRetroStatus"; + this.imgRetroStatus.Size = new System.Drawing.Size(32, 32); + this.imgRetroStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.imgRetroStatus.TabIndex = 14; + this.imgRetroStatus.TabStop = false; + // + // imgGOGStatus + // + this.imgGOGStatus.Location = new System.Drawing.Point(93, 46); + this.imgGOGStatus.Name = "imgGOGStatus"; + this.imgGOGStatus.Size = new System.Drawing.Size(32, 32); + this.imgGOGStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.imgGOGStatus.TabIndex = 15; + this.imgGOGStatus.TabStop = false; + // + // lblRetroStatus + // + this.lblRetroStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblRetroStatus.Location = new System.Drawing.Point(131, 109); + this.lblRetroStatus.Name = "lblRetroStatus"; + this.lblRetroStatus.Size = new System.Drawing.Size(487, 23); + this.lblRetroStatus.TabIndex = 16; + // + // lblGOGStatus + // + this.lblGOGStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblGOGStatus.Location = new System.Drawing.Point(131, 55); + this.lblGOGStatus.Name = "lblGOGStatus"; + this.lblGOGStatus.Size = new System.Drawing.Size(487, 23); + this.lblGOGStatus.TabIndex = 17; + // + // lblRetroBrowse + // + this.lblRetroBrowse.AutoSize = true; + this.lblRetroBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblRetroBrowse.Location = new System.Drawing.Point(90, 213); + this.lblRetroBrowse.Name = "lblRetroBrowse"; + this.lblRetroBrowse.Size = new System.Drawing.Size(343, 18); + this.lblRetroBrowse.TabIndex = 18; + this.lblRetroBrowse.Text = "Please enter the path to your Retroarch installation:"; + this.lblRetroBrowse.Visible = false; + // + // txtRetroPath + // + this.txtRetroPath.Enabled = false; + this.txtRetroPath.Location = new System.Drawing.Point(93, 234); + this.txtRetroPath.Name = "txtRetroPath"; + this.txtRetroPath.Size = new System.Drawing.Size(444, 20); + this.txtRetroPath.TabIndex = 19; + this.txtRetroPath.Visible = false; + // + // btnRetroBrowse + // + this.btnRetroBrowse.Location = new System.Drawing.Point(543, 231); + this.btnRetroBrowse.Name = "btnRetroBrowse"; + this.btnRetroBrowse.Size = new System.Drawing.Size(75, 23); + this.btnRetroBrowse.TabIndex = 20; + this.btnRetroBrowse.Text = "B&rowse"; + this.btnRetroBrowse.UseVisualStyleBackColor = true; + this.btnRetroBrowse.Visible = false; + this.btnRetroBrowse.Click += new System.EventHandler(this.btnRetroBrowse_Click); + // + // tmrCheck + // + this.tmrCheck.Enabled = true; + this.tmrCheck.Tick += new System.EventHandler(this.tmrCheck_Tick); + // + // btnDownloadGOG + // + this.btnDownloadGOG.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnDownloadGOG.Image = global::RetroGOG.Properties.Resources.downloadgog; + this.btnDownloadGOG.Location = new System.Drawing.Point(50, 272); + this.btnDownloadGOG.Name = "btnDownloadGOG"; + this.btnDownloadGOG.Size = new System.Drawing.Size(534, 54); + this.btnDownloadGOG.TabIndex = 21; + this.btnDownloadGOG.UseVisualStyleBackColor = true; + this.btnDownloadGOG.Visible = false; + this.btnDownloadGOG.Click += new System.EventHandler(this.btnDownloadGOG_Click); + // + // btnGOGBrowse + // + this.btnGOGBrowse.Location = new System.Drawing.Point(543, 177); + this.btnGOGBrowse.Name = "btnGOGBrowse"; + this.btnGOGBrowse.Size = new System.Drawing.Size(75, 23); + this.btnGOGBrowse.TabIndex = 24; + this.btnGOGBrowse.Text = "B&rowse"; + this.btnGOGBrowse.UseVisualStyleBackColor = true; + this.btnGOGBrowse.Visible = false; + this.btnGOGBrowse.Click += new System.EventHandler(this.btnGOGBrowse_Click); + // + // txtGOGPath + // + this.txtGOGPath.Enabled = false; + this.txtGOGPath.Location = new System.Drawing.Point(93, 180); + this.txtGOGPath.Name = "txtGOGPath"; + this.txtGOGPath.Size = new System.Drawing.Size(444, 20); + this.txtGOGPath.TabIndex = 23; + this.txtGOGPath.Visible = false; + // + // lblGOGBrowse + // + this.lblGOGBrowse.AutoSize = true; + this.lblGOGBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblGOGBrowse.Location = new System.Drawing.Point(90, 159); + this.lblGOGBrowse.Name = "lblGOGBrowse"; + this.lblGOGBrowse.Size = new System.Drawing.Size(386, 18); + this.lblGOGBrowse.TabIndex = 22; + this.lblGOGBrowse.Text = "Please enter the path to your GOG Galaxy 2.0 installation:"; + this.lblGOGBrowse.Visible = false; + // + // frmDependencies + // + this.AcceptButton = this.btnNext; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.btnBack; + this.ClientSize = new System.Drawing.Size(630, 378); + this.Controls.Add(this.btnGOGBrowse); + this.Controls.Add(this.txtGOGPath); + this.Controls.Add(this.lblGOGBrowse); + this.Controls.Add(this.btnDownloadGOG); + this.Controls.Add(this.btnRetroBrowse); + this.Controls.Add(this.txtRetroPath); + this.Controls.Add(this.lblRetroBrowse); + this.Controls.Add(this.lblGOGStatus); + this.Controls.Add(this.lblRetroStatus); + this.Controls.Add(this.imgGOGStatus); + this.Controls.Add(this.imgRetroStatus); + this.Controls.Add(this.lblExplain); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.btnBack); + this.Controls.Add(this.btnAbout); + this.Controls.Add(this.btnCancel); + this.Controls.Add(this.btnNext); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; + this.Name = "frmDependencies"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "RetroGOG"; + this.Load += new System.EventHandler(this.frmDependencies_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.imgRetroStatus)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.imgGOGStatus)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -264,5 +301,8 @@ private void InitializeComponent() private System.Windows.Forms.Button btnRetroBrowse; private System.Windows.Forms.Timer tmrCheck; private System.Windows.Forms.Button btnDownloadGOG; - } + private System.Windows.Forms.Button btnGOGBrowse; + private System.Windows.Forms.TextBox txtGOGPath; + private System.Windows.Forms.Label lblGOGBrowse; + } } \ No newline at end of file diff --git a/src/RetroGOG/frmDependencies.cs b/src/RetroGOG/frmDependencies.cs index 47015ed..a6cb4e3 100644 --- a/src/RetroGOG/frmDependencies.cs +++ b/src/RetroGOG/frmDependencies.cs @@ -53,6 +53,14 @@ private void frmDependencies_Load(object sender, EventArgs e) lblGOGStatus.Text = "GOG Galaxy 2.0 is installed in the default location."; GOGFound = true; } + else if (Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\GOG.com\\Galaxy\\plugins\\installed")) + { + imgGOGStatus.Image = Properties.Resources.warn; + lblGOGStatus.Text = "GOG Galaxy 2.0 not found in the default location."; + lblGOGBrowse.Visible = true; + txtGOGPath.Visible = true; + btnGOGBrowse.Visible = true; + } else { imgGOGStatus.Image = Properties.Resources.no; @@ -96,6 +104,23 @@ private void tmrCheck_Tick(object sender, EventArgs e) } } + private void btnGOGBrowse_Click(object sender, EventArgs e) + { + OpenFileDialog browser = new OpenFileDialog(); + browser.Title = "Please select your GalaxyClient.exe file"; + browser.InitialDirectory = @"c:\"; + browser.Filter = "GOG Galaxy 2.0 Application|GalaxyClient.exe"; + browser.FilterIndex = 2; + browser.RestoreDirectory = true; + if (browser.ShowDialog() == DialogResult.OK) + { + txtGOGPath.Text = browser.FileName; + imgGOGStatus.Image = Properties.Resources.yes; + lblGOGStatus.Text = "Retroarch location has been entered by user."; + GOGFound = true; + } + } + private void btnRetroBrowse_Click(object sender, EventArgs e) { OpenFileDialog browser = new OpenFileDialog(); diff --git a/src/RetroGOG/frmDependencies.resx b/src/RetroGOG/frmDependencies.resx index 1678609..466a7bf 100644 --- a/src/RetroGOG/frmDependencies.resx +++ b/src/RetroGOG/frmDependencies.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - 17, 17