Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Add additional options for dumping in GS runner. #12229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TJnotJT
Copy link

@TJnotJT TJnotJT commented Jan 23, 2025

Description of Changes

Add additional options to GS dump runner to allow: dumping render target, textures, depth, alphas per draw; range of frames or draws to dump. Some miscellanous fixes to formatting of file names and dumping of GS context.

Rationale behind Changes

To make it easier to debug large numbers of GS dumps. Example workflow: run a large number of GS dumps just outputting the frames, check which dumps/frames are different, rerun the dump runner on the differing dumps/frames while dumping all draws RTs to see which draw the change ocurred.

Suggested Testing Steps

Run the GS dump runner with new options -dump [rt|tex|z|f|a|i], -dumprange, -dumprangef. Example:
pcsx2-gsdumprunner-x64-dbg.exe <dump file> -renderer sw -dumpdir <output dir> -dump rttexfzai -dumprange 100,100,3
to dump RTs, textures, frames, alphas,and info (context, vertx, vsync regs) from in draws 100 to 199 that are multiples of 3.

@TJnotJT TJnotJT force-pushed the gsrunner-dump-options branch from dfc2324 to e9e649a Compare January 24, 2025 18:35
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.

1 participant