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 / How to get AGK working on the Raspberry Pi 4.

Author
Message
tboy
8
Years of Service
User Offline
Joined: 1st Jan 2013
Location:
Posted: 22nd Feb 2021 21:14 Edited at: 22nd Feb 2021 21:30
Assuming you are using Raspbian buster (32 bit)

Please refer to https://github.com/TheGameCreators/AGKTier2/wiki/How-to-compile-AppGameKit-Tier2-libraries

1) Download AppGameKit 2021.02.10 (Raspberry Pi) (168.74MB) from your account. - unzip to a location of your choice.

2) git clone https://github.com/TheGameCreators/AGKTier2

3) Download GLFW - git clone https://github.com/glfw/glfw

4) If you don't have doxygen installed - sudo apt-get install doxygen

cd glfw

mkdir build
cd build
cmake ..

make

make install

5) cd AGKTier2

I stated that I experienced a green overlay due to a shader issue.

If you change line 1841 in AGKShader.cpp (AGKTier2/common/Source) from
colorVarying = color; to colorVarying = vec4(1.0, 1.0, 1.0, 1.0);
that seems to solve the issue.

6) make

7) cd apps/interpreter_linux

8) make

If successful you should see a folder called 'build' with LinuxPlayer32, rename LinuxPlayer32 to PiPlayer,
then replace the Tier1 PiPlayer found in Tier1/Compiler/interpreters with your new PiPlayer.

Hopefully the instructions will help you get AppGameKit working on the RPI4.
EdzUp
18
Years of Service
Recently Online
Joined: 8th Sep 2002
Location: Citadel Cyberspace
Posted: 23rd Feb 2021 09:42
Thanks for the information will definitely try that out
-EdzUp
Patreon: https://www.patreon.com/EdzUp
Buy me a coffee:https://www.buymeacoffee.com/EdzUp

Login to post a reply

Server time is: 2021-02-28 23:07:11
Your offset time is: 2021-02-28 23:07:11