Deus Ex: Human Revolution

Deus Ex: Human Revolution

Ver estadísticas:
Updated: DEHR:DC Here is a Full Battery Recharge Fix/Script/Mod/Cheat.
Update: A guy on the cheat engine forums updated this script for the Directors Cut. I do not own the DC myself so I am unable to test it. But according to the forums on Cheat engine it is working.

Just follow the instructions from the old post below but add this script instead of the older one if you are playing the Directors Cut.

Here it is:

local addr = "[[[[[DXHRDC.exe+01607B1C]+0]+44]+198]+278]+27c";
local f = createForm( true );
local t = createTimer( f, true );
timer_setInterval( t, 1000 );

timer_onTimer( t, function( )
local energy = readFloat(addr);
if energy then
if math.abs(energy % 30.0) < 0.005 then
writeFloat(addr, energy + 0.01);
end
end
end );

-------------------------------------------
(Original Post)

Link to Inventory and Debug Mod post: http://steamcommunity.com/app/28050/discussions/0/846940248963330550/

This is something that has been around awhile that not alot of people are aware of, it's a script for Cheat Engine that allows full battery recharge instead of just the first one. I have been playing with it for months and not come across any errors. Figured I'd post it here since the game is now on sale.

What it does, everytime a battery fills up it adds a very tiny percentage (0.01%) to the next unfilled battery which allows your regain to kick in. This causes all of your batteries to recharge at whatever rate you have upgraded the Sarif Series 8 Energy Converter's regain too.

Lot's of have people complained that this should have been in the game in the first place. I personally find the game way more enjoyable without the constant worry about energy bars and not wasting them. I actually use energy bars more now because I am not saving them for "oh crap moments"

Anyway Here is what you need to do:

