Modding Union

[en] Edain Mod => [Edain] Support => Thema gestartet von: Wolvorus am 16. Jan 2016, 21:36

Titel: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Wolvorus am 16. Jan 2016, 21:36
I take this problem often especially in moria,dol amroth and erebor maps i cant understand  this error because my directx version 11.1

(http://i.hizliresim.com/zr0py6.jpg) (http://hizliresim.com/zr0py6)
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Odysseus am 16. Jan 2016, 22:40
The error means that the engine is too strained and shuts down. The engine is at fault. Lower your settings or play smaller maps and less teamgames with AIs.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: NicKMaster93 am 2. Feb 2016, 11:30
I've got this problem, too! I don't know what it means.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Ealendril der Dunkle am 2. Feb 2016, 11:48
The error means that the engine is too strained and shuts down. The engine is at fault. Lower your settings or play smaller maps and less teamgames with AIs.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: ahdover am 26. Feb 2016, 03:42
This really doesn't make sense to me. That kind of makes High/Ultra obsolete. I have a decent laptop and still get this error.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Odysseus am 26. Feb 2016, 05:19
It's not your laptop. It's the engine.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Gnomi am 26. Feb 2016, 08:46
I can play without any problems on high/ultra high and don't get any crashes. We have said it quite a few times:
The engine is very old and uses only parts of your computer, no matter how good he is. For example the engine always just uses one core - as the current processors aren't using much better cores (sometimes even worse), but therefore more cores, some games (like bfme) don't run as good as new games on your computer.
Let me picture that for you:
On the one hand you have one really well trained worker (let's call him Jon). Jon has a really good education, but therefore it also was very expensive to train him. He is really good at his job.
On the other hand we have 10 workers who are only a bit trained. (let's call them the Team) Everyone has a bad education, but it was cheaper to train all 10 workers than to train Jon.

While older processors tried to be like Jon, current processors are more like the team. It's cheaper to make many bad processors than to make few good processors with the same strength. The current games are programmed to work with that:
If you play CoD 4, the game just looks at your team and says: "Whoever just has nothing to do: Here is a job." and as there are 10 people, someone always has free time and starts doing it at once.
Jon on the other hand works much faster, but if he has something to do, he can't just stop his work and therefore finishes his other jobs first, before doing this job.

That's why a game like CoD 4 works better on the newer multi-core processors.

Now look at a game like Bfme:
This game came out in an era, when people just used one or two processors. Therefore it knows nothing about multicore.
So if Bfme has work to be done it approaches your processor and says to the first person it sees:
"Hey you! Do my work!"
Jon does the job really good, as he is a well trained worker. But the team has some problems - the first guy is always working an is totally overworked, but the rest can't help. They just never get work.^^



That's the problem with the engine.  So for older games (like Bfme), you sometimes need more specific hardware architecture, which is sometimes not used anymore, as people realized that it is not as good as something else. That's also why people with a "good computer" get this error more often than people with an old computer.^^
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: The_Necromancer0 am 26. Feb 2016, 09:07
*clap* *clap* *clap* This explanation was genius, I'm going to save it for another time. Well done Gnomi, now all you have to do is come up with something similar for how the BFME AI works  :P (jk)
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Turin Turumbar am 26. Feb 2016, 10:11
Another thing to add here is that bfme 2 was released directly before processors changed the system. So the game is basically expected to run best on the best single core processors ever made, because there were no single core processors produced afterwards.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: ahdover am 26. Feb 2016, 15:55
This is a stretch but...do you think it is possible to only utilize one core? 

Also I have been told to about several "4GB Patches", do these work?
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Gnomi am 26. Feb 2016, 16:01
What exactly do you mean by the first thing?

There are some programs which can help with that problem - none have worked for us, but some people said that it helped. So you have to try it out yourself.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: ahdover am 26. Feb 2016, 16:49
Like I have a multi-core processor. And someone said that BFME was made to only use 1 core, the best single core processors to be exact. So I am wondering if there is a way for me to use just one of the cores in my processor for this game. I know that is a longggg stretch but it's always good to ask.

And I will try a 4GB patch somebody linked me and I will post results.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Gnomi am 26. Feb 2016, 17:19
Uhm... The game already is just using one of your cores, which is the problem.^^ Just read my explanation with the workers - the game is using one core and that's exactly why many good computers are worse than old computers in running this game.^^
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: ahdover am 26. Feb 2016, 22:14
Ohhhhhh I see. I read it wrong. I was under the impression that it needed to. So to get this game to run properly I would basically have to downgrade / lower settings.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Walküre am 26. Feb 2016, 23:00
So to get this game to run properly I would basically have to downgrade / lower settings.

Exactly  :)
It's the core of the whole issue.

If you encounter other technical problems while playing, don't forget that you can also consult the official Edain Readme (http://forum.modding-union.com/index.php/topic,30443.msg384732.html#msg384732) (the last part), where you may find useful answers without the need of asking for direct support in this section.

If the issue is specific, though, this is obviously the suitable space for questions of this kind.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: clank234 am 26. Apr 2016, 01:37
Hello I am new here and I simply came here to try and find a solution to this problem and ended up doing it myself..
To start off with no older processors are not better! Technology only gets better and better with time! It's a fact, agreed upon by everyone otherwise experts would be exploiting this for business!
Now to fix the problem which was frikin' irritating me (and I'm sure a lot of other players with "up to date processors").
NOTE: This simply worked for me, I'd crash whenever there was a lot of stuff going on (usually around 1500MB of memory).. It is frustrating I know, I hope this works for you as it has for me (for the record I have an intel core i7-4790k CPU @ 4.00ghz). But after doing what I'm about to show you (easily) it should solve the problem!

1) Launch Edain as you would
2)alt+Tab and open your Task Manager
3)Go to details and find game.dat with the RotWK icon obviously
4)Right click it and go to "set affinity"
5)Disable all and enable just one (I went for CPU 01)

