Clean installation of Kubuntu and Palapeli
Peter Hillier-Brook
phb at hbsys.plus.com
Wed Apr 2 17:02:37 UTC 2014
On 25/03/14 14:34, Little Girl wrote:
> Hey there,
>
> Peter Hillier-Brook wrote:
>
>> On 24/03/14 18:09, Little Girl wrote:
>>> Hey there,
>>>
>>> Peter Hillier-Brook wrote:
>>>
>>>> Whilst I subscribe to the view that a clean installation rather
>>>> than a dist-upgrade of a new Kubuntu version is a good idea I'm
>>>> inhibited by my addiction to palapeli.
>>>
>>> Thanks for the recommendation - it's very nice! (:
>>>
>>>> I cannot find the location where completed puzzles are stored,
>>>> but they're definitely not in ~/.kde/share/config/pal* This
>>>> means I have to re-complete previously completed puzzles which I
>>>> find somewhat tedious.
>>>
>>> No need. (:
>>>
>>>> I tried e-mailing the author to no avail so I'm hoping someone
>>>> here has an idea?
>>>
>>> I installed the game.
>>>
>>> I did this command to refresh the locate database:
>>>
>>> sudo updatedb
>>>
>>> Then I did this command to find all files related to the game:
>>>
>>> locate palapeli
>>>
>>> Then I looked through all the results, and this one was it:
>>>
>>> ~/.kde/share/apps/palapeli/collection/default1.save
>>>
>>> It sounds like you're much further into the game than me (I just
>>> started it), so you'll probably find a whole lot of .save files in
>>> that directory.
>>>
>>
>> The '.save' files are part of the solution, but copying the
>> complete 'collection' directory from an established system on, for
>> example /dev/sdc into the similar location on the newer system
>> on /dev/sda does not produce usable results.
>
> Hmmm, maybe you also need to copy these files:
>
> ~/.kde/share/config/palapelirc
>
> ~/.kde/share/config/palapeli-collectionrc
>
> Today's sleuthing was done by opening the game and opening a puzzle I
> hadn't done yet. I moved one piece. Then I immediately used this command in the .kde directory:
>
> find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "
>
> I got the command from here:
>
> http://stackoverflow.com/questions/4561895/how-to-recursively-find-the-latest-modified-file-in-a-directory
>
> I also immediately used this command in the .kde directory:
>
> find . -mmin -10 -ls
>
> I got the command from here:
>
> http://stackoverflow.com/questions/16085958/scripts-find-the-files-have-been-changed-in-last-24-hours
>
> Then I moved another piece and repeated the commands. The .save file
> and the palapelirc file were the only two files that changed. You
> may be able to get away with just copying those over.
>
> Although the palapeli-collectionrc file didn't change when I moved
> pieces around, it looks like it contains some important stuff about
> the images, so it's probably worth backing up and copying over as
> well. (:
>
Thanks for provoking my brain. Copying the *palapeli*rc files and the
collection file achieved a partial result in that I was restored to
where I was before the new installation, *but* individual files are not
retrievable as they are not identifiable.
Thanks to all who responded about this problem.
Peter HB
More information about the kubuntu-users
mailing list