krist0v Posted September 30, 2007 Report Share Posted September 30, 2007 Hi all µT gurus, users, experts ...After doing some unsuccessful googled researches and unfulfilled requests in these forums, I've decided to write my own tool to edit resume.dat content (mainly to perform some mass relocations and directories/paths changes) ...Today, I've achieved a - running - alpha release of my own tool, written in JAVA. It can export resume.dat content to XML file and can reimport XML content into a new fresh resume.dat. Code is not very clean, unoptimized, but requires some extending testing to prove its efficiencyIf everything goes well, it will be released as an open source stuff (in fact, it has been written with non proprietary usage in mind, so it could manipulate any bencoded file)Hope my post won't break any of the forums rules (I do not sell anything )Feedback appreciated and welcomedChris (µT is seach a great piece of work)PS : next (critical step) is to find a way to let uT know resume.dat has been changed (at least to see if its new content is structurally compliant), so I hope it is feasible Link to comment Share on other sites More sharing options...
Firon Posted October 1, 2007 Report Share Posted October 1, 2007 Doesn't break any forum rules, no.If you edit the file, µTorrent must be closed already. There's no way to reload while it's running. You must also recompute the hash that it uses to determine if the file was corrupted or something. Link to comment Share on other sites More sharing options...
krist0v Posted October 1, 2007 Author Report Share Posted October 1, 2007 Thanks Firon ! You're right, all actions performed on .dat files must be carried on "offline" (uT down) ... Yesterday, I've tried it on my own file (~300 torrents stored) and it seems to work (Uh, prog tells me file has been damaged or upgraded from an older version, so I need to work on this hash thing), but I can see all my changes in the new DAT file (new .torrent location in my test).I've also been able to export a .torrent file to an XML file, which means my coding could be used against any kind of bencoded content Today, I've been able to implement the SHA-1 integrity management, it seems to work fine with my own resume.dat file (export resume.dat to resume.xml, replace root directory and path with another pattern and reimport resume.xml back to a temp resume.dat, copy it to uT appdata dir and start : OK)Chris Link to comment Share on other sites More sharing options...
alphakry Posted November 7, 2008 Report Share Posted November 7, 2008 I'd be interested in this! Where could I obtain a copy?I've got a few arrays running and sometimes move bulks of completed files around to different locations. A tool that would allow me to edit and relocate the Download location of torrents in a batch type way so that I can continue seeding would be amazing! The current method of Right Click->Advanced->Set Download Location on each individual torrent gets tedious after the first dozen. Link to comment Share on other sites More sharing options...
moogly Posted November 7, 2008 Report Share Posted November 7, 2008 But Java... :/ Link to comment Share on other sites More sharing options...
Ultima Posted November 7, 2008 Report Share Posted November 7, 2008 BEncode Editor. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.