2015-01-15 06:18:02 +00:00
|
|
|
# Lines starting with '#' are comments.
|
|
|
|
#
|
|
|
|
# About filesystem paths specified in this config:
|
|
|
|
# The "gameFolder" path is resolved either relative
|
|
|
|
# to the directory containing the mkxp executable
|
|
|
|
# (the default behavior), or relative to the current
|
|
|
|
# working directory (when compiled with
|
|
|
|
# -DWORKDIR_CURRENT). All other paths are resolved
|
|
|
|
# relative to gameFolder and ignoring both RTPs and
|
|
|
|
# encrypted archives.
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
|
2014-08-28 21:11:10 +00:00
|
|
|
# Specify the RGSS version to run under.
|
|
|
|
# Possible values are 0, 1, 2, 3. If set to 0,
|
|
|
|
# mkxp will try to guess the required version
|
|
|
|
# based on the game files found in gameFolder.
|
|
|
|
# If this fails, the version defaults to 1.
|
|
|
|
# (default: 0)
|
|
|
|
#
|
|
|
|
# rgssVersion=1
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Create a debug context and log
|
|
|
|
# OpenGL debug information to the console
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# debugMode=false
|
|
|
|
|
|
|
|
|
2014-12-24 05:23:28 +00:00
|
|
|
# Continuously print average FPS to console.
|
|
|
|
# This setting does not affect the window title
|
|
|
|
# FPS display toggled via F2
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# printFPS=false
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Game window is resizable
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# winResizable=false
|
|
|
|
|
|
|
|
|
|
|
|
# Start game in fullscreen (this can
|
|
|
|
# always be toggled with Alt-Enter at runtime)
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# fullscreen=false
|
|
|
|
|
|
|
|
|
|
|
|
# Preserve game screen aspect ratio,
|
|
|
|
# as opposed to stretch-to-fill
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# fixedAspectRatio=true
|
|
|
|
|
|
|
|
|
|
|
|
# Apply linear interpolation when game screen
|
|
|
|
# is upscaled
|
2015-07-16 16:41:48 +00:00
|
|
|
# (default: enabled)
|
2014-01-15 02:20:05 +00:00
|
|
|
#
|
2015-07-16 16:41:48 +00:00
|
|
|
# smoothScaling=true
|
2014-01-15 02:20:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Sync screen redraws to the monitor refresh rate
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# vsync=false
|
|
|
|
|
|
|
|
|
2014-08-28 21:11:10 +00:00
|
|
|
# Specify the window width on startup. If set to 0,
|
|
|
|
# it will default to the default resolution width
|
|
|
|
# specific to the RGSS version (640 in RGSS1, 544
|
|
|
|
# in RGSS2 or higher).
|
|
|
|
# (default: 0)
|
2014-01-15 02:20:05 +00:00
|
|
|
#
|
|
|
|
# defScreenW=640
|
|
|
|
|
|
|
|
|
2014-08-28 21:11:10 +00:00
|
|
|
# Specify the window height on startup. If set to 0,
|
|
|
|
# it will default to the default resolution height
|
|
|
|
# specific to the RGSS version (480 in RGSS1, 416
|
|
|
|
# in RGSS2 or higher).
|
|
|
|
# (default: 0)
|
2014-01-15 02:20:05 +00:00
|
|
|
#
|
|
|
|
# defScreenH=480
|
|
|
|
|
|
|
|
|
2017-12-10 23:51:21 +00:00
|
|
|
# Override the game window title
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# windowTitle=Custom Title
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Enforce a static frame rate
|
|
|
|
# (0 = disabled)
|
|
|
|
#
|
|
|
|
# fixedFramerate=0
|
|
|
|
|
|
|
|
|
|
|
|
# Skip (don't draw) frames when behind
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# frameSkip=true
|
|
|
|
|
|
|
|
|
2015-01-03 17:48:09 +00:00
|
|
|
# Use a fixed framerate that is approx. equal to the
|
|
|
|
# native screen refresh rate. This is different from
|
|
|
|
# "fixedFramerate" because the actual frame rate is
|
|
|
|
# reported back to the game, ensuring correct timers.
|
|
|
|
# If the screen refresh rate cannot be determined,
|
|
|
|
# this option is force-disabled
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# syncToRefreshrate=false
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Don't use alpha blending when rendering text
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# solidFonts=false
|
|
|
|
|
|
|
|
|
2015-01-01 22:38:11 +00:00
|
|
|
# Work around buggy graphics drivers which don't
|
|
|
|
# properly synchronize texture access, most
|
|
|
|
# apparent when text doesn't show up or the map
|
|
|
|
# tileset doesn't render at all
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# subImageFix=false
|
|
|
|
|
|
|
|
|
2017-04-23 12:32:11 +00:00
|
|
|
# Enable framebuffer blitting if the driver is
|
|
|
|
# capable of it. Some drivers carry buggy
|
|
|
|
# implementations of this functionality, so
|
|
|
|
# disabling it can be used as a workaround
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# enableBlitting=true
|
|
|
|
|
|
|
|
|
2017-04-23 10:28:34 +00:00
|
|
|
# Limit the maximum size (width, height) of
|
|
|
|
# most textures mkxp will create (exceptions are
|
|
|
|
# rendering backbuffers and similar).
|
|
|
|
# If set to 0, the hardware maximum is used.
|
|
|
|
# This is useful for recording traces that can
|
|
|
|
# be played back on machines with lower specs.
|
|
|
|
# (default: 0)
|
|
|
|
#
|
|
|
|
# maxTextureSize=0
|
|
|
|
|
|
|
|
|
2021-12-07 06:10:45 +00:00
|
|
|
# Scale up the game screen by an integer amount,
|
|
|
|
# as large as the current window size allows, before
|
|
|
|
# doing any last additional scalings to fill part or
|
|
|
|
# all of the remaining window space (or none at all
|
|
|
|
# if lastMileScaling is disabled).
|
|
|
|
# If fixedAspectRatio is disabled, the integer scale
|
|
|
|
# factors in horizontal and vertical direction can differ
|
|
|
|
# depending on how much space is available, otherwise
|
|
|
|
# they are forced to the smaller of the two.
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# integerScaling.active = false
|
|
|
|
|
|
|
|
|
|
|
|
# When integer scaling is enabled, this option controls
|
|
|
|
# whether the scaled game screen is further scaled
|
|
|
|
# (with linear interpolation when smoothScaling is enabled)
|
|
|
|
# to fill the rest of the game window.
|
|
|
|
# Note that this option still respects fixedAspectRatio.
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# integerScaling.lastMileScaling = true
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Set the base path of the game to '/path/to/game'
|
|
|
|
# (default: executable directory)
|
|
|
|
#
|
|
|
|
# gameFolder=/path/to/game
|
|
|
|
|
|
|
|
|
|
|
|
# Use either right or left Alt + Enter to toggle
|
|
|
|
# fullscreen
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# anyAltToggleFS=false
|
|
|
|
|
|
|
|
|
2014-08-24 05:36:19 +00:00
|
|
|
# Enable F12 game reset
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# enableReset=true
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Allow symlinks for game assets to be followed
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# allowSymlinks=false
|
|
|
|
|
|
|
|
|
2014-01-25 08:24:55 +00:00
|
|
|
# Organisation / company and application / game
|
|
|
|
# name to build the directory path where mkxp
|
|
|
|
# will store game specific data (eg. key bindings).
|
|
|
|
# If not specified, mkxp will save to a common
|
|
|
|
# directory shared by all games. Note that these
|
|
|
|
# are TWO individual config entries, and both need
|
|
|
|
# to be defined for this to take effect.
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# dataPathOrg=mycompany
|
|
|
|
# dataPathApp=mygame
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Set the game window icon to 'path/to/icon.png'
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# iconPath=/path/to/icon.png
|
|
|
|
|
|
|
|
|
|
|
|
# Instead of playing an RPG Maker game,
|
|
|
|
# execute a single plain text script instead
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# customScript=/path/to/script.rb
|
|
|
|
|
|
|
|
|
2014-08-24 05:27:36 +00:00
|
|
|
# Define raw scripts to be executed before the
|
|
|
|
# actual Scripts.rxdata execution starts
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# preloadScript=my_win32_wrapper.rb
|
|
|
|
# preloadScript=ruby18_fixes.rb
|
|
|
|
|
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Index all accesible assets via their lower case path
|
|
|
|
# (emulates windows case insensitivity)
|
|
|
|
# (default: enabled)
|
|
|
|
#
|
|
|
|
# pathCache=true
|
|
|
|
|
2014-05-21 16:10:14 +00:00
|
|
|
|
2014-01-15 02:20:05 +00:00
|
|
|
# Add 'rtp1', 'rtp2.zip' and 'game.rgssad' to the
|
|
|
|
# asset search path (multiple allowed)
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# RTP=/path/to/rtp1
|
|
|
|
# RTP=/path/to/rtp2.zip
|
|
|
|
# RTP=/path/to/game.rgssad
|
2014-04-11 16:11:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Use the script's name as filename in warnings and error messages
|
|
|
|
# (default: disabled)
|
|
|
|
#
|
|
|
|
# useScriptNames=false
|
2014-04-17 06:19:24 +00:00
|
|
|
|
|
|
|
|
Font: Overhaul font asset discovery
Previously, any font names requested by RGSS would be translated
directly to filenames by lowercasing and replacing spaces with
underscores (and finally doing some extension substitution).
To make this whole thing work smoother as well as get closer to
how font discovery is done in VX, we now scan the "Fonts/" folder
at startup and index all present font assets by their family name;
now, if an "Open Sans" font is present in "Fonts/", it will be
used regardless of filename.
Font assets with "Regular" style are preferred, but in their
absence, mkxp will make use of any other style it can find for
the respective family. This is not the exact same behavior as
VX, but it should cover 95% of use cases.
Previously, one could substitute fonts via filenames, ie. to
substitute "Arial" with "Open Sans", one would just rename
"OpenSans.ttf" to "arial.ttf" and put it in "Fonts/". With the
above change, this is no longer possible. As an alternative, one
can now explicitly specify font family substitutions via mkxp.conf;
eg. for the above case, one would add
fontSub=Arial>Open Sans
to the configuration file. Multiple such rules can be specified.
In the process, I also added the ability to provide
'Font.(default_)name' with an array of font families to search
for the first existing one instead of a plain string.
This makes the behavior closer to RMXP; however, it doesn't
work 100% the same: when a reference to the 'Font.name' array is
held and additional strings are added to it without re-assignig
the array to 'Font.name', those will be ignored.
2014-04-11 11:37:14 +00:00
|
|
|
# Font substitutions allow drop-in replacements of fonts
|
|
|
|
# to be used without changing the RGSS scripts,
|
|
|
|
# eg. providing 'Open Sans' when the game thinkgs it's
|
|
|
|
# using 'Arial'. Font family to be substituted and
|
|
|
|
# replacement family are separated by one sole '>'.
|
|
|
|
# Be careful not to include any spaces.
|
|
|
|
# This is not connected to the built-in font, which is
|
|
|
|
# always used when a non-existing font family is
|
|
|
|
# requested by RGSS.
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# fontSub=Arial>Open Sans
|
|
|
|
# fontSub=Times New Roman>Liberation Serif
|
2014-07-24 21:11:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Because mkxp is usually distributed as a stand alone
|
|
|
|
# build, no predefined load paths are initialized
|
|
|
|
# ($:, $LOAD_PATH) in the MRI backend. With this option,
|
|
|
|
# they can be specified manually (eg. when using a system
|
|
|
|
# libruby.so). It is however recommended to statically
|
|
|
|
# link all required gems into libruby.so.
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# rubyLoadpath=/usr/lib64/ruby/
|
|
|
|
# rubyLoadpath=/usr/local/share/ruby/site_ruby
|
2014-07-31 01:32:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
# SoundFont to use for midi playback (via fluidsynth)
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# midi.soundFont=/usr/share/mysoundfont.sf2
|
|
|
|
|
|
|
|
|
|
|
|
# Activate "chorus" effect for midi playback
|
|
|
|
#
|
|
|
|
# midi.chorus=false
|
|
|
|
|
|
|
|
|
|
|
|
# Activate "reverb" effect for midi playback
|
|
|
|
#
|
|
|
|
# midi.reverb=false
|
2014-08-20 03:20:07 +00:00
|
|
|
|
|
|
|
|
2014-08-25 03:28:46 +00:00
|
|
|
# Number of OpenAL sources to allocate for SE playback.
|
|
|
|
# If there are a lot of sounds playing at the same time
|
|
|
|
# and audibly cutting each other off, try increasing
|
|
|
|
# this number. Maximum: 64.
|
|
|
|
#
|
|
|
|
# SE.sourceCount=6
|
|
|
|
|
|
|
|
|
2015-02-19 01:23:23 +00:00
|
|
|
# The Windows game executable name minus ".exe". By default
|
|
|
|
# this is "Game", but some developers manually rename it.
|
|
|
|
# mkxp needs this name because both the .ini (game
|
|
|
|
# configuration) and .rgssad (encrypted data archive) must
|
|
|
|
# carry the same name minus their extension, and we cannot
|
|
|
|
# guess the executable's name.
|
|
|
|
# You could just as well rename them both to "Game.ini" and
|
|
|
|
# "Game.rgssad", but specifying the executable name here
|
|
|
|
# is a tiny bit less intrusive.
|
|
|
|
#
|
|
|
|
# execName=Game
|
|
|
|
|
|
|
|
|
2014-08-20 03:20:07 +00:00
|
|
|
# Give a hint on which language the game title as
|
|
|
|
# specified in the Game.ini is, useful if the encoding
|
|
|
|
# is being falsely detected. Relevant only if mkxp was
|
|
|
|
# built with automatic encoding conversion (INI_ENCODING).
|
|
|
|
# (default: none)
|
|
|
|
#
|
|
|
|
# titleLanguage=japanese
|