Slyck.com
 
Slyck Chatbox - And More

A decompiled, updated, Unzbin

Discussion about the binary newsgroups and how to successfully participate in the file-exchange
Forum rules
PLEASE READ BEFORE POSTING: Slyck Forum Rules

A decompiled, updated, Unzbin

Postby georgehope » Mon Sep 09, 2013 3:26 pm

I'm one of (I imagine) only a few people left who have remained faithful to Unzbin since its developers disappeared into the ether some time ago. I've seen discussion elsewhere where users say that "it still works fine, it doesn't need an update, but that hasn't quite proven the case for me.

In the time since Unzbin was last updated, the NZB spec has changed from 0.9 to 1.1, with the notable inclusion of <head> elements into NZB files. Files with said <head> element crash Unzbin 2.6.8, which was the last version I'm aware of. This was bothering me, so I set about decompiling Unzbin's source, fixing the problem and putting the pieces back together. I've now finished this sufficiently to nudge other interested users to give it a try.

If you don't trust new users (on their first post!) to pass you executable files, and you're a competent programmer, then the method to do this yourself isn't too complex:
    Use de4dot to unpack Unzbin, which was compressed with MPRESS.
    Use a C# decompiler to turn the unpacked .exe into a Visual Studio project (I used Jetbrains dotpeek).
    Fix the bug in the nzb grabber "if element type equals file... carry on as normal..."
    Fix any bugs introduced by the decompiler.

For those of you of a more trusting nature, I've uploaded the raw unzbin .exe, a copy with the par/unrar command line tools, and my modified source as separate archives at: http://unzbin.totalh.net/. My version (as the original Unzbin) requires the .NET framework (version 2) to run. I have not built an installer.

I should warn you that my testing has been minimal, and the RSS functionality hasn't been tested at all, because I've never used it myself. However, I believe I've ironed out all the showstoppers. File downloads seem to be working normally, and NZB files that previously crashed Unzbin are loaded fine. I should note that I've disabled auto-update, given that the official Unzbin site is no more.

If anyone wishes to tinker with the source, then that's absolutely fine by me. The decompiled source isn't a perfect representation of what the original developer would have written, but I've found it manageable for the minor tweaks I've been making. I'll check back here infrequently to see if people are having problems. It would be a shame for such an excellent NZB client to be left to rot in the sands of time.
georgehope
 
Posts: 1
Joined: Mon Sep 09, 2013 2:49 pm

Re: A decompiled, updated, Unzbin

Postby MrFredPFL » Mon Sep 09, 2013 4:47 pm

interesting stuff, george. nice to see something besides bittorrent in active development :toast:
User avatar
MrFredPFL
I am Spartacus
 
Posts: 14885
Joined: Wed Aug 17, 2005 4:48 pm

Re: A decompiled, updated, Unzbin

Postby ericzutter » Sun Jun 26, 2016 5:39 am

Unzbin.exe version 2.6.8 is not available anymore on any website.

Could you add a download link of the original binary "Unzbin.exe version 2.6.8" on your website "http://www.unzbin.totalh.net/" ?

I would like to have the two versions 2.6.8 (original version) and 2.7.0 (your modified version).

Thank you very much.
ericzutter
 
Posts: 1
Joined: Sun Jun 26, 2016 5:34 am


Return to NewsGroups

Who is online

Users browsing this forum: No registered users and 1 guest

© 2001-2008 Slyck.com