Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Raspberry Pi / Broadcast to the Pi?

Author
Message
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 22nd May 2021 02:58
Hello, has anyone come up with a solution to be able to broadcast your game from a Mac or PC over to the Raspberry Pi, like we can do with phones and tablets?

I'm building a Pi driven arcade cabinet, but doing the dev on a PC. It's a bit of a pain to swap a USB stick constantly for testing and I'd love to be able to just broadcast across as I go.
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 22nd May 2021 20:03
Quote: "It's a bit of a pain to swap a USB stick constantly for testing and I'd love to be able to just broadcast across as I go."


i agree maybe the broadcast app could be ported across im not sure if i have seen the code for it available
but i dont see any reason why if you asked for it for the program not to be shared. The code may already be available
im not sure.

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 22nd May 2021 21:21
If you try running the PiPlayer from it's own folder (without media folder, bytecode etc..), the player should listen for a connection over wifi.

If your PC or Mac is connected when you press broadcast, the player should hopefully pick it up.


CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 24th May 2021 09:08
tboy wrote: "If you try running the PiPlayer from it's own folder (without media folder, bytecode etc..), the player should listen for a connection over wifi."


I did try that, but nothing happens at all when I try to run it, unfortunately. I could be missing something, though, I'm quite a noob when it comes to Linux based stuff.


fubarpk wrote: "i dont see any reason why if you asked for it for the program not to be shared"


True. If I have any luck I'll put a post up here.
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 24th May 2021 10:17 Edited at: 24th May 2021 10:20
Can you broadcast from the Pi to your android phone?

Or broadcast from your Mac or PC to your phone?
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 27th May 2021 03:29
Yep! Can broadcast just fine that way. I'm needing to broadcast from my PC (where I'm doing the development) to the Pi running Raspbian.
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 27th May 2021 10:45
Can you ping the ip address of the pi from your pc?
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th May 2021 09:41 Edited at: 30th May 2021 09:42
I think you're misunderstanding what I'm trying to do. The two computers can talk together just fine. There's no issue there. I'm saying that the Raspberry Pi package of AppGameKit doesn't include (as far as I'm aware) a working version of the receiver app, which would allow me to click broadcast on my Windows PC and make my software start running on my Raspberry Pi running Raspbian.

If I were broadcasting to my phone from my Windows PC I would be able to download the receiver app from the app store and have that running to pick up the broadcast. I'm looking for an equivalent of that functionality that can run on my Raspberry Pi, so that my Pi can be broadcast to from my Windows PC. An app or whatever that is designed for the Pi to receive broadcasts from elsewhere.
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 31st May 2021 10:12
I understand what you're trying to achieve, I don't have a windows system to test but I have tested with a PI 3 and Pi 4 and both broadcast and receive over my wifi network.


CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 5th Jun 2021 02:55
How did you manage to get the receiver app running on the Pi? I can't find where it's kept...
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 5th Jun 2021 12:30 Edited at: 5th Jun 2021 12:51
The PiPlayer itself is the receiver.

On my system it is found in: AGKPi/Tier1/Compiler/interpreters

I can't upload a file on the TGC site at the moment so here is a link to my github:

You should see something like this:
https://github.com/dtvault/AGKTier2/blob/master/Screenshot%20from%202021-06-05%2012-27-17.png
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 7th Jun 2021 15:21
Once again you save the day @tboy thankyou i used the player just where you said it was located and it worked well, i tried the wrong version of the player in the past when i tried it
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 8th Jun 2021 08:35
Interesting... I had thought that might be the case, but when I try to run PiPlayer on its own, it does nothing. Just opens then closes immediately... Not sure why that's happening for me and not for you guys!
CumQuaT
AGK Master
11
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 8th Jun 2021 09:00
Heyyyyyy it's working!

You never steer me wrong, tBoy. Thank you.
Virtual Nomad
Moderator
15
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 8th Jun 2021 16:56 Edited at: 8th Jun 2021 16:59
fubarpk wrote: "Once again you save the day @tboy thank you"

CumQuaT wrote: "You never steer me wrong, tBoy. Thank you."

as they've, said:
[My Itch.io Home] [Community Apps on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location: UK
Posted: 8th Jun 2021 21:16
Glad it works for you CumQuaT, it really is a cool feature of AGK.

Thanks for the badge Virtual Nomad, most appreciated!

Login to post a reply

Server time is: 2021-06-21 01:39:31
Your offset time is: 2021-06-21 01:39:31