29

I am trying to open the skype .dat hex files and I would like to know if I can use Sublime text instead of the other 'dedicated' hex editors.

Zuhayer Tahir
  • 394
  • 1
  • 3
  • 9

3 Answers3

51

Sublime text is one of my favorite editors. You can extend its capabilities by using plugins.

I use its plugin HexViewer to view hex files. http://facelessuser.github.io/HexViewer/

  • In Sublime Text, press ctrl + shift + p (Win, Linux) or cmd + shift + p (OSX) to bring up the quick panel and start typing Package Control: Install Package. Select the command and it will show a list of installable plugins.

  • Start typing HexViewer; when you see it, select it.

  • Restart to be sure everything is loaded properly.

HexViewer

Zuhayer
  • 696
  • 7
  • 4
  • 1
    Seems really good but frustratingly I can't figure out how to open it after it's installed. The documentation doesn't tell you the keyboard shortcuts, nor are they listed in any key settings file anywhere. – temporary_user_name May 29 '18 at 05:36
  • 8
    Lack of documentation for opening plugins seems to be a common theme. I managed to find it by going to Tools > Packages > Hexviewer > Toggle Hex Viewer – moonpatrol Jul 11 '18 at 05:49
  • 2
    I used this happily but now it says "Can't find package HexViewer" every time I open it and I can't find it in the install menu. **Was it removed?** – xjcl Feb 02 '19 at 21:04
  • Yes, but how can you _edit_? – pmor Apr 11 '22 at 14:44
  • Found: `HexViewer: Export Bin`. – pmor Apr 11 '22 at 15:32
6

Once the HexViewer is installed in sublime text, press "Ctr + Shift + P" to open the "command palette" now just type "HexViewer: Toggle Hex View", you can now see the hexadecimal code as well.

enter image description here

All DOC in http://facelessuser.github.io/HexViewer/#hexviewer-toggle-hex-view

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
Rhodwulf
  • 61
  • 1
  • 1
1

This can be done without installing any plugins. Simply open the file and select File -> Reopen with Encoding -> Hexademical.

HexViewer has a richer UI and additional features, but this works out of the box.

David Wesby
  • 111
  • 4