| ... | ... | @@ -4,3 +4,28 @@ |
|
|
|
> Maybe the map overwrites the gamemode, open the ``World Settings`` on that map an check:<br>
|
|
|
|
<br>
|
|
|
|
This should be ``None``
|
|
|
|
|
|
|
|
* There are weird characters in my csv Phase log files, e.g.:<br>
|
|
|
|

|
|
|
|
<blockquote>
|
|
|
|
Unreal produces byte order marks (BOM) for some reaseon (for possible solutions see #93), you can place and execute the following python code in the folder (``StudyFramework/StudyLogs``) where the phase csv files are:
|
|
|
|
|
|
|
|
|
|
|
|
```python
|
|
|
|
import os
|
|
|
|
|
|
|
|
def ConvertCoding(full_filename):
|
|
|
|
#remove all the byte order marks that Unreal puts in there
|
|
|
|
with open(full_filename, mode='r', encoding='utf-8-sig') as file:
|
|
|
|
lines = file.readlines()
|
|
|
|
modified_lines = [line.lstrip('\ufeff') for line in lines]
|
|
|
|
with open(full_filename, mode='w', encoding='utf-8') as file:
|
|
|
|
file.writelines(modified_lines)
|
|
|
|
|
|
|
|
for filename in os.listdir("./"):
|
|
|
|
if filename.endswith(".csv"):
|
|
|
|
print("Convert " + filename)
|
|
|
|
ConvertCoding(filename)
|
|
|
|
|
|
|
|
```
|
|
|
|
</blockquote> |
|
|
\ No newline at end of file |