1. Download, install and start cheatengine. (it's free to download)
2. Start Deus EX HR.
3. Tab to cheat engine.
4. Select the deus ex hr process from the long list, by clicking the little computer with a magnifying glass(it is right under file).
5. Press CTRL + ALT + L to bring up LUA script editor.
6. Copy in the script, press "execute script".
7. Tab back into the game and enjoy

Here is the script, copy it EXACTLY as it is: (UPDATE: Do not use the script below if you are playing the Directors Cut. Use the one posted at the top)


local addr = "[[[[[dxhr.exe+015DE1A8]+14]+270]+6C]+A0]+274";
local f = createForm( true );
local t = createTimer( f, true );
timer_setInterval( t, 1000 );

timer_onTimer( t, function( )
local energy = readFloat(addr);
if energy then
if math.abs(energy % 30.0) < 0.005 then
writeFloat(addr, energy + 0.01);
end
end
end );



This only works for the current game version (1.4.651.0), if the game is updated again it will not work. I doubt we will ever seen another update as we have had this one for most of the year.

Publicado originalmente por The Guardian:
well i can't get it too work- every time i try it gives me an error message. do i copy and paste it completely or do i have to format it in a certain way?

I'm not sure why it is doing that, here are step by step screen shots to make the script work with cheat engine. Hopefully this helps you.

Step 1: http://imageshack.us/f/543/step1l.png/

Step 2: http://imageshack.us/f/145/step2z.png/

Step 3: http://imageshack.us/f/23/step3dy.png/

Step 4: http://imageshack.us/f/546/step4dd.png/

After doing all of this it should work, You have to be in area where you have access to the batteries. I generally wait till the first factory mission after getting off the chopper to alt-tab out and activate cheat engine.

Publicado originalmente por Tricks:
I may need to disable it later if I start falling into the trap of constantly hiding while waiting for powers to recharge.

If it does become an issue it is very easy to disable, you do not even have to exit the game just alt-tab out and turn off cheat engine. It will not corrupt saves or anything like that.

Última edición por Cloaked Figure; 20 DIC 2013 a las 2:35
< >
Mostrando 1-15 de 21 comentarios
Cloaked Figure 1 ENE 2013 a las 2:23 
Publicado originalmente por trAnwhiz:
Thanks for this, I hate how they've made the recharge but never thought about looking for some cheat to fix it.

And before someone asks about VAC, you will not get VAC banned for using this because it's a singleplayer game.

Yeah np, I don't recall who made the script originally as I have been using it for so long. It made the game so much more fun to me. I felt before that upgrading the regain rate and total batteries was useless. With this script, it is arguably now one of the best uses of praxis kits.

For those worrying about VAC bans, I have been using this for a year. I haven't been banned.
Última edición por Cloaked Figure; 26 ENE 2013 a las 20:01
Guardian 1 ENE 2013 a las 2:43 
omg this is amazing. They should of never set it that you only refill a single battery on complete use
AbsoluteZer0 1 ENE 2013 a las 2:51 
Thanks, I am replaying this game .
Guardian 1 ENE 2013 a las 21:44 
well i can't get it too work- every time i try it gives me an error message. do i copy and paste it completely or do i have to format it in a certain way?
Tricks 4 ENE 2013 a las 3:39 
thanks it works

had a few situation where I was unable to takedown an opponent because my last batt was recharging, so annoying you need a battery to melee, and ive only got the tranq gun which is slow to act + don't want to waste ammo for close stuff, or lethal options which alert the enemy, the stun gun would no doubt be good here but I do not have it.

I may need to disable it later if I start falling into the trap of constantly hiding while waiting for powers to recharge, like I was doing in Crysis: cloak - hide & wait for recharge - cloak - hide etc which does become boring and too easy.

I am thinking of trying the cloak later so I will see, but right now I don't have any battery abilities yet so this is good, thanks for sharing :)
Última edición por Tricks; 4 ENE 2013 a las 3:40
wdb-wookie1 28 ENE 2013 a las 22:53 
I feel real... not so bright. I've never even heard of the "cheat engine". I don't suppose you could tell me where to find it?
Thanks
Cloaked Figure 29 ENE 2013 a las 0:30 
Publicado originalmente por wdb-wookie1:
I feel real... not so bright. I've never even heard of the "cheat engine". I don't suppose you could tell me where to find it?
Thanks

Just google cheat engine and click the 3rd link for direct download. I don't know if I can post the direct link without breaking any forum rules.

Cheat engine has been used for years by people who make trainers. It is perfectly save, If you look at the website it has 8000+ positive reviews on it. I'm just not sure steam likes links to trainer programs being posted.
Última edición por Cloaked Figure; 29 ENE 2013 a las 0:54
coprolite 19 MAR 2013 a las 10:03 
I really wish I had discovered this when I first started playing. It would have fixed one of my biggest gripes about the game. Thanks for sharing!
Karoboro 26 MAR 2013 a las 21:20 
This one is slightly different from the one that you can download from cheat engine's website...
But only this one works, for me anyway.
Softspokenman 27 MAR 2013 a las 0:01 
using cheat engine with steam is risky if you forget to close it or it does not close completely and you play a VAC enabled game it can trigger a VAC ban
Última edición por Softspokenman; 27 MAR 2013 a las 0:01
Cloaked Figure 20 DIC 2013 a las 2:22 
I updated this post, all the info is up top.
DJatomica 7 ENE 2015 a las 15:22 
Would it be too much to ask for you to make a video or something of the sort showing how you accomplished this?
Tricks 15 ENE 2015 a las 7:28 
I'm not trying to be funny but have you read the OP? The steps required to get this working are listed there.

*Just realised you might mean how to go about analyzing code to make these kind of hacks in the first place.
Última edición por Tricks; 15 ENE 2015 a las 7:31
Cloaked Figure 15 ENE 2015 a las 8:45 
Publicado originalmente por DJatomica:
Would it be too much to ask for you to make a video or something of the sort showing how you accomplished this?

Sorry, I have no clue how they find the code that needs to be hex edited for Cheat Engine. I just know how to use it once it has been posted. The codes I posted should still work with Cheat Engine. Unless they have updated Deus Ex in the past year, which they might have. Idk, I haven't played it.
Nick Bluetooth 21 JUL 2016 a las 0:35 
The imageshack images are dead now.
< >
Mostrando 1-15 de 21 comentarios
Por página: 1530 50