Removing the temp folder generates an EMPTY ! 4GB ! file instead of recreating the folder

:arrow_forward: GAME INFORMATION

  • BUILD #: 42848.0
  • PLATFORM: Steam
  • OS: Windows 10

:arrow_forward: ISSUE EXPERIENCED

I got an error (it’s not about this errror) while fiddeling with scenarios (below). Deleting the folder at that location should force the game to recreate it… And here’s where I think someone forgot a ‘/’ at the end of a path string. Instead of recreating the folder, the game freezes and creates an empty 4GB file with that name (AOE2DE_TEMP).

When launching the game (after closing it), the folder is properly created however.

Edit: When the file is present a new folder won’t be created at launch!

image

:arrow_forward: FREQUENCY OF ISSUE

100% of the time

:arrow_forward: REPRODUCTION STEPS

Here’s the steps to reproduce the issue:

  1. Delete folder @ C:/users/{your_user_name}/appdata/local/temp/AOE2DE_TEMP/
  2. Start a scenario with AI files or do something else that requires this folder
  3. Watch it freeze and see a file appear
1 Like

Alright, so this issue was caused by entering incorrect filenames into AI fields and some missing bytes at the end of the file. I’d still look into the file generation instead of folders when a character like “0x00” (hex) is entered, but it’s not a huge issue.

– Sorry for the report –