Skip to content

GSRunner: Mac support#12680

Merged
F0bes merged 6 commits intoPCSX2:masterfrom
TellowKrinkle:MacGSRunner
Jun 5, 2025
Merged

GSRunner: Mac support#12680
F0bes merged 6 commits intoPCSX2:masterfrom
TellowKrinkle:MacGSRunner

Conversation

@TellowKrinkle
Copy link
Member

@TellowKrinkle TellowKrinkle commented May 18, 2025

Description of Changes

Supports running the gsdump runner on macOS
Note: Since the gsdump runner is not in an application bundle, it will search for a resources directory in the same directory as it, similar to how the main PCSX2 exe works on Windows.

Rationale behind Changes

It's nice to have a working GSdump runner

Suggested Testing Steps

Test the GSdump runner on macOS
(Note: I tested a while back and it worked then, but then I rebased it without testing so please test)
Edit: I tested it, it now works without crashing on shutdown.

Did you use AI to help find, test, or implement this issue or feature?

No

CMakeLists.txt Outdated
add_subdirectory(updater)
endif()

add_subdirectory(pcsx2-gsrunner EXCLUDE_FROM_ALL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We check a flag ENABLE_GSRUNNER a little below in the same file
The warning it prints will need to be updated, however.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fun of leaving patches sitting around for years and then rebasing them

Should be fixed

Copy link
Member

@F0bes F0bes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to get CMake to copy the PCSX2 resources directory into the output runner binary dir?

Other than that, and my other comment. It works great.

@TellowKrinkle
Copy link
Member Author

Is there a way to get CMake to copy the PCSX2 resources directory into the output runner binary dir?

Not sure, we need the metallibs to get copied in too, which are part of the pcsx2-qt target
We could probably add a dependency to the pcsx2-qt target and then symlink its resource dir...

@Mrlinkwii Mrlinkwii modified the milestones: Release 2.6, Release 2.4 May 31, 2025
Copy link
Member

@F0bes F0bes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on macOS and Windows. Both seem to continue to work normally.

@F0bes F0bes merged commit 4fa6d3e into PCSX2:master Jun 5, 2025
12 checks passed
@TellowKrinkle TellowKrinkle deleted the MacGSRunner branch June 6, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants