Archived

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

Ultima

BEncode Editor

Recommended Posts

Except that bug, I'm happy with the current editor.......... I KNOW! File importation into multiple files at once and multi-file find/replace (aka batch ops).

Share this post


Link to post
Share on other sites

Perhaps, if not fighting with regular expressions, an empty Search box would mean "anything", something in Replace box would replace values of keys found in this way (we are searching 'Value by key'), nothing in Replace box would mean 'no replacement'.

Share this post


Link to post
Share on other sites

aka.. Ctrl-F (just find)

I only really would like to see an easier "merge" option. My method there is currently scripted, so it's not a BIG deal, it's just tedious.

That and I can't think of other shortcomings when dealing with (other) bencoded data not already covered here on the forum. Can it be made iterative? Are you still quietly working on a new version? Are you planning on adding any easter eggs :P

Share this post


Link to post
Share on other sites

Merge is still on my todo, but I guess "todo" doesn't necessarily translate to "will do." Iterative is still a no-go.

@andron: I don't like the idea of splitting functionality, especially when the Find and Replace dialogs are actually the same dialog that make use of the same exact functions for finding/replacing. I'd rather have an elegant solution than attempt to shoehorn a hack in.

@GTHK: Batch operations from the GUI is unlikely. Batch operations via CLI might be possible if I ever get around to actually implementing CLI support.

Share this post


Link to post
Share on other sites

Correct.

Here's one batch.... cover13to15es4.th.png and here's the other bencodeeditorv26sl5.th.png

Right click Save as, ^<-_first is 1.3 to 1.5 packed EXEs second is unpacked EXEs_->^

Yeah mediafire.com is working but savefile.com and zshare.net are down right now.

Pinging zshare.net [64.72.123.3] with 32 bytes of data:

Pinging mediafire.com [38.114.196.10] with 32 bytes of data:

Pinging savefile.com [64.72.116.227] with 32 bytes of data:

They're back up now.

Share this post


Link to post
Share on other sites

sorry i apologized already if i made any mistakes

ya but my problem is that my resume.dat doesnot show anything other than filegaurd

nothing else man so what should i do

Share this post


Link to post
Share on other sites

You need to go from your resume.dat.bad or resume.dat.old from just before that modified time... OR alternatively ANY resume.* files which are > 1 KiB. If you don't have them you're out of luck right now. You can go through my ideas for backing up your data @ http://forum.utorrent.com/viewtopic.php?pid=287849#p287849 which includes how to "easily" re-add lost torrents you still have in your torrent storage location. (easily in "" because it depends on your layout and organization scheme)

Share this post


Link to post
Share on other sites

BEncode Editor v0.6.0 (WIP 6)

http://www.savefile.com/files/1573691

+ Feature: Regular expressions search/replace (PCRE engine)

~ Change: Display Edit dialog on double-click only if text double-clicked

~ Change: Don't collapse/expand treeview item on double-click

~ Change: Faster BEncoding (~85% improvement over v0.5.1 in tests)

~ Change: Select all text in Value field each time Find/Replace dialog shown

~ Change: Unicode support on treeview and listview

* Fix: Inaccurate window resize limiting under various Windows themes

@ Internal: Fix regression where editing a list or dictionary causes it to be changed into an integer

Highly experimental! Regular expressions support lacks much of any testing. Yes, back-references should work -- it basically uses the full PCRE library. Testing BEncoding would also be nice.

I would make having a blank value field in the Search/Replace dialog for String/Integer searches mean "search for blank data" rather than "fail automatically," but I'm too tired to think about that at the moment. Next time, maybe...

Note: There is an issue with button transparency on most Windows themes in this version. AutoIt bug. Bleh.

Heh, more than 2 pages of WIPs already...

Share this post


Link to post
Share on other sites

Well, "test" more like making sure I didn't break anything. I know it's much faster, that's for sure :P

Share this post


Link to post
Share on other sites

Wow! I've been waiting for a tool like this for quite some time. I really like simple, straight-foward GUIs, so nifty.

Thanks so much for you effort and time Ultima!

Share this post


Link to post
Share on other sites

Sorry for the delay I have more stats... on a faster computer. for both ED and my 3 test files... actually, 2 of the same as above, with 1 not.

Preliminary results: (good for a chart... all my previous values could be (1.2GHz Jewel) -- this one is dual-core 2.16GHz, but I only use 1 core in VM)

OK format for values are: TITLE<CR><LF>

file_name decode_time treeview_time replacements(previously established)@speed_in_seconds(no decimal where there is no internal timer)<CR><LF><CR><LF>

6.6

111 2.565 2.475 514@3.501

TAS 4.502 3,827 853@5.915

_uT 15.743 14.042 4226@25.885

ED_360 6.413 14.873

6.4

111 2.762 4.482 514@35

TAS 4.300 3.858 853@72

_uT 17.398 15.598 4226@(at least 10 minutes)

ED_360 6.008 13.276

6.3

111 2.679 2.781 514@49

TAS 4.528 4.017 853@90

_uT 16.329 14.798 4226@21:22

ED_360 6.64 13.318

6.1

111 3.007 4.033

TAS 4.804 6.135

_uT 17.832 22.627

ED_360 5.855 14.222

5.0306

111 3.507 5.060

TAS 5.530 8.085

_uT 20.551 29.850

ED_360 6.989 17.605

5.0118

111 3.454 7.197

TAS 5.650 11.624

_uT 20.528 42.695

ED_360 6.709 26.376

4.1205

111 3.911 7.280

TAS 6.386 11.666

_uT 24.392 43.005

ED_360 7.634 22.962

3.1125

111 6 20

TAS 9 33

_uT 34 120

ED_360 10 64

These are the only .2 values since well.. I won't be testing mass replace, and i'm counting the little 6 second intervals in procexp for this access data... That and extra large torrents aren't handled well... the data is buffered in... some in the beginning, and slowly throughout. Afterwards

2.1025

111 12 18

TAS 21 33

_uT 144 120

ED_360 16/325 60

v6 6

[14:13:26] [bDecode] Start: "C:\Documents and Settings\Administrator\Desktop\BFE\111.resume.dat"

[14:13:29] [bDecode] End (2.565 seconds)

[14:13:29] [TreeView Fill] Start

[14:13:31] [TreeView Fill] End (2.475 seconds)

[14:14:20] [Find/Replace] Made 514 replacement(s) in 3.501 second(s)

[14:14:58] [bDecode] Start: "C:\Documents and Settings\Administrator\Desktop\BFE\TAS.resume.dat"

[14:15:02] [bDecode] End (4.502 seconds)

[14:15:03] [TreeView Fill] Start

[14:15:06] [TreeView Fill] End (3.827 seconds)

[14:15:22] [Find/Replace] Made 853 replacement(s) in 5.915 second(s)

[14:15:35] [bDecode] Start: "C:\Documents and Settings\Administrator\Desktop\BFE\uT.resume.dat"

[14:15:51] [bDecode] End (15.743 seconds)

[14:15:51] [TreeView Fill] Start

[14:16:05] [TreeView Fill] End (14.042 seconds)

[14:16:57] [Find/Replace] Made 4226 replacement(s) in 25.885 second(s)

59124K

bfe64cs2.th.pngbfe63fr5.th.pngbfe61ib3.th.pngbfe50306nn4.th.pngbfe50118jl7.th.pngbfe41205fv4.th.pngbfe31125hd3.th.png

ED upcoming...

Share this post


Link to post
Share on other sites

Depends on what you were trying to do with it. Regardless, this might not be the best thread to ask (I prefer to keep this thread for development discussions).

At any rate, I feel like I want to get v0.6 out the door ASAP (it's been sitting on my computer doing a whole lot of nothing), but haven't had time to really finalize it. Soon... hopefully.

Share this post


Link to post
Share on other sites

Not much to say about this build at this point, other than that it's finally out of testing (after forever). It's been highly optimized since the last "stable" build, and a ton of new features/changes/fixes made their way in. The changelog tells (almost) all!

Enjoy it... or something ._.

Download

[v0.6.0] Unicode, ANSI

Changelog

v0.6.0 (2008-06-20)

+ Feature: Count the number of replacements made during Replace All

+ Feature: Cut/Copy/Paste items

+ Feature: Filter searches based on key

+ Feature: Holding Ctrl while reloading reloads data from disk

+ Feature: Move item up/down

+ Feature: On import, use filename as suggestion for key name (if empty)

+ Feature: Regular expressions search/replace (PCRE engine)

+ Feature: Select all Logger tab items with Ctrl+A

+ Feature: Sort keys (for dictionaries only)

~ Change: Add accelerators for dialog buttons

~ Change: Center popup dialogs on display

~ Change: Disable dialog buttons on action

~ Change: Display Edit dialog on double-click only if text double-clicked

~ Change: Don't collapse/expand treeview item on double-click

~ Change: Faster BDecoding (~30% improvement over v0.5.1 in tests)

~ Change: Faster BEncoding (~85% improvement over v0.5.1 in tests)

~ Change: Faster Find/Replace operation (much improved on larger treeviews)

~ Change: Faster treeview filling (~50% improvement over v0.5.1 in tests)

~ Change: Focus main window on drag-and-drop

~ Change: Increase input limit on edit controls

* Change: Searches for blank values are always treated as exact searches

~ Change: Select all text in Value field each time Find/Replace dialog shown

~ Change: Unicode support on treeview and listview

~ Change: Use accelerators instead of global hotkeys

~ Change: Visual feedback when busy performing find (busy mouse cursor)

* Fix: Inaccurate window resize limiting under various Windows themes

* Fix: Non-transparent background on "button" icons in certain situations

* Fix: Switching binary input type in Add/Edit dialogs causes data loss

* Fix: Sub-item count not displayed for dictionaries/lists added to a list

Here are the few minor changes since the last WIP...

* Change: Searches for blank values are always treated as exact searches

* Fix: Non-transparent background on "button" icons in certain situations

Internal: Single replacements for Value by Key searches didn't work

It's slightly faster than the last WIP too.

Edit: Me stabs PunBB a little.

Share this post


Link to post
Share on other sites
Guest

Ultima, dude, you don't know how happy I was when I discovered this thread and this godlike tool! I almost gave up on restoring my precious stats after f**king around with moving the folder with .torrent files. Googling for resume.dat was last poor attempt to find something. I was so incredibly shocked to find a perfect solution after all. Yay!

I'd buy you a beer or 10 if you lived closeby :D

Share this post


Link to post
Share on other sites

Ultima - I've been this tool for a little while, been really impressed with it. But today was the first time I needed to find any data with it, and was really impressed with the search feature. I just wanted to say thanks, it's a fantastically useful tool. :)

Share this post


Link to post
Share on other sites

Haha, if there was one thing that I had to pick out as the thing that gave me the most headache in implementing, it would have to be Search/Replace. I'm glad it worked out well for you :)

Share this post


Link to post
Share on other sites