{"id":21723421,"url":"https://github.com/lbphacker/tpt-pmsw","last_synced_at":"2026-05-21T14:14:55.883Z","repository":{"id":264365217,"uuid":"893163665","full_name":"LBPHacker/tpt-pmsw","owner":"LBPHacker","description":"TPT post-mortem stack walker","archived":false,"fork":false,"pushed_at":"2024-11-27T13:55:22.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T19:09:30.339Z","etag":null,"topics":["powder-toy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LBPHacker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T17:45:17.000Z","updated_at":"2024-11-27T13:55:26.000Z","dependencies_parsed_at":"2024-11-23T18:41:36.857Z","dependency_job_id":null,"html_url":"https://github.com/LBPHacker/tpt-pmsw","commit_stats":null,"previous_names":["lbphacker/tpt-pmsw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LBPHacker%2Ftpt-pmsw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LBPHacker%2Ftpt-pmsw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LBPHacker%2Ftpt-pmsw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LBPHacker%2Ftpt-pmsw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LBPHacker","download_url":"https://codeload.github.com/LBPHacker/tpt-pmsw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244700631,"owners_count":20495577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powder-toy"],"created_at":"2024-11-26T02:39:04.458Z","updated_at":"2026-05-21T14:14:55.824Z","avatar_url":"https://github.com/LBPHacker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TPT post-mortem stack walker for Windows builds\n\nThis program lets you rehash [The Powder Toy](https://github.com/The-Powder-Toy/The-Powder-Toy) crash logs created on Windows, annotating stack frame return addresses with source file names and line numbers.\n\n## Dependencies\n\nThis program relies on [the MSDIA component](https://learn.microsoft.com/en-us/visualstudio/debugger/debug-interface-access/debug-interface-access-sdk). This component comes with [Visual Studio](https://visualstudio.microsoft.com/). The Meson option `dia_sdk_path` must point to the SDK directory, which has a directory named `include` in it. The default value of this Meson option is a good first approximation, but the correct value will vary depending on your Visual Studio installation.\n\n## Building\n\n[Install Meson](https://mesonbuild.com/Getting-meson.html) and build it like any Meson project, e.g. in a command prompt:\n\n```batch\nmeson setup -Ddia_sdk_path=\"C:/path/to/msdia/sdk\" build-debug\ncd build-debug\nmeson compile\n```\n\n## Usage\n\nAcquire the PDB file corresponding to the version of TPT the crash log originates from. The PDB files for official releases (including snapshots and betas) are available [on GitHub in the official repo](https://github.com/The-Powder-Toy/The-Powder-Toy/releases). Assuming it is named `powder.pdb`, and that you have a crash log named `crash.log`, run:\n\n```batch\npmsw.exe powder.pdb \u003c crash.log\n```\n\nThe crash log will be printed back out, with return addresses annotated with source file names and line numbers.\n\n## Troubleshooting\n\n### CoCreateInstance failed: 80040154\n\nYou most likely need to register the MSDIA component. You can do this by running `regsvr32 msdia140.dll` (or newer versions of the DLL) as administrator. The DLL is located in the `bin` directory under the MSDIA SDK directory. Install the version that matches the architecture you built this program for.\n\n### Main VA not yet available, cannot resolve VA\n\nThis means that the crash log originates from an unsupported version of TPT. There is nothing you can do to fix this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbphacker%2Ftpt-pmsw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbphacker%2Ftpt-pmsw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbphacker%2Ftpt-pmsw/lists"}