Commit graph

132 commits

Author SHA1 Message Date
Nathan-MV
6c81a92d94 tilemap version config 2024-10-02 16:07:39 +00:00
Splendide Imaginarius
084e80b38c Allow symlinks by default
PhysicsFS supports disabling symlinks, but this is intended for
environments where scripts are sandboxed. Since mkxp-z runs Ruby code
unsandboxed, this doesn't yield any practical security benefit for us.
2024-07-28 21:52:50 +00:00
Splendide Imaginarius
58d7ec8519 Implement smooth scaling for simple sprites 2024-03-22 04:35:06 +00:00
Splendide Imaginarius
ebcb0e2486 Allow independent upscale/downscale interpolation methods 2024-03-21 03:03:08 +00:00
Splendide Imaginarius
fcb36d22fb Add mipmap scaling
Yields a substantial quality improvement when the window is much smaller
than the rendered resolution.
2024-03-18 02:02:55 +00:00
Splendide Imaginarius
936d768e4f Add xBRZ shader 2024-01-13 05:53:09 +00:00
Splendide Imaginarius
a7f20372fc
Merge pull request #135 from Splendide-Imaginarius/mkxp-z-bicubic-sharpness
Allow tuning bicubic sharpness
2023-12-15 03:12:20 +00:00
Splendide Imaginarius
9bdb70bc04
Merge pull request #139 from Splendide-Imaginarius/mkxp-z-bitmap-constructors
Refactor Bitmap constructors
2023-11-29 10:10:58 +00:00
Splendide Imaginarius
7032dccbc7 Add Bitmap constructors that take a TEXFBO or an SDL_Surface
Refactor snapToBitmap to use it, and add ability to dump VX Atlas with it.
2023-11-27 22:47:24 +00:00
Splendide Imaginarius
a3e9316438 Allow tuning bicubic sharpness 2023-11-26 10:51:56 +00:00
Splendide Imaginarius
5ed8fd7986
Merge pull request #107 from WaywardHeart/patches
Add a "patches" option to the config.
2023-11-22 21:55:56 +00:00
Splendide Imaginarius
52c932b9a0
Merge pull request #105 from Splendide-Imaginarius/mkxp-z-lanczos-enum
Fold `lanczos3Scaling` config into `smoothScaling`
2023-10-31 12:20:47 +00:00
Splendide Imaginarius
982e1fdc31
Merge pull request #58 from WaywardHeart/useScriptNames
Fix default value for useScriptNames setting
2023-10-29 12:10:41 +00:00
Splendide Imaginarius
77dedd06db
Merge pull request #18 from WaywardHeart/font-families
Make font families case insensitive
2023-10-29 11:05:50 +00:00
Wayward Heart
f8be9ffe4c Add a "patches" option to the config. 2023-10-26 21:44:42 -05:00
Splendide Imaginarius
3ecb09d050 Fold lanczos3Scaling config into smoothScaling
Thanks to Riley Pierce for the suggestion.

