Release The Bub's Brothers


Joined
Aug 20, 2010
Messages
179
Just a quick note to let you know, The Bub's Brothers is now available on OpenHandhelds.org and will be available on apps.openpandora.org when I get upload rights.

  1. Run the PND.
  2. If you like the browser that opens, use that. Otherwise, open any browser you like to your current URL - it's a session-specific URL.
  3. Click "Start a new game" or "Go to the Internet servers page"
  4. Pick your internet server, or click "Start Server" to start your own game.
  5. If you started your own server, click the "Join your own game now" link to play the game.
  6. When you're done, click the red "Stop this program" link at the top of the webpage.



I've found that TBB really doesn't work if another app has crashed (or not unmounted cleanly). If another app has crashed or TBB doesn't start correctly, restart your Pandora and then try running TBB again.
 
Last edited by a moderator:
hi


i guess it is a browser based game since it opens midori on start? but no javascript in midori?.
 
Added to the Games page on the wiki! Wow, two Port Requests in one weekend! (Three if you count that failed attempt at GLTron that was shown off in the IRC...)
 
It's... not precisely a browser-based game. Playing it on a desktop can give you a feeling of what's going on.


It opens "xfbrowser4" (the default XFCE browser) on startup if it can't find another. Also, my Midori has no trouble playing the game. See above for running instructions.
 
hi


runs to screenstart new game. but then hangs on new serve screen:


-----------


sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/PANDORA1/pandora/menu/games//bub-n-bros.pnd -e BubBob.py -b bub-n-bros


not mounted on loop yet, doing so


LoopMountedon:


/dev/loop3


Filetype is Squashfs


Mounting PND (mount -t squashfs) :


/dev/loop3 on /mnt/pnd/bub-n-bros type squashfs (ro)


Filesystem is vfat


Mounting the Union FS using /media/PANDORA1/pandora/appdata/bub-n-bros as Write directory:


mount -t aufs -o exec,noplink,dirs=/media/PANDORA1/pandora/appdata/bub-n-bros=rw+nolwh:/mnt/pnd/bub-n-bros=rr none /mnt/utmp/bub-n-bros


none on /mnt/utmp/bub-n-bros type aufs (rw,si=67105637,noplink)


none on /mnt/utmp/bub-n-bros type aufs (rw,si=67105637,noplink)


[------------------------------]{ App start }[---------------------------------]


/mnt/utmp/bub-n-bros/common/gamesrv.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead


import zlib, os, random, struct, md5, sys


Running on Python 2.6.2 (r262:71600, Jun 26 2010, 13:32:35)


[GCC 4.3.3]


http://127.0.0.1:8000/0x3e4a/


------------------------------------------------------------


Note that the server runs in the background. You have to use


the 'Stop this program' link to cleanly stop it.


Normally, however, running this script multiple times should


not create multiple servers in the background.


[-------------------------------]{ App end }[----------------------------------]


umount: /mnt/utmp/bub-n-bros: device is busy.


(In some cases useful info about processes that use


the device is found by lsof(8) or fuser(1))


umount: /mnt/utmp/bub-n-bros: device is busy.


(In some cases useful info about processes that use


the device is found by lsof(8) or fuser(1))


umount UNION failed, didnt clean up. Process still using this FS :


1885 ? S 0:01 python ./BubBob.py


1892 ? S 0:00 /usr/libexec/exo-helper-0.3 --launch WebBrowser http://127.0.0.1:8000/0x3e4a/


1896 ? R 0:00 /usr/bin/midori http://127.0.0.1:8000/0x3e4a/


(midori:1896): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed


--------
 
hi


runs to screenstart new game. but then hangs on new serve screen:


-----------

Code:
sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/PANDORA1/pandora/menu/games//bub-n-bros.pnd -e BubBob.py -b bub-n-bros

not mounted on loop yet, doing so

LoopMountedon: 

/dev/loop3

Filetype is Squashfs

Mounting PND (mount -t squashfs) :

/dev/loop3 on /mnt/pnd/bub-n-bros type squashfs (ro)

Filesystem is vfat

Mounting the Union FS using /media/PANDORA1/pandora/appdata/bub-n-bros as Write directory:

mount -t aufs -o exec,noplink,dirs=/media/PANDORA1/pandora/appdata/bub-n-bros=rw+nolwh:/mnt/pnd/bub-n-bros=rr none /mnt/utmp/bub-n-bros

none on /mnt/utmp/bub-n-bros type aufs (rw,si=67105637,noplink)

none on /mnt/utmp/bub-n-bros type aufs (rw,si=67105637,noplink)

[------------------------------]{ App start }[---------------------------------]

/mnt/utmp/bub-n-bros/common/gamesrv.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead

  import zlib, os, random, struct, md5, sys

Running on Python 2.6.2 (r262:71600, Jun 26 2010, 13:32:35) 

[GCC 4.3.3]

  http://127.0.0.1:8000/0x3e4a/

------------------------------------------------------------

Note that the server runs in the background. You have to use

the 'Stop this program' link to cleanly stop it.

Normally, however, running this script multiple times should

not create multiple servers in the background.

[-------------------------------]{ App end }[----------------------------------]

umount: /mnt/utmp/bub-n-bros: device is busy.

        (In some cases useful info about processes that use

         the device is found by lsof(8) or fuser(1))

umount: /mnt/utmp/bub-n-bros: device is busy.

        (In some cases useful info about processes that use

         the device is found by lsof(8) or fuser(1))

umount UNION failed, didnt clean up. Process still using this FS :

 1885 ?        S      0:01 python ./BubBob.py

 1892 ?        S      0:00 /usr/libexec/exo-helper-0.3 --launch WebBrowser http://127.0.0.1:8000/0x3e4a/

 1896 ?        R      0:00 /usr/bin/midori http://127.0.0.1:8000/0x3e4a/


(midori:1896): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

--------



Are you running from MiniMenu or XFCE? Try restarting your Pandora (not just going into power-save mode and back, but actually restarting and seeing the Pandora's title screen load up and everything) and running it again. What HotFix are you running? It seems to work fine in HF5.



If you don't want to restart, you can always kind-of reset the game by running the following in a terminal:





Code:
sudo killall midori

sudo killall exo-helper-0.3

sudo killall python


I've found that BNB really doesn't work if another app has crashed (or not unmounted cleanly). If another app has crashed, restart your Pandora and then try running BNB again.
 
Last edited by a moderator:
Back
Top