Новости > Показать отдельно
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.
Devil Zone
Игры MAME
» [SNES] Super Mario World - нужна помощь с графикой 21:25
» Картридж PS1 для PIO порта 21:24
» [GCN] GameCube — тест не- и малопопулярных игр 21:21
» Эротизм в играх 21:16
» RTHextion: новый hex-редактор для ромхакинга и переводов 21:11
» [SMD] Создание собственной многоигровки на одном чипе 20:59
» Playstation 1 без звука с Audio CD 20:11
» [3DO] Mortal Kombat II: 3DO Edition 20:04
» Picostation PS1 20:04
» Пройденные игры 19:45
» Не пройденные (заброшенные) игры 18:56
» [GBA] Sigma Star Saga 17:01
» Balloon Fight - 4 players hack 14:39
» Ретроигровые стримы и видео 2nd Channel 14:10
» [SNES] RoboCop Versus The Terminator / Stargate - поиск шрифта 13:12