Skip to content

MaxPack 1.0.5

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:56
· 167 commits to main since this release
Immutable release. Only release title and notes can be modified.

MaxPack 1.0.5 for the PC: MaxPack now packs the images ShadowMountPlus mounts, .ffpkg (UFS2), .ffpfs (PFS) and .ffpfsc (a compressed PFS container), straight to a .p5z or a folder: no dumping again, no other tools and no temporary space. It reads them about as fast as an .exfat, and the game comes out with the same files and SHA-256s as from its folder. What a game saved is counted against the image file you had, never against the bigger game inside it. It also has everything in 1.0.4 (repair data).

Still being tested. Please try it with your games and tell us how it goes: report a bug or a tested game. The Copy report button fills in most of it.

System File
Windows maxpack-windows-x64-setup.exe (installer, no administrator rights) or maxpack-windows-x64-portable.zip
macOS, Apple silicon maxpack-macos-apple-silicon.dmg (or .tar.gz)
macOS, Intel maxpack-macos-intel.dmg (or .tar.gz)
Linux x64 maxpack-linux-x64.tar.gz

Verify a download: sha256sum -c SHA256SUMS, and gh attestation verify <file> -R DeLFuS77/maxpack proves it was built by this repository's workflow from tag v1.0.5.


Added

  • ShadowMountPlus images as the source (engine: pack, analyze and --levels, info, icon): besides dump folders and .exfat, MaxPack now packs .ffpkg (UFS2), .ffpfs (PFS, also with MkPFS's per-file compression) and .ffpfsc (a PFS container, usually PFSC-compressed, with an exFAT, UFS2 or PFS image inside, up to three deep). It reads them itself, read-only: nothing to mount, no other tool and no temporary space. What a file is comes from its contents, so a renamed image opens; the extension only words the message when it is none of them. The .p5z (or the folder for the console) is byte for byte that of the same game packed from its folder; the only thing that can differ is the files' dates, which are the ones the image gives (MkPFS writes the time it built the image, and 2024-01-01 in its exFAT images). A damaged or hostile image stops with the reason (truncated, loops, blocks out of range or used twice, sizes that overflow, PFSC blocks that do not inflate, odd names, links, devices, signed or encrypted PFS...). PKGs are still refused. Formats and checks: docs/source-images.md.
  • The PC window takes them too, everywhere it took an .exfat: dropping them, Add files (the dialogs of Windows, macOS and Linux show *.exfat;*.ffpkg;*.ffpfs;*.ffpfsc), Add folder and the folders it looks into, the command line, Send to and the right-click menu (they go to Compress, or to Details), Compress, Compare levels, Details and Rename. A game moves from its image to a .p5z (or a folder for the console) in one step, and with Delete the originals once checked the image is the original that goes. The extension only puts a file in a list: what it is comes from the engine.
    • Details says the kind in words in the 11 languages (exFAT, UFS2 or PFS image, or PFS container and the image inside it) and what the image file takes, with "PFSC compression" when it is compressed. Copy report says the kind ("PFS container (.ffpfsc) with an exFAT image inside, compressed"), never "dump folder", and no names or paths.
    • The room is the game's; the saving is against the image's file. The list and the space of the queue count the size of the game as the engine reads it (an .ffpfsc is usually smaller than the game in it, and may be smaller than what is made of it). What a game saved (under it, the card at the end, the notice, Copy report and its row for the compatibility list) is against the image's file on disk, what the disk gets back, never against the game; a dump folder is against the game. Compare levels also says, for a compressed image, what each level gives against its file ("vs your .ffpfsc: −8 %"), and says the savings are against the game in it. analyze and analyze --levels say the same in their text for a compressed image.
    • Rename keeps an image's extension, or gives a renamed one the extension of what it is, so its name says it (MaxPack for the console finds images by their extension). In Verify, anything that is not compressed (an image named as a .p5z too) says there is nothing to verify, as a dump folder does; Verify does not take images, as it never took an .exfat.
    • Windows Explorer: Compress with MaxPack on .ffpkg, .ffpfs and .ffpfsc too, for you only, off until you turn it on, and removed with it and on uninstall; it is only that entry, the program that opens them and their icon stay. A menu that MaxPack 1.0.4 or before wrote gets the new entries the first time the window opens. On macOS the app lists the three extensions among what it can open (as an alternate, never the default).
    • The window needs an engine that says images in --capabilities.
  • info --json adds inner (for a container, the image inside: exfat, ufs2 or pfs) and compressed, and kind can be ufs2, pfs or pfsc; analyze --json says the same in source.kind and source.inner; --capabilities has images.
  • Speed, on a 32-thread PC with an NVMe, for a generated 6 GB game (5,305 files) as an .exfat and a .ffpfsc made from it by MkPFS 1.1.0 (4.3 GB) and as an .ffpkg: reading it with every file's SHA-256, from the cache, 3192 MB/s from the .exfat, 3278 from the .ffpkg and 3058 from the .ffpfsc; from the disk (the cache emptied first), 2984, 2835 and 3033 MB/s. PFSC is inflated by the reading threads: an image that needs it is read by 16 instead of 4 (zlib inflates about 510 MB/s per thread; with 4 the .ffpfsc read at 1972 MB/s). Packing to a .p5z with all 32 threads takes the same from the three: 8.6 s at level 3 (median of three) and 28 to 30.5 s at level 19, where the compression is the limit; peak memory 1.03 GB (private), as from the .exfat.