Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Raymondo

Software patching?

This topic is 5760 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Whats the best way to patch software? I am working on what will sooner or later turn into a fully functional MMORPG...How does one go about patching software (games) made in C++? I know this sounds stupid but...

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by Raymondo
Whats the best way to patch software?

I am working on what will sooner or later turn into a fully functional MMORPG...How does one go about patching software (games) made in C++?

I know this sounds stupid but...


Make a program that compares the modified file with theoriginal and record only the changes in the file, and then make an app to put the changes into original from the difference file.Its not hard to do, but im stoned and cant provide you without a better way to do it without backtracking.

Share this post


Link to post
Share on other sites
Just make sure you separate your program into several different files, and then it won''t be too hard on people''s modems if you just send them the whole file.

On the other hand, there''s a program developed for unix called xdelta. A quick google finds that it''s available for windows as well, and the source is available here:
http://www.eng.uwaterloo.ca/~ejones/software/xdelta-win32.html

You can get ideas for how to find the differences in binary files from it. Don''t copy and paste, though, unless you plan on releasing the source to your whole program(not necessarily the whole game, just the program) because it''s GPL''d. They can also tell if your program''s algorithm is structurally and functionally equivalent, and that falls under copyright infringement, too.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!