Skip to content

Could you add a small script utility to "optimize audio" with some settings #41

Description

@i30817

You explain how to do it in the read me, but of course, users like me are lazy and greedy.

I'd like something which can:

  1. start scanning from a base dir for vox files (and maybe Ags files if you're feeling cooler than cool)
  2. have a output dir in the same filesystem, but not inside the base dir
  3. inside that dir create the path for the parent dir of the vox files and hardlink every other file in the same dir and recursive ones that isn't a .vox file (so there is a complete game at the end without any unnecessary extra space without touching the original, no backupfile nonsense)
  4. uncompress to tmp, recompress those vox (and Ags if you're feeling supercool) files to the dirs expected (taking care to delete tmp files after recompress), using the readme levels for speech and audio.vox , script would need ffmpeg of course.
  5. optionally select a compression level of the pack file (vox \ ags file) (this is mostly to potentally keep the pack files recreated uncompressed so a filesystem like squashfs zstd or lz4 can compress better the final result by using a better compression algorithm that Ags doesn't support over many files at a lower level).

This idea is of course, caused dby the dismay at the 132 gb Ags games dir (and a 100gb scummvm other games dir) I have now, like still wanting to play them in a 86gb free Android device. Assuming I can get RSAF to mount local squash files with another feature request (;P). Yes, I CAN play them with RSAF webdav, it's just slow.

I wouldn't be surprised if you didn't want to bother, but I suspect a thing like this will save a lot of time even for you if you start to manage a big Ags collection for a smaller space device.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions