diff --git a/DynamicLib/NativeMethod.cs b/DynamicLib/NativeMethod.cs
index f117459..2d8523c 100644
--- a/DynamicLib/NativeMethod.cs
+++ b/DynamicLib/NativeMethod.cs
@@ -1,18 +1,18 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;
-public static class NativeMethod
+namespace RHLauncher.DynamicLib
{
- [DllImport("kernel32.dll", EntryPoint = "LoadLibrary")]
- public static extern int LoadLibrary(
- [MarshalAs(UnmanagedType.LPStr)] string lpLibFileName);
+ public static class NativeMethod
+ {
+ [DllImport("kernel32.dll", EntryPoint = "LoadLibrary")]
+ public static extern int LoadLibrary(
+ [MarshalAs(UnmanagedType.LPStr)] string lpLibFileName);
- [DllImport("kernel32.dll", EntryPoint = "GetProcAddress")]
- public static extern IntPtr GetProcAddress(int hModule,
- [MarshalAs(UnmanagedType.LPStr)] string lpProcName);
+ [DllImport("kernel32.dll", EntryPoint = "GetProcAddress")]
+ public static extern IntPtr GetProcAddress(int hModule,
+ [MarshalAs(UnmanagedType.LPStr)] string lpProcName);
- [DllImport("kernel32.dll", EntryPoint = "FreeLibrary")]
- public static extern bool FreeLibrary(int hModule);
+ [DllImport("kernel32.dll", EntryPoint = "FreeLibrary")]
+ public static extern bool FreeLibrary(int hModule);
+ }
}
diff --git a/DynamicLib/ZLibDll.cs b/DynamicLib/ZLibDll.cs
index 9b32186..e305a01 100644
--- a/DynamicLib/ZLibDll.cs
+++ b/DynamicLib/ZLibDll.cs
@@ -1,41 +1,39 @@
-using System;
-using System.Text;
-using System.Collections.Generic;
-using System.Runtime.InteropServices;
-using System.IO;
-using RHLauncher.DynamicLib;
+using System.Runtime.InteropServices;
-public static class ZLibDll
+namespace RHLauncher.DynamicLib
{
-
- //[DllImport("ZlibDll.dll", CallingConvention = CallingConvention.Cdecl)]
- //public static extern int Decompress(byte[] compressed_buffer, int compressed_size, byte[] decompressed_buffer, ref int decompressed_size);
-
- public delegate int DecompressDelegate(byte[] compressed_buffer, int compressed_size, byte[] decompressed_buffer, ref int decompressed_size);
- public static DecompressDelegate? Decompress = null;
-
- //[DllImport("ZlibDll.dll", CallingConvention = CallingConvention.Cdecl)]
- //public static extern int Compress(byte[] decompressed_buffer, int decompressed_size, byte[] compressed_buffer, ref int compressed_size);
- public delegate int CompressDelegate(byte[] decompressed_buffer, int decompressed_size, byte[] compressed_buffer, ref int compressed_size);
- public static CompressDelegate? Compress = null;
-
- static ZLibDll()
+ public static class ZLibDll
{
- byte[] libBuffer = ResourceDll.ZlibDll;
- string dllPath = Path.Combine(Path.GetTempPath(), "ZlibDll.dll");
- try
+
+ //[DllImport("ZlibDll.dll", CallingConvention = CallingConvention.Cdecl)]
+ //public static extern int Decompress(byte[] compressed_buffer, int compressed_size, byte[] decompressed_buffer, ref int decompressed_size);
+
+ public delegate int DecompressDelegate(byte[] compressed_buffer, int compressed_size, byte[] decompressed_buffer, ref int decompressed_size);
+ public static DecompressDelegate? Decompress = null;
+
+ //[DllImport("ZlibDll.dll", CallingConvention = CallingConvention.Cdecl)]
+ //public static extern int Compress(byte[] decompressed_buffer, int decompressed_size, byte[] compressed_buffer, ref int compressed_size);
+ public delegate int CompressDelegate(byte[] decompressed_buffer, int decompressed_size, byte[] compressed_buffer, ref int compressed_size);
+ public static CompressDelegate? Compress = null;
+
+ static ZLibDll()
{
- File.WriteAllBytes(dllPath, libBuffer);
+ byte[] libBuffer = ResourceDll.ZlibDll;
+ string dllPath = Path.Combine(Path.GetTempPath(), "ZlibDll.dll");
+ try
+ {
+ File.WriteAllBytes(dllPath, libBuffer);
+ }
+ catch { }
+
+ int hModule = NativeMethod.LoadLibrary(dllPath);
+ if (hModule == 0) return;
+
+ IntPtr intPtr = NativeMethod.GetProcAddress(hModule, "Decompress");
+ Decompress = (DecompressDelegate)Marshal.GetDelegateForFunctionPointer(intPtr, typeof(DecompressDelegate));
+
+ intPtr = NativeMethod.GetProcAddress(hModule, "Compress");
+ Compress = (CompressDelegate)Marshal.GetDelegateForFunctionPointer(intPtr, typeof(CompressDelegate));
}
- catch { }
-
- int hModule = NativeMethod.LoadLibrary(dllPath);
- if (hModule == 0) return;
-
- IntPtr intPtr = NativeMethod.GetProcAddress(hModule, "Decompress");
- Decompress = (DecompressDelegate)Marshal.GetDelegateForFunctionPointer(intPtr, typeof(DecompressDelegate));
-
- intPtr = NativeMethod.GetProcAddress(hModule, "Compress");
- Compress = (CompressDelegate)Marshal.GetDelegateForFunctionPointer(intPtr, typeof(CompressDelegate));
}
}
\ No newline at end of file
diff --git a/Resources.rar b/PSD Resources.rar
similarity index 95%
rename from Resources.rar
rename to PSD Resources.rar
index d22a5e2..76df0b7 100644
Binary files a/Resources.rar and b/PSD Resources.rar differ
diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs
index 3b41298..becca4a 100644
--- a/Properties/Resources.Designer.cs
+++ b/Properties/Resources.Designer.cs
@@ -110,6 +110,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap button_login_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("button_login_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -120,6 +130,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap button_login_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("button_login_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -170,6 +190,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap button_register_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("button_register_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -180,6 +210,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap button_register_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("button_register_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -190,6 +230,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap button_register_normal_ko {
+ get {
+ object obj = ResourceManager.GetObject("button_register_normal_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -200,6 +250,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap ChangePwwnd_button_email_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("ChangePwwnd_button_email_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -210,6 +270,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap ChangePwwnd_button_email_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("ChangePwwnd_button_email_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -220,6 +290,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap ChangePwwnd_button_email_normal_ko {
+ get {
+ object obj = ResourceManager.GetObject("ChangePwwnd_button_email_normal_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -470,6 +550,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap messagewnd_button_ok_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("messagewnd_button_ok_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -480,6 +570,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap messagewnd_button_ok_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("messagewnd_button_ok_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -490,6 +590,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap messagewnd_button_ok_normal_ko {
+ get {
+ object obj = ResourceManager.GetObject("messagewnd_button_ok_normal_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -500,6 +610,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwnd_button_continue_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwnd_button_continue_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -510,6 +630,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwnd_button_continue_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwnd_button_continue_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -520,6 +650,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwnd_button_continue_normal_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwnd_button_continue_normal_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -530,6 +670,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwndwnd_button_sendemail_active_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwndwnd_button_sendemail_active_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -540,6 +690,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwndwnd_button_sendemail_down_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwndwnd_button_sendemail_down_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
@@ -550,6 +710,16 @@ namespace RHLauncher.Properties {
}
}
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap Registerwndwnd_button_sendemail_normal_ko {
+ get {
+ object obj = ResourceManager.GetObject("Registerwndwnd_button_sendemail_normal_ko", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
diff --git a/Properties/Resources.resx b/Properties/Resources.resx
index 487d1fd..2372aed 100644
--- a/Properties/Resources.resx
+++ b/Properties/Resources.resx
@@ -133,9 +133,15 @@
..\Resources\buttons\button_login_active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\button_login_active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\button_login_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\button_login_down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\button_login_normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -151,21 +157,39 @@
..\Resources\buttons\button_register_active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\button_register_active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\button_register_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\button_register_down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\button_register_normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\button_register_normal_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\ChangePwwnd.button.email.active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\ChangePwwnd_button_email_active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\ChangePwwnd.button.email.down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\ChangePwwnd_button_email_down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\ChangePwwnd.button.email.normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\ChangePwwnd_button_email_normal_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\bg\character_select_cut_angela.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -238,33 +262,60 @@
..\Resources\buttons\messagewnd.button.ok.active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\messagewnd.button.ok.active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\messagewnd.button.ok.down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\messagewnd.button.ok.down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\messagewnd.button.ok.normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\messagewnd.button.ok.normal_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\bg\message_bkg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\buttons\Registerwndwnd.button.sendemail.active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwndwnd_button_sendemail_active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\Registerwndwnd.button.sendemail.down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwndwnd_button_sendemail_down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\Registerwndwnd.button.sendemail.normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwndwnd_button_sendemail_normal_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\Registerwnd.button.continue.active.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwnd_button_continue_active_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\Registerwnd.button.continue.down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwnd_button_continue_down_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\buttons\Registerwnd.button.continue.normal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\buttons\Registerwnd_button_continue_normal_ko.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\icons\tips_error.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
diff --git a/README.md b/README.md
index c88a0f0..92be8da 100644
--- a/README.md
+++ b/README.md
@@ -10,12 +10,18 @@
## Introduction
Rusty Hearts Launcher is a custom launcher for the Rusty Hearts game client. It provides several features, including self-updating, automatic game updates, account registration, and a news window.
+## Preview
+
+
+
+
+
+
## Table of Contents
* [Features](#features)
* [Setup](#setup)
* [Prerequisites for Building Locally/Development](#prerequisites-for-building-locallydevelopment)
* [System Requirements for Ready-to-use build](#system-requirements-for-ready-to-use-build)
-* [Preview](#preview)
* [License](#license)
* [Contributing](#contributing)
* [FAQ](#faq)
@@ -34,12 +40,12 @@ The launcher require the [Rusty Hearts API](https://github.com/JuniorDark/RustyH
### API URL
-In order for the launcher to work it need to be conected to the api. To change the URL address of the launcher API open the config.ini (it will be created when opening the launcher for the first time).
+In order for the launcher to work it need to be conected to the api. To change the URL address of the launcher API open the Config.ini (it will be created when opening the launcher for the first time).
The default URL for the api can be changed on IniFile.cs
### Client region
-The client region can be set on Service on config.ini
+The client region can be set on Service on Config.ini
* **usa** (PWE) - Full api support
* **chn** (Xunlei) - Only launcher support
@@ -54,10 +60,16 @@ In order to create client patches, you need to use the `patch` directory of the
The tool for creating the patch files is available in the repository: https://github.com/JuniorDark/RustyHearts-MIPTool
-### Launcher customization
-If you want to change the text on the launcher the strings can be found on LocalizedStrings.resx resource file.
+### Launcher Language
+The launcher language can be set on `Lang` on Config.ini
-If you want to change the text on the buttons/images used in the launcher you can use the Photoshop .psd files included in the Resources.rar
+* **en** - English (en-US) default language
+* **ko** - Korean ("ko-KR) (Machine Translated)
+
+### Launcher customization
+If you want to add a new language create a LocalizedStrings..resx with for the desired language. The english strings can be found on LocalizedStrings.resx resource file.
+
+If you want to change the text on the buttons/images used in the launcher you can use the Photoshop .psd files included in the PSD Resources.rar
## Prerequisites for Building Locally/Development
The launcher is built in .NET 7 and as such, the packages listed below are required to create a local and development build of the launcher. Furthermore, it uses many submodules and packages outside of this, which will automatically be loaded when the user sets up a local environment of the application.
@@ -69,12 +81,6 @@ The launcher is built in .NET 7 and as such, the packages listed below are requi
* OS: Windows 10 1809 Update (build 17763) or later / Windows 11 (Any builds)
* Architecture: x64/AMD64
-## Preview
-
-
-
-
-
## License
This project is licensed under the terms found in [`LICENSE-0BSD`](LICENSE).
@@ -100,4 +106,3 @@ If you need help with the launcher, please submit an issue on GitHub.
## Roadmap
* Add support for client download/repair
* Improve performance and stability
-* Add support for additional languages
diff --git a/RHLauncher.ChangePwd/ChangePwd.Designer.cs b/RHLauncher.ChangePwd/ChangePwd.Designer.cs
index f0a3d0e..e3e54b9 100644
--- a/RHLauncher.ChangePwd/ChangePwd.Designer.cs
+++ b/RHLauncher.ChangePwd/ChangePwd.Designer.cs
@@ -67,6 +67,9 @@
SubTitleLabelS2 = new Label();
TitleLabelS2 = new Label();
imageListTips = new ImageList(components);
+ imageListSendEmailBtn_ko = new ImageList(components);
+ imageListContinueBtn_ko = new ImageList(components);
+ imageListOKBtn_ko = new ImageList(components);
Stage1Panel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)EmailPictureBox).BeginInit();
((System.ComponentModel.ISupportInitialize)CodePictureBox).BeginInit();
@@ -594,6 +597,33 @@
imageListTips.Images.SetKeyName(0, "tips_error.png");
imageListTips.Images.SetKeyName(1, "tips_ok.png");
//
+ // imageListSendEmailBtn_ko
+ //
+ imageListSendEmailBtn_ko.ColorDepth = ColorDepth.Depth32Bit;
+ imageListSendEmailBtn_ko.ImageStream = (ImageListStreamer)resources.GetObject("imageListSendEmailBtn_ko.ImageStream");
+ imageListSendEmailBtn_ko.TransparentColor = Color.Transparent;
+ imageListSendEmailBtn_ko.Images.SetKeyName(0, "ChangePwwnd_button_email_normal_ko.png");
+ imageListSendEmailBtn_ko.Images.SetKeyName(1, "ChangePwwnd_button_email_active_ko.png");
+ imageListSendEmailBtn_ko.Images.SetKeyName(2, "ChangePwwnd_button_email_down_ko.png");
+ //
+ // imageListContinueBtn_ko
+ //
+ imageListContinueBtn_ko.ColorDepth = ColorDepth.Depth32Bit;
+ imageListContinueBtn_ko.ImageStream = (ImageListStreamer)resources.GetObject("imageListContinueBtn_ko.ImageStream");
+ imageListContinueBtn_ko.TransparentColor = Color.Transparent;
+ imageListContinueBtn_ko.Images.SetKeyName(0, "Registerwnd_button_continue_normal_ko.png");
+ imageListContinueBtn_ko.Images.SetKeyName(1, "Registerwnd_button_continue_active_ko.png");
+ imageListContinueBtn_ko.Images.SetKeyName(2, "Registerwnd_button_continue_down_ko.png");
+ //
+ // imageListOKBtn_ko
+ //
+ imageListOKBtn_ko.ColorDepth = ColorDepth.Depth32Bit;
+ imageListOKBtn_ko.ImageStream = (ImageListStreamer)resources.GetObject("imageListOKBtn_ko.ImageStream");
+ imageListOKBtn_ko.TransparentColor = Color.Transparent;
+ imageListOKBtn_ko.Images.SetKeyName(0, "messagewnd.button.ok.normal.png");
+ imageListOKBtn_ko.Images.SetKeyName(1, "messagewnd.button.ok.active.png");
+ imageListOKBtn_ko.Images.SetKeyName(2, "messagewnd.button.ok.down.png");
+ //
// ChangePwd
//
AutoScaleDimensions = new SizeF(7F, 15F);
@@ -664,5 +694,8 @@
private Label TimerLabel;
private ImageList imageListContinueBtn;
private Label PwdStrengthLabel;
+ private ImageList imageListSendEmailBtn_ko;
+ private ImageList imageListContinueBtn_ko;
+ private ImageList imageListOKBtn_ko;
}
}
\ No newline at end of file
diff --git a/RHLauncher.ChangePwd/ChangePwd.cs b/RHLauncher.ChangePwd/ChangePwd.cs
index e84fa35..0bbb21a 100644
--- a/RHLauncher.ChangePwd/ChangePwd.cs
+++ b/RHLauncher.ChangePwd/ChangePwd.cs
@@ -12,6 +12,11 @@ namespace RHLauncher
public string SendPasswordCodeUrl = Configuration.Default.SendPasswordCodeUrl;
public string VerifyCodeUrl = Configuration.Default.VerifyCodeUrl;
public string ChangePasswordUrl = Configuration.Default.ChangePasswordUrl;
+ public string Lang = Configuration.Default.Lang;
+ private List