GNOME Bugzilla – Bug 616243
Swell Foop doesn´t save records
Last modified: 2012-07-15 01:25:38 UTC
i tried it on Archlinux, Gentoo and Ubuntu 10.04 Beta 2 Swell-Foop dont saves the record.
i have the same situation.
Same here (Foresight, 2.30.1). I think swell-foop forgets to create the score files. For example quadrapassel does this: install-data-local: -$(mkinstalldirs) $(DESTDIR)$(scoredir) -touch $(DESTDIR)$(scoredir)/quadrapassel.scores -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/quadrapassel.scores -chmod 664 $(DESTDIR)$(scoredir)/quadrapassel.scores
Created attachment 174545 [details] [review] add missing highscores.add_score High score saving appears to be broken in several different ways: setgid permissions doesn't seem to work running under seed, after creating writeable score files, adding the missing line in the patch, the scores saved end up as random values.
Created attachment 174685 [details] [review] work around random score saving This works around the scores ending up random values. It needs the win bonus patch to apply cleanly - I filed that separately as bug 635070
Created attachment 186081 [details] [review] better patch A better patch, for gnome-games 3.0.0. Doesn't solve the setgid problem, but it works if you chmod 666 the highscore files.
Seems to be working now, please re-open if still having problems in >3.4