[Kde-games-devel] Revised pixmap to svg script

Luciano Montanaro mikelima at cirulla.net
Sun Apr 19 11:11:52 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On mercoledì 15 aprile 2009, Parker Coates wrote:

>
> Thanks, Luciano. I too am short on time at the moment, but I think I
> should be able to at least get the decks converted before 4.3.
>

I just managed to read kde-related mail now...

> There was a problem with the ordering of the card suits and ranks,
> which I've fixed in the attached version. Other than that, it seems to
> work quite well.
>

I see, thanks, I didn't notice thee ordering for the pixmap cards was 
different than the one we use in our svg decks.

> > The attachents contain the revised script together with a sample
> > converted deck. The script does not (yet) provide a back card image for
> > the deck, basically because I've not yet looked at how that is specified.
>

What about putting it somewhere in SVN? I see there already is 
a "convertpysols" script there, we could add this one for reference as well.


> The back side is stored separately from the deck (although I'd like to
> see that changed). I might try to include that in the script, but I'm
> also terrified of Perl, so I'm making no guarantees. ;)

Well, I'm not terrified by perl, but I'm a bit rusty... I'm not using it so 
much these days. But adding the "right" back to the deck seems a boring 
task... if I understand it correctly, the deck contains a default back name, 
but that is not the name of the image, or the .desktop file associated with 
the back. It's some name defined in one of those .desktop files. So to find 
out the proper back, we have to scan the backs directory to fill out a hash 
map with the name-pixmap association.

Or we could just add another parameter to the script and rely on a volunteer 
to find out the right back...


Luciano


- -- 
Luciano Montanaro //
                \X/ mikelima at cirulla.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknq6tkACgkQaeOY6B53J4W8LACfYW9euYPjAKhu1zKpHfVCVzki
e9QAmgJ6xvNVBYNdkpl2Agf1KvUITVbc
=wNKu
-----END PGP SIGNATURE-----


More information about the kde-games-devel mailing list