如何从Gameboy解码Nintendo徽标? [英] How to decode the Nintendo logo from gameboy?
问题描述
我尝试使用 http中描述的背景调色板方案对以下位图进行解码://imrannazar.com/GameBoy-Emulation-in-JavaScript:-Graphics
CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 0C 00 0D 00 08 11 1F 88 89 00 0E直流CC 6E E6 DD DD D9 99 BB BB 67 63 6E 0E EC CC DD DC 99 9F BB B9 33 3E
CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 0C 00 0D 00 08 11 1F 88 89 00 0E DC CC 6E E6 DD DD D9 99 BB BB 67 63 6E 0E EC CC DD DC 99 9F BB B9 33 3E
来源: http://gbdev.gg8.se/wiki/articles/The_Cartridge_Header#0104-0133 _-__ Nintendo_Logo
但是我只有类似噪音的东西.
But I only got something that resembles a noise.
我应该朝哪个方向走?是否使用压缩?我在互联网上找不到有关此转储的更多信息.
In what direction should I go? Is it using compression? I can't find more information about this dump in the internet.
到目前为止(20倍缩放):
Best so far (20x zoom):
推荐答案
完全没有压缩或加密. 徽标是二进制编码的:1是黑色,0是白色/绿色/任何您想称为游戏男孩的背景色的东西.
There is no compression or encrytion at all. The logo is binary encoded: 1 is black and 0 is white/green/whatever you want to call the background color of the game boy).
只需按正确的顺序放置十六进制字符串,然后将十六进制字符转换为二进制:
Simply put the hexadecimal string in the correct order and then convert the hex chars to binary:
十六进制:
C 6 C 0 0 0 0 0 0 1 8 0
E 6 C 0 3 0 0 0 0 1 8 0
E 6 0 0 7 8 0 0 0 1 8 0
D 6 D B 3 3 C D 8 F 9 E
D 6 D D B 6 6 E D 9 B 3
C E D 9 B 7 E C D 9 B 3
C E D 9 B 6 0 C D 9 B 3
C 6 D 9 B 3 E C C F 9 E
二进制:
1100 0110 1100 0000 0000 0000 0000 0000 0000 0001 1000 0000
1110 0110 1100 0000 0011 0000 0000 0000 0000 0001 1000 0000
1110 0110 0000 0000 0111 1000 0000 0000 0000 0001 1000 0000
1101 0110 1101 1011 0011 0011 1100 1101 1000 1111 1001 1110
1101 0110 1101 1101 1011 0110 0110 1110 1101 1001 1011 0011
1100 1110 1101 1001 1011 0111 1110 1100 1101 1001 1011 0011
1100 1110 1101 1001 1011 0110 0000 1100 1101 1001 1011 0011
1100 0110 1101 1001 1011 0011 1110 1100 1100 1111 1001 1110
你去了.您的Nintendo徽标(不带0和空格):
There you go. Your Nintendo logo (w/o 0 and spaces):
11 11 11 11
111 11 11 11 11
111 11 1111 11
11 1 11 11 11 11 11 1111 11 11 11111 1111
11 1 11 11 111 11 11 11 11 111 11 11 11 11 11
11 111 11 11 11 11 111111 11 11 11 11 11 11
11 111 11 11 11 11 11 11 11 11 11 11 11
11 11 11 11 11 11 11111 11 11 11111 1111
使用█
代替1
:
██ ██ ██ ██
███ ██ ██ ██ ██
███ ██ ████ ██
██ █ ██ ██ ██ ██ ██ ████ ██ ██ █████ ████
██ █ ██ ██ ███ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██
██ ███ ██ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██
██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ █████ ██ ██ █████ ████
这篇关于如何从Gameboy解码Nintendo徽标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!