mirrror
Find a file
2018-10-10 18:46:10 -07:00
assets windows: move windows specific files 2017-08-10 21:58:31 +02:00
binding-mri Fix Windows compilation errors 2018-10-04 13:02:23 -07:00
binding-null Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
chromasdk remove some unnecessary stuff 2018-01-19 00:38:41 -04:00
journal Fix directory for PyInstaller 2018-10-02 14:09:27 -07:00
patches Update libsteam_api.dylib for macOS 2018-07-06 12:02:48 -07:00
scripts Fix choice crash when Action+Cancel pressed simultaneously 2018-10-07 14:27:07 -07:00
shader Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
src Fix physfs & ruby bugs and build for steam 2018-10-11 00:24:41 +00:00
steamshim Corrected minor issues with steamshim and documented the building 2018-08-06 22:27:41 +02:00
steamshim_parent Fix physfs & ruby bugs and build for steam 2018-10-11 00:24:41 +00:00
windows windows: move windows specific files 2017-08-10 21:58:31 +02:00
xxd+ Initial commit 2013-09-01 16:27:21 +02:00
.gitignore Update .gitignore 2018-10-06 18:24:56 -07:00
cleanup.sh Fix cleanup script and update Conan + CMakeLists to fix errors 2018-10-10 18:46:10 -07:00
CMakeLists.txt Fix cleanup script and update Conan + CMakeLists to fix errors 2018-10-10 18:46:10 -07:00
conanfile.py Fix cleanup script and update Conan + CMakeLists to fix errors 2018-10-10 18:46:10 -07:00
COPYING Add GPLv2 license text 2013-09-01 16:42:10 +02:00
install.command Fix install script 2018-05-03 02:07:02 -07:00
LICENSE.steamshim.txt Updated documentation 2016-02-29 15:39:51 -05:00
make-oneshot-linux.sh Convert Steamshim Makefile to CMake 2018-10-05 18:14:55 -07:00
make-oneshot-mac.command Look for Steamworks in local path 2018-10-07 10:53:34 -07:00
mklang.rb Fixing mklang file problems on windows and adding some errors to catch in SaveLoad 2017-05-07 15:18:35 -07:00
mklangsrc.rb Added cleaned-up language scripts 2017-03-30 18:46:55 -04:00
mkxp.pro Fix achievements on macOS (require Steam on release version) 2018-10-02 20:58:45 -07:00
oclint.sh Add OCLint command (for macOS) 2018-03-21 01:52:32 -07:00
oneshot.conf.sample Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
README.md Look for Steamworks in local path 2018-10-07 10:53:34 -07:00
rpgscript - solstice.bat all the solstice changes 2017-03-27 14:52:10 -05:00
rpgscript.bat Updating this bat file for my new laptop 2016-11-25 21:39:02 -06:00
rpgscript.rb Added the script builder tool 2016-09-19 14:00:21 -04:00
steam_appid.txt Basic Steamworks API support 2016-02-17 17:16:22 -05:00

mkxp-oneshot

This is a specialized fork of mkxp by Ancurio designed for OneShot.

Thanks to hunternet93 for starting the reimplementation of the journal program!

mkxp is a project that seeks to provide a fully open source implementation of the Ruby Game Scripting System (RGSS) interface used in the popular game creation software "RPG Maker XP", "RPG Maker VX" and "RPG Maker VX Ace" (trademark by Enterbrain, Inc.), with focus on Linux. The goal is to be able to run games created with the above software natively without changing a single file.

It is licensed under the GNU General Public License v2+.

SyngleChance also makes use of steamshim for GPL compliance while making use of Steamworks features. See LICENSE.steamshim.txt for details.

Dependencies / Building

  • Qt5
  • CMake
  • Conan
  • Boost.Unordered (headers only)
  • Boost.Program_options
  • Boost.CRC
  • Vim XXD (vim-common in apt)
  • libsigc++ 2.0
  • PhysFS (latest hg)
  • OpenAL
  • SDL2
  • SDL2_image
  • SDL2_ttf
  • Ancurio's SDL_sound fork
  • vorbisfile
  • pixman
  • OpenGL header (alternatively GLES2 with DEFINES+=GLES2_HEADER)
  • Ruby
  • Python 3 (journal reimplementation only)
  • PyQt5 for Python 3 (journal reimplementation only)
  • Steamworks SDK (optional, place contents of sdk folder in ZIP into "steamworks" folder in root)

Building with Conan

SyngleChance used to employ the qmake build system, but is now migrating to conan, so you'll need to install that beforehand. You'll also want to add the following remotes to conan:

conan remote add eliza "https://api.bintray.com/conan/eliza/conan"
conan remote add gooborg "https://api.bintray.com/conan/gooborgstudios/conan"
conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"

On Windows, you may need to edit C:\Users\[username]\.conan\profiles\default and add the following line in [settings] ("v141" is the current toolset version at the time of this writing):

compiler.toolset=v141

Next, you can install all the required packages:

conan install . --build=missing

Finally, you can build the project by running the following:

conan build .

Building with QMake (Old)

The make-oneshot-mac.command and make-oneshot-linux.sh files automate the entire process for you. Just run the applicable file to compile and install the engine into OneShot's default Steam directory.

qmake will use pkg-config to locate the respective include/library paths. If you installed any dependencies into non-standard prefixes, make sure to adjust your PKG_CONFIG_PATH variable accordingly.

The exception is boost, which is weird in that it still hasn't managed to pull off pkg-config support (seriously?). If you installed boost in a non-standard prefix, you will need to pass its include path via BOOST_I and library path via BOOST_L, either as direct arguments to qmake (qmake BOOST_I="/usr/include" ...) or via environment variables. You can specify a library suffix (eg. "-mt") via BOOST_LIB_SUFFIX if needed.

By default, SyngleChance switches into the directory where its binary is contained and then starts reading the configuration and resolving relative paths. In case this is undesired (eg. when the binary is to be installed to a system global, read-only location), it can be turned off by adding DEFINES+=WORKDIR_CURRENT to qmake's arguments.

pkg-config will look for ruby-2.3.pc, but you can override the version with MRIVERSION=2.5 ('2.5' being an example). This is the default binding, so no arguments to qmake needed (BINDING=MRI to be explicit).

Supported image/audio formats

These depend on the SDL auxiliary libraries. SyngleChance only makes use of bmp/png for images and oggvorbis/wav for audio.

To run SyngleChance, you should have a graphics card capable of at least OpenGL (ES) 2.0 with an up-to-date driver installed.

Configuration

SyngleChance reads configuration data from the file "oneshot.conf". The format is ini-style. Do not use quotes around file paths (spaces won't break). Lines starting with '#' are comments. See 'oneshot.conf.sample' for a list of accepted entries.

All option entries can alternatively be specified as command line options. Any options that are not arrays (eg. preloaded scripts) specified as command line options will override entries in oneshot.conf. Note that you will have to wrap values containing spaces in quotes (unlike in oneshot.conf).

The syntax is: --<option>=<value>

Example: ./oneshot --gameFolder="oneshot" --vsync=true