Patch request: Please wait screen, bitmap position
- Shadow Master
- Posts: 129
- Joined: Fri Oct 20, 2006 3:14 pm
- Location: Santiago, Chile
- Contact:
Patch request: Please wait screen, bitmap position
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.)
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.)
- Shadow Master
- Posts: 129
- Joined: Fri Oct 20, 2006 3:14 pm
- Location: Santiago, Chile
- Contact:
- Freeyorp101
- Posts: 159
- Joined: Thu Nov 24, 2005 2:12 am
- Location: New Zealand
Code: Select all
#Vertical value
%patch $6FA5 $4C $00
- Freeyorp101
- Posts: 159
- Joined: Thu Nov 24, 2005 2:12 am
- Location: New Zealand
Completed patch:
Code: Select all
#vertical value
%patch $6FA5 $4C $00
#horizontal value
%patch $6FA9 $0F $00
- Shadow Master
- Posts: 129
- Joined: Fri Oct 20, 2006 3:14 pm
- Location: Santiago, Chile
- Contact:
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.
- Freeyorp101
- Posts: 159
- Joined: Thu Nov 24, 2005 2:12 am
- Location: New Zealand
- Shadow Master
- Posts: 129
- Joined: Fri Oct 20, 2006 3:14 pm
- Location: Santiago, Chile
- Contact: