Page 1 of 1

Posted: Sun Mar 24, 2002 6:56 pm
by BackupUser
Restored from previous forum. Originally posted by skypa.

Hi,

for a good useabillity of my programs i want to write a little Patchengine to release updates with a small filesize.

Any ideas how to code an Filepatcher (offset patching) with PB?

Thanks


skypa

Posted: Wed Mar 27, 2002 1:21 pm
by BackupUser
Restored from previous forum. Originally posted by tranquil.
Hi,

for a good useabillity of my programs i want to write a little Patchengine to release updates with a small filesize.

Any ideas how to code an Filepatcher (offset patching) with PB?

Thanks


skypa

I suggest that there are may ways to create a "FilePatcher". If I should create such one, I would create an own "FileType". My app should do the following things:

- Compare Source Data with Destinationdata
- Store only- changes to a file.

Now you have to create the File-Patcher which is able to read your Patch-File and apply these patches to your original one. After patching, there should be a 1:1 copy of your secondary file.

Nice project that you are started there. Wish you fun. :))

Mike

Tranquilizer/ Secretly!
Registred PureBasic User

Posted: Thu Mar 28, 2002 2:54 pm
by BackupUser
Restored from previous forum. Originally posted by skypa.

[edit]

Im sorry, with ReadByte and WriteByte its soooo easy to build an Filepatcher :)

thx for the tips though

Edited by - skypa on 28 March 2002 17:58:26