Skip to content

Tsunder/ElonaFoobar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elona Foobar AppVeyor Build Status Travis CI Build Status

  • One of the Elona variants.
  • It is made of C++.
  • It is derived from Elona v1.22.
  • It is alpha version yet.
  • It haswill have the highest extensibity with Lua. [####+]
  • It achieveswill achieve truly internationalization. [####+]
  • It works on multi-platform. [####+]

How To Build

Requirements

  • make
  • CMake
  • C++ compiler which supports C++14
  • Boost
  • Lua 5.3
  • SDL2, SDL2_image, SDL2_ttf and SDL2_mixer
  • clang-format, find and xargs(Optional)

Additional requirements for Windows

  • Visual Studio 2017 x64
  • 7-Zip or similar (for automated dependency extraction using 7z.exe)

Additional requirements for Linux

  • SMPEG
  • Timidity++

Steps

  1. Extract elona122.zip (from here) to the deps directory, so deps\elona exists. This will allow for automatically copying the required assets.
  2. Follow the platform-specific instructions below.

macOS

  1. Install the required dependencies.
brew install cmake boost sdl2 sdl2_ttf sdl2_mixer sdl2_image lua
  1. cd path/to/ElonaFoobar; make

Linux

  1. Install the required dependencies. For Arch Linux:
sudo pacman -S cmake sdl2 sdl2_ttf sdl2_image sdl2_mixer 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-def smpeg timidity
  1. cd path/to/ElonaFoobar; make

Windows

  1. Download and install the binaries for Boost 1.66 from here.
  2. Edit Makefile.win to point to your Boost install directory.
  3. Run download.bat inside the deps folder to download the other dependencies to deps\include and deps\lib (you have to have 7z.exe on your PATH).
  4. Open the Developer Command Prompt for VS 2017.
  5. cd path/to/ElonaFoobar & nmake -f Makefile.win

To debug with Visual Studio, open bin\ElonaFoobar.sln.

How To Play

  1. Copy the data, graphic, map, original, sound and user folders from vanilla v1.22 to the directory containing the executable. Make sure not to overwrite any files that already exist, as they have been updated in this version.
  2. Execute bin/ElonaFoobar, bin/ElonaFoobar.app or bin/Debug/ElonaFoobar.exe.

How To Contribute

See CONTRIBUTING.md for details.

License

MIT License. See LICENSE for details. This license is applied for the contents in this repository. Note that images, sounds and fonts are not included.

Thirdparty libraries

  • picojson: see thirdparty/picojson/LICENSE.
  • Catch2: see thirdparty/catch2/LICENSE.
  • hayai: see thirdparty/hayai/LICENSE.
  • sol2: see thirdparty/sol2/LICENSE.
  • cmake/FindXXX.cmake: see cmake/LICENSE.

Lua libraries

About

Elona variant

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 73.9%
  • Lua 25.3%
  • Other 0.8%