Word (Microsoft) Easter Egg - Midi Song in Winword 2000

Open winword.exe (2000) (tested with rel. 9.0.2812)
at offset 1DF94h you will find 4Dh 45h 68h 64h: this is the header of the midi song.
Extract 7819 bytes (1E8Ah), that is until you find 96h 39h 00h 02h 91h 1Ah 00h 00h FFh 2Fh 00h
: this is the midi file.
Save it with .mid extension and play it with any midi player.

HexEditor suggested: Hex Workshop (http://www.bpsoft.com)

Spread the word and if you like this Egg!
User Rating:
3.9
  3.9/10 with 245 votes
Contributed By: Marco Cassisa on 02-15-2000
Reviewed By: Webmaster
Special Requirements: Hex editor, midi player
Please correct this Egg if you see errors.

Pictures and Videos

None posted yet. Send us yours and be the first!

Comments

Goat50 writes:
For any of you who don't understand what all those numbers mean, and you still want to listen to the Midi than just go to the start menu, search, files or folders, Type *.mid
48 of 59 people found this comment helpful. Did you? Yes No
Dan writes:
Yes, it works. If you're not into editing files, just compile and run the following code in the directory where word is located to extract the file (which will be named "WORD.MID"). Pascal Code: -------------Copy from here----------------------------------------- program getmidi; var f,g:file; c:byte; i:word; begin assign(f,'WINWORD.EXE'); assign(g,'WORD.MID'); filemode:=0; reset(f,1); filemode:=2; rewrite(g,1); seek(f,$1DF94); for i:=1 to 7819 do begin blockread(f,c,sizeof(c)); blockwrite(g,c,sizeof(c)); end; close(g); close(f); end. ---------Copy till here--------------------------------------- C code ------------Copy from here------------------------------------ #include void main() { FILE *f,*g; unsigned int i; char c; f=fopen("WINWORD.EXE","rb"); g=fopen("WORD.MID","w+b"); fseek(f,0x1DF94,SEEK_SET); for (i=0;i<7819;i++) { fread(&c,sizeof(c),1,f); fwrite(&c,sizeof(c),1,g); } fclose(g); fclose(f); } --------------Copy till here----------------------------------- These were compiled on Turbo Pascal, Turbo C/C++ (Borland) and worked OK with word version 9.0.2720
15 of 23 people found this comment helpful. Did you? Yes No
3DPhreak writes:
I'm using MSOffice Premium, OSR9.0.2720, and @ the offset 0x0001DF94h, I seeno MIDI header, it does NOT match the one you have provided, and when I searched for it, it did NOT find anything. However, I DID find a file named testsnd.mid in my /Office folder, and I think that it may very well be it. Please write back to me, or else reply here. thanx
9 of 12 people found this comment helpful. Did you? Yes No
wackokid writes:
testsnd.mid is the same sound as was in the file - it has the same header.
7 of 8 people found this comment helpful. Did you? Yes No
Egger writes:
In my Version (9.0.2823) it works, and it is a song from age of empires
5 of 6 people found this comment helpful. Did you? Yes No
does not work in 9.0.2720 (search string not in file)
5 of 6 people found this comment helpful. Did you? Yes No
DOURO writes:
This same MIDI music can be found in VB6.DLL... it must be related to an easter egg (check the VBA Credits easter egg). Look around 0x0023B6C0.
7 of 11 people found this comment helpful. Did you? Yes No
In my 9.0.2812 version it works, but your search string is wrong. Instead of: 4Dh 45h 68h 64h it should be: 4Dh 54h 68h 64h ( the second byte have inverted digits! )
4 of 6 people found this comment helpful. Did you? Yes No
sponge writes:
I have the same thing. I can't find the MIDI header, but I do have testsnd.mid. Makes good elevator music =-)
1 of 1 people found this comment helpful. Did you? Yes No
Al writes:
Yes, I've found the musical egg in WINWORD at the address mentioned. I'm a programmer -- an oltimer, developped and developping on sane programming principles -- and I found this overhead "garbage" in the EXE file (I wander how many other are contained in there) quite insane. But the same goes with the Windows registry storage system, etc., etc. I will soon send you some more funny eggs...
4 of 7 people found this comment helpful. Did you? Yes No
Ace writes:
If you have Word version 9.0.2720 then the word file will not include the necessary bytes.
1 of 1 people found this comment helpful. Did you? Yes No
cocosnake writes:
Work fine with Word 9.0.2812 french version
1 of 1 people found this comment helpful. Did you? Yes No
Bitmaster writes:
A very nice egg, but I do wonder who bothered rummaging through winword.exe looking for those few bytes. Is there anything special you'd want to look for if you want to discover more of these hidden MIDIs?
1 of 1 people found this comment helpful. Did you? Yes No
burbble writes:
Doesn't have that string in 9.0.3821 SR-1 file. malkovich malkovich : What are you talking about??
2 of 5 people found this comment helpful. Did you? Yes No
Zanthius writes:
To the 2 comments above - I sort of understand what he's talking about, but would have a hard time doing it. Just face it, there are people out there smarter than you and I, and other people understand him perfectly. In my understanding, it would take a very long list of instructions to teach you how to do it, and the risk of corrupting your copy of Word.
5 of 11 people found this comment helpful. Did you? Yes No
Sambo writes:
I may come across pretty thick... but i have no idea what you mean by string... How i get there , what to do.. Please explain step by step if you can....? ;)
3 of 9 people found this comment helpful. Did you? Yes No
JustMe writes:
What in THE WORLD are you talking about??? I don't speak computer language, so could you please convert to English???
15 of 36 people found this comment helpful. Did you? Yes No


Register - Privacy Policy - About Us - Contact Us