Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can someone help decrypt menghong.cpp for Crazy Dou Di Zhu II (crzyddz2)? #13425

Open
lyangsha opened this issue Feb 27, 2025 · 1 comment
Open

Comments

@lyangsha
Copy link

I'm trying to get crzyddz2 working in MAME, but it keeps crashing due to HY04 protection.
I've checked the following:

  • MAME version: git 2024-02-27 (latest main branch)
  • ROM files: crzyddz2.zip (CRC/SHA1 verified)
  • Code snippet from menghong.cpp:
    // HY04 protection logic that's causing issues...

Error logs:
text
0x00100000: Protection check failed at 0x485
Could someone guide me on how to bypass this or fix the XOR key?

@angelosa
Copy link
Member

angelosa commented Feb 27, 2025

There's no "fix the XOR key": the game uses a shared RAM with a MCU named HY04 that needs decapping to progress, as per the driver notes and the "no good dump known" warning it throws at emulation startup.
I experimented specifically with menghong at the time just as a convenience: if I'm not mistaken that one won't even surpass the Sealy logo without the handcrafted ROM data table. crzyddz2_shared_w is separate protection simulation, and doesn't use the table lookup for anything at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants