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

Add x64dbg support #186

Closed
frostworx opened this issue Feb 15, 2021 · 2 comments
Closed

Add x64dbg support #186

frostworx opened this issue Feb 15, 2021 · 2 comments

Comments

@frostworx
Copy link
Collaborator

via #winehq irc I just stumbled over the x64dbg debugger.
Would be nice to have automatic support for it in steamtinkerlaunch
(maybe directly using a x64dbg category)

https://bugs.winehq.org/show_bug.cgi?id=45916

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\x32dbg.exe]

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\x32dbg.exe\DllOverrides]
"msvcp120"="native,builtin"
"msvcr120"="native,builtin"

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\x64dbg.exe]

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\x64dbg.exe\DllOverrides]
"msvcp120"="native,builtin"
"msvcr120"="native,builtin" 
@frostworx
Copy link
Collaborator Author

frostworx commented Feb 16, 2021

What works:

  • Can be activated using a "x64dbg" Steam Category
  • If x64dbg was not found, download and install the latest snapshot from https://github.com/x64dbg/x64dbg/tags automatically
  • Depending on the game binary architecture start either x32dbg or x64dbg
  • x64dbg is started automatically with the game binary instead of the regular game start.

This seems to work fine with x32dbg.

What does not work:
- Applying above registry before actually opening x64dbg fails. I assume the reason is that system "regedit" is used, as proton doesn't ship an own one and therefore the WINEPREFIX is confused with a different wine version(?)
** external regedit was removed in favor of wine internal regedit**

- snapshot_2021-02-15_22-35 x64dbg hangs though when opening the game exe (no matter if opened via command line or within the gui).
As soon as the game exe is loaded the whole gui freezes with

0138:fixme:win:FlashWindowEx 0000000000217350 - semi-stub
0138:fixme:thread:QueryThreadCycleTime (0000000000000290,000000000021AAA0): stub!
0198:fixme:dbghelp:dump_unwind_info couldn't read memory for UNWIND_INFO at 7bc82774

Looks like this only happens with proton-GE, but not with official proton.

@frostworx
Copy link
Collaborator Author

Added with f774117

@frostworx frostworx mentioned this issue Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant