Opened 17 years ago

Closed 16 years ago

Last modified 5 years ago

#8665 closed patch (outdated)

TOOLS: Automatic compression batch file for Windows

Reported by: bluegr Owned by: Kirben
Priority: normal Component: Tools
Version: Keywords:
Cc: Game:

Description

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.

Attachments (1)

compress.zip (2.2 KB ) - added by bluegr 17 years ago.
Automatic game compression batch file

Download all attachments as: .zip

Change History (6)

by bluegr, 17 years ago

Attachment: compress.zip added

Automatic game compression batch file

comment:1 by Kirben, 17 years ago

A GUI for the various tools is been worked on, see http://code.google.com/soc/scummvm/appinfo.html?csaid=45BC996D5A530EE4

So I'm not sure if this would be worth adding, as it would only be of use for the ScummVM 0.10.0 release.

comment:2 by fingolfin, 17 years ago

I concur with Kirben. Thought it might be nice to keep this item open for the time being, in case there are people interest it in it (after all it'll be some time till we have this new GUI frontend. Assuming it works out at all :-).

comment:3 by Kirben, 16 years ago

Closing as out of date, since the new GUI frontend has already been committed to SVN.

comment:4 by Kirben, 16 years ago

Owner: set to Kirben
Resolution: outdated
Status: newclosed

comment:5 by digitall, 5 years ago

Component: Tools
Note: See TracTickets for help on using tickets.