Patch request: Please wait screen, bitmap position

Request patches for Keens 1-3.
Post Reply
User avatar
Shadow Master
Posts: 129
Joined: Fri Oct 20, 2006 3:14 pm
Location: Santiago, Chile
Contact:

Patch request: Please wait screen, bitmap position

Post by Shadow Master »

Is there any way to change the coordinates at which the "please wait" bitmap (bitmap #14 of ModKeen 1.0 output) is displayed in Keen 1, 2 and 3? I mean the bitmap displayed right after the engine Keen enters graphics mode, but before the Apogee scrolling splash screen.

The idea is to change slightly the bitmap size and center it on screen. The Keen engine does not calculate the position on screen accordingly the bitmap size, but it has the coordinates hard-coded somewhere. So I need to patch those coordinates with new ones that will be calculated when I have the bitmap ready.

(The patch request if for "Lost in the Shadows" and its sequels, but since it's not an essential one, I decided to post it separatedly.)
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

Post by XkyRauh »

Holy cow, something that ISN'T in the Patch Index. Where's LevelLord when you need her?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Aaargh! I know this one! But I don't have access to LL's computer anymore! Waaaa!
User avatar
Shadow Master
Posts: 129
Joined: Fri Oct 20, 2006 3:14 pm
Location: Santiago, Chile
Contact:

Post by Shadow Master »

levellass wrote:Aaargh! I know this one! But I don't have access to LL's computer anymore! Waaaa!
If LL doesn't return at this very moment, I'll commit suicide! :O
I wish someone could teach me how to be another crazy patcher (and I'd be one). :|
User avatar
Freeyorp101
Posts: 159
Joined: Thu Nov 24, 2005 2:12 am
Location: New Zealand

Post by Freeyorp101 »

Code: Select all

#Vertical value
%patch $6FA5 $4C $00
I'll look for the horizontal later...
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

It should be pretty close, not more than $10 away, same with the image used value.
User avatar
Freeyorp101
Posts: 159
Joined: Thu Nov 24, 2005 2:12 am
Location: New Zealand

Post by Freeyorp101 »

Completed patch:

Code: Select all

#vertical value
%patch $6FA5 $4C $00


#horizontal value
%patch $6FA9 $0F $00
User avatar
Shadow Master
Posts: 129
Joined: Fri Oct 20, 2006 3:14 pm
Location: Santiago, Chile
Contact:

Post by Shadow Master »

Excellent!! Thanks a lot for this patch! (I'm sure that in the future all modders will be able to draw please wait screens that don't follow the rectangle design of Keen1.)
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Ah! Found it! (A bit late, but damnit, I looked for two hours so I'm posting it anyway!)

Code: Select all

#Keen 1:
%patch $6FA1 $0E $00 #Bitmap used
%patch $6FA5 $4C $00 #vertical value
%patch $6FA9 $0F $00 #horizontal value

#Keen 2:
%patch $31A0 $0E $00 #Bitmap used
%patch $31A4 $4C $00 #vertical value
%patch $31A8 $0F $00 #horizontal value

#Keen 3:
%patch $3135 $0A $00 #Bitmap used
%patch $3139 $4C $00 #vertical value
%patch $313D $0F $00 #horizontal value
Last edited by levellass on Sat Jan 13, 2007 10:51 pm, edited 1 time in total.
User avatar
Freeyorp101
Posts: 159
Joined: Thu Nov 24, 2005 2:12 am
Location: New Zealand

Post by Freeyorp101 »

%patch $6FA9 $0E $00 #Bitmap used
%patch $6FA9 $0F $00 #horizontal value
$6FA9? you seem to be overwriting the same value there. :)

$6FA1 seems to the value for the bitmap.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

I have ceased to care.

Bsides, everyone will use your patches.
User avatar
Shadow Master
Posts: 129
Joined: Fri Oct 20, 2006 3:14 pm
Location: Santiago, Chile
Contact:

Post by Shadow Master »

levellass wrote:I have ceased to care.

Bsides, everyone will use your patches.
Freeyorp only found the patches for Keen 1. YOU found the Keen2/3 ones.
Post Reply