刘皓
8d1bcd124e
Fix possible buffer overflow in stringify bindings for Color
and Tone
2025-04-26 18:14:23 -04:00
刘皓
8bae6e65db
Merge branch 'dev' into misc-fixes
2025-04-15 23:16:06 -04:00
Splendide Imaginarius
8243ee53e9
Merge pull request #242 from Splendide-Imaginarius/mkxp-z-matrix
...
Automatic Build / Ubuntu 22.04 x86_64 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 arm64 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 armv6 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 armv7 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 armv7-neon (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power8le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power9le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 riscv64 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 s390x (push) Failing after 3s
Automatic Build / Windows (push) Has been cancelled
Automatic Build / macOS (push) Has been cancelled
README: Link to Matrix space
2025-04-16 01:58:24 +00:00
Splendide Imaginarius
8f3fbd972d
README: Link to Matrix space
...
Fixes https://github.com/mkxp-z/mkxp-z/issues/85
2025-04-16 01:16:26 +00:00
刘皓
8277390e13
Move embedtool.cpp into tools directory
2025-04-15 12:20:22 -04:00
刘皓
3625ab9989
Merge branch 'dev' into misc-fixes
2025-04-11 12:46:48 -04:00
Splendide Imaginarius
737aed0330
Merge pull request #239 from white-axe/vorbis
...
Use CMake instead of Autotools for building Vorbis
2025-04-11 05:29:45 +00:00
刘皓
e607ee9107
Switch back to mkxp-z/vorbis
2025-04-04 10:11:18 -04:00
刘皓
5def22150a
Use CMake instead of Autotools for building Vorbis
...
(cherry picked from commit e10c7bee0d
)
2025-03-30 11:58:34 -04:00
刘皓
6290703847
Avoid out-of-bounds array access in tilemap shader
...
This breaks the shader on my Android device. When `atIndex` is out of
bounds, `atFrames[atIndex]` evaluates to 0 and so
`aniIndex / atFrames[atIndex]` results in division by 0. All of the
tiles where this division by 0 occurs are blank on my Android device.
That probably means the shader pipeline halts when division by 0 occurs.
2025-03-20 14:26:37 -04:00
刘皓
cb302d2475
Fix implementation of OBJ_INIT_COPY
for Ruby < 1.9
2025-03-18 18:41:28 -04:00
刘皓
fd08583edd
Merge branch 'dev' into misc-fixes
2025-03-18 18:27:28 -04:00
Splendide Imaginarius
68a344afcf
Merge pull request #236 from white-axe/endian
...
Automatic Build / Ubuntu 22.04 x86_64 (push) Failing after 40s
Automatic Build / Ubuntu 22.04 armv7 (push) Failing after 34s
Automatic Build / Ubuntu 22.04 arm64 (push) Failing after 39s
Automatic Build / Ubuntu 22.04 armv6 (push) Failing after 37s
Automatic Build / Ubuntu 22.04 armv7-neon (push) Failing after 3s
Automatic Build / Ubuntu 22.04 power8le (push) Failing after 3s
Automatic Build / Ubuntu 22.04 power9le (push) Failing after 3s
Automatic Build / Ubuntu 22.04 riscv64 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 s390x (push) Failing after 3s
Automatic Build / Windows (push) Has been cancelled
Automatic Build / macOS (push) Has been cancelled
Implement serialization for big-endian platforms
2025-03-16 07:37:04 +00:00
刘皓
7182a57fe1
Use std::ios::binary
mode in embedtool.cpp
...
Required for it to work properly on Windows.
2025-03-03 10:41:01 -05:00
刘皓
22d2a7db08
Add clangd cache directory to .gitignore
2025-03-02 16:33:33 -05:00
刘皓
5be1f6962e
Explicitly request 7-character Git hash in meson.build
...
It seems the length of the hash generated by
`git rev-parse --short HEAD` is nondeterministic. GitHub Actions
generates 7-character hashes, while my computer currently generates
8-character hashes. To be consistent, I'm forcing the hashes to be 7
characters long.
2025-02-28 00:40:32 -05:00
刘皓
923b054fad
Define as extern const
instead of const
in embedtool.cpp
2025-02-28 00:30:40 -05:00
刘皓
5c0e06eaf4
Use vcs_tag
to get Git version instead of run_command
...
This way Meson will automatically keep the Git hash updated as you make
new Git commits, rather than forcing you to reconfigure the build again
every time you make a new commit to keep the commit hash updated.
(cherry picked from commit b9bb3535ae
)
2025-02-27 23:41:40 -05:00
刘皓
f162e8a494
Replace xxd with a custom executable
...
This removes the need to have xxd installed and provides a portable way
to specify the name of the output array (xxd has an `-n` option for
this, but it isn't present in older versions of xxd), which helps reduce
the possibility of symbol conflicts in libretro builds and also prevents
portability issues since the name of xxd's output array depends on the
relative path to the input file, which can break if Meson changes the
structure of the build directory or if the user sets the build directory
to a different location.
Also, this custom executable declares the array as const so that it goes
into the read-only data section of the binary instead of the data
section.
2025-02-27 22:55:22 -05:00
刘皓
ceea260b82
Make the xxd command in shader/meson.build less fragile
2025-02-18 22:58:58 -05:00
刘皓
79f9108748
Merge branch 'base' into misc-fixes
2025-02-14 12:24:47 -05:00
刘皓
852db6233c
Upgrade actions to v4
...
No need for double-zipping anymore since the upload artifact action
preserves +x permissions now.
(cherry picked from commit 0f6611f19f
)
2025-02-14 12:24:00 -05:00
刘皓
0f6611f19f
Upgrade actions to v4
...
No need for double-zipping anymore since the upload artifact action
preserves +x permissions now.
2025-02-10 21:25:46 -05:00
刘皓
d7cd4ff3ae
Implement serialization for big-endian platforms
2025-02-10 18:58:47 -05:00
刘皓
dc798d4611
Fix typo in otherDirs
in src/input/input.cpp
2025-02-07 13:47:07 -05:00
Splendide Imaginarius
711f9a4553
Merge pull request #158 from Nathan-MV/plugin-script
...
Automatic Build / Ubuntu 22.04 x86_64 (push) Failing after 5s
Automatic Build / Ubuntu 22.04 arm64 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 armv6 (push) Failing after 3s
Automatic Build / Ubuntu 22.04 armv7 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power8le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 armv7-neon (push) Failing after 2s
Automatic Build / Ubuntu 22.04 power9le (push) Failing after 2s
Automatic Build / Ubuntu 22.04 riscv64 (push) Failing after 2s
Automatic Build / Ubuntu 22.04 s390x (push) Failing after 2s
Automatic Build / Windows (push) Has been cancelled
Automatic Build / macOS (push) Has been cancelled
Postload Scripts
2024-10-26 19:41:41 +00:00
Nathan-MV
17f9ec9c19
postload scripts
2024-10-26 14:24:32 +00:00
Splendide Imaginarius
cd8f1c28d3
Merge pull request #169 from Splendide-Imaginarius/mkxp-z-lanczos-short-circuit-part2
...
Bitmap: short-circuit shader interpolation
2024-10-23 23:59:05 +00:00
Splendide Imaginarius
7e9937b80f
Bitmap: short-circuit shader/bilinear interpolation
...
Benchmark shows a speedup from 10.4s to 4.1s.
2024-10-23 22:36:00 +00:00
Splendide Imaginarius
1114671567
Merge pull request #88 from Nathan-MV/pr-symphony
...
Parse CSV - rapidcsv
2024-10-23 03:33:31 +00:00
Nathan-MV
48955ab120
update rapidcsv header
2024-10-05 12:50:03 +00:00
Nathan-MV
f27018912c
fix conflicts with #207
2024-09-29 11:51:23 +00:00
Snowdream
d4bf2123a9
T++ CSVs do not have headers, don't try to read 'em
2024-09-29 11:43:30 +00:00
Snowdream
ab2f477031
Correctly parse CSVs with newlines within quoted strings
2024-09-29 11:43:30 +00:00
Snowdream
7c066151ff
Add a function to parse CSV files to multidimensional arrays.
2024-09-29 11:43:30 +00:00
Splendide Imaginarius
ef90a2f30b
Merge pull request #223 from Splendide-Imaginarius/mkxp-z-seek-round
...
Audio: convert seconds to samples by rounding rather than flooring
2024-09-29 01:53:41 +00:00
Splendide Imaginarius
1a6e5c90b6
Merge pull request #210 from WaywardHeart/mkxp-z-preload-oem-keys
...
win32_wrap: add OEM keys
2024-09-29 01:52:29 +00:00
Splendide Imaginarius
6a3a0ddc86
Audio: convert seconds to samples by rounding rather than flooring
2024-09-27 17:59:47 +00:00
Splendide Imaginarius
c58d708faa
Merge pull request #130 from Splendide-Imaginarius/seek-double
...
Audio: use double for seeking
2024-09-27 17:34:12 +00:00
Splendide Imaginarius
a5d574984c
Merge pull request #192 from WaywardHeart/audio-segfault
...
Fix a segfault in audio streams
2024-09-03 09:33:55 +00:00
Wayward Heart
a3d028335c
Re-encode S32 audio sample formats without re-enumerating the files
2024-09-03 03:11:27 -05:00
Splendide Imaginarius
ad84f2a743
Merge pull request #216 from Splendide-Imaginarius/mkxp-z-s390x
...
Add s390x as cross-compile target
2024-09-03 06:45:42 +00:00
Splendide Imaginarius
304132979d
Fix default ARCH_OPENSSL in Linux Makefile
...
It was broken when introducing s390x support.
2024-09-03 06:15:35 +00:00
Splendide Imaginarius
a6d1c22c81
armv6 and armv7 are no longer experimental
2024-09-03 06:04:30 +00:00
Splendide Imaginarius
5bf39ffdf0
Add s390x as cross-compile target
...
Includes an OpenSSL build fix that should also help for riscv64. Doesn't
fully build yet because src/util/serial-util.h errors on big-endian
targets.
2024-09-03 06:02:59 +00:00
Splendide Imaginarius
88948f05db
Merge pull request #208 from white-axe/volume-scale
...
Use a -35 dB scale for sound volume
2024-09-03 04:07:58 +00:00
Splendide Imaginarius
ae04a71b9f
Merge pull request #215 from Splendide-Imaginarius/mkxp-z-armv6
...
Fix armv6 cross-compile target
2024-09-03 04:03:07 +00:00
Splendide Imaginarius
a1d438b5dd
Fix armv6 cross-compile target
...
Similar changes as c09ee66e69
.
Also had to use -march instead of -mcpu (also inconsistent with GCC docs),
and disable Thumb.
2024-09-03 03:29:11 +00:00
刘皓
96c234fe4c
Correct the comment explaining the -35 dB scale
2024-09-02 22:12:16 -04:00
刘皓
9a3cfb7e96
Add a comment explaining how the -35 dB volume scale was determined
2024-09-02 21:56:18 -04:00