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 


warhammer40k: Space marine
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Sep 06, 2011 4:10 pm    Post subject: warhammer40k: Space marine Reply with quote

FFS, this game actually encrypts variables like health and ammo in SINGLE PLAYER mode

And debugging is also a pain in the ass.
I did manage to get godmode to work(Sadly enough I can't provide a script or pointer as you need one piece of experimental software I don't want to release just yet), but damn, these guys really didn't want people to use cheats for whatever reason.

Perhaps when a cracked version comes out with integrity check disabled I'll provide a script for inf health


anyhow, 998e20 contains a decryption routine for variables. Perhaps it can be useful to someone.
esp+4=pointer to encrypted data
esp+8=destination of decrypted data (initialized with the encrypted copy)
esp+c=number of bytes of the data

_________________
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
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Tue Sep 06, 2011 6:09 pm    Post subject: Reply with quote

Integrity checks are checking the values too? They usually check the codes only. How is it detecting if we use a pointer?

I guess they have used dynamic variable for encryption. If they put so much effort in it.

Why don't you just bypass the integrity check?

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Sep 06, 2011 6:26 pm    Post subject: Reply with quote

no, the integrity check only checks the code

Problem with finding the integrity check is that the thread responsible for the integrity check relies on all 4 debug registers to be set properly (on exception do something)
Also, the integrity check only happens when doing something in the game, like killing 5 orks in a row
I might know one other method to find out the integrity check routine (make a part of the code that is never executed inaccessible and watch for an exception) but I haven't tried (or implement that in ce) yet

Right now i'm making use of a combination of an updated version of the stealthedit plugin and dbvm (since i'm on 64-bit) to do the code injection

Also, I haven't figured out where exactly health is stored in a encrypted way (I'm currently basing my godmode on the routine that handles when you get hurt and health is already decrypted and placed on the stack there)

_________________
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
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Tue Sep 06, 2011 6:43 pm    Post subject: Reply with quote

Hey it sounds fun. Smile
I just love protections. It's so boring when you can hack a game in 5 minutes without a single crash. No challenge at all.


Hope they didn't screw up the game too badly. For God's sake, I don't ask for too much, just a little WH style massacre with +2000 enemies / level.

EDIT:
Oh yeah, forgot to say, I need that god mode because I suck in FPS games. But if it is working, give me that +2000 enemies. And unlimited ammo... Or a good melee weapon. Like a chainsword...

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3347

PostPosted: Tue Sep 06, 2011 7:31 pm    Post subject: Reply with quote

I simply modded this game to my liking.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Tue Sep 06, 2011 7:32 pm    Post subject: Reply with quote

Do you mean like ini/cfg file editing or some more complicated stuff?
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Sep 06, 2011 10:27 pm    Post subject: Reply with quote

That game came out 29-hours ago (And yes, the demo was easy to edit, but the released game is different)

Anyhow, just finished it and it's an ok game. (Not great, but ok)

It has lots of enemies at once and several different kinds of weapons. If you have played the RTS games you know what to expect from them. (Bolters, energy weapons, hammers, axes, chainswords, etc..)

The buildup is pretty much like any wh40k campaign: Orcs attack, space marines come to fight them, discover chaos is present as well, fight orks and chaos, chaos leader turns into demon, demon dies, the end

There's also some minor plot stuff you can pick up along the way (recorded audio messages)

Downsides:
As most fps games these days, there is no choice. You just walk along one path and occasionally take a turn

You can not rebind keys during gameplay. You must quit the game and then change the keybindings

No other races

Only one planet (a construction planet at that) so constantly the same kind of environments.

if you have slow reflexes, like take 3 seconds to move from one key to another one, you won't be able to finish the end boss battle as it's one of those horrible console "tap keys in right order and speed to win battle" sequences

----
I do not recommend you Buy this game right now, but if you wish to play in co-op wait a month for the dlc that adds that. The price may be a bit lower then as well

_________________
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
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Sep 07, 2011 6:10 am    Post subject: Reply with quote

Well it looks ok from your review. I didn't play the demo so I had no clue about it. I never wait or expect any game because I am always disappointed. I look at them when I see they are released yet.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3347

PostPosted: Wed Sep 07, 2011 9:38 am    Post subject: Reply with quote

Dark Byte wrote:
That game came out 29-hours ago

Hmmm. I must have it confused with another WH40K, sorry. Ignore my post.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri Sep 09, 2011 4:01 pm    Post subject: Reply with quote

@Dark Byte

Will you post the god mode script?

For some reason, the demo did not work for me. But I got the cracked version and it seems it doesn't have an integrity check.

It isn't a problem if you don't post it, then I do it on my own anyway. Maybe the codes that you have posted will work me too. Will check it now.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Sep 09, 2011 4:59 pm    Post subject: Reply with quote

i seem to have forgotten to save my corrected auto assembler script after finishing

and it was an script after enabling stealthedit and runtime editing of the script to see what offsets worked, but it might be useful to some minor extent
Code:

label(originalcode)

7890000:
inc [07890800]
mov [07890804],esi //contains the last attacked enemy (use grenades or that exploding gun thingy to find yours)


cmp [esi+f8],0 
je originalcode

mov [esp+2c],(float)1 //current health
mov [esp+24],0 //amount to decrease health with

originalcode:
movss xmm0,[esp+2c]
jmp 39942d4b

39942d45:
jmp 7890000

replace 39942d45 and 39942d4b with 00742D45 and 00742D4B accordingly (stealthedit relocs)

replace the 789xxxx with allocs

replace +f8 with +cc or +c0 or something similar. f8 works for most of the game but makes the chaos portal caster invulnerable and the enemies after that as well
all I know is that enemies have a NULL pointer there and the player has it filled in, use the debug data in the script to figure it out. Throw grenades or use that explosives gun



7890000 was my playground alloc for the script

if 00742d45 does not contain movss xmm0,[esp+2c] then do an aobscan for:
F3 0F 10 44 24 2C 51 8D 4C 24 24 51 8B 08 50 F3 0F 11 44 24 50

Also, full health is 1.0 (float)

_________________
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 Fri Sep 09, 2011 5:12 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri Sep 09, 2011 5:04 pm    Post subject: Reply with quote

Ok, thanks. Now I think I will finish it first on easy without cheats, then see if I can adapt this script and check if it has any memory checks.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Sep 09, 2011 6:39 pm    Post subject: Reply with quote

Since you'll be sucking the life out of your enemies for a while check out http://forums.steampowered.com/forums/showthread.php?t=2109002 on the subject. Made me laugh
_________________
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
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri Sep 09, 2011 7:56 pm    Post subject: Reply with quote

Haha, really. I get the idea to force you to do beautiful executions all the time (while you are unprotected and enemies can beat you to death), but even the "auto-healing" makes more sense. I guess they are secretly Berserkers of Khorne. Blood for the Blood God! And the chainsword sure spill lots of blood.


Btw. who would want to stay alive when every death is rewarding you with one of my favorite fanatic quotes.
It is better to die for the Emperor than live for yourself.

Space Marines are the perfectly brainwashed soldiers. Smile

Finished. What a happy ending. Just as I expected.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3347

PostPosted: Sat Sep 10, 2011 11:17 am    Post subject: Reply with quote

What about the vampire thingie?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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