It should work now without crashing.. I played 4v4 on epic battle on Ultra settings all AI set to brutal..
You may have to do this every time you start the game or I'm sure you can modify the shortcut so it prompts it to do simply by adding "c:\windows\system32\cmd.exe /C start /affinity x" in the front in the target in the shortcut's properties but I'm literally too lazy to try that out (but it would be logical for it to work).

I'd finally like to say amazing mod from the Edain team! Definitely made RotWK one of my most favourite games to play (and I can play pretty much anything on my PC)! Mordor is by far my most favourite faction to play as with the whole Sauron setup! I hope to see this mod carry on for many more years to come!

I hope my fix works for others as it did for me! Thank you and cheers guys
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Odysseus am 26. Apr 2016, 02:07
Can others confirm what clank234 said? I'd rather not fiddle with the hardware yet.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: tima am 3. Aug 2016, 05:16
i tried what clank said and it didn't work for me/

my system
windows 10
i7 5820k
gtx 980 sli (2 of them lol)
32gb(quad channel) or 8gb(duel channel) RAM (both configs have same results)
1tb SSD
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: clank234 am 25. Mai 2018, 13:07
Back again. After a while my fix seemed to stop working. I remember a while back while modding Skyrim I found out that DirectX on Windows 10 had memory patching issues and that Win10 limits older DirectX games memory allocation. I have a feeling that the same applies here. So even if you're like me and have 32gb of Ram, Win10 will only allow the game to use x amount until it crashes. So yeah, maybe someone who plays Edain on Win7 can confirm?
(Sorry for reviving this topic. Just that I received the same error again yesterday while playing).3
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: theoden_king am 10. Sep 2018, 02:21
same problem
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: L-C.H am 27. Okt 2018, 12:03
I have the same Problem too :-/

Direct3D error Ox0x8007000e (E_OUTOFMEMORY)
7 addresses:
(unknown)(0): game.dat+239838 (unknown)
(unknown)(0): game.dat+1175111 (unknown)
(unknown)(0): game.dat+1250978 (unknown)
(unknown)(0): game.dat+977999 (unknown)
(unknown)(0): game.dat+713777 (unknown)
(unknown)(0): game.dat+1122295 (unknown)
(unknown)(0): game.dat+920343 (unknown)

Because of the severity of this error the game will now exit.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Varthalabau am 5. Dez 2018, 10:55
Same issue here, I still receive the error message even after trying the solution Clank suggested. On my game I have installed a crack to play without a CD (I actually own the original game but the CD is scratched) which replaces the "game.dat" file.

I don't know if any of you also use a crack for the game, but if you do perhaps that's our issue.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Gnomi am 5. Dez 2018, 11:23
When exactly does the error occur?
Have you tried playing with lower settings?

If the error occures randomly after playing some time (especially on highly detailled maps or with multiple AIs), the reason is sadly rather simple:
The engine of Bfme is overstressed and crashes. I don't know if a crack changes the time, but it might be that the error occures faster. The easiest possibility is to lower your graphic settings.
I don't remember what the "best settings" are for Bfme, but you can easily set shadows and shadders to very low and won't notice a big difference. (and this alone lowers the work for the engine by a lot!)
I can look up my settings as soon as I'm at home.
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Only True Witchking am 6. Dez 2018, 00:26
@Vathalabu
I thought Edain doesn't work with cracks anyway? Or are you not using Edain?
Titel: Re: Game Crash Direct3D E_OUTOFMEMORY Game.dat error
Beitrag von: Fíli am 6. Dez 2018, 10:44
Edain works with cracks, but you can’t play Multiplayer while using them.