Patches???

Started by
6 comments, last by jocke 23 years, 10 months ago
Hi all! I was just wondering, how does patches work and how do i make my own? If anyone knows of any websites on this subject please post them. Thanks
Advertisement
It's simple: A patch is just a collection of updated file(s). So if you release your game and there's a bug in it, you can just release the new gamefiles needed to fix the bug and you've got yourself a patch.

- Muzzafarath

Mad House Software
The Field Marshals

Edited by - Muzzafarath on June 25, 2000 6:04:09 AM
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
There's also patches that are simply one file that modifies other file(s). I've never tried doing anything like that but I would imagine the patch maker searches for differences between the old and new file and creates a "script" of sorts that does these changes for each file. The patch could be a script used by a patcher program or an executable that has the "script" hardcoded in it. This is really the only feasable way if the patch needs to be downloaded and the files needing updating are rather large or if you just want to make the download smaller.

Edited by - Sheltem on June 25, 2000 6:37:27 AM
If a lot of functions are based in a DLL, you''ll only have to update the DLL. That makes for a smaller patch size, but programming everything in a DLL is slightly inconvenient (IMHO).

At least that solves the 2.5 megabyte patches I sometimes deal with.

- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"
- DarkMage139
Ok, now i get it. Thanks guys.

By the way, does anyone know of any resources on the net
which shows how to make a patch.?
quote:Original post by DarkMage139

If a lot of functions are based in a DLL, you''ll only have to update the DLL. That makes for a smaller patch size, but programming everything in a DLL is slightly inconvenient (IMHO).

At least that solves the 2.5 megabyte patches I sometimes deal with.

- DarkMage139
"Real game developers don''t change the rules. Real game developers don''t break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"


That''s not _always_ true, since if you would change a function''s name or parameters, then you would have to update all of the other dll''s and exe''s that calls the function in the dll... Right?

- Muzzafarath

Mad House Software
The Field Marshals
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
Are you all really suggesting that we replace files that need updating?!!? That would be crazy. First, it increases patch sizes and second it gives everybody parts of your program for free.

The real way of doing it is only to distrbute differences. Utilities are available for this. A quick search reveals the following utilities:

Patch Maker: http://www.clickteam.com/website/pm/about_cadre.htm

ResCompare: http://www.macinsearch.com/infomac2/development/res-compare-26.html

MDiff/MPath: http://www.btsoftware.com/index.html

Patch Creator Utility: http://www.softseek.com/Programming/Installers_and_E_Commerce_Tools/Review_25525_index.html

Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games
Raise your hand if you know COM.

- DarkMage139
"Real game developers don't change the rules. Real game developers don't break the rules. Real game developers make the rules!"
"Originality (in games) is the spice of life!"

Edited by - DarkMage139 on June 25, 2000 10:06:58 PM
- DarkMage139

This topic is closed to new replies.

Advertisement