Author Topic: RELEASE: FS2 Open 3.7.2 for Raspberry PI  (Read 2590 times)

0 Members and 1 Guest are viewing this topic.

Offline ShivanSpS

  • 210
RELEASE: FS2 Open 3.7.2 for Raspberry PI
Ive modified 3.7.2 to enable mod support (fixed segfault on model data) and ARM64 on Raspberry PI.

The source is avalible here https://github.com/Shivansps/fs2open.github.com

Tested on Ubuntu Desktop (ARM64) for RPI
Part 1 : Compiling & installing Wxlauncher
Quote
sudo apt-get install build-essential libopenal-dev libwxgtk3.0-gtk3-dev git python3-markdown cmake libsdl2-dev
git clone https://github.com/scp-fs2open/wxLauncher
cd wx*
cmake ./
sudo make install

Building fso 3.7.2
Quote
sudo apt-get install libopenal-dev libjansson-dev libjpeg-dev liblua5.1-dev libogg-dev libpng-dev libsdl-dev libtheora-dev libvorbis-dev automake libswscale-dev libavcodec-dev libavformat-dev
git clone https://github.com/Shivansps/fs2open.github.com
cd fs2open.github.com
./autogen.sh --enable-debug
sed -i -e 's/-mtune=generic -mfpmath=sse -msse -msse2/ /' ./mongoose/Makefile
sed -i -e 's/-mtune=generic -mfpmath=sse -msse -msse2/ /' ./code/Makefile
sed -i -e 's/-mtune=generic -mfpmath=sse -msse -msse2/ /' Makefile
make -j4

Changelog:
2-7-2021
-Fixed ARM64 build

3.7.2.20191210:
-Removed forced FPS/Memory display on debug build
-Added POF version 2118 support
-Added SLC2 support
-Added bsp alignment and sldc to slc2 conversion for pof version 2117 or lower.


Working or modified mod list for Raspberry PI

Freespace 2 DEMO
https://drive.google.com/open?id=1jF0YLc9h4X2n1rnAu61tp1_7QTjMROOq
Notes:
Use "Strech interface to fill screen" under "Gameplay" to play at more than 800x600 in a window.

Wing Commander Saga
https://drive.google.com/file/d/1xZzG44fPJn1X27JU13_KvunalqETtHMV/view?usp=sharing
Notes:
Use "Disable GLSL Shadder support" for fps boost
Techroom usually (not always) crashes.


As of 2-16-2021 all mods that can run on 3.7.2 should be now be able to run, as the GPU driver for Ubuntu Desktop now shows support for S3TC texture compression and the model and shield data is fixed on model load. I tested Mediavps 3.7.2 (2014) whiout mv_advanced and it runs at 30 fps at 720p with some dips to 25fps, retail runs at 60 fps with dips to 40 fps.
« Last Edit: February 16, 2021, 04:54:34 am by ShivanSpS »

 

Offline ShivanSpS

  • 210
Re: RELEASE: FS2 Open 3.7.2 for Raspberry PI
Update: fixed ARM64 build, i used Ubuntu Desktop for RPI, all problems with full screen are now gone, and driver now shows S3TC support, so 3.7.2 should be fully working now.