Level Names

Request patches for Keen Dreams.
Post Reply
User avatar
Ceilick
Deputy Administrator
Posts: 402
Joined: Wed Sep 03, 2003 2:35 am

Level Names

Post by Ceilick »

I'm having trouble patching in level names for those four unused levels in Keen dreams. I notice this was overcome in the Xmas 2010 mod, but I'm not sure how to go about it on my own.

Level names are as follows:

Code: Select all

%patch $23FCA "The Land of Tuberia"
%patch $23FDE "Horseradish Hill"
%patch $23FEF "The Melon Mines"
%patch $23FFF "Bridge Bottoms"
%patch $2400E "Rhubarb rapids"
%patch $2401D "Parsnip Pass"
%patch $2402A "Beet Street"
%patch $24032 "Spud City"
%patch $2403C "Cucumber Court"
%patch $24044 "Apple Acres"
%patch $24050 "Grape Grove"
%patch $2405C "Pea Pod Park"
%patch $24065 "Brussels Sprout Bay"
%patch $24079 "Watermelon Patch"
%patch $24082 "Squash Swamp"
%patch $2408F "Boobus' Chamber"
%patch $2409F "Castle Tuberia"
%patch $240AE "Title Page"
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

This is what Startext is useful for. Your main mistake was trying to cram too much text into a place it wouldn't fit, causing level names to overwrite each other and run together. Also, always remember to terminate your strings with $00 to be sure!

Code: Select all

#Leven name pointers:
%patch $23E48 $5A $05 #Land of Tuberia...
              $6E $05
              $7F $05
              $8F $05
              $9E $05
              $AD $05
              $58 $06
              $C2 $05
              $64 $06
              $D4 $05
              $E0 $05
              $73 $06
              $F5 $05
              $80 $06
              $12 $06
              $1F $06
              $2F $06
              $6D $05
              $3E $06
              $00 $00

#Level names
%patch $23FCA "The Land of Tuberia" $00
%patch $23FDE "Horseradish Hill" $00
%patch $23FEF "The Melon Mines" $00
%patch $23FFF "Bridge Bottoms" $00
%patch $2400E "Rhubarb rapids" $00
%patch $2401D "Parsnip Pass" $00
%patch $240C8 "Beet Street" $00
%patch $24032 "Spud City" $00
%patch $240D4 "Cucumber Court" $00
%patch $24044 "Apple Acres" $00
%patch $24050 "Grape Grove" $00
%patch $240E3 "Pea Pod Park" $00
%patch $24065 "Brussels Sprout Bay" $00
%patch $240F0 "Watermelon Patch" $00
%patch $24082 "Squash Swamp" $00
%patch $2408F "Boobus' Chamber" $00
%patch $2409F "Castle Tuberia" $00
%patch $240AE "Title Page" $00
Post Reply