2011-05-01 18:17:04 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Windows.Forms;
|
2011-05-03 02:32:21 +00:00
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Reflection;
|
2011-05-01 18:17:04 +00:00
|
|
|
|
|
|
|
|
|
namespace BizHawk.MultiClient
|
|
|
|
|
{
|
2011-06-19 23:39:25 +00:00
|
|
|
|
public partial class PathConfig : Form
|
|
|
|
|
{
|
|
|
|
|
//TODO:
|
|
|
|
|
//Make all base path text boxes not allow %recent%
|
|
|
|
|
//All path text boxes should do some kind of error checking
|
|
|
|
|
//config path under base, config will default to %exe%
|
|
|
|
|
//Think of other modifiers (perhaps all environment paths?)
|
|
|
|
|
//If enough modifiers, path boxes can do a pull down of suggestions when user types %
|
|
|
|
|
|
2012-09-07 06:18:58 +00:00
|
|
|
|
//also....... this isnt really scalable. we need some more fancy system probably which is data-driven
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
//******************
|
|
|
|
|
//Modifiers
|
|
|
|
|
//%exe% - path of EXE
|
|
|
|
|
//%recent% - most recent directory (windows environment path)
|
|
|
|
|
//******************
|
|
|
|
|
|
|
|
|
|
//******************
|
|
|
|
|
//Relative path logic
|
|
|
|
|
// . will always be relative to to a platform base
|
|
|
|
|
// unless it is a tools path or a platform base in which case it is relative to base
|
|
|
|
|
// base is always relative to exe
|
|
|
|
|
//******************
|
|
|
|
|
|
|
|
|
|
public PathConfig()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SaveButton_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
SaveSettings();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PathConfig_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
RecentForROMs.Checked = Global.Config.UseRecentForROMs;
|
|
|
|
|
BasePathBox.Text = Global.Config.BasePath;
|
|
|
|
|
|
2012-09-07 06:18:58 +00:00
|
|
|
|
INTVBaseBox.Text = Global.Config.BaseINTV;
|
|
|
|
|
INTVRomsBox.Text = Global.Config.PathINTVROMs;
|
|
|
|
|
INTVSavestatesBox.Text = Global.Config.PathINTVSavestates;
|
|
|
|
|
INTVSaveRAMBox.Text = Global.Config.PathINTVSaveRAM; ;
|
|
|
|
|
INTVScreenshotsBox.Text = Global.Config.PathINTVScreenshots;
|
|
|
|
|
INTVCheatsBox.Text = Global.Config.PathINTVCheats;
|
|
|
|
|
INTVEROMBox.Text = Global.Config.PathINTVEROM;
|
|
|
|
|
INTVGROMBox.Text = Global.Config.PathINTVGROM;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
NESBaseBox.Text = Global.Config.BaseNES;
|
|
|
|
|
NESROMsBox.Text = Global.Config.PathNESROMs;
|
|
|
|
|
NESSavestatesBox.Text = Global.Config.PathNESSavestates;
|
|
|
|
|
NESSaveRAMBox.Text = Global.Config.PathNESSaveRAM;
|
|
|
|
|
NESScreenshotsBox.Text = Global.Config.PathNESScreenshots;
|
|
|
|
|
NESCheatsBox.Text = Global.Config.PathNESCheats;
|
2011-06-11 16:22:48 +00:00
|
|
|
|
NESPaletteBox.Text = Global.Config.PathNESPalette;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2012-09-22 19:58:58 +00:00
|
|
|
|
SNESBaseBox.Text = Global.Config.BaseSNES;
|
|
|
|
|
SNESROMsBox.Text = Global.Config.PathSNESROMs;
|
|
|
|
|
SNESSavestatesBox.Text = Global.Config.PathSNESSavestates;
|
|
|
|
|
SNESSaveRAMBox.Text = Global.Config.PathSNESSaveRAM;
|
|
|
|
|
SNESScreenshotsBox.Text = Global.Config.PathSNESScreenshots;
|
|
|
|
|
SNESCheatsBox.Text = Global.Config.PathSNESCheats;
|
2012-09-27 07:27:47 +00:00
|
|
|
|
SNESFirmwaresBox.Text = Global.Config.PathSNESFirmwares;
|
2012-09-22 19:58:58 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
Sega8BaseBox.Text = Global.Config.BaseSMS;
|
|
|
|
|
Sega8ROMsBox.Text = Global.Config.PathSMSROMs;
|
|
|
|
|
Sega8SavestatesBox.Text = Global.Config.PathSMSSavestates;
|
|
|
|
|
Sega8SaveRAMBox.Text = Global.Config.PathSMSSaveRAM;
|
|
|
|
|
Sega8ScreenshotsBox.Text = Global.Config.PathSMSScreenshots;
|
|
|
|
|
Sega8CheatsBox.Text = Global.Config.PathSMSCheats;
|
|
|
|
|
|
|
|
|
|
GGBaseBox.Text = Global.Config.BaseGG;
|
|
|
|
|
GGROMBox.Text = Global.Config.PathGGROMs;
|
|
|
|
|
GGSavestatesBox.Text = Global.Config.PathGGSavestates;
|
|
|
|
|
GGSaveRAMBox.Text = Global.Config.PathGGSaveRAM;
|
|
|
|
|
GGScreenshotsBox.Text = Global.Config.PathGGScreenshots;
|
|
|
|
|
GGCheatsBox.Text = Global.Config.PathGGCheats;
|
|
|
|
|
|
|
|
|
|
SGBaseBox.Text = Global.Config.BaseSG;
|
|
|
|
|
SGROMsBox.Text = Global.Config.PathSGROMs;
|
|
|
|
|
SGSavestatesBox.Text = Global.Config.PathSGSavestates;
|
|
|
|
|
SGSaveRAMBox.Text = Global.Config.PathSGSaveRAM;
|
|
|
|
|
SGScreenshotsBox.Text = Global.Config.PathSGScreenshots;
|
|
|
|
|
SGCheatsBox.Text = Global.Config.PathSGCheats;
|
|
|
|
|
|
|
|
|
|
PCEBaseBox.Text = Global.Config.BasePCE;
|
|
|
|
|
PCEROMsBox.Text = Global.Config.PathPCEROMs;
|
|
|
|
|
PCESavestatesBox.Text = Global.Config.PathPCESavestates;
|
|
|
|
|
PCESaveRAMBox.Text = Global.Config.PathPCESaveRAM;
|
|
|
|
|
PCEScreenshotsBox.Text = Global.Config.PathPCEScreenshots;
|
|
|
|
|
PCECheatsBox.Text = Global.Config.PathPCECheats;
|
|
|
|
|
|
|
|
|
|
GenesisBaseBox.Text = Global.Config.BaseGenesis;
|
|
|
|
|
GenesisROMsBox.Text = Global.Config.PathGenesisROMs;
|
|
|
|
|
GenesisSavestatesBox.Text = Global.Config.PathGenesisScreenshots;
|
|
|
|
|
GenesisSaveRAMBox.Text = Global.Config.PathGenesisSaveRAM;
|
|
|
|
|
GenesisScreenshotsBox.Text = Global.Config.PathGenesisScreenshots;
|
|
|
|
|
GenesisCheatsBox.Text = Global.Config.PathGenesisCheats;
|
|
|
|
|
|
|
|
|
|
GBBaseBox.Text = Global.Config.BaseGameboy;
|
|
|
|
|
GBROMsBox.Text = Global.Config.PathGBROMs;
|
|
|
|
|
GBSavestatesBox.Text = Global.Config.PathGBSavestates;
|
|
|
|
|
GBSaveRAMBox.Text = Global.Config.PathGBSaveRAM;
|
|
|
|
|
GBScreenshotsBox.Text = Global.Config.PathGBScreenshots;
|
|
|
|
|
GBCheatsBox.Text = Global.Config.PathGBCheats;
|
2012-09-15 18:15:55 +00:00
|
|
|
|
GBPalettesBox.Text = Global.Config.PathGBPalettes;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
TI83BaseBox.Text = Global.Config.BaseTI83;
|
|
|
|
|
TI83ROMsBox.Text = Global.Config.PathTI83ROMs;
|
|
|
|
|
TI83SavestatesBox.Text = Global.Config.PathTI83Savestates;
|
|
|
|
|
TI83SaveRAMBox.Text = Global.Config.PathTI83SaveRAM;
|
|
|
|
|
TI83ScreenshotsBox.Text = Global.Config.PathTI83Screenshots;
|
|
|
|
|
TI83CheatsBox.Text = Global.Config.PathTI83Cheats;
|
|
|
|
|
|
2012-03-19 02:12:43 +00:00
|
|
|
|
AtariBaseBox.Text = Global.Config.BaseAtari;
|
|
|
|
|
AtariROMsBox.Text = Global.Config.PathAtariROMs;
|
|
|
|
|
AtariSavestatesBox.Text = Global.Config.PathAtariSavestates;
|
|
|
|
|
AtariSaveRAMBox.Text = Global.Config.PathAtariSaveRAM;
|
|
|
|
|
AtariScreenshotsBox.Text = Global.Config.PathAtariScreenshots;
|
|
|
|
|
AtariCheatsBox.Text = Global.Config.PathAtariCheats;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
MoviesBox.Text = Global.Config.MoviesPath;
|
2012-09-13 00:44:17 +00:00
|
|
|
|
MovieBackupsBox.Text = Global.Config.MoviesBackupPath;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
LuaBox.Text = Global.Config.LuaPath;
|
|
|
|
|
WatchBox.Text = Global.Config.WatchPath;
|
|
|
|
|
AVIBox.Text = Global.Config.AVIPath;
|
2012-09-30 16:50:00 +00:00
|
|
|
|
LogBox.Text = Global.Config.LogPath;
|
2011-07-25 01:30:18 +00:00
|
|
|
|
|
|
|
|
|
PCEBiosBox.Text = Global.Config.PathPCEBios;
|
2012-03-19 02:12:43 +00:00
|
|
|
|
|
|
|
|
|
if (!Global.MainForm.INTERIM)
|
|
|
|
|
{
|
2012-10-07 00:56:43 +00:00
|
|
|
|
var TABPage1 = tabControl1.TabPages[10]; //Hide Int. V
|
2012-03-19 02:12:43 +00:00
|
|
|
|
tabControl1.Controls.Remove(TABPage1);
|
2012-10-07 00:56:43 +00:00
|
|
|
|
var TABPage2 = tabControl1.TabPages[9]; //Hide Atari
|
|
|
|
|
tabControl1.Controls.Remove(TABPage2);
|
2012-03-19 02:12:43 +00:00
|
|
|
|
}
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SaveSettings()
|
|
|
|
|
{
|
|
|
|
|
Global.Config.UseRecentForROMs = RecentForROMs.Checked;
|
|
|
|
|
Global.Config.BasePath = BasePathBox.Text;
|
|
|
|
|
|
2012-09-07 06:18:58 +00:00
|
|
|
|
Global.Config.BaseINTV = INTVBaseBox.Text;
|
|
|
|
|
Global.Config.PathINTVROMs = INTVRomsBox.Text;
|
|
|
|
|
Global.Config.PathINTVSavestates = INTVSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathINTVScreenshots = INTVScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathINTVCheats = INTVCheatsBox.Text;
|
|
|
|
|
Global.Config.PathINTVEROM = INTVEROMBox.Text;
|
|
|
|
|
Global.Config.PathINTVGROM = INTVGROMBox.Text;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
Global.Config.BaseNES = NESBaseBox.Text;
|
|
|
|
|
Global.Config.PathNESROMs = NESROMsBox.Text;
|
|
|
|
|
Global.Config.PathNESSavestates = NESSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathNESSaveRAM = NESSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathNESScreenshots = NESScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathNESCheats = NESCheatsBox.Text;
|
2011-06-11 16:22:48 +00:00
|
|
|
|
Global.Config.PathNESPalette = NESPaletteBox.Text;
|
2011-05-20 02:04:20 +00:00
|
|
|
|
|
2012-09-22 19:58:58 +00:00
|
|
|
|
Global.Config.BaseSNES = SNESBaseBox.Text;
|
|
|
|
|
Global.Config.PathSNESROMs = SNESROMsBox.Text;
|
|
|
|
|
Global.Config.PathSNESSavestates = SNESSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathSNESSaveRAM = SNESSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathSNESScreenshots = SNESScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathSNESCheats = SNESCheatsBox.Text;
|
2012-09-27 07:27:47 +00:00
|
|
|
|
Global.Config.PathSNESFirmwares = SNESFirmwaresBox.Text;
|
2012-09-22 19:58:58 +00:00
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
Global.Config.BaseSMS = Sega8BaseBox.Text;
|
|
|
|
|
Global.Config.PathSMSROMs = Sega8ROMsBox.Text;
|
|
|
|
|
Global.Config.PathSMSSavestates = Sega8SavestatesBox.Text;
|
|
|
|
|
Global.Config.PathSMSSaveRAM = Sega8SaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathSMSScreenshots = Sega8ScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathSMSCheats = Sega8CheatsBox.Text;
|
|
|
|
|
|
|
|
|
|
Global.Config.BaseGG = GGBaseBox.Text;
|
|
|
|
|
Global.Config.PathGGROMs = GGROMBox.Text;
|
|
|
|
|
Global.Config.PathGGSavestates = GGSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathGGSaveRAM = GGSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathGGScreenshots = GGScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathGGCheats = GGCheatsBox.Text;
|
|
|
|
|
|
|
|
|
|
Global.Config.BaseSG = SGBaseBox.Text;
|
|
|
|
|
Global.Config.PathSGROMs = SGROMsBox.Text;
|
|
|
|
|
Global.Config.PathSGSavestates = SGSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathSGSaveRAM = SGSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathSGScreenshots = SGScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathSGCheats = SGCheatsBox.Text;
|
|
|
|
|
|
|
|
|
|
Global.Config.BasePCE = PCEBaseBox.Text;
|
|
|
|
|
Global.Config.PathPCEROMs = PCEROMsBox.Text;
|
|
|
|
|
Global.Config.PathPCESavestates = PCESavestatesBox.Text;
|
|
|
|
|
Global.Config.PathPCESaveRAM = PCESaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathPCEScreenshots = PCEScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathPCECheats = PCECheatsBox.Text;
|
|
|
|
|
|
|
|
|
|
Global.Config.BaseGenesis = GenesisBaseBox.Text;
|
|
|
|
|
Global.Config.PathGenesisROMs = GenesisROMsBox.Text;
|
|
|
|
|
Global.Config.PathGenesisScreenshots = GenesisSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathGenesisSaveRAM = GenesisSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathGenesisScreenshots = GenesisScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathGenesisCheats = GenesisCheatsBox.Text;
|
|
|
|
|
|
|
|
|
|
Global.Config.BaseGameboy = GBBaseBox.Text;
|
|
|
|
|
Global.Config.PathGBROMs = GBROMsBox.Text;
|
|
|
|
|
Global.Config.PathGBSavestates = GBSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathGBSaveRAM = GBSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathGBScreenshots = GBScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathGBCheats = GBCheatsBox.Text;
|
2012-09-15 18:15:55 +00:00
|
|
|
|
Global.Config.PathGBPalettes = GBPalettesBox.Text;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
|
|
|
|
Global.Config.BaseTI83 = TI83BaseBox.Text;
|
|
|
|
|
Global.Config.PathTI83ROMs = TI83ROMsBox.Text;
|
|
|
|
|
Global.Config.PathTI83Savestates = TI83SavestatesBox.Text;
|
|
|
|
|
Global.Config.PathTI83SaveRAM = TI83SaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathTI83Screenshots = TI83ScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathTI83Cheats = TI83CheatsBox.Text;
|
|
|
|
|
|
2012-03-19 02:12:43 +00:00
|
|
|
|
Global.Config.BaseAtari = AtariBaseBox.Text;
|
|
|
|
|
Global.Config.PathAtariROMs = AtariROMsBox.Text;
|
|
|
|
|
Global.Config.PathAtariSavestates = AtariSavestatesBox.Text;
|
|
|
|
|
Global.Config.PathAtariSaveRAM = AtariSaveRAMBox.Text;
|
|
|
|
|
Global.Config.PathAtariScreenshots = AtariScreenshotsBox.Text;
|
|
|
|
|
Global.Config.PathAtariCheats = AtariCheatsBox.Text;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
Global.Config.MoviesPath = MoviesBox.Text;
|
2012-09-13 00:44:17 +00:00
|
|
|
|
Global.Config.MoviesBackupPath = MovieBackupsBox.Text;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
Global.Config.LuaPath = LuaBox.Text;
|
|
|
|
|
Global.Config.WatchPath = WatchBox.Text;
|
|
|
|
|
Global.Config.AVIPath = AVIBox.Text;
|
2012-09-30 16:50:00 +00:00
|
|
|
|
Global.Config.LogPath = LogBox.Text;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
|
2011-07-25 01:30:18 +00:00
|
|
|
|
Global.Config.PathPCEBios = PCEBiosBox.Text;
|
|
|
|
|
|
2011-06-19 23:39:25 +00:00
|
|
|
|
BasePathBox.Focus();
|
2011-09-05 02:34:42 +00:00
|
|
|
|
Global.MainForm.UpdateStatusSlots();
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Cancel_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
2012-09-27 00:14:51 +00:00
|
|
|
|
Global.OSD.AddMessage("Path config aborted");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
this.Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OK_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
SaveSettings();
|
2012-09-26 01:28:48 +00:00
|
|
|
|
Global.OSD.AddMessage("Path settings saved");
|
2011-06-19 23:39:25 +00:00
|
|
|
|
this.Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
2012-09-27 01:37:56 +00:00
|
|
|
|
tabControl1.TabPages[tabControl1.SelectedIndex].Controls[0].Focus();
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void RecentForROMs_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Global.Config.UseRecentForROMs = RecentForROMs.Checked;
|
2012-09-07 06:18:58 +00:00
|
|
|
|
INTVRomsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
INTVBrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
NESROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
BrowseNESROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
Sega8ROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
Sega8BrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GGROMBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GGROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
SGROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
SGROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GenesisROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GenesisBrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
PCEROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
PCEBrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GBROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GBBrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
TI83ROMsBox.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
TI83BrowseROMs.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
|
|
|
|
|
INTVROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
NESROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
Sega8ROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GenesisROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
PCEROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
GBROMsDescription.Enabled = !RecentForROMs.Checked;
|
|
|
|
|
TI83ROMsDescription.Enabled = !RecentForROMs.Checked;
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseFolder(TextBox box, string Name)
|
|
|
|
|
{
|
|
|
|
|
FolderBrowserDialog f = new FolderBrowserDialog();
|
|
|
|
|
f.Description = "Set the directory for " + Name;
|
|
|
|
|
f.SelectedPath = PathManager.MakeAbsolutePath(box.Text, "");
|
|
|
|
|
DialogResult result = f.ShowDialog();
|
|
|
|
|
if (result == DialogResult.OK)
|
|
|
|
|
box.Text = f.SelectedPath;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseFolder(TextBox box, string Name, string System)
|
|
|
|
|
{
|
2012-09-29 20:00:00 +00:00
|
|
|
|
folderBrowserDialog1.Description = "Set the directory for " + Name;
|
|
|
|
|
folderBrowserDialog1.SelectedPath = PathManager.MakeAbsolutePath(box.Text, System);
|
|
|
|
|
DialogResult result = folderBrowserDialog1.ShowDialog();
|
2011-06-19 23:39:25 +00:00
|
|
|
|
if (result == DialogResult.OK)
|
2012-09-29 20:00:00 +00:00
|
|
|
|
{
|
|
|
|
|
box.Text = folderBrowserDialog1.SelectedPath;
|
|
|
|
|
}
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseWatch_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(WatchBox, WatchDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(BasePathBox, BaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseAVI_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AVIBox, AVIDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseLua_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(LuaBox, LuaDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseMovies_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(MoviesBox, MoviesDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseNESBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESBaseBox, NESBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseNESROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESROMsBox, NESROMsDescription.Text, "NES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseNESSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESSavestatesBox, NESSavestatesDescription.Text, "NES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseNESSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESSaveRAMBox, NESSaveRAMDescription.Text, "NES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseNESScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESScreenshotsBox, NESScreenshotsDescription.Text, "NES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void NESBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESCheatsBox, NESCheatsDescription.Text, "NES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8BaseBox, Sega8BaseDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8ROMsBox, Sega8ROMsDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8SavestatesBox, Sega8SavestatesDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8SaveRAMBox, Sega8SaveRAMDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8ScreenshotsBox, Sega8ScreenshotsDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Sega8BrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(Sega8CheatsBox, Sega8CheatsDescription.Text, "SMS");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisBaseBox, GenesisBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisROMsBox, GenesisROMsDescription.Text, "GEN");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisSavestatesBox, GenesisSavestatesDescription.Text, "GEN");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisSaveRAMBox, GenesisSaveRAMDescription.Text, "GEN");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisScreenshotsBox, GenesisScreenshotsDescription.Text, "GEN");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenesisBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GenesisCheatsBox, GenesisCheatsDescription.Text, "GEN");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCEBaseBox, PCEBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCEROMsBox, PCEROMsDescription.Text, "PCE");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCESavestatesBox, PCESavestatesDescription.Text, "PCE");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCESaveRAMBox, PCESaveRAMDescription.Text, "PCE");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCEScreenshotsBox, PCEScreenshotsDescription.Text, "PCE");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(PCECheatsBox, PCECheatsDescription.Text, "PCE");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBBaseBox, GBBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBROMsBox, GBROMsDescription.Text, "GB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBSavestatesBox, GBSavestatesDescription.Text, "GB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBSaveRAMBox, GBSaveRAMDescription.Text, "GB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBScreenshotsBox, GBScreenshotsDescription.Text, "GB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GBBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBCheatsBox, GBCheatsDescription.Text, "GB");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83BaseBox, TI83BaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83ROMsBox, TI83ROMsDescription.Text, "TI83");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83SavestatesBox, TI83SavestatesDescription.Text, "TI83");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83SaveRAMBox, TI83SaveRAMDescription.Text, "TI83");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83ScreenshotsBox, TI83ScreenshotsDescription.Text, "TI83");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void TI83BrowseBox_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(TI83CheatsBox, TI83CheatsDescription.Text, "TI83");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGBaseBox, GGBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGROMBox, GGROMsDescription.Text, "GG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGSavestatesBox, GGSavestatesDescription.Text, "GG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGSaveRAMBox, GGSaveRAMDescription.Text, "GG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGScreenshotsBox, GGScreenshotsDescription.Text, "GG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GGBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GGCheatsBox, GGCheatsDescription.Text, "GG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGBaseBox, SGBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGROMsBrowse_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGROMsBox, SGROMsDescription.Text, "SG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGSavestatesBox, SGSavestatesDescription.Text, "SG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGSaveRAMBox, SGSaveRAMDescription.Text, "SG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGScreenshotsBox, SGScreenshotsDescription.Text, "SG");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SGBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SGCheatsBox, SGCheatsDescription.Text, "SG");
|
|
|
|
|
}
|
2011-06-11 16:22:48 +00:00
|
|
|
|
|
|
|
|
|
private void NESBrowsePalette_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(NESPaletteBox, NESPaletteDescription.Text, "NES");
|
|
|
|
|
}
|
2011-06-30 02:00:01 +00:00
|
|
|
|
|
2012-03-19 02:12:43 +00:00
|
|
|
|
private void BrowseAtariBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariBaseBox, AtariBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseAtariROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariROMsBox, AtariROMsDescription.Text, "Atari");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseAtariSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariSavestatesBox, AtariSavestatesDescription.Text, "Atari");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseAtariSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariSaveRAMBox, AtariSaveRAMDescription.Text, "Atari");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseAtariScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariScreenshotsBox, AtariScreenshotsDescription.Text, "Atari");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void AtariBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(AtariCheatsBox, AtariCheatsDescription.Text, "Atari");
|
|
|
|
|
}
|
2012-09-07 06:18:58 +00:00
|
|
|
|
|
|
|
|
|
private void INTVBrowseBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVBaseBox, INTVBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVRomsBox, INTVROMsDescription.Text, "INTV");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVSavestatesBox, INTVSavestatesDescription.Text, "INTV");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseSaveRAM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVSaveRAMBox, INTVSaveRAMDescription.Text, "INTV");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseScreenshots_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVScreenshotsBox, INTVScreenshotsDescription.Text, "INTV");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(INTVCheatsBox, INTVCheatsDescription.Text, "INTV");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BrowseForBios(string filter, string config, TextBox tb)
|
|
|
|
|
{
|
|
|
|
|
OpenFileDialog ofd = new OpenFileDialog();
|
|
|
|
|
ofd.InitialDirectory = Path.GetDirectoryName(config);
|
|
|
|
|
ofd.Filter = filter;
|
|
|
|
|
ofd.FileName = Path.GetFileName(config);
|
|
|
|
|
|
|
|
|
|
var result = ofd.ShowDialog();
|
|
|
|
|
if (result != DialogResult.OK)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (File.Exists(ofd.FileName) == false)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
tb.Text = ofd.FileName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void INTVBrowseEROM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseForBios(
|
2012-09-07 06:36:23 +00:00
|
|
|
|
"Intellivision EROM (*.bin; *.int)|*.bin;*.int|All Files|*.*",
|
2012-09-07 06:18:58 +00:00
|
|
|
|
Global.Config.PathINTVEROM,
|
|
|
|
|
INTVEROMBox);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void INTVBroseGROM_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseForBios(
|
2012-09-07 06:36:23 +00:00
|
|
|
|
"Intellivision GROM (*.bin; *.int)|*.bin;*.int|All Files|*.*",
|
2012-09-07 06:18:58 +00:00
|
|
|
|
Global.Config.PathINTVGROM,
|
|
|
|
|
INTVGROMBox);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void PCEBrowseBios_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseForBios(
|
|
|
|
|
"PCE CD BIOS (*.pce)|*.pce|All Files|*.*",
|
|
|
|
|
Global.Config.PathPCEBios,
|
|
|
|
|
PCEBiosBox);
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-13 00:44:17 +00:00
|
|
|
|
private void BrowseMovieBackups_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(MovieBackupsBox, MovieBackupsDescription.Text);
|
|
|
|
|
}
|
2012-09-15 18:15:55 +00:00
|
|
|
|
|
|
|
|
|
private void GBBrowsePalettes_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(GBPalettesBox, GBPalettesDescription.Text);
|
|
|
|
|
}
|
2012-09-22 19:58:58 +00:00
|
|
|
|
|
|
|
|
|
private void BrowseSNESBase_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESBaseBox, SNESBaseDescription.Text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseSNESROMs_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESROMsBox, SNESROMsDescription.Text, "SNES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BrowseSNESSavestates_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESSavestatesBox, SNESSavestatesDescription.Text, "SNES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void button5_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESSaveRAMBox, SNESSaveRAMDescription.Text, "SNES");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SNESBrowseCheats_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESCheatsBox, SNESCheatsDescription.Text, "SNES");
|
|
|
|
|
}
|
2012-09-26 15:59:14 +00:00
|
|
|
|
|
2012-09-27 07:27:47 +00:00
|
|
|
|
private void SNESBrowseFirmwares_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(SNESFirmwaresBox, SNESFirmwaresDescription.Text);
|
|
|
|
|
}
|
2012-09-30 16:50:00 +00:00
|
|
|
|
|
|
|
|
|
private void BrowseLog_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
BrowseFolder(LogBox, LogDescription.Text);
|
|
|
|
|
}
|
2012-10-05 00:49:04 +00:00
|
|
|
|
|
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
new PathInfo().Show();
|
|
|
|
|
}
|
2011-06-19 23:39:25 +00:00
|
|
|
|
}
|
2011-05-01 18:17:04 +00:00
|
|
|
|
}
|