Version: (using Devel) Installed from: Compiled sources If a puzzle relies on a slicer which is shipped by default with Palapeli, the size of the puzzle can greatly be reduced by not including the piece images in the puzzle file, but only the base image and the slicer job description. Action plan: 1. Puzzles can be compressed by removing the redundant information. This should preferably happen in a transparent way during export operations. 2. When Palapeli encounters a compressed puzzle file in its collection, it invokes the slicer automatically to inflate the puzzle. In the collection, the compressed puzzle is replaced by its uncompressed counterpart. 3. The default puzzles should be shipped in a compressed form.
SVN commit 1119208 by majewsky: Ugly hack for the default-puzzle-localisation problem. Because the feature freeze is upon us. CCBUG: 233784 M +6 -1 README.PACKAGERS M +10 -5 puzzles/CMakeLists.txt D puzzles/castle-maintenon.puzzle D puzzles/cincinnati-bridge.puzzle D puzzles/citrus-fruits.puzzle D puzzles/european-honey-bee.puzzle D puzzles/make-puzzles.sh D puzzles/panther-chameleon-female.puzzle M +1 -0 src/CMakeLists.txt A src/firsttimehelper.cpp [License: GPL (v2+)] A src/firsttimehelper.h [License: GPL (v2+)] M +12 -1 src/main.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1119208
Note to self: Generate a random seed when the puzzle is created, and use this random seed whenever the pieces are generated.
Afaic this was implemented already - only the image and the .desktop file is shipped and during the first start those puzzles are sliced and stored in a compresed .puzzle - file.