Andrew wrote:
Did you figure out where exactly the code accepts "makinit" when entered on the copyprot screen?
You can follow the description in
the newest disassembly.
This consists of multiple parts:
1. The cheat word itself is loaded (in cheat mode only) from prince.dat, "TXT4" resource 10, at the beginning of cprot_select(). It's stored in cheat_str.
2. At label key_other: If the user presses a key that does not do anything, then the key is added to the typed_keys[] array.
3. After the user presses enter, the code compares the typed string and the cheat word, case insensitively. If they match, then cprot_select() returns -2 (instead of the index of the selected symbol).
4. This is detected by the code you marked purple.
Andrew wrote:
I'd love to know where the copyprot code differs in the disassembly of 1.0.
I did not disassemble PoP2 1.0 yet, so I can't compare them now.