[Wine] Re: Bash Script Shorcuts for Steam Games

Entanglement wineforum-user at winehq.org
Mon Sep 26 14:19:14 CDT 2011


Sorry for the late reply, I'm very busy with exams coming up (mid-terms).

Okay, so yes I do plan on using GNU Debugger, and just to help you out too, the command "c" under GNU Debugger will continue Portal.

Anyways, here's what I am trying to execute:


Code:
ps -ef | grep hl2.exe



To find hl2.exe's profile #.


Code:
gdb --pid #####



The #'s refer to the hl2.exe pid.

and then with gdb:


Code:
(gdb) handle SIGSTOP nostop noprint
(gdb) handle SIGSEGV nostop noprint
(gdb) handle SIGUSR1 nostop
(gdb) c




What I want to do is use the gdb --pid code and the gdb commands as soon as hl2.exe is detected from Team Fortress 2 in my bash script.







More information about the wine-users mailing list