Raspberry Pi port

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
TheMagicCookie
Private First Class
Private First Class
Posts: 15
Joined: Sat Jun 30, 2012 4:10 am
Location: not sure :D

Raspberry Pi port

Post by TheMagicCookie » Thu Dec 20, 2012 4:30 am

Is it at all possible to port BZFlag to the Raspberry Pi? Raspberry Pi is tiny computer with an ARM11 (ARM V6) CPU, 700MHz, 512MB of RAM, can run a variety of operating systems, mainly Debian Linux, Arch Linux, and RISC OS. It does have OpenGL ES

Any chance of getting BZFlag to run on this?

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5119
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: Raspberry Pi port

Post by JeffM » Thu Dec 20, 2012 7:18 am

anything is possible if someone wants to put the work into it

User avatar
blast
General
General
Posts: 4584
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Raspberry Pi port

Post by blast » Thu Dec 20, 2012 2:03 pm

It would take a considerable amount of work to port BZFlag to OpenGL ES. Pretty much require rewriting all the graphics code. The 512MB RAM is only in the newer revision of the model B. My model B only has 256MB, and all the model A's will have 256MB as well. Additionally, the CPU in the Pi is equivalent to something like a Pentium II, and if BZFlag is CPU-bound, that may have a big effect on how well the game will run. Overclocking the CPU to 1GHz with the latest firmware roughly double the performance, though.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
TheMagicCookie
Private First Class
Private First Class
Posts: 15
Joined: Sat Jun 30, 2012 4:10 am
Location: not sure :D

Re: Raspberry Pi port

Post by TheMagicCookie » Thu Dec 20, 2012 7:00 pm

Well, my Pi has 512MB, I just got it a couple of weeks ago. Maybe ill put some work into it in the future. I just wanted to ask if it was at all possible before I spend weeks doing a rewrite! Thank you for your responses.

User avatar
tadd
Master Sergeant
Master Sergeant
Posts: 93
Joined: Sun Aug 22, 2004 2:25 pm
Location: Raleigh, NC
Contact:

Re: Raspberry Pi port

Post by tadd » Fri Sep 15, 2017 6:41 pm

This is very interesting, especially with the iterations of Raspberry PI that have come through.
This is a block of text that can be added to posts you make. There is a 800 character limit

User avatar
blast
General
General
Posts: 4584
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Raspberry Pi port

Post by blast » Fri Sep 15, 2017 9:46 pm

It already runs on the Pi, unmodified, if you enable the experimental OpenGL driver. I've run it this way on the Pi 3 with the official Pi display (so, lower resolution of 800x480) at a reasonable framerate. There's also an OpenGL ES fork that exists now.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

click click boom
Private First Class
Private First Class
Posts: 137
Joined: Fri Nov 13, 2009 7:53 pm

Re: Raspberry Pi port

Post by click click boom » Sun Oct 08, 2017 5:15 am

What kind of FPS on the pi?

User avatar
Zehra
Private First Class
Private First Class
Posts: 256
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: Raspberry Pi port

Post by Zehra » Sun Oct 08, 2017 11:56 am

Constitution wrote:
Mon Mar 14, 2016 6:45 am
The Raspberry Pi is probably the platform with the best support for this project right now. On my RaspBerry Pi 2 Model B, on an average map I would get somewhere between 30 and 45 FPS at 640x480, and closer to 30 FPS at higher resolutions. When the resolution gets too high, however, the framerate can drop significantly. Otherwise, the embedded client generally runs on the Raspberry Pi just like the standard client does on desktop computers.

Here's the main thread on the BZFlag Embedded Port. (And also where the quote originally came from.)

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

User avatar
blast
General
General
Posts: 4584
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Raspberry Pi port

Post by blast » Mon Oct 09, 2017 10:51 am

I was not running the embedded port. I was running the normal full OpenGL version of the game. I was getting about 30FPS on the Tuxee map running at 800x480 resolution on a Pi3.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest