Commit graph

80 commits

Author SHA1 Message Date
Struma
2fd585393d the not-so-great warning purge 2021-02-22 01:22:26 -05:00
Struma
4233d36b22 Allow setting keybinding names from config 2021-01-15 04:49:27 -05:00
Struma
f5af9d66e6 Use Ruby 3 defaults for JIT (instead of 2.6) 2021-01-09 18:44:31 -05:00
Struma
c3b5623a3d Create configuration options specifically for JIT 2021-01-09 06:37:24 -05:00
Aeodyn
63b92d3815 Add support for passing commandline arguments set in mkxp.json to the Ruby environment. 2021-01-08 19:48:41 -05:00
Struma
f25acdd7e9 all settings should be fine on M1 now 2021-01-08 11:09:12 -05:00
Struma
487bc4b7ed Mistakes in configuration options 2021-01-06 04:05:51 -05:00
Struma
d6325abedb Add fluidsynth to Xcode build 2020-12-29 13:21:31 -05:00
Struma
682b8c4716 Re-enable resizable window by default
It was this way before dropping ObjFW.
Must have flubbed it while rewriting config.cpp
2020-12-27 12:15:46 -05:00
Struma
8ccc053e0b Disable blitting option for arm64 macOS (post-revert) 2020-12-26 10:30:20 -05:00
Struma
0179e6a75b Revert "Remove haptics code"
Some part of this completely breaks the frame limiter.
I do not know which part
2020-12-25 19:41:16 -05:00
Struma
c099d8efc1 Force disable blitting option on Apple Silicon 2020-12-25 12:13:55 -05:00
Struma
99c91ad057 typo city 2020-12-17 16:06:34 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Struma
c4e110881d ObjC-less configuration parsing 2020-11-21 22:32:30 -05:00
Inori
ae3cfe9344 Parse INI files with OFINIFile 2019-12-15 05:37:06 -05:00
Inori
0111175c45 Add MKXP.set_window_title 2019-09-05 21:44:11 -04:00
Inori
7f29278bbc Begin implementing Discord 2019-09-04 05:48:23 -04:00
Inori
86829a9559 Set default data directory to game title 2019-09-02 14:05:46 -04:00
Inori
8b384ba759 more fakeapi stuff + Disable frameskipping by default 2019-08-25 17:58:12 -04:00
Inori
35b7ef0b3f Changes to runtime configuration options 2019-08-20 13:22:07 -04:00
Inori
5959efcab4 Enable resizing, disable smoothscaling by default 2019-08-12 16:29:50 -04:00
Luis Caceres
43cb318862 Config: Add case-insensitive ini file parser 2019-03-19 19:26:50 +01:00
ReinUsesLisp
b5e5a26d8b Config: Set debug editor's debug variables into ruby 2018-02-22 09:08:45 +01:00
Jonas Kulla
7d9a85dbbd Config: Add entry to override the game window title 2017-12-11 00:48:35 +01:00
Jonas Kulla
006f701fec Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit 2017-04-23 14:32:11 +02:00
Jonas Kulla
1478e1e0f9 Config: Add "maxTextureSize" entry to artificially limit texture sizes 2017-04-23 14:10:54 +02:00
Jonas Kulla
c4dd3ffaf6 Config: Use set for preloadScripts
Would probably make sense for all other string vectors too.
2017-03-03 19:37:19 +01:00
Jonas Kulla
9a3dd2d554 Config: Enable smoothScaling by default
There's really no reason not to.
2015-07-21 12:13:24 +02:00
Jonas Kulla
7393f7e951 Config: Add "execName" to specify ini and rgssad filenames 2015-02-19 02:23:23 +01:00
Jonas Kulla
74f8c91bf4 Oops 2015-01-15 09:05:51 +01:00
Jonas Kulla
6f88ddc51c Config: Move default entry values into PO_DESC macro list 2015-01-03 19:28:23 +01:00
Jonas Kulla
146e0294b4 Add option to fix the framerate to the native screen refresh rate
Useful on mobile devices where using non-standard framerates
looks absolutely horrible and screen refresh rates vary highly.
2015-01-03 18:58:13 +01:00
Jonas Kulla
b42725ea20 Add config option working around buggy graphics drivers
"subImageFix=true" should fix missing text on radeonsi fglrx
as well as most mobile drivers. Also fixes tileset atlas on
mobile.
2015-01-01 23:38:11 +01:00
Jonas Kulla
7cbf81c83a Add 'printFPS' config entry to continuously print FPS to console
Useful on platforms that don't have window decorations.
2014-12-31 18:52:21 +01:00
Jonas Kulla
35077793a0 Add std::streambuf wrapper around SDL_RWops for boost
Also add SDL_RWops version of the readFile utility function.
2014-12-31 18:52:21 +01:00
Jonas Kulla
0a484c8a31 std::string constructor doesn't like null pointers 2014-12-31 18:52:20 +01:00
Jonas Kulla
dd73db2e9d Introduce F1 menu to reconfigure key bindings at runtime 2014-10-11 20:48:44 +02:00
Jonas Kulla
d223d83cbf Implement F12 game reset (MRI only)
Can be disabled with "enableReset=false".

While at it, also replace the flakey volatile bool flags
with proper atomics.
2014-09-26 06:25:47 +02:00
Jonas Kulla
3983fe66e9 Config: Print parsing errors instead of ignoring them 2014-09-23 19:23:11 +02:00
Jonas Kulla
7f41b9cc45 Config: Correctly setup rgssVer / screen size with customScript 2014-09-05 21:54:16 +02:00
Jonas Kulla
1a98760b31 Config: Properly clamp rgssVersion to allowed range 2014-08-30 12:00:56 +02:00
Jonas Kulla
55f1542c76 Merge separate RGSS version build configs into one
Setup active RGSS version at runtime. Desired version can be
specified via config, or as default, auto detected from the game
files. This removes the need to build specifically for each
version, which should help packaging a lot.

This also greatly reduces the danger of introducing code that
wouldn't compile on all RGSS version paths (as certain code paths
were completely ifdef'd out).

This can be optimized more, eg. not compiling shaders that aren't
needed in the active version.
2014-08-28 23:22:05 +02:00
Jonas Kulla
b1ebc655f9 SoundEmitter: Make SE source count configurable
Default is still 6.
2014-08-25 05:34:19 +02:00
Jonas Kulla
117ddeee5c Config: Add 'preloadScript' entry to run raw scripts before the game scripts
Useful to insert common code, wrappers etc. without touching Scripts.rxdata.
2014-08-24 07:32:44 +02:00
Jonas Kulla
10bfcb57b7 Config: Convert game title to valid UTF-8 (if it isn't already)
Removes the need to manually convert the Game.ini to UTF-8 every
time with eg. Japanese games. Also, setting the window title on
OSX with invalid UTF-8 crashes.

This functionality and the dependency on libiconv and libguess
are optional and can be enabled with `CONFIG+=INI_ENCODING`.
If turned off and invalid UTF-8 is encountered, the game title
is treated as being empty (ie. the folder name is used instead).
2014-08-20 23:32:18 +02:00
Jonas Kulla
3550cc0ff5 Use correct default resolution for RGSS2/3 (544x416) 2014-08-12 22:21:57 +02:00
Jonas Kulla
751fdc599e Audio: Add MIDI format playback support
This adds a new dependency with libfuildsynth. MIDI support
is built by default, but can be disabled if not desired.

All RTP songs should work well, but there are known problems
with other files (see README). Also, the pitch shift implementation
is somewhat poor and doesn't match RMXP (at least subjectively).

A soundfont is not included and must be provided by
the user themself.
2014-08-02 06:42:55 +02:00
Jonas Kulla
ec16210f8a MRI-Binding: Allow manually specifying load paths in config 2014-07-24 23:11:12 +02:00
Jonas Kulla
58d86039d5 Merge branch 'dev' 2014-04-17 08:19:24 +02:00