Skip to content

Releases: michael811125/OxGFrame

Release v2.1.5

30 May 18:03
Compare
Choose a tag to compare

[2.1.5] - 2023-05-30

  • Added Singleton Utility.
  • Can install via git (Organized Samples).

Release v2.1.4

15 May 14:48
Compare
Choose a tag to compare

[2.1.4] - 2023-05-15

  • Added DownloadSpeedCalculator (using OxGFrame.AssetLoader.Utility).
var packageName = "DlcPackage";
bool isInitialized = await AssetPatcher.InitDlcPackage(packageName, "dlcVersion", true);
if (isInitialized)
{
    var package = AssetPatcher.GetPackage(packageName);
    var downloader = AssetPatcher.GetPackageDownloader(package);
    // Create a DownloadSpeedCalculator to helps calculate download speed
    var downloadSpeedCalculator = new DownloadSpeedCalculator();
    downloader.OnDownloadProgressCallback = downloadSpeedCalculator.OnDownloadProgress;
    downloadSpeedCalculator.onDownloadSpeedProgress = (totalCount, currentCount, totalBytes, currentBytes, speedBytes) =>
    {
        /*
         * Display download info
         */
    };
}
  • Added BeakpointFileSizeThreshold on PatchLauncher (default is 20 MB).

Release v2.1.3

13 May 11:32
Compare
Choose a tag to compare

[2.1.3] - 2023-05-13

  • Modified patch repair procedure (the repair only delete main default package cache files and local files).
  • Modified UnloadPackageAndClearCacheFiles() method has return value (true = Successed, false = Failed).
  • Added retry patch repair events (PatchEvents and UserEvents).

Release v2.1.2

12 May 19:25
Compare
Choose a tag to compare

[2.1.2] - 2023-05-13

  • Added UI supports Reverse Changes feature (can auto hide last UI and show back).
  • Added InitInstance() method for CoreFrames and MediaFrames.
  • Added audio and video can adjust volume via API param.
  • Added GetAudioSource() method for AudioBase.
  • Added GetVideoPlayer() method for VideoBase.
  • Added IsResourcePack() and IsBundlePack() methods for AssetObject.
  • Modified API description and optimized params.
  • Modified all Monobehaviour Managers will group together.
  • Optimized cache.
  • Optimized Examples code.

Release v2.1.1

08 May 13:27
Compare
Choose a tag to compare

[2.1.1] - 2023-05-08

  • Fixed init package bug issue (only HostMode needs burlconfig.conf).
  • Optimized code (editor).

Release v2.1.0

06 May 09:34
Compare
Choose a tag to compare

[2.1.0] - 2023-05-06

  • Added version encode methods in BundleUtility.
  • Added semantic version check rule (supported compare rule is X.Y.Z or X.Y).
  • Added export individual DLC package option in Bundle Config Generator (allow export specific DLC package version and download by specific DLC package version).
    • Specific DLC Version: CDN/productName/platform/DLC/DlcPackage/v1.0...v1.1 (InitDlcPackage assign dlcVersion is "v1.0" or "v1.1")
    • Newest DLC Version: CDN/productName/platform/DLC/DlcPackage/newest (InitDlcPackage assign fixed dlcVersion is "newest")
  • Added DLC request default path rule (CDN/productName/platform/DLC/packageName).
  • Added unload package and clear cache files method (can unload specific DLC package and clear files from Sandbox).
  • Added local sandbox query service for DLC.
  • Modified InitPackage and UpdatePackage methods return value are bool to make sure init or update status.
  • Extended GetPatchVersion has (encode, encodeLength, separator) params.
  • Fixed OfflineMode patch version is null or empty issue.
  • Fixed HostMode local app config won't update to write issue.

Release v2.0.6

04 May 15:29
Compare
Choose a tag to compare

[2.0.6] - 2023-05-04

  • Added HostMode can skip download step (force download while playing).
  • Extended AssetPatcher methods.
  • Modified patch repair procedure.
  • Fixed patch download progress handler bug (removed test code).

Release v2.0.5

02 May 12:35
Compare
Choose a tag to compare

[2.0.5] - 2023-05-02

  • Renamed AssetPatcher.GetPackageDownloaderByTags to AssetPatcher.GetPackageDownloader.
  • Extended CoreFrames.USFrame methods (LoadSingleSceneAsync and LoadAdditiveSceneAsync).
  • Extended load asset and download from specific package.
  • Optimized code.
// [Load asset and download from specific package]
var packageName = "OtherPackage";
await AssetPatcher.InitPackage(packageName, true, "127.0.0.1/package", "127.0.0.1/package");
var package = AssetPatcher.GetPackage(packageName);
var downloader = AssetPatcher.GetPackageDownloader(package);
Debug.Log($"Patch Size: {BundleUtility.GetBytesToString((ulong) downloader.TotalDownloadBytes)}");
await AssetLoaders.LoadAssetAsync<GameObject>(packageName, assetName);

Release v2.0.4

26 Apr 12:53
Compare
Choose a tag to compare

[2.0.4] - 2023-04-26

  • Renamed BeginInit be OnInit.
  • Combined InitOnceComponents and InitOnceEvents be OnBind (after bind will call this method) method.
  • Removed InitOnceComponents method.
  • Removed InitOnceEvents method.

Release v2.0.3

25 Apr 16:01
Compare
Choose a tag to compare

[2.0.3] - 2023-04-25

  • Fixed unload issue (When ref is zero will call package.UnloadUnusedAssets()).
  • Fixed progression calculate bug.
  • Fixed play mode init procedure bug.
  • Fixed cannot get GSIBase id issue.
  • Extended CoreFrames.UIFrame.Show.
  • Extended CoreFrames.GSFrame.Show.