Page 1 of 1
SuperTux
Posted: Wed Nov 28, 2018 3:20 pm
by xeno74
Hi All,
There are sound issues in the default package of SuperTux on Linux PPC. I was able to solve this issue with:
vi SuperTux-v0.5.1-Source/src/audio/ogg_sound_file.cpp:
Code: Select all
#ifdef WORDS_BIGENDIAN
int bigendian = 1;
#else
int bigendian = 1;
#endif
The problem was, that this source code doesn't detect our BIG ENDIAN platform. I added
int bigendian = 1; after
#else and after compiling, the sound and music work without any problems.
I uploaded it for testing today. You can start it with
./run_game.sh.
Download:
supertux-0.5.1-linux-glibc2.23-ppc.tar.gz
Screenshot:
Cheers,
Christian
Re: SuperTux
Posted: Thu Nov 29, 2018 8:47 am
by xeno74
Hi All,
If your system has hardware 3D acceleration support then you can use it with SuperTux.

Please add
--renderer opengl to the SuperTux command in the script
run_game.sh. After that SuperTux works faster!

I tested it with a Radeon HD4870 (AmigaOne X5000) and with a Radeon HD6870 (AmigaOne X1000) on ubuntu MATE 16.04.5 LTS and on the MATE PowerPC Remix 0.9.
Cheers,
Christian
Re: SuperTux
Posted: Thu Nov 29, 2018 11:07 am
by acefnq
Thanks, works very well with --renderer opengl added.
ace
Re: SuperTux
Posted: Thu Nov 29, 2018 12:32 pm
by xeno74
acefnq wrote:Thanks, works very well with --renderer opengl added.
ace
Good to know!

Thank you!

Re: SuperTux
Posted: Tue Dec 04, 2018 6:21 am
by xeno74
BTW, SuperTux works also on Debian.
Screenshot of Debian PowerPC with kernel
4.20-rc5 and with
SuperTux 0.5.1:

Re: SuperTux
Posted: Wed Jan 09, 2019 9:17 am
by xeno74
Hi All,
Great news!
Casey released the new SuperTux
0.6.0 for
Fienix PowerPC today! You can install it with the package management system (APT, Synaptic .. etc).
Cheers,
Christian
Re: SuperTux
Posted: Thu Jan 10, 2019 4:14 pm
by LiveForIt
xeno74 wrote:Hi All,
There are sound issues in the default package of SuperTux on Linux PPC. I was able to solve this issue with:
vi SuperTux-v0.5.1-Source/src/audio/ogg_sound_file.cpp:
Code: Select all
#ifdef WORDS_BIGENDIAN
int bigendian = 1;
#else
int bigendian = 1;
#endif
The problem was, that this source code doesn't detect our BIG ENDIAN platform. I added
int bigendian = 1; after
#else and after compiling, the sound and music work without any problems.
Cheers,
Christian
You should fix this in the "makefile", normaly there is like $(OPTS) or some thing you can add -DWORDS_BIGENDIAN
bigendian = 0 is correct after #else
Re: SuperTux
Posted: Thu Jan 10, 2019 6:10 pm
by xeno74
LiveForIt wrote:
You should fix this in the "makefile", normaly there is like $(OPTS) or some thing you can add -DWORDS_BIGENDIAN
bigendian = 0 is correct after #else
Thanks a lot for the hint!
— Christian
Re: SuperTux
Posted: Fri Dec 24, 2021 2:40 pm
by xeno74
Hi All,
A Christmas present for you.

The new SuperTux 0.6.3.
New:
supertux.org
Download:
supertux-0.6.3-linux-glibc2.23-ppc.tar.gz
You can start it with
./run_game.sh. I successfully tested it on ubuntu MATE 16.04.7, Void PPC, MintPPC, and on Fienix today.
Screenshot:
I wish you a Merry Christmas and thanks a lot for your help with testing!
Cheers,
Christian
Re: SuperTux
Posted: Fri Dec 24, 2021 11:00 pm
by xeno74
You can also use OpenGL as renderer.
Please replace
sdl with
opengl20 in the file
run_game.sh.
Code: Select all
export LD_LIBRARY_PATH=./bin/
bin/supertux2 --datadir ./data/ --renderer opengl20