Intercept gklib IO:
strace -p pid-of-gklib -f -e trace=read,write -e signal=none -y --strings-in-hex=non-ascii-chars -s 1000
Intercept gklib socket API:
2>&1 | grep 'socket:'
Intercept gklib IO:
strace -p pid-of-gklib -f -e trace=read,write -e signal=none -y --strings-in-hex=non-ascii-chars -s 1000
Intercept gklib socket API:
2>&1 | grep 'socket:'
| #Requires AutoHotkey v2.0 | |
| OnError ErrorCallback | |
| if A_Args.Length != 2 { | |
| MsgBox "Two parameters must be provided: Game URI, executable name" | |
| ExitApp | |
| } | |
| gameUri := A_Args[1] | |
| exeName := A_Args[2] |
| # Reboot to Windows launcher | |
| # Selects Windows for next boot only (grub-reboot 2, assuming it's the third menu item) and then reboots the system. | |
| # Dependencies: zenity, gksudo, grub-reboot, systemd, arc or moka icon theme | |
| [Desktop Entry] | |
| Version=1.1 | |
| Type=Application | |
| Name=Reboot to Windows | |
| Comment=Reboot with Windows as one-time default | |
| Icon=microsoft |