Skip to content

Option to remove broken function names from the lookup table #2

Description

@cher-nov

It would be nice to have option to remove names of broken functions from the lookup table to make game literally uncompilable if it uses them. This will help not only to debug them but also to show much more production-ready error messages, especially in case of dynamic code execution (execute_string() etc).

For example, with DirectPlay patch it will remove mplay_* functions, and with scheduler patch it will remove functions that depend on the changed DLL import. Maybe it also should remove joystick_* functions as well with joystick patch.

Please note that for Delphi strings it's not enough to set first string byte to '\0', but the Pascal string header should be edited too. Or, if they're being added at run-time on initialization, we could just NOP these calls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions