Update links; Custom DVA error message
This commit is contained in:
+15011
-24580
File diff suppressed because it is too large
Load Diff
@@ -2,4 +2,5 @@
|
||||
Prop3=19,11
|
||||
[InternetShortcut]
|
||||
IDList=
|
||||
URL=https://notabug.org/nastys/PD-Loader/wiki/_pages
|
||||
URL=https://notabug.org/PDModdingCommunity/PD-Loader/wiki
|
||||
HotKey=0
|
||||
|
||||
@@ -159,6 +159,18 @@ void LoadDVA(std::wstring &path, LPCWSTR dir, LPCWSTR fileName)
|
||||
if (e != ERROR_DLL_INIT_FAILED) // in case dllmain returns false
|
||||
{
|
||||
std::wstring msg = L"Unable to load " + std::wstring(fileName) + L". Error: " + std::to_wstring(e);
|
||||
switch (e)
|
||||
{
|
||||
case 126:
|
||||
msg.append(L"\n\nIs the Microsoft Visual C++ Redistributable for Visual Studio 2019 (x64) installed?");
|
||||
break;
|
||||
case 998:
|
||||
msg.append(L"\n\nAre all dependencies installed?\nIf the problem persists, please disable this plugin.");
|
||||
break;
|
||||
default:
|
||||
msg.append(L"\n\nAre all dependencies installed?");
|
||||
}
|
||||
msg.append(L"\nPlease refer to the quick start guide or the wiki.");
|
||||
MessageBoxW(0, msg.c_str(), L"PD Loader", MB_ICONERROR);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -663,7 +663,7 @@ private: System::Void SaveSettings() {
|
||||
private: System::Void Ui_Load(System::Object^ sender, System::EventArgs^ e){
|
||||
}
|
||||
private: System::Void Button_Help_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
System::Diagnostics::Process::Start("https://notabug.org/nastys/PD-Loader/wiki");
|
||||
System::Diagnostics::Process::Start("https://notabug.org/PDModdingCommunity/PD-Loader/wiki");
|
||||
}
|
||||
private: System::Void Button_Launch_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
|
||||
@@ -750,7 +750,7 @@ private: System::Void button_Discord_Click(System::Object^ sender, System::Event
|
||||
System::Diagnostics::Process::Start("https://discord.gg/cvBVGDZ");
|
||||
}
|
||||
private: System::Void button_github_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
System::Diagnostics::Process::Start("https://notabug.org/nastys/PD-Loader");
|
||||
System::Diagnostics::Process::Start("https://notabug.org/PDModdingCommunity/PD-Loader");
|
||||
}
|
||||
private: System::Void button_Apply_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
SaveSettings();
|
||||
|
||||
Reference in New Issue
Block a user