Cannot open DAT file with advanced genie editor

Hello

I have an issue with modding, I want to take a fresh dat file from the game file

But I’m unable to open it with Genie editor, genie just run a couple of second then close by itself and I can’t change anything inside the Data file

How to solve this ?

Anyone please, I Can’t continue my project it just wont open please help

Did you select the correct version of the game?

1 Like


I suppose yes but just in case

it’s the second language file ig. uncheck it

1 Like

Did what you said,

Still closing when I try to open it

From what I saw in the image, the path to search for the “dat” file (whether for the original or for its mod) is wrong and even if it is on the correct path, the program may close if it does not have the latest version, because they added new attributes. The latest version is: 2024.9.6; the version that comes with the game. You should always use the version that comes with the game.

An example for mod:

  1. Look for the folder named “local”, which in your case is probably located in the game’s installation folder, for example: C:\Users\redma\Games\Age of Empires 2 DE[steam number]\mods\local\ [mod name]\ resources\ _common\dat\empires2_x2_p1.dat
  2. Then create in the “local” folder a new folder with the name of your mod, and inside that folder a new folder with the name “resources”, inside the “resources” folder a new folder with the name “_common”, inside the “_common” folder a new folder with the name “dat” and inside that folder then place the original “dat” file.
  3. Open your AdvancedGenieEditor3 and put the correct path.
1 Like

The differences between your pathing and mine are:

  • Checked “Language p1 file location:” (targeting paphos file on the same dir as other files)
  • Checked “Path for loose SLP files” (targeting default dir that is greyed on your screenshot, just checked it)

Of course my dat file is at the default location, as I read the vanilla file without changing it.

For the path setup, I used the aoe2:de button available, and manually retargeted the key-value to be sure they have what I wanted, and also cause I’m abit paranoiac.

From what I’m understanding, AGE opens, and then kills itself.

We need the log verbose, so you’ll have to find how to launch AGE in commands in cmd.exe with log and verbose on. Will try find how to do that and will reply to you. You’re not the only one having issue with the new AGE.

What version of windows are you using ?

1 Like

are you using the Genie Editor from the game files? if not, do that.

1 Like

I’m using Winsh** 11 but honestly I might just go on linux in the futur
It appear AGE hasn’t been made to display log on a cmd but I do have a log from windows logs which say the Name of failed application AdvancedGenieEditor3.exe, version: 0.0.0.0, timestamp: 0x663cfd51
Name of failed module: AdvancedGenieEditor3.exe, version: 0.0.0.0, timestamp: 0x663cfd51
Exception code: 0xc0000005
Error offset: 0x00022b00
Faulty process ID: 0x0xF9C
Faulty application start time: 0x0x1DBB06CF5FA9197
Faulty application path: C:\Users\redma\Desktop\AdvancedGenieEditor20240509x86\AdvancedGenieEditor3.exe
Path of failed module: C:\Users\redma\Desktop\AdvancedGenieEditor20240509x86\AdvancedGenieEditor3. exe
Report ID: c866688a-dacc-4cb0-8e69-76f0e2fc675e
Full name of the failed package:
Application ID for the failed package:

Brb google that, will answer when I can.

Okay so bascially, it’s an access violation error code.

It can come from multiple sources:

  • RAM component damaged (you’d have it on other softwares if so)
  • driver issue (try updating all drivers for everything, maybe downgrade windows update)
  • DLL issue (too long to explain, can occurs on uninstalling things, try reinstalling AoE2:DE, can solve it)
  • Registery corruption (would have impact on your entire OS, so probably not that, but if so, repair windows tool will fix it)

I see your AGE path is not the one that the game provides. Try using the one located inside your game directory under “Steam\steamapps\common\AoE2DE\Tools_Builds” they updated it with the latest patch, and you have the sourcecode too there if you really want to do your own version.

Sounds a DLL issue for me, try uninstalling reinstalling the game with steam directly, AGE latest version will be provided with it directly.

1 Like

From the microsoft website: Redirecting

It mean memory access violation

Yep, which is bascially “try to do something you’re not supposed so we prevent you cause you may be a malware trying to do bad things so your process is instantly killed to prevent any damage on the computer”.
It comes mainly from conflicts between code request and dll / registery reference pointers, occures a lot after updates when you have older things still there.

Normally, the provided version within the game folder should avoid those troubles, as it’s a “portable” installation, that rely only on itself rather than your old files.

1 Like

Yeah, the advanced I’ve been using was too old for this file.

It worked now by using the one provided in the game file

1 Like