Active Topics

 



Notices


Reply
Thread Tools
Posts: 13 | Thanked: 6 times | Joined on Mar 2011
#51
Still can't get the game to run, throws the exception "Cannot initialize context"

I managed to get this game to run before, but I had to reflash my phone because I screwed up my filesystem. And now I get this error, not sure what's diffrent. Both on 2.6.28.10power46 with CSSU installed.
 
Posts: 301 | Thanked: 275 times | Joined on Dec 2010
#52
I love this game. Thank you Jamie.
 
Posts: 141 | Thanked: 41 times | Joined on Apr 2011 @ Ahmedabad, India
#53
Love this game, very addictive.

would be fun if you can also store and display best scorer's name on the main page !
 

The Following User Says Thank You to dtparikh For This Useful Post:
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#54
new high .. 93909
 
Posts: 13 | Thanked: 6 times | Joined on Mar 2011
#55
Originally Posted by StingerID4 View Post
Still can't get the game to run, throws the exception "Cannot initialize context"

I managed to get this game to run before, but I had to reflash my phone because I screwed up my filesystem. And now I get this error, not sure what's diffrent. Both on 2.6.28.10power46 with CSSU installed.
Ok .. got it all working now

First of all, it wouldn't work if I'm root. Then I get the "Cannot initialize context" exception. So I tried running as "user". That gave the error that it couldn't read a file.
I found out that the "music.raw" file was owned by root and groups and other people had no read access to it.

So I just did a "chown -R user:users /opt/bouncebounce"
and then "chmod -R a+wr /opt/bouncebounce"

Then I could run the game via user, and it finally worked!

Now for the icon, I tried a bunch of things, but this works till someone can find a more elegant solution.
I changed the exec line of "/usr/share/applications/hildon/bouncebounce.desktop" to:
Exec=/usr/bin/osso-xterm "python /opt/bouncebounce/bouncebounce.py"

You see the terminal appear for a second before the game starts, but at least you can start it via the icon.

I'm guessing the terminal adds some other evironment variables that is needed for python to run or something?

Hope that helps other people.
 

The Following User Says Thank You to StingerID4 For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#56
The problem of game crashing when launched from menu is in package libsdl-mixer1.2 from extras.
To restore original one, type as root:
Code:
apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
To prevent upgading to extras version with apt-get upgrade:
Code:
echo libsdl-mixer1.2 hold | dpkg --get-selections

Last edited by hxka; 2011-05-04 at 21:17.
 

The Following User Says Thank You to hxka For This Useful Post:
Wreck's Avatar
Posts: 304 | Thanked: 266 times | Joined on Apr 2011 @ Apeldoorn area, Netherlands
#57
Could not get it to work but with the help of StingerID4 and Hxka it finnally works. Thanks much!
 
Posts: 1 | Thanked: 0 times | Joined on Jun 2011
#58
The problem of game crashing when launched from menu is in package libsdl-mixer1.2 from extras.
To restore original one, type as root:
Code:
apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
To prevent upgading to extras version with apt-get upgrade:
Code:
echo libsdl-mixer1.2 hold | dpkg --get-selections
still doesnt work on my phone
when i type: apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
it says:
libsdl-mixer1.2 is already the newest version.

it doesnt start from the terminal either
 
Posts: 130 | Thanked: 24 times | Joined on Jan 2011
#59
awsome game. one of the top 5 n900 games
 
Posts: 18 | Thanked: 0 times | Joined on May 2010
#60
Originally Posted by Eppii View Post
still doesnt work on my phone
when i type: apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
it says:
libsdl-mixer1.2 is already the newest version.

it doesnt start from the terminal either
On my N900 the game starts from terminal after the fix with chown + chmod, but not from menu, libsdl-mixer is with v1.2.6.-5+0m5 on the newest version.
Same as was with Papertoss, is this a Python related Problem with the rights?

If i try to remove it by apt-get it wants to remove 340mb from the Phone and trying with --reinstall install wants to remove mp-fremantle-generic-pr ...

Any suggests on this?

Last edited by pincy; 2011-09-28 at 13:48.
 
Reply

Tags
bada rox


 
Forum Jump


All times are GMT. The time now is 02:26.