The situation is if you have characters in your map name (menu Map > Map Info > Name) that are invalid characters for a file name:
\ / : * ? " < > |
If you attempt to output debug text to a file using the function Debug - Set the output file for debug message type Type 1 to "TriggerDebugType1.txt" (TriggerDebugSetTypeFile), the game will report an error message like this when you output debug text:
Debug file too large (> 2MB).
This error message is wrong. What's actually happening is the game uses the map's name to determine the folder name for debug files, and use of an invalid character means the file cannot be created. Blizzard forgot to check if the file was actually created. The game checks the file size, and since it doesn't exist it returns 0. Any length of text will be greater than this, so the too large error occurs.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The situation is if you have characters in your map name (menu Map > Map Info > Name) that are invalid characters for a file name:
\ / : * ? " < > |
If you attempt to output debug text to a file using the function Debug - Set the output file for debug message type Type 1 to "TriggerDebugType1.txt" (TriggerDebugSetTypeFile), the game will report an error message like this when you output debug text:
Debug file too large (> 2MB).
This error message is wrong. What's actually happening is the game uses the map's name to determine the folder name for debug files, and use of an invalid character means the file cannot be created. Blizzard forgot to check if the file was actually created. The game checks the file size, and since it doesn't exist it returns 0. Any length of text will be greater than this, so the too large error occurs.