Giter Club home page Giter Club logo

renderdoc-gms2-kit's Introduction

renderdoc-gms2-kit

What?

Since GameMaker:Studio 2 generates development builds in such a way that makes it hard to debug them inside RenderDoc, I've developed a PowerShell script that automatically finds the path to the latest build and generates a settings file that can be loaded into the aforementioned tool.

How to?

  1. Inside GMS2, run and close the game. This will create a temporary build.
  2. Depending on your requirements, run one of the provided scripts. If all goes well, a *.cap file will be generated.
  3. If you have it installed, double-clicking the newly-created settings file should open up RenderDoc with the settings already in place. You can also load it directly in the GUI (Launch Application -> Load Settings).
  4. Click the Launch button, this will start the game via RenderDoc. Proceed as you normally would.

The script comes in two flavours:

renderdoc_generate_latest.ps1 - Generates a settings file for the last created GMS2 build, you can run this from wherever you like.
renderdoc_generate_project.ps1 - A project-specific version of the former, needs to be placed in the folder where the .yyp file is.

Additional notes

You can modify the other launch settings inside RenderDoc however you like and overwrite the original settings file. After that, when you run the script again, your changes will be kept.

GMS2 uses temporary mount points to run the development builds from. I did not implement this, as it would require providing a separate script to do the unmounting, which would be unpractical. As far as I can tell, using the absolute paths instead seems to work fine, but if you run into issues, let me know.

This works with both YYC and VM builds.
A relatively new version of Windows 10 required.

Written by @odditica.


renderdoc-gms2-kit's People

Contributors

odditica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.