tsunamods-codes/7th-Heaven

[Feature-Request] Archive updating support

barkermn01 opened this issue · 3 comments

Been talking with @chrcoluk

Update the Catalog XML to support archive updates. and the download & update system to use the new catalog XML

Recommended updates XML: based on a real item but removed bulk for simplicity
Added <Updates> section to <LatestVersion>

    <Mod>
      <ID>2b49d831-5445-41df-9ddb-id</ID>  
      <Author>Chrysalis</Author>
      <DonationLink>https://tinyurl.com/2p8ttbdy</DonationLink>
      <LatestVersion>
        <Link>iros://Url/http$chris.7thheaven.rocks/test/4312/ESUIdev.7z</Link>
          <Version>2.576</Version>
          <ReleaseDate>2022-10-09</ReleaseDate>
          <CompatibleGameVersions>All</CompatibleGameVersions>
          <PreviewImage>https://i.imgur.com/n4vnSx0.png</PreviewImage>
           <ReleaseNotes> * Removed* </ReleaseNotes>
          <DownloadSize>43928</DownloadSize>
          <ArchiveUpdates>
            <Patch version="2.578" patch="URL_to_patch_1.0.2_zip_file" />
            <Patch version="2.577" patch="URL_to_patch_1.0.1_zip_file" />
          </ArchiveUpdates>
      </LatestVersion>
      <Name>Test Name</Name>
      <Category>User Interface</Category>
      <Description></Description>
    </Mod>

Is this basically another way to tell 7th to download and apply a patch instead of an entire IRO if it's already found in the installed library?

@julianxhokaxhiu yeah but for archives, im looking at implementing it now, there is an IRO patching system currently there but ppl have problems with it

Thank you! Looking forward to the PR. Appreciated