All batteries will regenerate, not just refilling the current partial battery. Tested on Steam Directors Cut v2. Load table and click "Yes" to the prompt that asks if you want to run the lua script. Then select dxhr.exe process. Started by AGW, updated by Sekhemket & further fixed for Directors Cut by Cloaked Figure.
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: Steamcommunity.com
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.
bb_blockquote wrote: Originally posted by 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: Imageshack.us
Step 2: Imageshack.us
Step 3: Imageshack.us
Step 4: Imageshack.us
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.
bb_blockquote wrote: Originally posted by 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.
This comment is currently awaiting admin approval, join now to view.