Skip to content

Releases

sekai-exporter 0.2.5

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:33
6349dd2

sekai-exporter 0.2.5

Fixed

  • Stereo MP3 files play without gaps. The encoder writes every frame of a stereo stream in joint stereo mode, so the header mode no longer changes from frame to frame. Some decoders took that change as a new stream and silenced or corrupted the frame after it. The samples decode the same, and the encoder version stays 4.
  • Memory stays flat on Linux. mimalloc also serves the allocations of the C libraries the exporter links, such as libwebp, and gives freed memory back to the system. A run that encodes many images no longer grows until it runs out of memory.
  • A view published anew tells its changes. A view written whole while it already has a publication is compared whole with the version before, and every file that differs is recorded as added, removed or changed. A publication of the same version and revision written whole fills in the changes an earlier one left out.

Added

  • migrate joint-stereo rewrites the MP3 files of a site in joint stereo mode without encoding them again, and replaces the records that name them. Every new file is at the site before a record names it.
  • update --republish publishes the views anew from the records, even when the version is unchanged.
sekai-exporter migrate joint-stereo <output> [--config <file>] [--secrets <dir>] [--threads <n>]
sekai-exporter update <region>... <output> --config <file> --republish [--client]

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.5        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.5   update, gc and serve, with ffmpeg

0.2 and full-0.2 now name this release.

sekai-exporter 0.2.4

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:19
be4af22

sekai-exporter 0.2.4

Fixed

  • Costume colours are found. The textures of a colour bundle are matched by their _c, _s and _h suffixes in any case. costume-role documents now give the colors of each body and accessory, and the colour variations are no longer recorded as missing.
  • A table converter can have its assets built again. A converter now has a revision, which is part of the identity of its evaluation and of the digest that keeps an asset. costume-role and costume take revision 1, so the next update builds their assets again and keeps every other asset of the table stage. Converters without a revision keep their identity and their assets.

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.4        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.4   update, gc and serve, with ffmpeg

sekai-exporter 0.2.3

Choose a tag to compare

@github-actions github-actions released this 21 Nov 19:22
283728d

sekai-exporter 0.2.3

No output changes, and a site published with 0.2.2 stays as it is.

Added

  • script-table builds a script table for a client package. The layouts a script may have are the rows of other script tables and the type trees that distribution bundles store for their MonoBehaviour objects. For each script whose objects the package stores without a type tree, every layout is tried on all of those objects, and the script is kept with the one layout that reads every object to its last byte. Scripts with no such layout, or with several, are left out, and each script is printed with what became of it. The table it writes is what --script-table and the script_table of a package entry take.
sekai-exporter script-table <package> <output> --class-table <file>
    [--script-table <file>]... [--bundles <dir>]... [--threads <n>]

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.3        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.3   update, gc and serve, with ffmpeg

0.2 and full-0.2 now name this release.

sekai-exporter 0.2.2

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:41
a649a29

sekai-exporter 0.2.2

A patch release: no output changes, and a site published with 0.2.1 stays as it is.

Fixed

  • A run after an interrupted one no longer uploads again what it put in the bucket. While update stores objects in a bucket, it keeps a journal of the objects it has uploaded in state/uploads/, written at each commit and every five minutes. A run that stops before it finishes leaves the journal behind; the next run reads it and skips the objects listed there, and deletes the journal once it finishes. gc deletes journals left in the bucket.

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.2        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.2   update, gc and serve, with ffmpeg

0.2 and full-0.2 now name this release.

sekai-exporter 0.2.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:18
8a313f6

sekai-exporter 0.2.1

A patch release: no output changes, and a site published with 0.2.0 stays as it is.

Fixed

  • Publishing outlasts an outage of the bucket. A request that fails in a way that trying again can change (a dropped connection, a reply cut off, 408, 429, 499 or 5xx) is sent again for as long as a lease lasts, ten minutes, with pauses that double from one second up to a minute. Before, it was given up after five attempts over about 15 seconds, so an outage of a few minutes near the end of a long run failed it.
  • A lease that cannot be given up no longer fails the run. When deleting the lease file after the work fails, the lease is left to lapse and the run's own result stands; before, that error replaced it, reporting a finished publication as failed and hiding the error of a failed one.

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.1        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.1   update, gc and serve, with ffmpeg

0.2 and full-0.2 now name this release.

sekai-exporter 0.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 09:45
60144b4

sekai-exporter 0.2.0

The outputs change in this release, so the views of a site are published again after updating to it (see Versioning).

