OpenFunscripter 3.2.0 For MacOS

I’m also having the same issue as above, where the GUI freezes and it opens up 2 video windows unless I force quit it.

Can you give instructions on how to do this? Checking my /Cellar/ folder, there’s only one MPV installed but I can’t tell if this is for Arm or Intel.

then
brew list
check if you had install a mpv, if you find mpv,
then
brew uninstall mpv

I uninstalled and reinstalled still and get the same issue of it creating two video windows then becoming unresponsive. Running brew list under zsh and arch x86_64 provides me the same result, of mpv being installed on both versions, despite only installing it for one.

Late reply but put the extensions in
~/Library/Application Support/OFS/OFS3_data/extensions

1 Like

For me, I solved MPV video player issue on Apple Silicon Mac

Issue

When running OpenFunscripter on Apple Silicon Macs, users experience:

  • Duplicate video display (two video windows)

  • Video controls not responding

  • Playback issues

didn’t have to reinstall brew or mpv neither

I just added few code to “OFS_MpvVideoplayer.cpp”

#if defined(__APPLE__) && defined(__arm64__)
// Force software decoding on M1/M2 Macs
hwAccel = false;
error = mpv_set_option_string(CTX->mpv, "vo", "libmpv");
if(error != 0) {
    LOG_WARN("Failed to set mpv: vo=libmpv");
}
error = mpv_set_option_string(CTX->mpv, "gpu-context", "cocoa");
if(error != 0) {
    LOG_WARN("Failed to set mpv: gpu-context=cocoa");
}
#endif

then

rm -rf build
mkdir build
cd build
cmake ..
cmake --build .
4 Likes

This also helped me to unfuck the linux version, thank you very much.

I’ve downloaded and installed your Patreon app and am having the same issue as others. Double video windows (one shows video; the other is black) and then the app is non responsive.

I’ve uninstalled and reinstalled mpv over and over with the same results. Running MacOS 15 on an M1 Mac.

@iii3iei33iii seems to have found a solution but I’m using @codeScripter 's pre-compiled app.

Same thing, two windows and the app doesn’t respond

1 Like

Since the mpv in Homebrew has been upgraded to the latest version, actually OFS requires version 0.37.0_1. So you need to find a way to install this version of mpv. Although I have solved this problem myself, the process was extremely troublesome. I haven’t organized the corresponding documentation yet, so you may need to figure it out on your own. However, I think a better solution would be to package the mpv dependency into the app.

I’ve packaged all the dependencies for OFS together. Local testing was successful, so feel free to give it a try. Tomorrow, I’ll have my other colleagues with Macs test it out.

The core compatibility issue is that it requires mpv versions below 0.37 and ffmpeg@6.

My macOS version 13.7

thank you!! however, it did not open on arm64 (mbp m4). the app quits after a sec.
macOS 15.3.2

20250417
I conducted some tests using my colleague’s Mac, and there are still a few minor issues that need to be resolved.

do you need a cheerleader? i’ll get out the pompoms. :confetti_ball:

How can i get ahold of this mac package im not much of a coder Im running M4 Mac

I’m still researching how to package all the dependencies of libmpv. I’ve already failed once. In fact, it’s one pitfall after another.

2 Likes

if it’s some path issue you can probably hardcode them by editing the main executable and change it to ./ (and with some bash script make it so it cd the .app automatically).

@codeScripter, I am trying to figure out how to install the software on a mac. Very green to this, and would appreciate any guidance

any news on this? I would love to run OFS on my Mac! Thanks

3 Likes

looking forward to this!

1 Like

finally got the app to compile, when ever I run it now I get:

2025-06-28 15:38:42.700 OpenFunscripter[4558:3290955] DEBUG: Failed loading libmpv.dylib: dlopen(libmpv.dylib, 0x0006): tried: 'libmpv.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OSlibmpv.dylib' (no such file), '/usr/lib/libmpv.dylib' (no such file, not in dyld cache), 'libmpv.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
2025-06-28 15:38:42.700 OpenFunscripter[4558:3290955] ERROR: Failed loading libmpv.dylib: dlopen(libmpv.dylib, 0x0006): tried: 'libmpv.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OSlibmpv.dylib' (no such file), '/usr/lib/libmpv.dylib' (no such file, not in dyld cache), 'libmpv.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
2025-06-28 15:38:42.700 OpenFunscripter[4558:3290955] ERROR: Failed to load mpv library.

I tried compiling mpv for arm. Maybe it can’t find it. I’m at a roadblock. please help