 |
Keen: Modding All the modding info you'll ever need
|
| View previous topic :: View next topic |
| Author |
Message |
Fleexy

Joined: 12 Dec 2008 Posts: 216 Location: Blogham Tower
|
Posted: Wed Jul 28, 2010 9:49 pm Post subject: Hey, look! |
|
|
I think I messed up with this patch:
| Code: | %patch $1A1A1 "After Keen destroyed all the" $0A
"nuclear bombs that were on the" $0A
"planet, he jumps in his BWB" $0A
"Megarocket and flies over" $0A
"to the other side of the" $0D $0A
"planet." |
But it does do something possibly useful! At the end it starts printing that text over itself and at the top of the screen. But, some of the text THAT I PATCHED OVER (with that very patch) was shown! So maybe we can have ADSs (alternate data streams) in Keen! The text printed looked kind of like this:
| Code: | | flies over the other side of the planet.After Keen destroyedhorde of violBWB Megarocket. BWB. |
Yeah. Garbage. But if we modify the executable itself, patch over what we modified, and get it to do what I accidentally did and call the EXE's code sometimes, but the patch code other times, we gain space for all kids of patches!.
I still don't know what's wrong... |
|
| Back to top |
|
 |
levellass
Joined: 11 Oct 2006 Posts: 1404 Location: Ngaruawahia New Zealand
|
Posted: Thu Jul 29, 2010 12:45 am Post subject: |
|
|
Did you take a dump of the executable to see what the data was like at the patch location? That can help.
By the looks of it your text was too tall for the window and tried to print outside the window bottom, which leads to it printing at the top of the screen. You may also have written into several text pointers, so the same text is read and printed from several different points in one window. It's hard to be sure without more details as to what Keen this is for and where.
ADs shouldn't be possible with CKPatch, if this is true it will be an incredible discovery. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|