Forms

  • Virtual live timelines. The MC timelines of virtual lives are a new form, virtual-live-timeline: every object the timeline reaches, as the object document of scenario-prefab. The storage view now holds the scripts and the timelines of virtual lives as <file>.json.
  • Episodes (form version 3, document format 2) name, for each effect, its bundle, the scenario-prefab asset the game loads and the sounds of its bundle, and for each background shown by a prefab, the scenario-prefab asset of its build data.
  • Videos (mp4-h264-aac version 6) state their colour: BT.601 limited range with sRGB primaries and transfer, as the client draws the source movies.
  • Sprites (form version 3) name in their layout the atlas they are packed in, so sprites of one name in several atlases can be told apart.

Client packages

  • The Unity bundles a package ships in its streaming assets, such as the fonts of a client and bundles shipped ahead of download, are read as bundles of the package.
  • Roots in the built-in resource directories are named by their load path, and every root of a bundle with several serialized files gets a name of its own.

Updating a site

  • A lease on the site. update, each update of --watch and gc hold state/lease.json while they write a site, with conditional writes, so two runs never write one site at once. A lease that is not renewed for ten minutes is taken over; a run that loses its lease stops writing.
  • An asset whose recorded document the site no longer has is converted again, and an object neither the output nor the site has is put at the site again.
  • A download that crawls at the end of a batch is dropped and tried again on new connections.
  • Publishing reads the index shards of the previous publication in parallel, which matters when a change touches most directories of a view.
  • The status line of a run ends with how many conversions, encodings, transforms and stores have ended.

Releases

Each release attaches the command built with every feature for Linux (x86-64 and arm64, statically linked), Windows (x86-64) and macOS (arm64 and x86-64), and the container images are published for amd64 and arm64.

Container images

ghcr.io/starmoe-org/sekai-exporter:0.2.0        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.2.0   update, gc and serve, with ffmpeg

0.2 and full-0.2 follow the latest 0.2.x release.

Versioning

While the version is 0.x, a minor release changes the output formats or the fingerprints of derivations, and the views of a site are published again after updating to it. A patch release leaves them as they are.

sekai-exporter 0.1.0

Choose a tag to compare

@nichinichisou0609 nichinichisou0609 released this 19 Nov 16:01
3aab9d7

The first release of sekai-exporter: an exporter that reads the Unity asset bundles and client package of Project SEKAI COLORFUL STAGE! feat. Hatsune Miku, converts them into open formats, and keeps a published copy of every region up to date.

What it does

  • Converts whole assets into open formats: PNG, OpenEXR and WebP images, MP3 audio with cue tables, MP4 video, glTF models with skeletons, blend shapes and materials, Live2D models with physics and motions, and JSON documents for scenarios, episodes, virtual live scripts and the other forms in the specifications.
  • Updates regions incrementally. update fetches and converts only the bundles whose content changed, for the jp, en, cn, tw and kr distribution services and for client packages, and patches the published views where they changed. Several regions can be updated in one run, which shares what it knows of the store. With --watch, it keeps running and updates each region when its source changes.
  • Publishes atomic versions as three views over one content-addressed store: canonical, storage and client, each with a path index, a directory tree and a version history. The changes of each version list the files it added, removed and changed, and say for each whether its sources changed or only the conversion, so a game update can be told from a new conversion. A version that changes no file keeps the publication before it.
  • Stores locally or in S3. The store, the views and the state of each region live in a local directory or an S3-compatible bucket; a run needs nothing but the site from earlier runs.
  • Serves views by path with serve, a resolver with bounded memory and an HTTP server.
  • Collects garbage with gc, which reports what no published version refers to and deletes it with --delete. The records of earlier conversions are kept in packs that gc rewrites as they age.
  • Builds for WebAssembly, with object documents and store byte-identical to the native build.

Container images

ghcr.io/starmoe-org/sekai-exporter:0.1.0        serve
ghcr.io/starmoe-org/sekai-exporter:full-0.1.0   update, gc and serve, with ffmpeg

0.1 and full-0.1 follow the latest 0.1.x release. Each commit on main is also published under its first 12 hash characters, and as main and full.

Versioning

While the version is 0.x, a minor release changes the output formats or the fingerprints of derivations, and the views of a site are published again after updating to it. A patch release leaves them as they are.

Getting started

See the README for building and running, Using the published assets for readers of the files, Publishing for keeping a site up to date, and Serving for running the resolver.