Kyrandia compress_kyra.exe Command Line

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
keirondrk
Posts: 12
Joined: Thu Mar 16, 2006 7:19 pm

Kyrandia compress_kyra.exe Command Line

Post by keirondrk »

hi there,

just trying to make compressed versions of my games for portable use, located and understand the usage of compress_kyra.exe

just really put off by having to type a line for each and every vrm
file.. eakkk... (batch processing)

just wondered if anyone knows a possible command line which will process all of the vrms via compress_kyra.exe automatically. :lol:

I did find a line on the forums but unfortunately it did not work, the feeble file examples worked perfectly which i'm veryyyy greatful for because that would have been a nightmare :D ...

used dos for a lonngg time but I must admit I never quite got into that kind of command line work, my if statement's and the like are very basic.

ScummVM's such a awsome piece of programming.... look forward to seeing them old great adventures appearing in it over the future months :) (big larry fan, and they just don't make games like these anymore!!!)

Thankk youuuu
whatever
Posts: 27
Joined: Fri Jun 30, 2006 5:21 pm

Post by whatever »

windows/dos:

Code: Select all

mkdir compressed
for %d in (*.vrm) do compress_kyra.exe "%d" "compressed\%d"
note: you have to use %%d instead of %d if you put this in a .bat file.


linux/bash:

Code: Select all

mkdir compressed
for d in *.vrm; do ./compress_kyra "$d" "compressed/$d"; done
keirondrk
Posts: 12
Joined: Thu Mar 16, 2006 7:19 pm

Post by keirondrk »

excellent thank you :)... its working away now... I shall keep that for reference for later alteration if needed...
Post Reply