ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Jan 19, 2021 9:46 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Mar 31, 2020 5:05 pm 

Joined: Tue Mar 31, 2020 4:53 pm
Posts: 1
sudo sed -i -e 's/main/main contrib/' /etc/apt/sources.list
Then using sudo vi /etc/apt/sources.list add too lines to /etc/apt/sources.list copy the deb lines but use deb-src for the duplicate lines. Make sure to keep the deb lines.
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libc6:armhf libstdc++6:armhf
sudo apt-get build-dep libsdl1.2debian
sudo apt-get install subversion mercurial autoconf automake libtool
sudo apt-get install libopenal-dev libogg-dev libpng-dev libvorbis-dev
sudo apt-get install libglu1-mesa-dev libfreetype6-dev xorg-dev
sudo apt-get install libasound2-dev libaudiofile-dev
sudo apt-get install premake4
sudo apt-get install libsdl2-dev:armhf
sudo apt-get install libsdl2-ttf-dev:armhf
sudo apt-get install libsdl2-image-dev:armhf
sudo apt-get install libsdl2-gfx-dev:armhf
sudo apt-get install libsdl2-mixer-dev:armhf
sudo apt-get install libsdl2-net-dev:armhf
sudo apt-get install libopenal-dev:armhf
sudo apt-get install libvorbis-dev:armhf
Change in to your tales of maj'eyal source directory with premake4.lua in it.
sed -i 's/opt\/SDL-2.0/usr/' premake4.lua
make clean
cd build
Apply the patch t-engine-1_6_7.txt with t-engine-1_6_7 in the build folder. The patches should be in the root directory with premake4.lua for the next instruction to work.
patch te4core.lua < ../t-engine-1_6_7.txt
cd ..
cd src
Apply the patches t-engine4-tSDL.txt and t-engine4-music.txt
patch tSDL.h < ../t-engine4-tSDL.txt
patch music.h < ../t-engine4-music.txt
cd ..
sudo apt-get install gcc-arm-linux-gnueabihf
sudo apt-get install g++-arm-linux-gnueabihf
In the folder with premake4
export CC="arm-linux-gnueabihf-gcc"
export CXX="arm-linux-gnueabihf-g++"
export AR="arm-linux-gnueabihf-ar"
premake4 clean
premake4 gmake
make -j2

File comment: t-engine4-music
t-engine4-music.txt [366 Bytes]
Downloaded 38 times
File comment: t-engine4-tSDL
t-engine4-tSDL.txt [409 Bytes]
Downloaded 40 times
File comment: t-engine-1_6_7
t-engine-1_6_7.txt [1.75 KiB]
Downloaded 43 times
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group