Jan 22, 2014 at 2:40 PM
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1104
Age: 27
Pronouns: none
Instead of a video tutorial, I decided to make that with only pictures and text. Sorry to everyone who expected a video!
OK, let's go.
I'm using OllyDbg 1.10, and it's working fine for me.
Machine Gun
Polar Star
Fireball
Blade
Nemesis
(Super) Missile Launcher
Useful things
List of bullets:
I guess that's it (for now)...
I hope it helps somebody.
OK, let's go.
I'm using OllyDbg 1.10, and it's working fine for me.
Machine Gun
Go to address 0041E3D0. It's the Machine Gun (weapon) address.
Maximum number of shots allowed on-screen.
0041E3E0 CMP EAX,4
Useful when you also make MG shoot faster. I usually change it to 16 (hex).
Bullets fired at respective levels.
Default: level 1 - bullet 0A, level 2 - bullet 0B, level 3 - bullet 0C.
Trust me, it's fun to have MG shoot Nemesis projectiles!
Firing speed
0041E457 CMP EAX,6
The lower the value, the faster MG will shoot. Don't forget to increase no. of bullets allowed on screen!
Sound played when empty
Default: 25 hex -> 37 dec
It's funny to have MG roar when out of ammo.
MG pushing the player downwards when firing up
Remove these two lines to have it push the player downwards on any level.
Change the "3" to "1" or "2" to have it push the player on desired level.
Change "JNZ" to "JL" to make it push the player only on level 1 and 2.
Change "3" to "1" and "JNZ" to "JG" to make it push the player only on level 2 and 3.
Flying when firing downwards
Same as before.
Sounds played when firing
Default: level 3 - 31 (hex), levels 1 and 2 - 20 (hex)
Ammo reload and firing speed
0041E761 CMP DWORD PTR DS:[4A5554],1 -> ammo reload speed; lower value = faster reload (Turbocharge equipped)
0041E774 PUSH 1 -> how many bullets are reloaded at time (Turbocharge equipped)
0041E780 CMP DWORD PTR DS:[4A5554],4 -> ammo reload speed; lower value = faster reload (no Turbocharge)
0041E793 PUSH 1 -> how many bullets are reloaded at time (no Turbocharge)
For example, you can have Turbocharge reload bullets at normal speed, but two at time. change any one PUSHed values to 0 and MG won't reload at all.
Maximum number of shots allowed on-screen.
0041E3E0 CMP EAX,4
Useful when you also make MG shoot faster. I usually change it to 16 (hex).
Bullets fired at respective levels.
Default: level 1 - bullet 0A, level 2 - bullet 0B, level 3 - bullet 0C.
Trust me, it's fun to have MG shoot Nemesis projectiles!
Firing speed
0041E457 CMP EAX,6
The lower the value, the faster MG will shoot. Don't forget to increase no. of bullets allowed on screen!
Sound played when empty
Default: 25 hex -> 37 dec
It's funny to have MG roar when out of ammo.
MG pushing the player downwards when firing up
Remove these two lines to have it push the player downwards on any level.
Change the "3" to "1" or "2" to have it push the player on desired level.
Change "JNZ" to "JL" to make it push the player only on level 1 and 2.
Change "3" to "1" and "JNZ" to "JG" to make it push the player only on level 2 and 3.
Flying when firing downwards
Same as before.
Sounds played when firing
Default: level 3 - 31 (hex), levels 1 and 2 - 20 (hex)
Ammo reload and firing speed
0041E761 CMP DWORD PTR DS:[4A5554],1 -> ammo reload speed; lower value = faster reload (Turbocharge equipped)
0041E774 PUSH 1 -> how many bullets are reloaded at time (Turbocharge equipped)
0041E780 CMP DWORD PTR DS:[4A5554],4 -> ammo reload speed; lower value = faster reload (no Turbocharge)
0041E793 PUSH 1 -> how many bullets are reloaded at time (no Turbocharge)
For example, you can have Turbocharge reload bullets at normal speed, but two at time. change any one PUSHed values to 0 and MG won't reload at all.
Polar Star
Go to 0041DE60 - it's the address of Polar Star (weapon).
Bullets fired at respective levels:
Default:
level 1 - bullet 4
level 2 - bullet 5
level 3 - bullet 6
Refer to the bullet list.
Maximum shots allowed on-screen:
Default 2 (the number next to EAX +1)
BTW, 0041DEAD, nice address
Ammo consumed with one shot
Change the PUSHed number.
Default 1
Sound played when out of ammo
Default 25 (hex)
Sounds played when shot
PUSH 31 - level 3
PUSH 20 - level 1 and 2
Bullets fired at respective levels:
Default:
level 1 - bullet 4
level 2 - bullet 5
level 3 - bullet 6
Refer to the bullet list.
Maximum shots allowed on-screen:
Default 2 (the number next to EAX +1)
BTW, 0041DEAD, nice address
Ammo consumed with one shot
Change the PUSHed number.
Default 1
Sound played when out of ammo
Default 25 (hex)
Sounds played when shot
PUSH 31 - level 3
PUSH 20 - level 1 and 2
Fireball
Go to address 0041E110 (Fireball - weapon).
Maximum bullets allowed on-screen: level 1
The number next to EAX +1 (so, by default 1+1=2)
Bullet fired: level 1
Default: bullet 7
Maximum bullets allowed on-screen: level 2
The number next to EAX +1 (so, by default 2+1=3)
Bullet fired: level 2
Default: bullet 8
Maximum bullets allowed on-screen: level 3
The number next to EAX +1 (so, by default 3+1=4)
Bullet fired: level 3
Default: bullet 9
Ammo consumed with one shot
Default: 1
Sound played when shot
Default: 22 (hex)
Maximum bullets allowed on-screen: level 1
The number next to EAX +1 (so, by default 1+1=2)
Bullet fired: level 1
Default: bullet 7
Maximum bullets allowed on-screen: level 2
The number next to EAX +1 (so, by default 2+1=3)
Bullet fired: level 2
Default: bullet 8
Maximum bullets allowed on-screen: level 3
The number next to EAX +1 (so, by default 3+1=4)
Bullet fired: level 3
Default: bullet 9
Ammo consumed with one shot
Default: 1
Sound played when shot
Default: 22 (hex)
Blade
Go to address 0041F580 (Blade - weapon).
Blade doesn't allow us to customize the number of allowed shots... We can only go with 0, 1 or unlimited. 0 is a dumb idea (yeehaa I can't shoot, kill me), so if you want unlimited shots. If you want to have unlimited shots, change TEST EAX,EAX to JMP 41F599. Should work.
Bullets shot on each level.
Default:
level 1: bullet 19 (hex)
level 2: bullet 1A (hex)
level 3: bullet 1B (hex
Sound played when shot
Default: 22 (hex)
Blade doesn't allow us to customize the number of allowed shots... We can only go with 0, 1 or unlimited. 0 is a dumb idea (yeehaa I can't shoot, kill me), so if you want unlimited shots. If you want to have unlimited shots, change TEST EAX,EAX to JMP 41F599. Should work.
Bullets shot on each level.
Default:
level 1: bullet 19 (hex)
level 2: bullet 1A (hex)
level 3: bullet 1B (hex
Sound played when shot
Default: 22 (hex)
Nemesis
Here we go. Address 0041F710 (Nemesis - weapon).
Bullets fired at respective levels
Default:
level 1: bullet 22 (hex)
level 2: bullet 23 (hex)
level 3: bullet 24 (hex)
Now you can make Nemesis get stronger with gaining levels!
Maximum shots allowed on-screen
The number next to ECX +1 (so, by default it's 1+1=2)
Ammo taken when shot
Default 1 (of course). Change the PUSHed number.
Sound played when empty
Default: 25 (hex)
Sounds played when shot (the PUSHed values)
Default:
level 1: sound 75 (hex)
level 2: sound 31 (hex)
level 3: sound 3C (hex)
Bullets fired at respective levels
Default:
level 1: bullet 22 (hex)
level 2: bullet 23 (hex)
level 3: bullet 24 (hex)
Now you can make Nemesis get stronger with gaining levels!
Maximum shots allowed on-screen
The number next to ECX +1 (so, by default it's 1+1=2)
Ammo taken when shot
Default 1 (of course). Change the PUSHed number.
Sound played when empty
Default: 25 (hex)
Sounds played when shot (the PUSHed values)
Default:
level 1: sound 75 (hex)
level 2: sound 31 (hex)
level 3: sound 3C (hex)
(Super) Missile Launcher
I will refer to Missile Launcher as ML and Super Missile Launcher as SML.
Go to address 0041E7B0 - Missile Launcher (weapon).
There's also Super Missile Launcher code there.
Bullets fired: SML
Default:
Lv1: bullet 1C
Lv2: bullet 1D
Lv3: bullet 1E
Maximum shots allowed on-screen: SML
Level 1 is not so modifiable. It's 0 or unlimited.
For unlimited shots, do this:
Level 2 is modifiable.
Maximum number of shots allowed is the number next to EAX +1.
Edit both of these.
Level 3 by default allows 4 shots to be on-screen (EAX +1, again). Which means we can shoot two times, because level 3 shots three bullets at time.
Edit both of these.
No pictures for this, because these are just single values, and I would need at least six of them for this.
Bullets fired: ML
Default:
Lv1: bullet 0D
Lv2: bullet 0E
Lv3: bullet 0F
Maximum shots allowed on-screen: ML
Same deal as with SML.
Unlimited level 1 shots:
Level 2 (EAX +1):
Level 3 (EAX +1):
Ammo consumed with one shot (levels 1 and 2) (default 1)
Sound played when empty (level 1 and 2) (default 25 (hex))
Ammo consumed with one shot (level 3) (default 1)
Sound played when empty (level 3) (default 25 (hex))
Shot sound
Default: 20 (hex)
Go to address 0041E7B0 - Missile Launcher (weapon).
There's also Super Missile Launcher code there.
Bullets fired: SML
Default:
Lv1: bullet 1C
Lv2: bullet 1D
Lv3: bullet 1E
Maximum shots allowed on-screen: SML
Level 1 is not so modifiable. It's 0 or unlimited.
For unlimited shots, do this:
0041E817 JMP 0041E820
0041E82A JMP 0041E833
0041E82A JMP 0041E833
Maximum number of shots allowed is the number next to EAX +1.
Edit both of these.
0041E83F CMP EAX,1
0041E853 CMP EAX,1
0041E853 CMP EAX,1
Edit both of these.
0041E869 CMP EAX,3
0041E87D CMP EAX,3
0041E87D CMP EAX,3
Bullets fired: ML
Default:
Lv1: bullet 0D
Lv2: bullet 0E
Lv3: bullet 0F
Maximum shots allowed on-screen: ML
Same deal as with SML.
Unlimited level 1 shots:
0041E8E3 JMP 0041E8EC
0041E8F6 JMP 0041E8FF
0041E8F6 JMP 0041E8FF
0041E90B CMP EAX,1
0041E91F CMP EAX,1
0041E91F CMP EAX,1
0041E935 CMP EAX,3
0041E949 CMP EAX,3
0041E949 CMP EAX,3
Ammo consumed with one shot (levels 1 and 2) (default 1)
Sound played when empty (level 1 and 2) (default 25 (hex))
Ammo consumed with one shot (level 3) (default 1)
Sound played when empty (level 3) (default 25 (hex))
Shot sound
Default: 20 (hex)
Useful things
List of bullets:
1 - Snake lv1
2 - Snake lv2
3 - Snake lv3
4 - Polar Star lv1
5 - Polar Star lv2
6 - Polar Star lv3
7 - Fireball lv1
8 - Fireball lv2
9 - Fireball lv3
0A - Machine Gun lv1
0B - MG lv2
0C - MG lv3
0D - Missile Launcher lv1
0E - ML lv2
0F - ML lv3
10-12 - ML explosion
13 - Bubbler lv1
14 - Bubbler lv2
15 - Bubbler lv3
16 - Bubbler Thorns/whatever is fired when lv3 Bubbler projectiles pop
17 - Blade Slashes
19 - Blade lv1
1A - Blade lv2
1B - Blade lv3
1C - Super Missile Launcher lv1
1D - SML lv2
1E - SML lv3
22 - Nemesis lv1
23 - Nemesis lv2
24 - Nemesis lv3
2B - Spur lv1 (?)
2C - Spur lv2
2D - Spur lv3
I hope it is correct
2 - Snake lv2
3 - Snake lv3
4 - Polar Star lv1
5 - Polar Star lv2
6 - Polar Star lv3
7 - Fireball lv1
8 - Fireball lv2
9 - Fireball lv3
0A - Machine Gun lv1
0B - MG lv2
0C - MG lv3
0D - Missile Launcher lv1
0E - ML lv2
0F - ML lv3
10-12 - ML explosion
13 - Bubbler lv1
14 - Bubbler lv2
15 - Bubbler lv3
16 - Bubbler Thorns/whatever is fired when lv3 Bubbler projectiles pop
17 - Blade Slashes
19 - Blade lv1
1A - Blade lv2
1B - Blade lv3
1C - Super Missile Launcher lv1
1D - SML lv2
1E - SML lv3
22 - Nemesis lv1
23 - Nemesis lv2
24 - Nemesis lv3
2B - Spur lv1 (?)
2C - Spur lv2
2D - Spur lv3
I hope it is correct
I guess that's it (for now)...
I hope it helps somebody.