korcankaraokcu / PINCE

Reverse engineering tool for linux games
Other
2.13k stars 149 forks source link

Game freezes when attach (no signal) #242

Closed thirder37 closed 9 months ago

thirder37 commented 9 months ago

I'm trying to attach to "The Finals" game, but the game freezes. There are no messages in the console about receiving a signal, and in the GUI there is no text STOPPED next to the process name. The F3 key doesn't help either. I'm running on Ubuntu

korcankaraokcu commented 9 months ago

That's interesting, I can think of a few scenarios:

thirder37 commented 9 months ago

1,3) There seem to be no errors, I am attaching a link to the logs, please look at https://pastes.dev/ZUiegCBkUd 2) The game is launched via steam using Proton Experemental

korcankaraokcu commented 9 months ago

The game is launched via steam using Proton Experemental

Yep, that's the problem. GDB has issues with proton/wine games and that reflects on PINCE too. I'll be closing this as a duplicate of #238

PINCE works better with native targets, you can use scanmem for searching memory as an alternative

korcankaraokcu commented 9 months ago

Duplicate of #238, closing

thirder37 commented 9 months ago

when I use scanmem after scanning the game closes because it detects the scan

korcankaraokcu commented 9 months ago

Yeah because scanmem uses ptrace by default, you have to disable the ptrace option of it. Also, I've noticed that the game you're working on is a multiplayer game. The game will obviously try to deploy protection measures. Unfortunately, this is only as far as I can go with helping. You'll have to figure out the rest by yourself for legal reasons