OpenVIII
Open source VIII engine implementation in C#
Check our website to find screenshots and more info at: https://makipl.github.io/OpenVIII-monogame/
Getting started (Windows)
Requirements: MonoGame + Visual Studio
-
Download and install Visual Studio 2019 and NET Framework 4.7.2
-
Clone the repository:
git clone https://github.com/MaKiPL/OpenVIII-monogame.git
-
Download and install MonoGame 3.7.1:
-
If you get an "Unable to load DLL 'FreeImage'" error, download and install:
-
In Visual Studio 2019, while the solution is open, go to Tools > NuGet Package Manager > Manage NuGet Packages for solution. Make sure the required packages are installed and everything is up to date. There should be a notice on this screen if a package isn't installed. There will be a number in a box next to Updates if there are out of date packages.
-
Make sure you add the Final Fantasy VIII path to the array at
Core\GameDirectoryFinder.cs
. On Windows the code tries to detect the install path via the registry. If it fails, it'll fall back to the array. -
That's all. You can now compile the executable.
Getting started (Linux/Mono) [Tested on Ubuntu]
- Clone the repository
git clone https://github.com/MaKiPL/OpenVIII-monogame.git
cd OpenVIII-monogame
- Make sure your Linux is up to date. Due to the FFmpeg dependency, we require Ubuntu Cosmos.
sudo apt update
sudo apt upgrade
- Install dependencies
## Installing ffmpeg and mono
sudo apt-get --assume-yes install nuget mono-complete mono-devel gtk-sharp3 zip ffmpeg
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get --assume-yes install ttf-mscorefonts-installer
## Installing monogame 3.7.1
wget https://github.com/MonoGame/MonoGame/releases/download/v3.7.1/monogame-sdk.run
chmod +x monogame-sdk.run
sudo ./monogame-sdk.run --noexec --keep --target ./monogame
cd monogame
echo Y | sudo ./postinstall.sh
cd ..
## Get missing Nuget Packages
nuget restore
- Build from command line (optional):
msbuild $Env:APPVEYOR_BUILD_FOLDER/OpenGL$Env:operatingsystem /property:Configuration=Debug$Env:operatingsystem /property:Platform=$Env:platform
#$Env:APPVEYOR_BUILD_FOLDER is just a folder you want to build to.
#$Env:operatingsystem = Linux
#$Env:platform = x86 or x64
#please customize the command for what you want to do.
-
Install an IDE
- Latest version of MonoDevelop for Linux
- The new version 3.8 of Monogame is recommending VSCODE. It may work with Monogame 3.7.1. This reddit post talks about getting things working. Though it might be easier to stick with Monodevelop. I haven't had a chance to test vscode out.
-
Open
FF8.sln
with your IDE. -
If you encounter missing
Microsoft.XNA...
then please open NuGet package Edit/Packages/Add Package:
MonoGame.Framework.DesktopGL
MonoGame.Framework.DesktopGL.Core
MonoGame.Framework.OpenGL
- Make sure you add the Final Fantasy VIII path to the array at
Core/GameDirectoryFinder.cs
Command-Line Arguments
- Enable log file.
log=true
- Force a FF8 Directory Path.
dir="Path_To_FF8"
- Force a different data folder.
data="Path_To_Data"
- Force language code.
lang=xx
Development guidelines
-
This project is currently in active development, therefore you can make new pull requests directly to main branch.
-
??
PS. Required FFmpeg dlls. (available on Ubuntu Cosmos via sudo apt-get install ffmpeg
)
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avutil-56.dll
- postproc-55.dll
- swresample-3.dll
- swscale-5.dll
I'd like to thank everyone involved in this project!