FAQ  •  Register  •  Login

PiFighter! Bitfighter on RaspberryPi

Forum rules
Post confirmed bugs and approved feature requests here. Unapproved feature requests will be deleted.

Please limit posts to One Feature per Thread unless features are closely related.
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Sat Sep 07, 2013 4:14 am

PiFighter! Bitfighter on RaspberryPi

Howdy!

I have successfully built and ran Bitfighter server and client on the RaspberryPi. The client is really slow because the only way to run the client is using Mesa3d, but when SDL2 will work on the Raspberry Pi, I'll try to make the client work "normally". Bitfighter server runs awesome though.

So, if you have a RaspberryPi and you want to run Bitfighter on it, post in the comments!

By the way kaen and raptor did the work of helping me build and run Bitfighter.
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Tue Oct 01, 2013 7:11 pm

Re: PiFighter! Bitfighter on RaspberryPi

Great! Did you have to modify the code to get it to build/run?
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Oct 02, 2013 8:18 am

Re: PiFighter! Bitfighter on RaspberryPi

No! But the client uses Mesa3d Utils, so it's slow :( RaspberryPi only supports GLES :/
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Wed Oct 02, 2013 8:40 am

Re: PiFighter! Bitfighter on RaspberryPi

Fordcars, I think SDL2 recently fixed GLES detection for RaspPi. You might want to try to compile the latest SDL2 for it. Then you can compile the most recent bitfighter with the cmake flag -DUSE_GLES=1 and see how that works...
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Oct 02, 2013 9:02 am

Re: PiFighter! Bitfighter on RaspberryPi

Isn't bitfighter SDL1?
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Wed Oct 02, 2013 11:03 am

Re: PiFighter! Bitfighter on RaspberryPi

It only uses SDL 1.2 on Linux. And I've already changed the code in Linux to look for SDL2 first (if it's installed properly). So... it uses both! But mostly SDL2.
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Oct 02, 2013 1:13 pm

Re: PiFighter! Bitfighter on RaspberryPi

Great!!!!
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

monkeypi

Posts: 4

Joined: Tue Mar 04, 2014 12:00 pm

Location: The Moon

Post Tue Mar 04, 2014 12:23 pm

Re: PiFighter! Bitfighter on RaspberryPi

Can someone post instructions on how to compile bitfighter with sdl2 on raspberry pi? sorry, I am not very good at compiling stuff. :zapdance:
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Tue Mar 04, 2014 2:01 pm

Re: PiFighter! Bitfighter on RaspberryPi

Sure! I'll make a Wiki page
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Tue Mar 04, 2014 11:11 pm

Re: PiFighter! Bitfighter on RaspberryPi

skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Wed Mar 05, 2014 2:11 am

Re: PiFighter! Bitfighter on RaspberryPi

Awesome! Great entry! Thanks for writing it!
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Mar 05, 2014 11:20 am

Re: PiFighter! Bitfighter on RaspberryPi

Thanks!
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

tazinator

Posts: 352

Joined: Fri Jul 05, 2013 7:35 pm

Post Wed Mar 05, 2014 2:37 pm

Re: PiFighter! Bitfighter on RaspberryPi

So does this mean I should buy a Raspberry now?
Im half joking, half serious
Play my new level! Two different teams fight over a nexus: One mainly defends while the other attacks! is fun
viewtopic.php?f=33&p=21002#p21002
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Mar 05, 2014 3:11 pm

Re: PiFighter! Bitfighter on RaspberryPi

Totally :D
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

monkeypi

Posts: 4

Joined: Tue Mar 04, 2014 12:00 pm

Location: The Moon

Post Tue Mar 11, 2014 2:58 pm

Re: PiFighter! Bitfighter on RaspberryPi

Thanks so much for the tutorial
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Tue Mar 11, 2014 9:31 pm

Re: PiFighter! Bitfighter on RaspberryPi

You're welcome :) If you have any problems, post here!
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

monkeypi

Posts: 4

Joined: Tue Mar 04, 2014 12:00 pm

Location: The Moon

Post Wed Mar 12, 2014 5:00 pm

Re: PiFighter! Bitfighter on RaspberryPi

So how can I compile it so I can play on raspberry pi?
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Mar 12, 2014 6:00 pm

Re: PiFighter! Bitfighter on RaspberryPi

Not yet sadly, you can easily host a server, but Bifighter needs to be ported to OpenGLES 2 for anything to show up on the screen :/
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Mar 12, 2014 6:01 pm

Re: PiFighter! Bitfighter on RaspberryPi

Not yet sadly, you can easily host a server, but Bifighter still needs some work to be ported to OpenGLES 2 for anything to show up on the screen :/
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

monkeypi

Posts: 4

Joined: Tue Mar 04, 2014 12:00 pm

Location: The Moon

Post Wed Mar 12, 2014 9:37 pm

Re: PiFighter! Bitfighter on RaspberryPi

When do you think that will happen
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Wed Mar 12, 2014 9:38 pm

Re: PiFighter! Bitfighter on RaspberryPi

I don't know, probably in a couple of versions :/
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.

Return to Bitfighter Features

Who is online

Users browsing this forum: No registered users and 78 guests