Skip to content

Releases: CmlLib/CmlLib.Core

release 3.3.0

14 Jun 07:02
Compare
Choose a tag to compare

CmlLib.Core.3.3.0.zip
CmlLib.Core.dll for .NET 5.0 / .NET Framework 4.6.2 / .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Major changes:

Add JavaChecker

  • Support new java (java 16) to launch 1.17

Minor changes:

  • fix LocalVersionLoader throws exception when directory does not exists
  • allow empty GameOptionsFile
  • do not use any proxy settings to improve performance

v3.2.0

02 Jun 15:22
Compare
Choose a tag to compare

CmlLib.Core.3.2.0.zip
CmlLib.Core.dll for .NET 5.0 / .NET Framework 4.6.2 / .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Major changes:

Improve performance (much faster)

  • Add async apis (you don't need Thread anymore)
  • Use AsyncParallelDownloader as default downloader

Add IFileChecker, IDownloader

  • Seperate file checking / downloading
  • Add IFileChecker (AssetChecker, ClientChecker, LibraryChecker)
  • Add FileCheckerCollection
  • Add IDownloader (SequenceDownloader, AsyncParallelDownloader)

Customizable MinecraftPath

  • Now MinecraftPath does not create directories when it initialized.
  • Allow inheritance

Add new version system

  • Move namespace: CmlLib.Core.Files -> CmlLib.Core.Version, CmlLib.Core.VersionLoader
  • Add IVersionLoader (DefaultVersionLoader, LocalVersionLoader, MojangVersionLoader)
  • Update MVersionCollection

Minor changes:

  • Enable nullable
  • Update Changelogs: 80+ versions available
  • Update GameOptionsFile
  • Fire ChangeProgress event in AsyncParallelDownloader
  • Obsolete ParallelDownloader (use AsyncParallelDownloader)
  • Obsolete CmlLib.Core.Mojang.MojangAPI (use MojangAPI library)
  • Set WebRequest timeout to 20 seconds

v3.2.0-pre3

25 May 12:06
Compare
Choose a tag to compare
v3.2.0-pre3 Pre-release
Pre-release

v3.2.0-pre3

v3.2.0-pre2

30 Apr 07:44
Compare
Choose a tag to compare
v3.2.0-pre2 Pre-release
Pre-release
release 3.2.0-pre2

v3.2.0-pre1

08 Apr 18:18
Compare
Choose a tag to compare
v3.2.0-pre1 Pre-release
Pre-release

v3.2.0-pre1

v3.1.1

11 Feb 11:45
Compare
Choose a tag to compare

Files

CmlLib.Core.3.1.1.zip
CmlLib.Core.dll for .NET Framework 4.6.2, .NET 5.0, and .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Changelog 3.1.1

Add MLogin.TryAutoLoginFromMojangLauncher method
Add logo

Normalize game path when MinecraftPath is initialized
Make MLogin.SaveSession public

release 3.1.0

27 Dec 12:11
Compare
Choose a tag to compare

Files

CmlLib.Core.3.1.0.zip
CmlLib.Core.dll for .NET Framework 4.6.2, .NET 5.0, and .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Changelog 3.1.0

Support .NET 5.0
Add Feature : Microsoft Xbox Minecraft Login (see wiki)
Add Feature : Mojang APIs (see wiki)
Add XboxLoginTest project
Add feature : Mojang launcher files (launcher_profiles.json, launcher_accounts.json)

Make set properties public in MSession
Improve parallel downloaders
Protected and Virtual methods in MinecraftPath. you can change game dir structure
Instant methods in MVersionLoader

release 3.0.0

25 Aug 16:14
Compare
Choose a tag to compare

Files

CmlLib.Core.3.0.0.zip
CmlLib.Core.dll for .NET Framework 4.6.2 and .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Changelog 3.0.0

Change name: Profile to Version

  • MProfile to MVersion
  • MProfileMetadata to MVersionMetadata
  • MProfileType to MVersionType
  • GetProfiles, UpdateProfiles to GetAllVersion, UpdateVersion

It prevents confusion between MLauncherProfile and MProfile

Make Namespaces:

  • CmlLib.Core.Auth
  • CmlLib.Core.Downloader
  • CmlLib.Core.LauncherProfile
  • CmlLib.Core.Version

Change name: Minecraft class to MinecraftPath class
Add MLoginResponse class and now MLogin methods return this object
Add IsLocalProfile and obsolete IsWeb field in MVersionMetadata
Add MVersionMetadataCollection class and MVersionLoader return this
Support new Forge Installer

Do not fire DownloadFileChangedEvent when file size is under 1MB. to improve performance
Throw MDownloadFileException when MDownloader failed to download file. and this exception contains file information
Improve version json parser: handle null classifiers, null assetIndex
Make the constructor of MSession public

Add MParallelDownloader class.
Add MLauncherProfile
Add MVersionMetadataCollection and parse LatestReleaseVersion and LatestSnapshotVersion
Add MojangServerStatus class
Add GameOptionsFile class
Add PackageName class
Add ProcessUtil class
Add JarFile class

pre-release 3.0.0-alpha3

24 Aug 17:11
Compare
Choose a tag to compare
Pre-release

pre release 3.0.0 alpha 3

README for 3.0.0

release 2.0.2

31 May 12:13
Compare
Choose a tag to compare

Files

CmlLib.Core.2.0.2.zip
CmlLib.Core.dll for .NET Framework 4.6.2 and .NET Core 3.1
or use Nuget package 'CmlLib.Core'

SampleCoreLauncher.zip
Simple console sample launcher using .NET Core. unzip file and run CmlLibCoreSample.exe

SampleWinformLauncher.zip
GUI sample launcher using .NET Framework. unzip file and run CmlLibWinFormSample.exe

Changelog 2.0.2

fix some profile doesn't have any type information
fix NullReferenceException when CMLauncher doens't have any event handler