broken sword 1 (was Re: Fwd: Re: Yaml)
Simon McVittie
smcv at debian.org
Fri Apr 24 08:07:26 UTC 2015
On 24/04/15 06:48, Alexandre Detiste wrote:
> I realized the rule I added for "Broken Sword 1" would only work
> with the exact same 'unofficial' archive I've downloaded,
> because the .sou files have been re-encoded as .sof (FLAC container),
> and this is not reproducible: the FLAC can varies,
> like gzip 0 to 9 compression level;
> even if the included sound wave are identical.
For FLAC specifically, we could actually avoid this, because FLAC
metadata includes the md5sum of the raw audio samples:
smcv at testament% metaflac --list 03\ Only\ Happy\ When\ It\ Rains.flac
METADATA block #0
type: 0 (STREAMINFO)
...
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 10424652
MD5 signature: 05dafccc1a343a5cf488f1cc8ad9687c
METADATA block #1
type: 4 (VORBIS_COMMENT)
...
I *think* that "MD5 signature" is invariant across different encodes of
the same raw samples (i.e. the actual data payload of a .wav, without
headers).
> Can you provide the sums from the original version
> so I can fix this ?
The one I have is some sort of budget re-release I think (Sold Out or
Xplosiv or similar). The presence of a Data.now directory suggests Sold
Out: my game media are in a box somewhere, so I can't immediately check
this.
Templates attached. This is the full CD contents, except the files that
g-d-p make-template automatically excludes, so they will need some
pruning. Perhaps we should exclude directories named /directx or
/data.now by default?
> There also exists various addons:
> http://www.scummvm.org/games/#sword1
If they're very small we could just bundle them in with the game data as
if they were required (even though strictly speaking they aren't), like
I do for the ioRTCW unofficial patch for RTCW.
Those could reasonably be expansions, but without automatic download
URLs unless either they are small, or we fix the bug where g-d-p is too
eager to download optional bits just because they're available.
> Fot the rest, g-d-p is in releasable state.
I'll try to get round to doing a round of review + upload soon.
S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cd1.yaml
Type: application/x-yaml
Size: 197423 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150424/e4dcf7da/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cd2.yaml
Type: application/x-yaml
Size: 33505 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150424/e4dcf7da/attachment-0003.bin>
More information about the Pkg-games-devel
mailing list