Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

1emming

4
Posts
A member registered Mar 23, 2019

Recent community posts

Adding the PS3 sixaxis controller (for linux) using SDL2 gamepad tool was a sinch. Unfortunately the switch pro controller is not recognized by the tool.

Here is the PS3 controller if you want to add it:

050000004c0500006802000000800000,Sony PLAYSTATION(R)3 Controller,platform:Linux,a:b0,b:b1,x:b3,y:b2,back:b8,guide:b10,start:b9,leftstick:b11,rightstick:b12,leftshoulder:b4,rightshoulder:b5,dpup:b13,dpdown:b14,dpleft:b15,dpright:b16,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,

FYI the lag induced by streaming the video over network made the game unplayable, so I gave up my attempts and simply ran a laptop directly connected to the TV.

Only the game doesn't seem to support neither Nintendo Switch pro or PS3 controllers, so guests using iPhones are left with sad faces :P

They have a remote keyboard and start the game manually from windows. I saw this because they needed to restart it last time I was there.

Anyway I got around the startup issue by using xdotool.

Still trying to get the reception of the video to work, need to figure out what settings to use in ffmpeg to get it right. So far I do this:

Xvfb :1 -screen 0 1280x720x24 -fbdir /var/tmp/ +extension GLX +render -noreset &

export DISPLAY=:1.0

astronautics/astronautics &
xdotool key "Return"
xdotool key "Return"

ffmpeg -f x11grab -r 25 -s 1280x720 -i :1.0 -c:v libx264 -preset ultrafast -tune zerolatency -s 1280x720 -f mpegts udp://<receiver ip>:1234

I can get screenshots from the game with this:

xwud -in /var/tmp/Xvfb_screen0

So I see it is up and running. Just can't receive the stream yet. Oh and I will add audio to the ffmpeg stream as well.

Awesome game! It is currently playable at the gaming exhibition at "Tekniska"  museum in Stockholm, Sweden. They have a sweet setup with big screen and seating. Most fun museum visit I have had in a long time.

So much fun that I am trying to set up my own server at home, on a headless linux forwarding the graphics to the TV over the network using ffmpeg.

I wonder if there are options for starting the game directly from command line?