kiabrin Posted March 31, 2008 Report Share Posted March 31, 2008 probably after previous update (now it's build 9272), or after power loss maybe, the list of my torrents is empty (it was quite long), and in my Aplication Data\uTorrent folder the files resume.dat.3.bad and resume.dat.old.1.bad esist... is there any way to restore the list, as some torrents was not completely downloaded and others (many of them) are seeded and uploaded very often.thanx for your help! Link to comment Share on other sites More sharing options...
jewelisheaven Posted March 31, 2008 Report Share Posted March 31, 2008 You can check out Ultima's Bencoded File Editor. BAD files mean uT couldn't decode them. If it's bencoded data it will show up perhaps truncated. However if it doesn't decode something is wrong. If you open in some editor the most common reason is the file is all NULL. Link to comment Share on other sites More sharing options...
kiabrin Posted April 1, 2008 Author Report Share Posted April 1, 2008 the .bad files is 295kb long and when opened with text viewer appears ok, i.e. contains the file paths and hashes etc. but, there something wrong at the end of file, as I see. the Ultima's editor also cannot decode a file. maybe I can send a file to you for checking? thanx. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 1, 2008 Report Share Posted April 1, 2008 If Ultima's editor doesn't understand it that sounds like it's truncated... uT was interrupted as it was saving the file.In that event it's likely just adding two "e"s to the end of the data stream may salvage it... one to close the torrent data, and the other to close the actual resume file. NOTE: Make sure you use some editor which understand/does not mess with binary data. Notepad is not a suitable editor for this type of manipulation. I'm not sure about other notepad derivatives but any "hex editor" would be sufficient.I'm not sure I could diagnose it any better even if I had the file. Link to comment Share on other sites More sharing options...
kiabrin Posted April 1, 2008 Author Report Share Posted April 1, 2008 it works! but, also, I needed to truncate a large amount of 0x00's at the end of file. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 1, 2008 Report Share Posted April 1, 2008 B.F.E. worked ? or after you added the 2 e's? ... Hmmm, so after that you started up uT with the repaired resume.dat and you're all good Link to comment Share on other sites More sharing options...
kiabrin Posted April 1, 2008 Author Report Share Posted April 1, 2008 B.F.E. worked after I added eee after last meaningful data in file, not at the end.and, after I removed nulls, uT worked well to. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 1, 2008 Report Share Posted April 1, 2008 Yeah I think Ultima coded NULL removal post .4 of the BFE...you activate it by loading in a valid bencoded file and re-saving it.How many NULL bytes were there give or take? It wasn't something large like 3000 was it? Link to comment Share on other sites More sharing options...
Ultima Posted April 1, 2008 Report Share Posted April 1, 2008 Yeah I think Ultima coded NULL removal post .4 of the BFENope, I never made any explicit changes for the editor to handle such problems. As far as I can tell, my decoder has always stopped after the dictionary has ended (ignoring anything that comes after, whether valid or not). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.