mirrror
Find a file
2016-11-02 16:38:00 -06:00
assets Gutted more unused features 2016-02-29 15:40:10 -05:00
binding-mri Window shaking 2016-10-29 22:22:22 -04:00
binding-null Implement F12 game reset (MRI only) 2014-09-26 06:25:47 +02:00
cmake add CMake project for easier building 2013-12-31 16:24:14 -05:00
patches/ruby Relocate SDL_sound patches into forked repo 2015-06-18 07:11:38 +02:00
scripts Adding fast travel destinations 2016-11-02 16:38:00 -06:00
shader Added footprints and src_rect to Plane class 2016-04-26 17:15:09 -04:00
src Journal screen stuff 2016-10-13 20:26:01 -04:00
steamshim Fix steamshim on OS X and Windows 2016-02-29 04:03:36 -05:00
steamshim_parent Fix steamshim on OS X and Windows 2016-02-29 04:03:36 -05:00
xxd+ Initial commit 2013-09-01 16:27:21 +02:00
.gitignore No one needs this bat file but me 2016-09-20 20:53:20 -06:00
CMakeLists.txt Graphics: Optimize Viewport effect rendering 2014-12-31 18:52:19 +01:00
COPYING Add GPLv2 license text 2013-09-01 16:42:10 +02:00
LICENSE.steamshim.txt Updated documentation 2016-02-29 15:39:51 -05:00
mkxp.pro Wallpaper functionality restored for windows 2016-10-13 20:26:01 -04:00
oneshot.conf.sample Minor engine tweaks 2016-03-11 00:30:20 -05:00
README.md Minor engine tweaks 2016-03-11 00:30:20 -05:00
rpgscript.bat No one needs this bat file but me 2016-09-20 20:53:20 -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 for the upcoming game OneShot.

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+.

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

Dependencies / Building

  • Boost.Unordered (headers only)
  • Boost.Program_options
  • libsigc++ 2.0
  • PhysFS (latest hg)
  • OpenAL
  • SDL2
  • SDL2_image
  • SDL2_ttf
  • Ancurio's SDL_sound fork
  • vorbisfile
  • pixman
  • zlib (only ruby bindings)
  • OpenGL header (alternatively GLES2 with DEFINES+=GLES2_HEADER)

OneShot employs Qt's qmake build system, so you'll need to install that beforehand. (The cmake build hasn't been maintained since the fork.)

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, OneShot 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.2.pc, but you can override the version with MRIVERSION=2.3 ('2.3' 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. OneShot only makes use of png for images and oggvorbis/wav for audio.

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

Configuration

OneShot 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