TOOLS: Automatic compression batch file for Windows
|Reported by:||bluegr||Owned by:||Kirben|
I've made a batch file capable of automatically compressing the resources of all games currently supported by ScummVM. The only exception is the Feeble Files DXA files, but there's another batch file for those.
The necessary steps to run it are: 1) Open it and edit the "scummvm_tools_folder" variable at the very top. Set it to the folder where the ScummVM tools are located (e.g. "C:\Program Files\ScummVM\tools" - include the quotes around the path if the path contains whitespaces) 2) Copy it in the folder of the game you wish and run it
Options are: -mp3: MP3 compression -ogg: OGG compression -flac: FLAC compression
As it is a batch file, things can go wrong, so it's better to make a copy of the game folder you wish to compress, to avoid reinstalling the game if its data files get corrupted.
I haven't tested it thoroughly, and I've only tested MP3 compression. Currently, it doesn't parse any parameters to the compression tools (apart from the parameters to compress in MP3/OGG/FLAC), but the purpose of this tool is simplicity, so I thought that parsing custom parameters would make things more complicated
Feel free to test it and tell me if you like it and report any possible bugs you might find or suggestions :)
Ticket imported from: #1724551. Ticket imported from: patches/770.