How to Install Supermodel3 Emulator on Raspberry Pi 4

Channel:
Subscribers:
162
Published on ● Video Link: https://www.youtube.com/watch?v=0p8hlh4mUyw



Category:
Guide
Duration: 17:09
1,940 views
29


This video will guide you through the download and install on the Raspberry Pi 4. I have recorded it in Realtime to show that it doesn't take long to get running. Please remember this is only a test on the Raspberry Pi 4 and the Performance on most Games is not the greatest. However there are some games like Sega Rally 2 that are very playable.

Also im assuming you have your own roms as there are none included in this Video.


Open Terminal and download the following

sudo apt-get install gcc-arm-linux-gnueabihf
sudo apt-get install subversion
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-net-dev

This will get the latest Version of Supermodel

svn checkout https://svn.code.sf.net/p/model3emu/code/trunk model3emu-code

cd model3emu-code/

The following need to be modified in order to Compile

Create a New Folder Called NVRAM

Open up Src/Graphics/New3D/R3DShaderTriangles.h and replace texture2DLod with texture2D there should be 4 right next to each other that need changing.

Go back to the model3 home directory and open the makefiles folder and change the following from there.

Open Rules.inc and go to the line ARCH = “Under the Compiler Flags” and add -march=native


Once all the changes are made Generate the Makefile and build with the following

ln -s Makefiles/Makefile.UNIX Makefile

make

You can play about with different Build Flags for the Raspberry Pi 4 but so far I haven’t found they make any significant difference to performance other than causing compiler errors, or the Textures to be broken when running Games for example in the Rules.inc and the Makefile. UNIX you will find -Ofast which causes some issues when I tested on one Operating system. If this happens replace -Ofast with -O3 and it should solve the problem.

Many games will require lots of testing with different settings in game and others will just perform very poorly. Also some overclocking will be required for some playability.

also you'll want to move the supermodel application from the bin folder to the home directory with your roms too.

Also when running Games you will need to use “-legacy3d” as the Engine all the others will only give around 5fps. As an example load Scud Race with

./supermodel -ppc-frequency=45 -legacy3d ./scud.zip”

Try playing with higher or lower -ppc-frequency numbers as this will make the biggest Performance difference.


During the tests at the end of the Video i will show you the difference by changing the frequency. Also when you see the empty menu, just go into the NVRAM folder and delete the information for the game you are having problems with. That should solve the problem of missing images in the menus.