Dead Effect

Upload your cheat tables here (No requests)
Post Reply
User avatar
Posts: 3562
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 1174

Dead Effect

Post by STN » Sun May 07, 2017 10:13 am

Simple table for Dead Effect, may or may not work. Game generates code at runtime so table has a high chance of not working / detecting the wrong code / crashing.
Made by Shinkansen, GrandPa
Fixes / new options request that also provide savegames will have a higher chance of being looked at.

Usage info:
Scripts with "To Activate: XXX" can only be activated (put an "X" into the box) after doing action XXX.
Scripts with "To Update: XXX" will only update their effect after doing action XXX.
Addresses with "XXX? (0 = No, 1 = Yes)" will enable the script effect XXX when 1 is put into the Value.

1. Player Stats.
"Player Health Set to Massive?" will set Player Health to 9999999

2. Weapon Stats.
"Weapon Stats Set to Massive?" will set the selected gun's stats to make a super gun that shoots with 1-hit kill.
"Ammo Set to Max?" will set current weapon ammo to 9999999.

3. Credit Stats.
"Credit Set to 9999999?" will set Credits to 9999999.

First of all, game routines are loaded the first time you use them in any game session. I mean what follows:
- load story or any mission, shoot once, and return to menu;
- the routine managing ammo stay loaded and is not replaced anymore for that game session.

Speed and Powers recharge
As soon as you move in any level the following routine is loaded (don't care about for IP address listed here):

08F83416 - D9 40 18 - fld dword ptr [eax+18]

08F83419 - D9 5D F8 - fstp dword ptr [ebp-08]
08F8341C - 8B 45 0C - mov eax,[ebp+0C]
08F8341F - 8B 48 0C - mov ecx,[eax+0C]
08F83422 - D9 41 08 - fld dword ptr [ecx+08]
08F83425 - D9 45 F8 - fld dword ptr [ebp-08]
08F83428 - DEC9 - fmulp st(1),st(0)
08F8342A - D9 5E 40 - fstp dword ptr [esi+40]
08F8342D - 8B 40 08 - mov eax,[eax+08]
08F83430 - D9 40 08 - fld dword ptr [eax+08]
08F83433 - D9 45 F8 - fld dword ptr [ebp-08]
08F83436 - DEC9 - fmulp st(1),st(0)
08F83438 - D9 5E 44 - fstp dword ptr [esi+44]

fld dword ptr [eax+18] retrieve a value from the table which stores your suit settings:

[eax+08] ---> Multiplier for Bullet time duration; default (float)1
[eax+0C] ---> Multiplier for Powers recharge time; default (float)1
[eax+10] ---> Multiplier for StunGun propagation; forgotten default value
[eax+14] ---> Multiplier for StunGun recharge time; default (float)1
[eax+18] ---> Multiplier for movement speed; default (float)1
[eax+1C] ---> Multiplier for carried ammo; default (float)1
[eax+20] ---> Multiplier for Health/Health recharge time; default (float)1
[eax+24] ---> Multiplier for Health recharge time/Health; default (float)1

In my opinion what matter are [eax+0C] and [eax+18] values, because Health is already covered, for ammo it's enough using stations, and for StunGun look forward in my post.

So, before executing fld dword ptr [eax+18], I put:
mov dword ptr [eax+0C],(float)0
mov dword ptr [eax+18],(float)1.75

Find the following:
33E3170C - DEC1 - faddp
33E3170E - D9 5F 24 - fstp dword ptr [edi+24]
33E31711 - D9 47 24 - fld dword ptr [edi+24]
33E31714 - D9 05 D820DC4F - fld dword ptr [4FDC20D8]

Replace fld dword ptr [edi+24] with:
fld dword ptr [edi+18],
where is stored the full value, for infinite cheat

Same as stamina. Find:

0D59A277 - DEC1 - faddp
0D59A279 - D9 5F 28 - fstp dword ptr [edi+28]
0D59A27C - D9 47 28 - fld dword ptr [edi+28]
0D59A27F - D9 05 A0A0D533 - fld dword ptr [33D5A0A0]

Replace fld dword ptr [edi+28] with:
fld dword ptr [edi+1C]

Weapons add-on
In Shinkansen table, there are some weapon improvements. I find two more:
[esi+000000F8] and [esi+00000100] contain values related to Accuracy and Aiming Cross: I put them to (float)0.01

[esi+000000DC] contains the time between two shots.
Most of them are set below 0.5 second, which are good because I didn't find the recoil factor making aiming more difficult, if reduced.
For the StunGun, though, that value is greater than 2 seconds, and you have a whole level to complete just using it and powers.

So I add the following lines to the table

cmp [esi+000000DC],(float)0.5 // 2nd shot delay time
jbe exit
mov [esi+000000DC],(float)0.5
Shinkansen Dead Effect V1000.CT
(43.13 KiB) Downloaded 285 times

Post Reply

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot], nillmand2, nukza38, qoga7452, Zanzer