Note: To enable SSE 4.1 search for and remove the "-DSSSE3_ONLY" flag in the RSP and RDP makefiles.
Windows
Things you will need.
Git: http://windows.github.com/
A GCC Compiler: http://sourceforge.net/projects/tdm-gcc ... e/download
If you use mingw64 be sure that the mingw64\bin directory is added to your system path.
The system path variable can be found by right clicking My Computer and clicking property's then click Advanced system settings under the advanced tab and finally clicking on environment variables.
Edit path and add the mingw64\bin directory path to the line while separating any other paths with a semicolon at the end.
Example Path: C:\Program Files\mingw-builds\x64-4.8.1-posix-seh-rev5\mingw64\bin;
Needed libraries and headers: http://wwww.cen64.com/windows-binaries.zip
With Git Shell enter either of these.
Code: Select all
Stable: git clone https://github.com/tj90241/cen64.git cen64
Unstable: git clone -b next-version https://github.com/tj90241/cen64.git cen64_unstable
If you get this error "Makefile:201: recipe for target 'liprsp' failed." then cen64-rsp has to be downloaded and added manually.
https://github.com/tj90241/cen64-rsp/archive/master.zip
Just copy and paste the files from the zip into the rsp folder.
With Git Shell enter the following commands.
Code: Select all
cd cen64
git submodule init (Only needed once.)
To update Git Repository:
git submodule update
Code: Select all
Stable: git submodule foreach git pull origin master
Unstable: git submodule foreach git pull origin next-version
Goto the following directory: C:\Users\YourUsername\Documents\GitHub\cen64\windows
Run release or debug and if all went well it should spew out a shiny new cen64 executable.
Be sure to keep the OpenAL32.dll file in the same directory as the cen64 executable.
Linux
First install git, libglfw-dev, and the libalut-dev package.
On Debian based systems like Ubuntu use "sudo apt-get install git libglfw-dev libalut-dev".
On Redhat based systems like Fedora use "sudo yum install git libglfw-devel libalut-devel".
On Arch you can use this PKGBuild by Presence. https://aur.archlinux.org/packages/cen64-git/
Open a terminal in a new folder named lets say Cen64-Source. Then enter the commands below.
Code: Select all
Stable: git clone https://github.com/tj90241/cen64.git cen64
Unstable: git clone -b next-version https://github.com/tj90241/cen64.git cen64_unstable
Set your directory into the cen64 folder with cd or open a new terminal there.
git submodule init (Only needed once.)
To update Git Repository:
git submodule update
Code: Select all
Stable: git submodule foreach git pull origin master
Unstable: git submodule foreach git pull origin next-version
Code: Select all
make clean && make
For Debug Build:
make clean && make -e debug