• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.tx/H22-Sep-2019-97

CMake/Modules/H22-Sep-2019-649574

Xcode/H03-May-2022-102,27836,814

data/H22-Sep-2019-91,16570,938

doc/H22-Sep-2019-855730

po/H03-May-2022-112,77989,443

src/H03-May-2022-126,39178,236

tools/H22-Sep-2019-5333

vs2013/H22-Sep-2019-1,5521,504

.dir-locals.elH A D22-Sep-2019462 113

.editorconfigH A D22-Sep-2019687 2520

.gitmodulesH A D22-Sep-2019243 118

.travis.ymlH A D22-Sep-20191.2 KiB4939

AUTHORSH A D22-Sep-20195.8 KiB177129

COPYING.CC-BY-3H A D22-Sep-201918.1 KiB334287

COPYING.CC-BY-SA-3H A D22-Sep-201920.6 KiB376326

COPYING.CC0H A D22-Sep-20196.8 KiB133113

COPYING.GPL-2H A D22-Sep-201917.7 KiB340281

COPYING.GPL-3H A D22-Sep-201934.3 KiB675553

MANUALH A D22-Sep-20196.2 KiB170115

README.mdH A D22-Sep-20196.2 KiB11885

ValyriaTear-Info.plistH A D22-Sep-2019677 2322

ValyriaTear.cbpH A D22-Sep-201924 KiB550549

ValyriaTear.nsiH A D22-Sep-20194.6 KiB141115

ValyriaTear.workspaceH A D22-Sep-2019211 76

appveyor.ymlH A D22-Sep-20192.4 KiB6754

cmake_uninstall.cmake.inH A D22-Sep-20191 KiB2220

icon.rcH A D22-Sep-201937 21

valyriatear.appdata.xmlH A D22-Sep-20191.3 KiB2928

valyriatear.desktopH A D22-Sep-2019281 1413

README.md

1![Valyria Tear](https://raw.githubusercontent.com/ValyriaTear/ValyriaTear/master/data/boot_menu/valyria_logo.png)
2
3- [**Development blog**](http://valyriatear.blogspot.com)
4- [**Bug Tracker**](https://github.com/ValyriaTear/ValyriaTear/issues)
5- [**Forums**](http://forum.freegamedev.net/viewforum.php?f=76)
6
7Valyria Tear is an open-source single-player medieval-fantasy 2D J-RPG based on an extended [Hero of Allacrost](https://allacrost.org/) engine and inspired by classic console RPGs.
8
9The player incarnates Bronann, a young boy forced to take part into the struggle for the possession of a mysterious crystal.
10This powerful artifact will lead him to discover the actual threat set upon his world, but also courage and love.
11
12The game has all the features you can expect from JRPG classics: entertaining story development, colourful map exploration, active side-view battles, character management, puzzles...
13It is also translated in several languages.
14
15## Licensing
16
17**Copyright (C) 2012-2019 by Bertram
18Copyright (C) 2004-2011 by The Allacrost Project**
19
20The source code is licensed under the *GNU GPL*.
21It is free software and you may modify it and/or redistribute it under the terms of this license.
22See https://www.gnu.org/copyleft/gpl.html for details.
23
24The graphics, sounds, musics and script files are licensed according to the [LICENSES](https://raw.githubusercontent.com/ValyriaTear/ValyriaTear/master/LICENSES) file.
25
26While the scripts are under the GNU GPL, the story concept is copyrighted and cannot be reused as is or part of it in another project without the author's consent.
27This means you can package, and distribute Valyria Tear under the term of this license but you cannot take the story or parts of it in another project without agreement.
28
29The game directories included and used are:
30`data/ po/`
31
32## Compilation procedure
33
34### Linux compilation
35
36Once you've unpacked the tarball, if you have checked it out from the Git repository, run this first to get the latest luabind code:
37`git submodule update --init --remote --force`
38and then the usual `cmake . && make` from the top-level directory at the prompt.
39
40You'll then be able to play by typing: `src/valyriatear`
41
42### Windows compilation
43
44#### Code::Blocks
45
46A [Code::Blocks](http://www.codeblocks.org/) project file is also provided when compiling under Windows.
47In that case, you might need the dependencies and headers files that can be downloaded [here](https://sourceforge.net/projects/valyriatear/files/win32-depends/valyriatear-win32-depends-sdl1.2-2014-12-11.zip/download).
48
49
50#### MSys/MinGW
51
52- Download and install MSys2
53   - **Download MSYS2** from [MSYS2.io](https://msys2.github.io), either the 64 bit or the 32 bit version, depending on which type of build you want to create
54   - Depending on your version, **install** to `C:\msys64` or `C:\msys32`
55   - **Run** `C:\msys64\mingw64.exe` or `C:\msys32\mingw32.exe`
56   - Follow the [update steps](https://github.com/msys2/msys2/wiki/MSYS2-installation#iii-updating-packages). Running `pacman -Syuu` repeatedly and following the instructions on screen should do it.
57- Install the toolchain and the dependencies
58   - Install the mingw64 **toolchain** (or mingw32 toolchain)
59      * 64bit: `pacman -S mingw-w64-x86_64-toolchain`
60      * 32bit: `pacman -S mingw-w64-i686-toolchain`
61   - Install **CMake** and all **dependencies**
62      * 64 bit: `pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-boost mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-glew mingw-w64-x86_64-libpng mingw-w64-x86_64-libzip mingw-w64-x86_64-lua mingw-w64-x86_64-libogg mingw-w64-x86_64-libvorbis mingw-w64-x86_64-openal mingw-w64-x86_64-libiconv`
63      * 32 bit: `pacman -S mingw-w64-i686-cmake mingw-w64-i686-ninja mingw-w64-i686-boost mingw-w64-i686-SDL2_ttf mingw-w64-i686-SDL2_image mingw-w64-i686-glew mingw-w64-i686-libpng mingw-w64-i686-libzip mingw-w64-i686-lua mingw-w64-i686-libogg mingw-w64-i686-libvorbis mingw-w64-i686-openal mingw-w64-i686-libiconv`
64      * If any of the dependencies should be missing from the lists above, you can search for them on http://repo.msys2.org/mingw/
65- **Configure** the build
66   * 64bit: `cmake -G "Ninja" -DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe .`
67   * 32 bit: `cmake -G "Ninja" -DCMAKE_C_COMPILER=C:/msys32/mingw32/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/msys32/mingw32/bin/g++.exe .`
68- **Run** the build: `ninja`
69
70Note: To update the translation files, run: `ninja update-pot`
71
72#### Microsoft Visual C++ 2013 and later
73
74_**(Warning: not officially supported!)**_
75Please contact [authenticate](https://github.com/authenticate) for support.
76To create a debug build on Windows with Visual Studio 2013, do this:
77- git clone https://github.com/authenticate/ValyriaTear-VS2013-Dependencies.git
78- git submodule update --recursive --init --remote --force
79- Copy the contents of ```ValyriaTear-VS2013-Dependencies/``` into a new folder ```ValyriaTearRepository/vs2013/libs``` in your Valyria Tear repository.
80- Copy the debug versions of all the dependencies' dlls into ```ValyriaTearRepository/vs2013/Debug```
81- Open the VS 2013 solution file: ```ValyriaTearRepository/vs2013/ValyriaTear.sln```
82- Build ```F7```
83- Run ```F5```
84
85### Mac OS X compilation
86
87- Use Macports or Homebrew to install things like boost.
88- Open Xcode project, to quickly update the files, delete the `src` folder in project and add it again. Remove all unnecessary things.
89- Press "Play"
90
91## Dependencies
92
93You will need the following in order to compile and run the game:
94
95- **Boost headers** (Tested from 1.42 to 1.58)
96- [**GNU Gettext**](https://www.gnu.org/software/gettext/) - (libiconv, libintl)
97- **lua** (5.1.x - 5.2.x - 5.3.x) - (liblua)
98- **libz**
99- **libpng** (1.2 to 1.6)
100- **Ogg/Vorbis** - (libogg, libvorbis, libvorbisenc, libvorbisfile)
101- **OpenAL**
102- **OpenGL**, **GLU** and **GLEW**
103- [**SDL**](https://www.libsdl.org/) (2.0.0+)
104- **SDL_ttf** (2.0.12+)
105- **SDL_image** (2.0.0)
106
107## Debug feature support compilation
108
109- **Using CMake:**
110  Use the `-D` parameter when invoking cmake to add **compilation flags**.
111
112- **Add debug menus, and debug commands:**
113  `cmake -DDEBUG_FEATURES=on .`
114
115- On **Code::Blocks:**
116  Go to Project->Build options, and add the flags in the `#defines` tab, i.e.:
117  `DEBUG_FEATURES`, `DISABLE_TRANSLATIONS`
118