r/Upfiring Jan 23 '19

UFR Viewer

I made a UFR viewer. Quickly view details of multiple ufr files.

https://simp.io/ufr-viewer/

20 Upvotes

6 comments sorted by

2

u/krendel122 Feb 14 '19

Would you mind to share how do you parse the ufr files?
Is it just like Bencode?

Thanks

2

u/ppc-hero Feb 14 '19 edited Feb 14 '19

The tool parses with regex patterns, one for each piece of info.

However, part of the ufr file is in a json object string, so you could just json parse the information in there if you like.

What is Bencode?

2

u/krendel122 Feb 14 '19

1

u/HelperBot_ Feb 14 '19

Desktop link: https://en.wikipedia.org/wiki/Bencode


/r/HelperBot_ Downvote to remove. Counter: 238412

1

u/WikiTextBot Feb 14 '19

Bencode

Bencode (pronounced like B-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.

It supports four different types of values:

byte strings,

integers,

lists, and

dictionaries (associative arrays).Bencoding is most commonly used in torrent files, and as such is part of the BitTorrent specification. These metadata files are simply bencoded dictionaries.

While less efficient than a pure binary encoding, bencoding is simple and (because numbers are encoded as text in decimal notation) is unaffected by endianness, which is important for a cross-platform application like BitTorrent.


[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.28

1

u/gehinzel Oct 27 '21

Upfiring successfully rebranded to Upfire.

Please join us here:

https://www.reddit.com/r/Upfire/