代码改变世界

010 Editor - Binary Templates

2019-01-05 14:05  youxin  阅读(2128)  评论(0编辑  收藏  举报

 

    010 Editor是一款非常强大的文本/十六进制编辑器,除了文本/十六进制编辑外,还包括文件解析、计算器、文件比较等功能,但它真正的强大之处还在于文件的解析功能。我们可以使用010Editor官方网站提供的解析脚本(Binary Template)对avi、bmp、png、exe等简单格式的文件进行解析,当然也可以根据需求来自己编写文件解析脚本
 
     下面以PNG文件解析为例,介绍010 Editor的文件解析功能。首先从官方网站上下载和安装010 Editor(http://sweetscape.com/010editor),然后到文件解析脚本下载页面中下载PNGTemplate.bt。用010 Editor打开PNG文件,然后通过Templates -> Open Template菜单打开PNGTemplate.bt,按F5键运行该脚本,就可以在Template Results窗口中看到该PNG文件的解析结果。
 
Editing binary data is hard. You have to know exactly which bytes to edit in a file and editing the wrong bytes can render a file unusable. Binary Templates take the mystery out of binary data by allowing you to understand data and edit it in powerful, intuitive way.
 
 

http://www.sweetscape.com/010editor/templates.html

https://www.jianshu.com/p/8e1352a9638f