Jetboy patch
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination
Jetboy patch
I need Generic Mod 2's jetpack patch for Keen 3... has this already been posted?
This is the standard patch, it's not quite as good though.
Code: Select all
#Pogo jetpacks
%patch $7627 $90
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination
A3 starts a mov instruction. The instruction following the mov instruction is CALL to the gravity procedure.
The next byte after $A3 is $38, so patching with $90 effecitvely converts the mov into a CMP instruction. The new cmp instruction overlaps with the existing call, cancelling the call to gravity.
A better patch would be $762A $90 $90 $90.
The next byte after $A3 is $38, so patching with $90 effecitvely converts the mov into a CMP instruction. The new cmp instruction overlaps with the existing call, cancelling the call to gravity.
A better patch would be $762A $90 $90 $90.
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination
Thanks!
Come to think about it, I wonder what else could be done with the pogo...
EDIT:
In http://www.keenmodding.org/viewtopic.php?t=1272, what disassembler is used in lemm's post? That looks more readable than what I get from using Recstudio.
Come to think about it, I wonder what else could be done with the pogo...
EDIT:
In http://www.keenmodding.org/viewtopic.php?t=1272, what disassembler is used in lemm's post? That looks more readable than what I get from using Recstudio.
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination
- Flyingmouse
- Posts: 104
- Joined: Wed Aug 05, 2009 8:33 pm
- Location: Procrastination