Fixes https://github.com/mkxp-z/mkxp-z/issues/73
2023-10-26 18:35:39 +00:00
Splendide Imaginarius
11a1fef1c3 Implement hi-res Bitmap replacement 2023-10-25 15:39:28 +00:00
Wayward Heart
7151442515 Fix default value for useScriptNames setting 2023-10-17 04:38:29 -05:00
Splendide Imaginarius
8943c8e62c
Merge pull request #8 from Splendide-Imaginarius/mkxp-z-show-fps
Add "displayFPS" config option
2023-10-15 11:53:17 +00:00
Wayward Heart
2d9c06231d Make font families case insensitive 2023-07-04 21:14:32 -05:00
Splendide Imaginarius
f26a9a8e1c
Add Lanczos3 scaling (#9)
"Lanczos filtering tends to yield much better quality (sharper image) than bilinear filtering."
2023-05-05 15:39:42 -04:00
Struma
1cfbac0c41 clean up stuff + add multitrack setting to json 2023-04-23 20:38:35 -04:00
Struma
2490b8b76b more multitrack BGM edits 2023-04-23 20:38:35 -04:00
Struma
e91c470ea0 make config code slightly more readable 2023-04-12 22:28:03 -04:00
Struma
a8e6338598 Convert solidFonts config option to be an array of fonts 2023-04-12 21:03:32 -04:00
Splendide Imaginarius
963bd856cf
Update JIT for Ruby v3.1.0+ (#7)
* Fix MJIT options for Ruby v3.1.0+

* Support YJIT
2023-03-03 08:56:23 -05:00
Splendide Imaginarius
23451fb6c0 Add "displayFPS" config option 2022-12-12 05:11:31 +00:00
Snowdream
1424a19189 oopsie-poopsie I did a #$*&ky-wucky
Also, in other news, apparently SDL runs fast enough that it outpaced
the rest of the program and caused infinite loops if you called two
window-related functions too fast (like Graphics.scale + Graphics.center)
2022-07-24 03:05:04 -04:00
Snowdream
69da851d04 Graduate macOS Metal setting to a config option again 2022-07-20 21:18:58 -04:00
Snowdream
0135bda50a Use OpenGL by default on Intel macs
Apparently ANGLE can fail to compile shaders on Intel macs if Metal is chosen.
2022-07-18 22:40:31 -04:00
Struma
f07e32e07b don't crash when no conf is present 2022-07-05 21:38:12 -04:00
Struma
0131abd4dd Add ability to change configuration from Ruby
- `System.config` has become `CONFIG.to_hash`
- `CONFIG[]` can be used to look up settings
- `CONFIG[]=` can be used to add/change settings
- When reading settings, user settings are preferred over defaults
- Changes are immediately stored in the user settings file
2022-07-05 03:16:44 -04:00
Struma
36cdbb95b6 Allow overriding mkxp.json from uder data directory 2022-07-04 20:02:04 -04:00
Struma
d568423774 Allow disabling the F1 menu through mkxp.json 2022-07-04 13:06:35 -04:00
Struma
4b46d6e47d remove commonDataPath and update mkxp.json to match the actual behavior 2022-07-04 11:18:22 -04:00
Struma
ee74bffc83 Add integer scaling options 2022-07-03 06:59:46 -04:00
Struma
4ef68693f6 Use software blitting on Windows by default 2022-04-02 20:25:15 -04:00
Struma
64dad2ad27 Good enough to release (?) 2022-01-23 18:29:08 -05:00
Struma
85fe2b070a miscellaneous garbage 2022-01-23 09:54:33 -05:00
Struma
ac9f56c41c fudge nuggets 2022-01-23 08:41:32 -05:00
Struma
56ef0ed900 allow enabling/disabling certain options through env 2022-01-23 08:21:59 -05:00
Struma
558942d8e7 Merge branch 'dev' into 'fix-windows-console'
# Conflicts:
#   src/config.cpp
2022-01-17 04:18:57 +00:00
Struma
822b3ae550 support rendering using Metal 2022-01-16 19:57:50 -05:00
Joni Savolainen
f52f09d4e5 Don't include "debug" in ruby ARGV 2022-01-16 14:30:18 +02:00
Struma
bb7cd9faa0 Make sure an empty config is generated if the JSON is missing 2021-06-24 16:44:00 -04:00
Struma
9920de87f8 Make json config accessible from System::CONFIG 2021-06-22 18:32:39 -04:00
Struma
6c08073610 Set Ruby's ARGV based on the command line 2021-06-22 09:38:23 -04:00
Struma
95e17244fd Remove Windows API emulation 2021-06-08 19:02:15 -04:00
Struma
b6ea039803 Guess and convert the encoding of the game title (again) 2021-06-08 08:33:29 -04:00
Struma
715949821f avoid duplicate folders in Application Support 2021-05-22 06:37:25 -04:00