This project has been archived in favor of OpenNefia. Please contribute it instead of foobar.
An Elona variant that has a mod system. With its high extensibility, you can build your own Elona.
\~Ylva Fantasy Encyclopedia\~
make
clang-format
, find
and xargs
(Optional)git clone https://github.com/elonafoobar/elonafoobar
git submodule update --init
elona122.zip
to the deps
directory, so deps\elona
exists. This will allow for automatically copying the required assets.brew install cmake boost sdl2 sdl2_ttf sdl2_mixer sdl2_image lua
cd path/to/Elona_foobar; make build
sudo pacman -S cmake sdl2 sdl2_ttf sdl2_image sdl2_mixer gtk3 smpeg lua boost timidity++
For systems with apt
:
sudo apt-get install cmake liblua5.3-dev libboost-all-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev gtk+-3.0 smpeg timidity
cd path/to/Elona_foobar; make build
1.69
from here.Makefile.win
to point to your Boost install directory.install.bat
inside the deps
folder to move the other dependencies to deps\include
and deps\lib
.Developer Command Prompt for VS 2017
.cd path/to/Elona_foobar & nmake build -f Makefile.win
To debug with Visual Studio, open bin\Elona_foobar.sln
.
There are mainly 2 ways to build Elona foobar in parallel.
make CMAKE_ARGS="-GNinja" <BUILD TARGET>
CMAKE_BUILD_PARALLEL_LEVEL
also works like this: CMAKE_BUILD_PARALLEL_LEVEL=8 make <BUILD TARGET>
graphic
and sound
folders from vanilla v1.22 to the directory containing the executable.bin/Elona_foobar
, bin/Elona_foobar.app
or bin/Debug/Elona_foobar.exe
.See CONTRIBUTING.md for details.
MIT License. See LICENSE.txt for details. This license is applied for the contents in this repository. Note that images, sounds and fonts are not included.