radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.5k stars 2.99k forks source link

Contra ROM does not get recognized by radare #3881

Closed d33tah closed 8 years ago

d33tah commented 8 years ago
(virtualenv)[ACL][12:05:17][/tmp][1] $ md5sum Contra.nes 
faecd3c845e1680c74b16a9b91f3f20a  Contra.nes
(virtualenv)[ACL][12:05:18][/tmp]$ md5sum Contra.zip 
5fa826067d0044447417b54bc64517c8  Contra.zip
(virtualenv)[ACL][12:05:20][/tmp]$ radare2 -a 6502 -A Contra.nes
WARN: Use '-e bin.rawstr=true' or 'rabin2 -zz' to find strings on unknown file types
 -- I script in C, because fuck you
[0x00000000]> q
(virtualenv)[ACL][12:05:52][/tmp]$ file Contra.nes 
Contra.nes: iNES ROM dump, 8x16k PRG, 0x8k CHR, [Vert.]
d33tah commented 8 years ago

Apparently this particular MD5 didn't get indexed by Google - here's another one that fails the same way:

(virtualenv)[ACL][12:08:30][/tmp][127] $ md5sum Contra\ \(USA\).nes Contra\ \(USA\).zip 
7bdad8b4a7a56a634c9649d20bd3011b  Contra (USA).nes
d466c96e41e522a3104d320c1c34f647  Contra (USA).zip

Got it from there:

http://www.emuparadise.me/Nintendo_Entertainment_System_ROMs/Contra_(USA)/55137-download

Maijin commented 8 years ago

Loads fine on my config :

DISTRIB_DESCRIPTION="Ubuntu 15.04" x64
radare2 0.10.0-git 10000 @ linux-little-x86-64 git.0.9.9-1886-gdae75da
commit: dae75dacfa8cfc8240981d0a197f0285e115c449 build: 2015-12-27
d33tah commented 8 years ago

OK, sorry, I messed up versions on my system. It works now.