Bluepoint Design

Practical Cost-Effective Solutions


Double backslashes in a converted Text Box Display cause crash in player and scripting editor.

A simple text box display command displaying double backslashes in ME3 is converted in such a way that causes MEP to crash when running the macro or editing the command in the scripting editor.

When converted from ME3 to MEP the command looks like this:

<TEXT BOX DISPLAY Title="Error" Content="\\\\" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/>

Note the lack of formatting parameters and how a double backslash is escaped to a quad backslash. I distilled this down, the original text box had a file path and variables. Running a macro with this command or even trying to edit it in the scripting editor causes a crash. If I create a new command for the same text from scratch it looks much different:

<TEXT BOX DISPLAY Title="Error" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Tahoma;}{\\f1\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16\\\\\\\\\\f1 \r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="1" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/>

This command works fine.

 
Practical Cost-Effective Solutions