Skip to content

[Bug]: Error during a fresh installation of ZenlessZoneZero #907

Description

@People-11

Affected Version

1.84.6 Preview

Bug Behavior

When I disabled Sophon mode (as it is extremely slow in my region) and selected an empty directory for a fresh installation, the following error appeared after all the compressed files had been downloaded, preventing the installation from completing:

System.IndexOutOfRangeException: Cannot find an offset of the Central Directory
   at Hi3Helper.SimpleZipArchiveReader.ZipArchiveReader.FindCentralDirectoryOffsetAndSize(ReadOnlySpan`1) + 0xc2
   at Hi3Helper.SimpleZipArchiveReader.ZipArchiveReader.CreateFrom(Stream) + 0xff
   at CollapseLauncher.Interfaces.ProgressBase.GetArchiveUncompressedSizeManaged(Stream) + 0xe
   at CollapseLauncher.Interfaces.ProgressBase.GetSingleOrSegmentedUncompressedSize(GameInstallPackage asset) + 0x228
   at System.Linq.Enumerable.Sum[TSource,TResult,TAccumulator](IEnumerable`1, Func`2) + 0x56
   at CollapseLauncher.InstallManager.Base.InstallManagerBase.<StartPackageInstallationInner>d__72.MoveNext() + 0xe4
--- End of stack trace from previous location ---
   at CollapseLauncher.InstallManager.Zenless.ZenlessInstall.<StartPackageInstallationInner>d__15.MoveNext() + 0x164
--- End of stack trace from previous location ---
   at CollapseLauncher.InstallManager.Base.InstallManagerBase.<StartPackageInstallation>d__71.MoveNext() + 0x50
--- End of stack trace from previous location ---
   at CollapseLauncher.Pages.HomePage.<InstallGameDialog>d__59.MoveNext() + 0x5f8

Expected Behavior

In theory, it should extract all the files and generate a usable Config.ini file.

Steps to reproduce

  1. Disable Sophon download mode
  2. Choose a blank folder to install game
  3. Download all archives
  4. After verified all the archives, the error popups.

Related Issues

No response

Screenshot(s)

Image

Additional Information

log-2026-09-08-pre1.84.6-id1-18-53-59.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions