如何从这个十六进制数读取数据? [英] How to read data from this hex number?

查看:292
本文介绍了如何从这个十六进制数读取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想学习如何读取十六进制数字的数据。这是我的照片: Imgur:互联网上最棒的图片 [ ^ ]。如何看待

位, byte ,字符串,endianess,

?你能从我的照片中读到什么?这是我的文件,我在hex workshop workshop编辑器中打开它: RPP_02.pp - Google Drive [ ^ ]

请帮忙?告诉我怎么读它?



我尝试过:



i什么都不知道。我只是这个领域的初学者。我的观点是扭转归档游戏文件。我已经开始在youtube上找到,发现https://www.youtube.com/watch?v=bOl7jGfossI,我也发布了这个:http://zenhax.com/viewtopic.php?f = 13& t = 3034。我仍然没有得到正确的答案。

解决方案

老实说,如果你无法弄清楚十六进制编辑器如何显示数据,那么你可能会尝试承担超出当前技能的任务:图片显示左侧的十六进制字节视图的标准十六进制编辑器(每个字节分别显示为两位十六进制数字)和右侧的字符视图(其中相同的字节显示为可见字符,它们在ASCII标准字符集可打印范围内,如果不是,则显示为。。

位不显示,因为它们有八个字节,并且需要太多空间:虽然转换并不困难,但每个十六进制数字值转换为一组四个二进制数字:

< pre lang =text> 0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111



和几乎,十六进制编辑器不能告诉你Endianness,除非你知道某些值的范围和大小(假设所有值都是相同的大小,但事实并非如此):四个字节0​​1 00 00 00可能是以多种方式读取 - 从1作为一个小的Endian 32位数字到16,777,216作为Big Endian 32位数,通过两个16位数字,四个8位数字或64位数字的一半!



加上......逆向工程游戏文件很可能违反了你的许可协议,而且即使它不是,也保证很简单:manny是压缩的所以你是什么看到的不是你得到的,一个微不足道的变化可以打破整个文件。



如果我是你,我会玩游戏,并且变得更好在它 - 它可能比尝试更容易o反向存档文件并作弊! :笑:


Hex编辑器只显示二进制包含文件,甚至是不可显示的数据。

关于数据的含义,你必须设计它。问题在于它是经验问题。



建议:实验!

- 在NotePad中创建带文本的文件,然后打开在Hex编辑器中然后比较两边,匹配它们不应该很复杂。

- 之后,你需要构建或找到一个已知二进制数据的文件,然后你必须研究显示器来设计什么是什么。


I want to learn how to read data in hex number. this is my picture : Imgur: The most awesome images on the Internet[^] . how to see something like

bits, byte, strings, endianess,

?? what you can read from my picture?? here is my file and i opened it in hex workshop editor :RPP_02.pp - Google Drive[^]
please help?? tell me how to read it??

What I have tried:

i don't know nothing. i just a beginner in this field. my point is reversing archive game file. i have start find on youtube, found https://www.youtube.com/watch?v=bOl7jGfossI , i also post this : http://zenhax.com/viewtopic.php?f=13&t=3034 .I still don't get correct answer.

解决方案

To be honest, if you can't work out how a hex editor shows data, then you're probably trying to take on a task that is way beyond your current skill set: the picture shows a "standard" hex editor with hex byte view on the left (where every byte is displayed separately as a two digit hexadecimal number) and a character view on the right (where the same bytes are shown as visible characters in they are in the ASCII standard character set "printable" range, and as a '.' if they aren't.
Bits it doesn't show, as there are eight of them to a byte and it would take too much space: it isn't difficult to convert though, each hex digit value translates to a single set of four binary digits:

0  0000
1  0001
2  0010
3  0011
4  0100
5  0101
6  0110
7  0111
8  1000
9  1001
A  1010
B  1011
C  1100
D  1101
E  1110
F  1111


And pretty much, a hex editor can't tell you Endianness unless you know the range and size of some of the values (assuming all values are the same size, which just isn't the case): four bytes 01 00 00 00 could be read in many, many ways - from "1" as a little Endian 32 bit number to 16,777,216 as a Big Endian 32 bit number, via two 16 bit numbers, four 8 bit numbers, or half of a 64 bit number!

Plus... reverse engineering game files is quite possibly in breach of your licensing agreements, and hot guaranteed to be simple even it it wasn't: manny are compressed so what you see is not what you get, and a trivial change can "break" the whole file.

If I was you, I'd play the game, and get better at it - it's probably easier than trying to reverse archive files and cheat! :laugh:


An Hex editor just show you the binary contain of a file, even non displayable data.
Concerning the meaning of the data, you have to devise it. The problem is that it is a matter of experience.

Advice: experiment!
- Create a file with text in NotePad, then open in Hex editor then compare both sides, matching them should not be complicated.
- After that, you need to build or find a file with known binary data, then you have to study the display to devise what is what.


这篇关于如何从这个十六进制数读取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