Home Download Buy Blog Forum Support

ST3|ST2: Hex Viewer

ST3|ST2: Hex Viewer

Postby facelessuser on Mon Feb 04, 2013 8:42 pm

Initial port of HexViewer for ST3 is at this branch https://github.com/facelessuser/HexViewer/tree/ST3

Report any bugs if they are found. May need to restart ST3 after installing. You may notice some hashes missing depending on your platform, this is more than likely because of the SSL version included with ST3's Python.

Currently check-summing doesn't work, but should be fixed soon. I will update when I have fixed this.

I no longer provide default keymaps with HexViewer, but I do provide an example keymap file.

Enjoy.
Last edited by facelessuser on Mon Jun 02, 2014 1:34 am, edited 1 time in total.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3: Hex Viewer

Postby facelessuser on Mon Feb 04, 2013 11:01 pm

Checksums should be working now.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3: Hex Viewer

Postby unphased on Tue Apr 02, 2013 2:37 am

Just checking, it's still not possible to run Hex Viewer (i.e., view a pretty hexdump of a file) under ST3, correct?

Looking forward to having more of the features already in ST2 (excellent plugin!)
unphased
 
Posts: 28
Joined: Thu May 17, 2012 5:16 am

Re: ST3: Hex Viewer

Postby facelessuser on Tue Apr 02, 2013 3:48 am

I run Hexviewer ST3 branch in ST3 all of the time. Keep in mind, I no longer provide shortcuts, but provide an example shortcut file that you can use to set them up yourself. Old shortcuts conflicted with sublime shortcuts.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3: Hex Viewer

Postby Brakeley on Tue Nov 19, 2013 7:04 pm

Hey, I'm new to Sublime Text, and I have ST3 (registered, build 3054), and I installed Package Control, and then installed the HexViewer that was listed in Package Control. I noticed after I already clicked to install it that it said it was for ST2. It seemed to install OK, but am I running a version fully compatible with ST3?

If so, can you update the text to say that?

If not, how do I get the proper version?

It at least toggles to hex view in the one file I tried it in. I didn't test anything else, but I did notice this in the console when it loads:
Code: Select all
...
reloading plugin HexViewer.hex_checksum
Hex Viewer: md2 hash is not available!
Hex Viewer: mdc2 hash is not available!
reloading plugin HexViewer.hex_common
...

Is that normal?

Thanks!
Brakeley
 
Posts: 2
Joined: Tue Nov 19, 2013 6:52 pm

Re: ST3: Hex Viewer

Postby facelessuser on Tue Nov 19, 2013 11:03 pm

Brakeley wrote:Is that normal?

Yep. That is why I log the info. Every system, depending on what Jon compiles in, or what is available via that system's python etc., you get different hash algorithms that are available. I include a couple, but most come from your system.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3: Hex Viewer

Postby Brakeley on Thu Nov 21, 2013 6:26 pm

Oh, right, that is just a print of status, not of an error. Cool.

So I found this version string from Package Control's List Packages command:
Code: Select all
v2013-03-22-19-19-54; github.com/facelessuser/HexViewer


Is this version safe to use with ST3?

Thanks!
Brakeley
 
Posts: 2
Joined: Tue Nov 19, 2013 6:52 pm

Re: ST3: Hex Viewer

Postby facelessuser on Thu Nov 21, 2013 8:19 pm

If you are using PackageControl 2 it will take care of getting the right version for ST3.
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3|ST2: Hex Viewer

Postby facelessuser on Mon Jun 02, 2014 1:37 am

Hexviewer can now handle large files much better. It no longer brings your machine to its knees opening a hex view on a 30MB etc. The new approach loads such a file much, much faster. I also put an arbitrary limit of 50MB on file sizes, so if hexviewer is asked to open something bigger, it will happily deny you (the size is configurable).

Now that larger files are reasonable to open, I need to thread exporting and view reading for the checksumming of large files. One thing at a time :).
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Re: ST3|ST2: Hex Viewer

Postby facelessuser on Mon Jun 02, 2014 1:41 am

By the way, I updated BracketHighligher to not highlight in hex views in the default settings. If you are overriding the default bracket rules, I advise you pick up the recent update to not highlight in hex views. You can notice a lag in a 30MB binary file ;).
facelessuser
 
Posts: 1575
Joined: Tue Apr 05, 2011 7:38 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: ctf0, Exabot [Bot] and 14 guests