8 Mar 2008 22:46
[pio-develop] Contributing a new theme
Aaron Williamson <aaron <at> copiesofcopies.org>
2008-03-08 21:46:42 GMT
2008-03-08 21:46:42 GMT
Hey Pioneers developers, I created a new theme for Pioneers that I would like to contribute to the project. What would be the best way to do that? Obviously a patch is sort of worthless, since there are binary images involved, but I'm not sure what your policy is about giving new people SVN access. I could just send the theme directory in a tarball if that would be easiest. About my theme (ccFlickr): all of the images used in the theme (apart from the background, which I ganked from Ubuntu) were found on Flickr, and are licensed under Creative Commons licenses that allow noncommercial derivative works to be made with them. The goal was to make an attractive theme with hexes that are colored so as to be recognizeable and distinguishable from one another at a glance. Thanks for your help! Aaron ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> While we're on the subject, I think it would be great if the themes
> could be decoupled from the executable, so that users could easily add
> themes that weren't included by default. Would any of the developers
> care to comment on how difficult this would be to accomplish?
They already are. I didn't look it up in the code, but I think it just
scans the directory ${pkgdatadir}/themes (on Debian, pkgdatadir is
configured as /usr/share/games/pioneers). The pngs in there are the
"Default" theme (which is no longer the default, I think, but doesn't
have a different name anyway). Any directory in there with a file named
theme.cfg should be used automatically.
There is a feature request to always scan the user's home directory as
well, so you don't need to be root to install games. The same is true
for themes, of course. For games, there is a workaround (running the
console server with the --file argument). There is no workaround for
themes that I am aware of (other than installing a private copy of the
game).
RSS Feed