Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


"Error while opening this process" - Space Rangers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Oct 21, 2013 3:37 am    Post subject: "Error while opening this process" - Space Rangers Reply with quote

Hi,

I get 'error while opening this process' all the time while trying to open the process in CE. The game is called 'Space Rangers HD'. This never happened before and all entires of the search function belongs to browsers only.

Any idea how to get CE working?
Back to top
View user's profile Send private message  
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Mon Oct 21, 2013 3:55 am    Post subject: Reply with quote

Try enabling kernelmode OpenProcess in settings->extra (and perhaps also query memory and query access regions, but only if needed)

what kind of game is this? Multiplayer ?

If it's not multiplayer, then wait for/get the cracked/warez version instead. they usually don't have crap like that


Tip: If it opens with kernelmode access, then if you wish to use the pointerscan, you must set it to not care that the pointer must be a static (or manually adjust cheat engine in the sourcecode to set a specific range as static, assuming the game doesn't load the main module dynamically)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger 
ICQ Number
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Oct 21, 2013 4:22 am    Post subject: Reply with quote

It's the RELOADED version and nope, it's a single player game.
Enabling the openprocess did the trick, but as soon as I've attach the debugger of CE, the game closes and CE tells me: "VEH Debug error - Unknown error during injection".
Back to top
View user's profile Send private message  
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Mon Oct 21, 2013 4:33 am    Post subject: Reply with quote

dll injection probably fails because the symbol lookup is failing (symbol lookup doesn't make use of the kernelmode openprocess)

If you can, try kernelmode debug (dbvm or 32-bit os)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger 
ICQ Number
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Mon Oct 21, 2013 4:41 am    Post subject: Reply with quote

Execute this lua script before opening the target process and you should be able to do symbol lookups and dll injection.

Code:

dbk_initialize()
dbk_useKernelmodeOpenProcess()
autoAssemble(string.format([[
NtOpenProcess:
jmp %x
]],dbk_NtOpenProcess),true)


I don't know if veh debug will work though

Edit: I also did a look around, and it looks like the reloaded version hasn't bypassed all checks triggering an anti piracy routine that corrupts your save and makes the game impossible to beat. (Something about stars growing too big and asteroid fields))

Oh yes, a tip for ce trainer makers(e.g pointerscan results): If you make trainers with this feature, make sure you put the .sig file in the trainer package, else the driver will refuse to load (I forgot to make it add that file automatically)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping


Last edited by Dark Byte on Mon Oct 21, 2013 4:55 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
ICQ Number
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Oct 21, 2013 4:54 am    Post subject: Reply with quote

I can open the process with your LUA script but yes, the VEH debugger doesn't work.

DVBM works great, no issues at all, sadly I have to use it on my notebook as DVBM crashes on my desktop computer, never been able to get it running there although CE says that DVBM is supported.

Thanks for your help
Back to top
View user's profile Send private message  
user601
Moderator
Reputation: 0

Joined: 07 Oct 2004
Posts: 65

PostPosted: Mon Oct 21, 2013 5:22 am    Post subject: Reply with quote

I just bought this game just to check out the protection, and VEH debug does work.

(perhaps it helps if you have memory view->debug events open and attach the veh debug before actually starting a new game)

Anyhow, money was found(4 byte unencrypted) and the code that writes to it during resource trade is rangers.exe+300b16: mov [edx+000000E8],eax

I probably won't touch this game any further though, but hope it helps

_________________
Back to top
View user's profile Send private message  
Caliber
Expert Cheater
Reputation: 2

Joined: 20 Aug 2007
Posts: 102

PostPosted: Mon Oct 21, 2013 11:45 am    Post subject: Reply with quote

Firstly, this seems incredibly overkill for a developer to do especially when it appears the game has 20+ cheatcodes available? I guess they did this to try and kill piracy more than stop cheaters?

at any rate, I haven't messed with this quite yet, but is there any way you can tell us exactly what the game is doing (or the PE structure has been modified) to itself to cause it to not be able to be opened and etc by normal means?

For instance, when I run the game, apparently the game is 32 bit, but if you use task manager it appears as though it is 64 bit (the *32 is missing), and etc.

having to resort to NTOpenProcess and relying on a kernel mode driver for a budget game seems crazy...

any input is appreciated.

best,
Cal
Back to top
View user's profile Send private message  
Dark Byte
Site Admin
Reputation: 468

Joined: 09 May 2003
Posts: 25719
Location: The netherlands

PostPosted: Mon Oct 21, 2013 1:06 pm    Post subject: Reply with quote

I haven't really checked it, but the behaviour resembles the effect of ObRegisterCallbacks where it denies usermode from obtaining a handle to the process, including simple internal and query accesses.


It's probably some kind of DRM. This same developer made use of Starforce in the past(kernelmode drm system)

But it could also just be a simple rights management thing in windows (e.g: advapi and remove all access to it )

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger 
ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites