Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
(1 edit)

Thanks! I haven't actually seen their setup live yet.

There is a bunch of command line options for starting the game (listed in readme.txt file), but no option to directly select the match type. Now that you mentioned it, I wonder how they deal with this at the museum and why they never asked for such option. I will add it in next version.

You can edit ~./astronautics/configuration.xml file manually for some extra options like disabling keyboard/mouse controls if you plan to play on phones only.

Maybe you could post a picture/video of your setup here, when it's done? 

Anyways, let me know if you find anything else that would help with setups like yours.

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.

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

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,

I have been using a PS3 controller for testing all the time. Perhaps your's is some different variant. I will add it in the in next version.

I have no experience with Switch controllers, but I will keep this in mind if I ever get my hands on one.