Browse Source

fix the internal launcher to expect a different filename than the external one, so both can co-exist in the same folder

Internal launchers MUST now be called plUruLauncher, renaming them will break them!
as per request of branan in #64
diafero 14 years ago
parent
commit
87e228ca36
  1. 9
      Sources/Plasma/Apps/plClient/winmain.cpp
  2. 5
      Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp

9
Sources/Plasma/Apps/plClient/winmain.cpp

@ -116,19 +116,12 @@ static const unsigned AUTH_FAILED_TIMER = 2;
#define FAKE_PASS_STRING "********"
//============================================================================
// External patcher file
// External patcher file (directly starting plClient is not allowed)
//============================================================================
#ifdef PLASMA_EXTERNAL_RELEASE
static wchar s_patcherExeName[] = L"UruLauncher.exe";
//============================================================================
// Internal patcher file
//============================================================================
#else
static wchar s_patcherExeName[] = L"plUruLauncher.exe";
#endif // PLASMA_EXTERNAL_RELEASE
//============================================================================

5
Sources/Plasma/Apps/plClientPatcher/UruPlayer.cpp

@ -164,8 +164,11 @@ double ProcessManifestEntryParam::startTime = 0;
// IMPORTANT: This string may NEVER change. Doing so will break self-patching,
// leaving clients with older patchers "dead in the water", without
// a way to play Uru.
#ifdef PLASMA_EXTERNAL_RELEASE
const wchar kPatcherExeFilename[] = L"UruLauncher.exe";
#else
const wchar kPatcherExeFilename[] = L"plUruLauncher.exe";
#endif
//============================================================================

Loading…
Cancel
Save