nesdev.com
http://forums.nesdev.com/

RetroFreak ROM encryption?
http://forums.nesdev.com/viewtopic.php?f=9&t=16994
Page 1 of 1

Author:  duiz [ Mon Jan 29, 2018 1:14 pm ]
Post subject:  RetroFreak ROM encryption?

I been playing around with the RetroFreak, and noticed it has the option to dump the games into .nes files on the minisd. However, it seems the games become encrypted when dumped, which is inconvinient since I wanna compare my protos and such between MESEN and other more accurate emulators to spot proper differences.

Anyone have any clue what exactly RF does to the ROM?

Author:  MottZilla [ Mon Jan 29, 2018 3:02 pm ]
Post subject:  Re: RetroFreak ROM encryption?

Did you check to see if they were compressed? Maybe it ZIPs the ROMs to save on file space.

Author:  duiz [ Mon Jan 29, 2018 5:06 pm ]
Post subject:  Re: RetroFreak ROM encryption?

I doubt it. The size is the exact same as a No-Intro dump

Compare the HEX from the RF dump and a No-Intro dump

Image

Image

Author:  MottZilla [ Mon Jan 29, 2018 10:07 pm ]
Post subject:  Re: RetroFreak ROM encryption?

If you made enough dumps to compare it could help someone figure out what is going on perhaps. A quick Google search suggests to me that each console has some sort of ID number so that you can't share dumped games with other RF consoles or use them on other devices. So that number is probably used as some sort of encryption key. They say that you can run downloaded ROM files which makes this very odd. Why stop people from dumping their own cartridges and doing what they want with the data but at the same time allow them to download games and put them on the SD card. It would make more sense to me if they didn't allow that and only played their encrypted/protected ROM files.

Maybe if you look around enough or someone here will be able to tell you exactly what it is doing. There may be better ways of dumping games you should look into.

Author:  tepples [ Mon Jan 29, 2018 10:49 pm ]
Post subject:  Re: RetroFreak ROM encryption?

Perhaps their lawyers considered it more of a risk to let the user dump a cartridge and release it to the Internet than to let the user play something he might have a license for, such as a ROM downloaded from Itch or GitHub or PDRoms or NESdev or the homebrew section of RomHacking.net.

Author:  duiz [ Tue Jan 30, 2018 9:57 am ]
Post subject:  Re: RetroFreak ROM encryption?

MottZilla wrote:
If you made enough dumps to compare it could help someone figure out what is going on perhaps. A quick Google search suggests to me that each console has some sort of ID number so that you can't share dumped games with other RF consoles or use them on other devices. So that number is probably used as some sort of encryption key. They say that you can run downloaded ROM files which makes this very odd. Why stop people from dumping their own cartridges and doing what they want with the data but at the same time allow them to download games and put them on the SD card. It would make more sense to me if they didn't allow that and only played their encrypted/protected ROM files.

Maybe if you look around enough or someone here will be able to tell you exactly what it is doing. There may be better ways of dumping games you should look into.


I do have a Kazzo but it has issues with some cartridges due to voltage and batteries etc. Newer Famicom releases also don't really respond well to Kazzo. My European protos also don't seem to take a liking to it.

Interesting about the RF using an ID number. I guess there is no way to undo the encryption.

Author:  MottZilla [ Tue Jan 30, 2018 5:03 pm ]
Post subject:  Re: RetroFreak ROM encryption?

Ofcourse there is a way to undo it. If there wasn't then the RF itself couldn't play those games. The encryption or scrambling could be really simple. If someone extracts the firmware/software of the RF they could figure out what's going on that way.

One way to dump prototypes if they are using socketed EPROMs would just be to get an EPROM programmer and dump them that way. Just be careful not to break any chip legs.

Author:  duiz [ Tue Jan 30, 2018 7:54 pm ]
Post subject:  Re: RetroFreak ROM encryption?

I think RetroFreak provides their source files on their website. Dunno if it includes the dumper source though

http://www.cybergadget.co.jp/assets/fil ... 151031.zip

Author:  MottZilla [ Wed Jan 31, 2018 11:48 am ]
Post subject:  Re: RetroFreak ROM encryption?

I didn't look through everything but a quick looks doesn't turn up anything obviously about their ROM protection. Maybe if you dig deeper into it. But I don't see why they would create such a protection and then include the source code to how it works.

Author:  duiz [ Thu Feb 01, 2018 4:30 am ]
Post subject:  Re: RetroFreak ROM encryption?

I took a look around and apparently there does exist some sort of jailbreak that allows for proper dumping (as well as other apk installations, so the thing definitely runs just emulators via ARM).

https://github.com/hissorii/retrofd

Not sure how all this works, but atleast it is possible.

Author:  lidnariq [ Thu Feb 01, 2018 11:02 am ]
Post subject:  Re: RetroFreak ROM encryption?

I'd arbitrarily guess the encryption might be vulnerable to some sort of known-plaintext attack... most of the things I've looked at recently aren't using real encryption, despite being on a PC.

Author:  DrWho198 [ Wed Feb 07, 2018 2:23 am ]
Post subject:  Re: RetroFreak ROM encryption?

Its hard if you do not have the encrypted data together with the name/rom of the game it should be. But if you look at it like this then I expect a simple encryption to be used. However I also expect them to use their own header as the file starts with RF which probably stands for Retro Freak.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/