FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Change replay naming to use mapFileName instead of mapName · Issue #900 · bwapi/bwapi · GitHub

/ bwapi Public

Change replay naming to use mapFileName instead of mapName #900

Description

With some maps containing non ASCII characters, the mapName when put into a replay name becomes a jumbled mess. For example Empire of the Sun becomes:
žçÀÇ Á¦±¹ 1.
If we use the mapFileName instead, we will get a more accurate replay file naming structure.
Changing

rn_MapName = mapName().substr(0, 16);

To mapFileName() seems to do the trick.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL