mirrror
Find a file
2021-11-12 02:09:10 -08:00
assets Fix gtk messageboxes, copyright 2020-06-18 17:40:37 -07:00
binding-mri final Linux bugfixes? hopefully 2020-06-17 20:02:33 -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 -oneshot now writes to Software\\OneShot\\GameDirectory in registry the game's path 2021-11-08 00:52:01 -08:00
patches Linux changes (#62) 2019-04-21 03:50:20 -07:00
scripts -loading language font mappings from file now, for scripts. Still needs to be done for the keybindings menu 2021-11-11 01:34:33 -08:00
shader Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
src -settings menu now loads font name and font size from 2 .ini files, so that these can be set for new languages that need to be added 2021-11-12 02:09:10 -08:00
steamshim Corrected minor issues with steamshim and documented the building 2018-08-06 22:27:41 +02:00
steamshim_parent Linux changes (#62) 2019-04-21 03:50:20 -07:00
windows windows: move windows specific files 2017-08-10 21:58:31 +02:00
xxd+
.gitignore -some minor updates for gitignore 2021-11-08 00:52:22 -08:00
cleanup.sh Linux changes (#62) 2019-04-21 03:50:20 -07:00
CMakeLists.txt Linux AppImage support 2020-06-16 15:53:22 -07:00
conanfile.py Fix Linux bitrot 2020-06-15 23:55:18 -07:00
COPYING
install.command Fix install script 2018-05-03 02:07:02 -07:00
libraries.rb Fix library blacklist and GTK dialogs 2019-04-22 23:03:35 +02:00
LICENSE.steamshim.txt Updated documentation 2016-02-29 15:39:51 -05:00
make-appimage.sh Fix gtk messageboxes, copyright 2020-06-18 17:40:37 -07:00
make-journal-linux.sh Even more linux/itch fixes 2020-06-17 19:11:11 -07:00
make-oneshot-linux.sh Reverted previous commit; fixed Ruby version default on Linux 2019-04-21 22:37:16 +02:00
make-oneshot-mac.command Fix an embarrassing typo 2019-04-21 03:33:30 -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 Grab a localized documents directory variant on Linux 2019-04-25 02:50:24 +02: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 Even more linux/itch fixes 2020-06-17 19:11:11 -07:00
rpgscript.rb Fix October bug 2018-10-13 18:49:57 +00: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+.

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

Building (Supported on Windows, Ubuntu Linux, in progress on macOS)

Preface: This only supports Visual Studio on Windows and Xcode on macOS. Ubuntu should work with either GCC or clang. You can probably compile with other platforms/setups, but beware.

With Python 3 and pip installed, install Conan via pip3 install conan. Afterwards, add the necessary package repositories by adding running the following commands:

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

Prepare to build OneShot by installing the necessary dependencies with Conan.

cd mkxp-oneshot
mkdir build
cd build
conan install .. --build=missing

Hopefully, this should complete without error. It may take quite a while to build all of the dependencies.

On Ubuntu, make sure you install the necessary dependencies before building OneShot proper:

sudo apt install libgtk2.0-dev libxfconf-0-dev

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

conan build ..

On Linux, you likely want to generate an AppImage. Please refer to how to build the Journal app below, as this is a prerequisite for building the AppImage. Afterwards, you may run the command, from the root directory of the repository:

./make-appimage.sh . build /path/to/game/files /path/to/journal/_______ /some/path/OneShot.AppImage`

Requires linuxdeploy and AppImageTool in your PATH.

Building the Journal app on Unix systems

As a prerequisite on Ubuntu, ensure that the following packages are installed.

sudo apt install python3-venv libxcb-xinerama

Then run the script. From the root of the repository:

./make-journal-linux.sh . /path/to/journal/parent/directory/

This will generate a file called _______.

Supported image/audio formats

These depend on the SDL auxiliary libraries. OneShot only makes use of bmp/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