Over my years trying to write useful programs, I have always wondered about 2 things..
But first lets have at least some background information so you know what this is all about..
I have some unofficial Patching tools for a few apps, as example a screen saver that i don't even like, but that's not the point...
Most of these tools has 1 major thing to do, Replace EXE, DLL and/or some INI files
If I look how the "patching" is being done by these 3 different examples I got, I can see this:
1 PatchM12.EXE
Size=119.94Kb
Contains:
M12.exe Size=8,93Mb
M12.DLL Size=2,14Mb
Extras
Plays music file after user specifies Application's folder (Example C:\Program\M12\) (The music that the user will hear is definitely not MID/MIDI, its 3:47 in length and it contains human voices)
2 PatchWR.EXE
Size=189.94Kb
Contains:
WR.exe Size=2,33Mb
WR.DAT Size=6,94Mb
Extras
Plays music file after user opens this Patcher (The music that the user will hear should be MID/MIDI, since it is only instrumental and it sounds just like any MID music)
3 Patch_Wolf.EXE
Size=249.78Kb
Contains:
Reg.exe Size=12.75Mb
REG.DLL Size=4,56Mb
REG.ini Size=2Kb
Extras
Plays music file after user opens this Patcher (The music that the user will hear is defently not MID/MIDI, its 4:16 in length and it contains female singing)
Now the things I would like to know is these :
1: How do they make the music fit in a way too small file and play it in Real-Time ?
2: How do they compress the DLL/EXE files so hard ? (The filesizes mesured could be wrong, but i don't think so)
Any useful help will be appreciated
NOTE: I'm not uploading the patches, because they are for games playable on Win95, so I don't think anyone will pay attention to them
Edit: Excuse me, some misspelling, but who cares as long as you can read it...