Commit graph

47 commits

Author SHA1 Message Date
刘皓
8c16bc0092
Implement config loading in libretro builds 2025-04-11 23:12:05 -04:00
刘皓
74f4c0e714
Downgrade OpenAL Soft from 1.24.2 to 1.23.1 in libretro builds
OpenAL Soft 1.24 introduces a lot of code that doesn't work well with
the PlayStation 3 homebrew toolchain, and also the old version of the
Wii U homebrew toolchain currently used by the libretro buildbot.
Instead of maintaining a bunch of patches to get 1.24 to work on these
toolchains, I think it'd be easier to just use 1.23.
2025-04-08 14:27:20 -04:00
刘皓
6bbe58378d
Don't normalize game path in libretro builds
Reverts commit d6ede8bcc6 and changes the
game path parser in libretro builds to not normalize the game path as it
causes problems on consoles with weird path formats.
2025-04-06 12:11:23 -04:00
刘皓
81b94d1498
Remove dependency on SDL headers in libretro builds
I'd already removed the SDL static libraries from libretro builds for
portability, but kept the headers to make it easier to port the codebase
to libretro. Eventually it was time to stop using the SDL headers as a
crutch.
2025-03-29 12:37:07 -04:00
刘皓
d6ede8bcc6
Don't add leading slash to native paths in libretro Windows build 2025-03-01 18:02:13 -05:00
刘皓
9ed11ecffa
Use libretro's PlayStation 3 Docker image instead of ScummVM's 2025-02-22 16:04:51 -05:00
刘皓
37a7559e38
Remove dependency on ghc::filesystem in libretro builds 2025-02-01 13:03:13 -05:00
刘皓
b249ad0d98
Add Ogg, Vorbis and libsndfile to libretro builds 2025-01-28 23:25:17 -05:00
刘皓
c42949713d
Start integrating the audio code into libretro builds 2025-01-27 00:34:52 -05:00
刘皓
84ca884f84
Reimplement WASI filesystem on top of existing mkxp-z filesystem implementation
This allows more flexibility when loading games in libretro builds,
since we can now load games either from a directory or from a ZIP or 7Z
archive. Also, the path cache is now active for all filesystem calls
made from inside Ruby.
2025-01-25 22:03:52 -05:00
Wayward Heart
2622a84c53 Add @autoreleasepool blocks to the macOS specific files.
Without these blocks the strings aren't released until the thread that created them is closed, which means file accesses especially leak memory.

Also refocus the game when closing the keybindings window on macOS.
2024-08-02 09:26:51 -05:00
Splendide Imaginarius
b42c13a8ca
Merge pull request #163 from WaywardHeart/hang-on-close
Don't hang if the user closes the game while it's still initializing
2024-04-29 20:53:00 +00:00
Splendide Imaginarius
325a49666d Log expensive optional operations
Path caching and atlas dumping incur a nontrivial performance hit, so it's
useful to log that they're happening so that users are reminded to disable
them if they were enabled accidentally.
2024-04-10 22:48:49 +00:00
Wayward Heart
9e8132ba25 Don't hang if the user closes the game while it's still initializing 2024-01-22 08:16:32 -06:00
Amaryllis Kulla
fae7fa9c4e
Update ancurio's copyright notice (#29) 2023-10-04 15:07:34 -04:00
Struma
eb300a9ef1 Adjust PhysFS and OpenAL errors a bit 2023-05-08 00:18:26 -04:00
Struma
8aa7fc7cc3 Use path select based on env rather than Debug
Building a Release seems to just break newer versions of ANGLE,
so now let's just use Debug always.
the environment variable `MKXPZ_SELECT_PATH`
can be set to any value to bring up the option to select a path
2022-01-16 22:56:58 -05:00
Struma
cb270888ba add Touch Bar support 2022-01-14 10:33:43 -05:00
Struma
3da0f4c948 fix files sometimes not loading properly
Namely, when the path cache is off and the file closely matches the name
of another file, apparently.
2021-11-27 22:51:13 -05:00
Struma
869f9d6918 Make defining steam appID for xcode release builds completely optional 2021-09-14 16:03:42 -04:00
Struma
e9fdf46d49 Include Ruby standard library by default on macOS 2021-08-28 04:53:04 -04:00
Struma
e666590563 Use old SDL_sound again... again 2021-06-17 18:14:47 -04:00
Struma
95e17244fd Remove Windows API emulation 2021-06-08 19:02:15 -04:00
Struma
ca596cbaf9 cleanup 2021-05-23 21:55:02 -04:00
Struma
44dda759a4 freeze version string 2021-03-27 23:17:20 -04:00
Struma
48a2393bb8 Speed up load_data & remove encryptedGraphics setting 2021-02-26 08:33:27 -05:00
Struma
2fd585393d the not-so-great warning purge 2021-02-22 01:22:26 -05:00
Struma
b5ebed4391 build on Linux again 2021-02-21 23:54:00 -05:00
Struma
6ae5aeebc1 Change default macOS game dir to Contents/Game 2021-02-19 14:29:36 -05:00
Struma
94657eaed5 Add Ruby functions for mounting/unmounting paths 2021-01-09 00:49:31 -05:00
Struma
d9f6218565 lexically_normal RETURNS the path 2021-01-06 17:24:36 -05:00
Struma
1bc05a9b62 fix inappropriate if statement 2021-01-06 01:13:19 -05:00
Struma
cc337afb81 fix whoopsie 2021-01-02 23:28:27 -05:00
Struma
4069863fa9 When debugging from Xcode, prompt for target path 2021-01-02 23:24:20 -05:00
Struma
5cc49efe2c "throw new Exception" -> "throw Exception"
I don't know why I had it this way tbh
2021-01-02 21:41:11 -05:00
Struma
7db1c1219e Prefix mkxp-z preprocessor definitions with MKXPZ_ 2020-12-31 14:50:07 -05:00
Struma
182389ba1d Fix paths with backslashes in Game.ini 2020-12-25 21:32:53 -05:00
Struma
aaae11b67d Normalize paths during calls to FileSystem::openReadRaw 2020-12-25 20:20:17 -05:00
Struma
132f67150b Always use correct path separator when normalizing 2020-12-17 15:47:18 -05:00
Struma
b6f6a214ef Update Xcode project to 12.3 (remove update project nag) 2020-12-15 03:38:01 -05:00
Struma
45e224626e Form normalized paths from absolutes with ObjC 2020-12-14 11:42:31 -05:00
Struma
c4ce877186 Use experimental/ghc filesystem for meson builds 2020-11-23 02:25:02 -05:00
Struma
8eac1c0546 use fileSystemRepresentationWithPath on Asset files 2020-11-22 05:15:25 -05:00
Struma
4ef6b3c337 Do FilesystemImpl for meson builds 2020-11-22 04:51:36 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Struma
a399059f8c Update xcodeproj 2020-11-21 22:37:46 -05:00
Struma
f98b1e031f Reorganize src dir 2020-11-21 01:36:24 -05:00