Новости > Показать отдельно
Nicola Salmoria WIP cd.
Ice, 14:44, 22-04-2005
Nicola Salmoria сообщает:
- April 22, 2005 - Easier than expected
Bryan noticed that changing a single value in the Pocket Gal Deluxe decryption (related to the address scrambling) revealed some clear text in Diet Go Go. THis means that the encryption key is almost hardcoded as I expected, but with some minor variation (maybe externally to the DE102 iself).
I have isolated the variations in just two numbers, a 16-bit one for the address scrambling and an 8-bit one (or two 4-bit ones) for the data bits permutation and xor.
Fine tuning the values to correctly decrypt data in Diet Go Go was easy enough.
Double Wings required a little more works, but it was still easy. I just needed to brute force the 16-bit parameter. Doing that was easy because I just had to decrypt the ROM using each possible value for the parameter, and count how many zeros were in the decrypted data. When their number rised from a couple of thousands to tens of thousand, I had a "good enough" value for the parameter, which I could later tweak by hand.
So, data was decrypted in all four games (the other one is Boogie Wings which decrypted with the same parameters as Pocket Gal Deluxe), but opcodes were still encrypted.
However, most of the work was already done. Even if the opcodes are encrypted differently from data, the address scrambling must of course be the same, otherwise there wouldn't be a 1:1 correlation between logical address and physical address. Therefore, only the data bits permutation and xor changes. The obvious candidate for that variation was the 8-bit parameter. A brute force search was even easier in this case. I just had to try all possible values and count how many times 4E75 (the opcode for RTS) appeared. When it increased from a couple of times to several hundreds, I had the key.
So all four known games using this CPU (Pocket Gal Deluxe, Diet Go Go, Double Wings and Boogie Wings) should now be fully decrypted. Non of them is working; for that, the driver will have to be finished, and possibly some more protection worked around. But the first hurdle has been overcome.
Paradise 2 Deluxe
Игры MAME
» Совместное прохождение игр c участием Ниндзя 02:52
» Game Genie раздел 02:11
» Picostation PS1 01:43
» Раздача игр, обмен и просто халява 01:35
» Во что сейчас играем? 01:22
» [Продано] геймпады Logitech F310 01:05
» Проблемы с Twin Sharp Famicom 00:50
» RGB_amp mod 00:35
» Счетчик FPS в эмуляторах 00:29
» Кино 23:26
» Эмуляция "Тетриса" 22:48
» NESRGB AV Famicom - цифровой шум 22:41
» PCem, 86box и другие эмуляторы старого PC-железа 21:51
» Первая игра, приставка 21:04