Skip to content

[Feature] Support dols with multiple .text sections #137

Description

@dbalatoni13

Need for Speed: Most Wanted contains an extra .text section called .over. dtk currently can't handle it because only the sections ".init", ".text", ".dbgtext", ".vmtext" are considered ObjSectionKind::Code. We'd need some way to add custom ones.

Here is my current hack to get it working with NFSMW.

  1. It adds the .over section to be a code section (this would probably have to be dynamically added by the user)
  2. It hardcodes the size of the .text section bcause dtk thinks it's too long by 8 bytes.

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