flat assembler
Message board for the users of flat assembler.

Index > Main > recovery volumes

Author
Thread Post new topic Reply to topic
donkey7



Joined: 31 Jan 2005
Posts: 127
Location: Poland, Malopolska
donkey7 30 Jun 2005, 12:54
how the recovery volumes works?

i have seen they in winrar and tested it. if you have n recovery volumes then you can recover *any* n missing volumes. at first sight it seems to be a magic Smile

i have thought a little about that. i invented a way to recover only one volume. you can do this in this way:
- xor all volumes (i mean xor first bytes from all volumes, then xor second bytes from all volumes...) and you get recovery volume,
- you can recover any missing volume by xoring all volumes you have (including recovery volume)
- you can recover only one missing volume,

the algorithm that recover any missing n volumes is included in unrar sources in files recvol.cpp and rs.cpp.

can you explain this algorithm for me in easy way?

sorry for bad english.

_________________
Keep coding!
Post 30 Jun 2005, 12:54
View user's profile Send private message Visit poster's website Reply with quote
donkey7



Joined: 31 Jan 2005
Posts: 127
Location: Poland, Malopolska
donkey7 05 Jul 2005, 20:37
hmm, difficult question ?? Wink
Post 05 Jul 2005, 20:37
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 05 Jul 2005, 20:46
Probably similar to .par files - http://www.slyck.com/ng.php?page=6
Post 05 Jul 2005, 20:46
View user's profile Send private message Visit poster's website Reply with quote
donkey7



Joined: 31 Jan 2005
Posts: 127
Location: Poland, Malopolska
donkey7 07 Jul 2005, 20:56
thanks, very much appreciated. this was exactly what i want.
Post 07 Jul 2005, 20:56
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 07 Jul 2005, 23:22
glad to help Smile
Post 07 Jul 2005, 23:22
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.