For those curious, I believe what BupoTiling is referring to by using a lambda function here, is this:
Code:
function_to_overwrite = lambda: True
This sets the overwritten function to always return true, and is equivalent to using a standard def function declaration to overwrite a function:
Code:
def function_to_overwrite (): return True
Both are viable ways of doing this, but note that the lambda style
You must be registered to see the links
according to the PEP 8 style guide for Python code. Just stick to using def to overwrite a function in this case.
As for the crack, as BupoTiling described, the password protection and anti-tamper can be bypassed in a fairly succinct manner. Here's a crack for achieving that while also enabling dev mode and console, and includes the external scripts. Just extract it in the main folder (where the game's .exe is).
Thanks to the work of Gnadudu and kurailxix for providing their cracks and providing context regarding what the code is doing, and BupoTiling for providing an outline of a simpler bypass.
Note: this crack will not unlock the extras menu, as the extras menu isn't tied to the password protection. The extras menu is it's own file, and thus would need to be leaked separately from the game to unlock those features.