mirror of
https://github.com/JuniorDark/RustyHearts-Launcher.git
synced 2026-05-07 05:21:44 -04:00
Extended the localization system to easily include additional languages in the future
This commit is contained in:
parent
d5ec712d0f
commit
ae34584021
50 changed files with 45079 additions and 24129 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Newtonsoft.Json;
|
||||
using RHLauncher.DynamicLib;
|
||||
using RHLauncher.Helper;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -114,7 +115,7 @@ namespace RHLauncher.PCK
|
|||
string pathF00X = Path.Combine(installDirectory, "f00x.dat");
|
||||
if (File.Exists(pathF00X))
|
||||
{
|
||||
byte[] buffer = await File.ReadAllBytesAsync(pathF00X);
|
||||
byte[] buffer = await File.ReadAllBytesAsync(pathF00X, cancellationToken);
|
||||
int numDecompressed = buffer.Length << 4;
|
||||
byte[] decompressed = new byte[numDecompressed];
|
||||
int result = ZLibDll.Decompress(buffer, buffer.Length, decompressed, ref numDecompressed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue