maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Brain Party for Linux (and now for N900) (https://talk.maemo.org/showthread.php?t=48817)

hudzilla 2010-04-20 09:55

Re: Brain Party for Linux (and now for N900)
 
Hey!

drsilviuro: yes, it can get a bit slow in the version you have; I've issued an update and I'm just waiting for thp to package it up. Someone just sent me some fresh bug fixes through, so I'll be applying those shortly.

milesxhour: glad you like it! The easiest way to support development is to tell your friends to buy it for the iPhone/Xbox 360 :)


Paul

dbrodie 2010-04-20 10:03

Re: Brain Party for Linux (and now for N900)
 
I don't know if this is known but I can't get the bomb code with the 3 gems to not fail, even when I think I get the code and I have 5 guesses left it still fails. Is there a time limit or something?

hudzilla 2010-04-20 11:05

Re: Brain Party for Linux (and now for N900)
 
Hey!

Quote:

Originally Posted by dbrodie (Post 619051)
I don't know if this is known but I can't get the bomb code with the 3 gems to not fail, even when I think I get the code and I have 5 guesses left it still fails. Is there a time limit or something?

Almost every game has a time element; the bomb game is scored particularly highly on how fast you solve the problem.


Paul

thp 2010-04-20 22:25

Re: Brain Party for Linux (and now for N900)
 
Brainparty 0.5.91-1 (based on brainparty0.591.tar.gz; with Maemo modifications and icons by infected69 has been uploaded to Extras-Devel and will be promoted to Extras-Testing soon.

robbie 2010-04-21 08:49

Re: Brain Party for Linux (and now for N900)
 
Nice work. Just installed it and plays without a problem.

Darkwolf 2010-04-21 08:56

Re: Brain Party for Linux (and now for N900)
 
Fantastic, thp!
I assume the next step is getting the music to work?

hudzilla 2010-04-21 09:51

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by Darkwolf (Post 620649)
Fantastic, thp!
I assume the next step is getting the music to work?

Wait... the music doesn't work? Drat! And I thought we were so close to finishing this :)

thp: What was that patch that Mikkov posted on page 10? He uploaded it to http://talk.maemo.org/attachment.php...0&d=1271167721 - does that fix the problem?


Paul

hudzilla 2010-04-21 12:21

Re: Brain Party for Linux (and now for N900)
 
Hey!

Quote:

Originally Posted by thp (Post 620156)
Brainparty 0.5.91-1 (based on brainparty0.591.tar.gz; with Maemo modifications and icons by infected69 has been uploaded to Extras-Devel and will be promoted to Extras-Testing soon.

That's great news, thp - thanks for getting it all to work!

Everyone: this build should fix all the problems you have. Please take five minutes to test it!

Once you confirm it works, I will try to merge all of thp's code in with my own, making the N900 port official so that it builds straight from the upstream source code. I also have a Windows port ready; it'd be great to get them both out of the door at the same time.


Paul

Darkwolf 2010-04-21 13:06

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by hudzilla (Post 620712)
Wait... the music doesn't work? Drat! And I thought we were so close to finishing this :)

LOL sorry! :p

Toufmag 2010-04-21 14:00

Re: Brain Party for Linux (and now for N900)
 
It works fine for me. Thx very much.

oxpo 2010-04-21 14:08

Re: Brain Party for Linux (and now for N900)
 
I also have no problem with 0.5.91-1. I'm going to do some more testing tonight.

/oxpo

thp 2010-04-21 15:51

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by hudzilla (Post 620712)
thp: What was that patch that Mikkov posted on page 10? He uploaded it to http://talk.maemo.org/attachment.php...0&d=1271167721 - does that fix the problem?

I'll try to integrate this patch now. This makes the brainparty-data package a bit bigger, because I didn't include the OGGs in the previous package (which allowed for a slimmer download). I'm uploading the new data package now, and will upload a new binary for brainparty after that.

Edit: After installing Brain Party 0.5.91-2 (~ 40 MB), music works :) I'll promote it to Extras-Testing soon.

dbrodie 2010-04-21 18:23

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by hudzilla (Post 619131)
Hey!



Almost every game has a time element; the bomb game is scored particularly highly on how fast you solve the problem.


Paul

Ah, I just didn't excpect to fail EVERY TIME :P,
I'll try it again tonight when putting the kids to sleep...

ndi 2010-04-21 20:08

Re: Brain Party for Linux (and now for N900)
 
* It still does the slowdown for me. Sometimes it's faster, sometimes slower, depending on what I play

* I now get corruption on graphics. All this far have been corruption of text, images are fine. Text like game description before a game.

* Achievements work now.

* Balloons seems to never award more than 65535 points per pop. Is that intentional? It changes the strategy, from hoarding for the best pop to only getting a bunch together, then pop and start new collection. If it's intentional, it should be mentioned in the help.

* 0.5.91-2 here.

Darkwolf 2010-04-22 08:43

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by thp (Post 621184)
Edit: After installing Brain Party 0.5.91-2 (~ 40 MB), music works :) I'll promote it to Extras-Testing soon.

Fantastic stuff! Sat in the train this morning and saw the update, installed it and enjoyed it!
The music is quite good and a very welcome addition to an already perfect port.

So strange to read about a few people experiencing slowdowns.
Still have never experienced this and this goes for the graphical corruption as well.
Everything looks clean and runs smooth. Also with the music! :D

ndi 2010-04-22 09:33

Re: Brain Party for Linux (and now for N900)
 
I have sound and music turned off. Could it be?

hudzilla 2010-04-22 14:24

Re: Brain Party for Linux (and now for N900)
 
Hey!

<< It still does the slowdown for me. Sometimes it's faster, sometimes slower, depending on what I play >>

Well, hold up: the problem other people were having was that the whole game slowed down permanently; ie, you could quit a minigame and the game would still be running slowly. Is that what you're experiencing, or are you just saying that some minigames are a bit more graphically taxing and so they run a bit slow?

<< I now get corruption on graphics. All this far have been corruption of text, images are fine. Text like game description before a game. >>

I have no idea what could be causing that. The fact that it runs fine on some N900s and not so well on others is strange.

<< Achievements work now. >>

Great!

<< Balloons seems to never award more than 65535 points per pop. Is that intentional? It changes the strategy, from hoarding for the best pop to only getting a bunch together, then pop and start new collection. If it's intentional, it should be mentioned in the help. >>

It's intentional, otherwise someone could simply pop lots of poor choice balloons then pop one massive group and score 524,288 all at once and not make any other moves. There isn't a lot of room to add explanatory text in the help, and really it's not that common people make such large groups.


Paul

zehjotkah 2010-04-22 20:28

Re: Brain Party for Linux (and now for N900)
 
@ they who get graphical errors and other strange things: did you overclock your N900?

shapeshifter 2010-04-22 20:43

Re: Brain Party for Linux (and now for N900)
 
edit:
nevermind. apparently it's necessary to form huge chunks in balloon blaster to score proper points. in any case, the below is still valid:

also, word smash is almost impossible to play as a "tap" get registered as a drag even if being extremely careful.

hudzilla 2010-04-22 21:23

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by shapeshifter (Post 623343)
also, word smash is almost impossible to play as a "tap" get registered as a drag even if being extremely careful.

Ah! I hadn't thought of that - the iPhone has a built-in dead zone to avoid accidental drag events, but perhaps the N900 doesn't. It's worth fixing this.

Darkwolf 2010-04-23 09:13

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by zehjotkah (Post 623313)
@ they who get graphical errors and other strange things: did you overclock your N900?

Mine has been running at 900Mhz for weeks.
Brainparty is all cool with that on my end.

javiermon 2010-04-23 09:49

Re: Brain Party for Linux (and now for N900)
 
The package in extras-testing cannot be installed directly due to a missing depencency: libgles1-sgx-img

I know I could install that from extras-devel, but that's not the point I'm trying to make, this should be sorted out or else the package will never be promoted to extras, right?

Other than that, looking forward to trying it out :)

mikkov 2010-04-23 10:37

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by javiermon (Post 624088)
The package in extras-testing cannot be installed directly due to a missing depencency: libgles1-sgx-img

Are you running the latest firmware (PR 1.1)?

javiermon 2010-04-23 10:39

Re: Brain Party for Linux (and now for N900)
 
yes

maemo5 version 3.2010.02-8

mikkov 2010-04-23 10:45

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by javiermon (Post 624164)
yes

maemo5 version 3.2010.02-8

libgles1 library is not in extras-devel, but in of the default Nokia repositories.

javiermon 2010-04-23 10:55

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by mikkov (Post 624177)
libgles1 library is not in extras-devel, but in of the default Nokia repositories.

Thanks, but I only see this:
$ apt-cache search libgles
libgles2-sgx-img - OpenGL ES 2.0 SGX library
opengles-sgx-img-common - PowerVR SGX support libraries

apt-cache policy libgles2-sgx-img
libgles2-sgx-img:
Installed: 0.20091104.6.1+0m5
Candidate: 0.20091104.6.1+0m5
Version table:
*** 0.20091104.6.1+0m5 0
100 /var/lib/dpkg/status


apt-cache policy opengles-sgx-img-common
opengles-sgx-img-common:
Installed: 0.20091104.6.1+0m5
Candidate: 0.20091104.6.1+0m5
Version table:
*** 0.20091104.6.1+0m5 0
100 /var/lib/dpkg/status


Any ideas?

mikkov 2010-04-23 10:58

Re: Brain Party for Linux (and now for N900)
 
You have disabled Nokia Applications repository or there was some error updating it.

javiermon 2010-04-23 11:04

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by mikkov (Post 624197)
You have disabled Nokia Applications repository or there was some error updating it.

Thanks, apparently it's not updating correctly, don't know why...

~ $ rootsh apt-get update
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-es
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-es
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-es
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-es
Ign http://repository.maemo.org fremantle/non-free Translation-es
Ign http://repository.maemo.org fremantle/tools Release.gpg
Ign http://repository.maemo.org fremantle/tools/free Translation-es
Ign http://repository.maemo.org fremantle/tools/non-free Translation-es
Hit http://repository.maemo.org fremantle Release
Ign http://repository.maemo.org fremantle/tools Release
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/tools/free Packages
Hit http://repository.maemo.org fremantle/tools/non-free Packages
Reading package lists... Done

javiermon 2010-04-23 11:16

Re: Brain Party for Linux (and now for N900)
 
Trying to update via app manager doesn't say anything, like if everything was fine. Any ideas?

javiermon 2010-04-23 13:24

Re: Brain Party for Linux (and now for N900)
 
OK, the issue seems to be fixed here, don't know what really happened with the repos. Thanks!

ndi 2010-04-23 20:37

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by hudzilla (Post 622605)
<< It still does the slowdown for me. Sometimes it's faster, sometimes slower, depending on what I play >>

Well, hold up: the problem other people were having was that the whole game slowed down permanently; ie, you could quit a minigame and the game would still be running slowly. Is that what you're experiencing, or are you just saying that some minigames are a bit more graphically taxing and so they run a bit slow?

What I meant was, if I start the app and go practice, and practice -say- odd one out, it takes like 10 games with no discernable slowdown. If I play Balloon Blaster, it's quicker.

The worst is the test. Don't know if it's the test MODE or that it goes through all (many) games, but overall, in about 3 consecutive tests (about 12-15 games), it's noticeably slower. It goes not clogged, but slow ENOUGH so that I can no longer play for score. It also seems to stutter a lot, like swapping, which makes -say- lanterns or what's-its-name ridiculous, at some point they all flash in a millisecond after a 3-second delay.

Exiting and re-entering fixes it, but not completely because after exit the OS swaps back, so I have to leave it a couple of minutes to finish to start 100% fresh. If i immediately restart, I get swaps in the first test.

I'll try to do more test.

Quote:

Originally Posted by hudzilla (Post 622605)
<< I now get corruption on graphics. All this far have been corruption of text, images are fine. Text like game description before a game. >>

I have no idea what could[...]

Not overclocked, not pushed, no custom kernel. A few apps running, but none does graphics or watching at the same time. I have recaller, shortcutd, etc, that have daemons, but none have any issues so far.

Quote:

Originally Posted by hudzilla (Post 622605)
<< Achievements work now. >>
Great!

I have 3, the 4th (second) about Jewel Something is not in the Practice menu. Do they get there after a certain score?

Quote:

Originally Posted by hudzilla (Post 622605)
<< Balloons seems to never award more than 65535 points per pop. Is that intentional?>>

It's intentional, otherwise someone could simply pop lots of poor choice balloons then pop one massive group and score 524,288 all at once and not make any other moves. There isn't a lot of room to add explanatory text in the help, and really it's not that common people make such large groups.

The help suggests that the more the merrier, so, well, there SHOULD be more people building mammoths. But
if the game should work like that I guess it's OK.

Perhaps the help should state something like "pop more to get the most score (max 16)" or similar, it would only take an extra 9 chars.

slender 2010-04-23 20:44

Re: Brain Party for Linux (and now for N900)
 
ndi have you tried to shut down your n900 and take battery off and restart give it 2-3 min to settle (check from xterm with top to see that cpy is not used) and play brain party,

ndi 2010-04-23 22:05

Re: Brain Party for Linux (and now for N900)
 
I did. It's smooth as a baby's behind for a while, then starts to drag its feet.

Not as bad as before, really, but still happens. It's almost playable on some games that don't require fast stuff, but balloons pop after a press or misses clicks completely, jewel thing with the scrolling of rows is a pain because it always goes nuts trying to do kinetic when from his point of view I'm making a centimeter in 2 ms, etc.

Oh and that do math in your head while I'm flashing numbers and operands is so frustrating I feel like strangling the device. It takes 30 seconds to see you missed a number. What ... is ... fivvvvvvvvveeee plussomethingminus ... three plus ... .

Also, I'm quitting test and restarting (test) a lot. Sometimes it insists on running this one game like 5 times in a row and I keep aborting because I hate it. Could that be it?

Practice one game seems to keep it going quite a while.

hoenikker 2010-04-25 21:06

Re: Brain Party for Linux (and now for N900)
 
Also started experiencing the slowdown today (Brain Party 0.5.91-2). I looked at ".brainparty" in my home directory and it had some 2.6 million lines, a bit on the large side isn't it?
How large should ".brainparty" be?

It looked like it was keeping the history of all games (the scores) but repeating it over and over.

I tried trimming it down to no avail: still slow-down. Threw it out and Brain Party runs fine again (like starting from a fresh install, i.e. no history of previous games).

This game is great fun, so I hope you're able to sort out the slow-down glitch!

ndi 2010-04-25 21:51

Re: Brain Party for Linux (and now for N900)
 
~ $ cat .brainparty | wc -l
63

This the one?

hoenikker 2010-04-25 21:57

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by ndi (Post 627471)
~ $ cat .brainparty | wc -l
63

This the one?

Yup. Execept I had

~$ wc -l .brainparty
2576651

After wiping the file and starting over


~$ wc -l .brainparty
41

ndi 2010-04-25 22:11

Re: Brain Party for Linux (and now for N900)
 
Mine never grew, I checked it several times. Unless it grows while in-game only and then gets trimmed on exit.

As an unrelated question, could we please have a ban on games? E.g. some sort of never-run games. Some games just aren't playable when slowing down even a little, some I simply don't like. Can I add them to a list so they never get chosen in test mode (practice is fine)?

hoenikker 2010-04-25 22:17

Re: Brain Party for Linux (and now for N900)
 
Quote:

Originally Posted by ndi (Post 627498)
Mine never grew, I checked it several times. Unless it grows while in-game only and then gets trimmed on exit.

Now that you mention it, I checked the file after having to kill the process (was taking forever to present the total result after running a "Test").

mthmob 2010-04-25 23:22

Re: Brain Party for Linux (and now for N900)
 
wc -l .brainparty
16080

im not experiencing slowdowns, im on 800Mhrz cpu freq. will keep eye on that file :)

drsilviuro 2010-04-26 06:19

Re: Brain Party for Linux (and now for N900)
 
Mine also takes forever to calculate the total result in the end of the tests...
But, everything else is running very well (no more slowdowns)


All times are GMT. The time now is 18:40.

vBulletin® Version 3.8.8