diff --git a/BizHawk.MultiClient/BizHawk.MultiClient.csproj b/BizHawk.MultiClient/BizHawk.MultiClient.csproj index 48e08639e1..35e0fb8545 100644 --- a/BizHawk.MultiClient/BizHawk.MultiClient.csproj +++ b/BizHawk.MultiClient/BizHawk.MultiClient.csproj @@ -6,7 +6,7 @@ 9.0.30729 2.0 {DD448B37-BA3F-4544-9754-5406E8094723} - Exe + WinExe Properties BizHawk.MultiClient BizHawk.MultiClient @@ -14,6 +14,8 @@ 512 + false + corphawk.ico publish\ true Disk @@ -26,10 +28,8 @@ true 0 1.0.0.%2a - false false true - corphawk.ico true diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index 782591829c..3e9676a29f 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -66,12 +66,12 @@ namespace BizHawk.MultiClient //in order to allow late construction of this database, we hook up a delegate here to dearchive the data and provide it on demand //we could background thread this later instead if we wanted to be real clever NES.BootGodDB.GetDatabaseBytes = () => { - using (HawkFile NesCartFile = new HawkFile("NesCarts.7z").BindFirst()) + using (HawkFile NesCartFile = new HawkFile(PathManager.GetExePathAbsolute() + "\\NesCarts.7z").BindFirst()) return Util.ReadAllBytes(NesCartFile.GetStream()); }; Global.MainForm = this; - Database.LoadDatabase("gamedb.txt"); + Database.LoadDatabase(PathManager.GetExePathAbsolute() + "\\gamedb.txt"); SyncPresentationMode(); diff --git a/BizHawk.MultiClient/Program.cs b/BizHawk.MultiClient/Program.cs index b33b05dbb8..5adfc427ca 100644 --- a/BizHawk.MultiClient/Program.cs +++ b/BizHawk.MultiClient/Program.cs @@ -14,7 +14,7 @@ namespace BizHawk.MultiClient Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Global.Config = ConfigService.Load("config.ini"); + Global.Config = ConfigService.Load(PathManager.GetExePathAbsolute() + "\\config.ini"); try { Global.DSound = new DirectSound(); } catch {