If you look at the error message you'll see "dx8wrapper.cpp, 210" at the end of the line.
That means that there'is an issue with directx(dx8)wrapper in the c++ script in line 210.
A wrapper is a layer(libraries) between the application and the hardware(graphicscard and Soundcard in particular) which takes care of the hardware acceleration.
If you look in the "Worldbuilder" ini-file most of the values can only be set to 0 or 1 in wb, check/uncheck.
The values that can mess up things really bad are the values which you can put in yourself with a number, "Default Map Height", "Default Map X-size", "Default Map Y-size", and "Default Map Border".
I changed the values to a big size and i got exactly the same error explosivebob had.(see pic)
It's something like this:
***IF***
Assertion is ok (measurements of map for instance)
***THEN***
Execute program
***ELSE***
Return error message
Just like scripting in worlbuilder(boulean)
Those EA guys never really finished the software thats why it's giving those messages, also when you use the height tool.
The assertion failure indicates that the WorldBuilder was compiled as a "debug edition", which means it contains extra error checking.
Oh btw if you go to the directory where you've installed the game there are 2 files called
"wb_DebugLogFileI" and "wb_DebugLogFilePrevI", these are logfiles in which you can see what happend when wb crashed.
This was in there when mine crashed with the mapsize settings set to a too high value
Code:
Init DX8Wrapper
DX8Wrapper main thread: 0xa28
Reset DX8Wrapper statistics
Create Direct3D8
Enumerate devices
DX8Wrapper Init completed
Allocate Debug Resources
Init Dazzles
WW3D Init completed
Attempting Set_Render_Device: name: NVIDIA GeForce GTS 250 (nvd3dum.dll:8.17.12.9610), width: 1024, height: 768, windowed: 1
Found zbuffer mode D3DFMT_D24S8
Using Display/BackBuffer Formats: D3DFMT_X8R8G8B8/D3DFMT_A8R8G8B8
ThreadClass::Execute: Started thread Texture loader thread, thread ID is 39C
Reset/Create_Device done, reset_device=0, restore_assets=1
ShaderManager ChipsetID 11
Targa: Failed to open file "trstrtholecvr.tga"
Vertex buffer creation failed, trying to release assets...
E_OUTOFMEMORYASSERTION FAILURE: 0, C:\projects\ZeroHour\code\Libraries\Source\WWVegas\WW3D2\dx8wrapper.cpp, 210
Stack Dump:
<Unknown>(-1) : <Unknown> 0x006BCC7A
<Unknown>(-1) : <Unknown> 0x004F9645
<Unknown>(-1) : <Unknown> 0x00C19014
<Unknown>(-1) : <Unknown> 0x004E7EE0
<Unknown>(-1) : <Unknown> 0x9090C300
[Ignore]
I took the last part, there's a lot more, check it out.
As you can see " E_OUTOFMEMORYASSERTION FAILURE: 0, C:\projects\ZeroHour\code\Libraries\Source\WWVegas\WW3D2\dx8wrapper.cpp, 210"
there's the famous error...:P
Simply out of memory...
I ignored it and got the also famous "C++ runtime error"
Hope i explained it a bit better now....:P
Edited by user Monday, May 28, 2012 5:34:31 AM(UTC)
| Reason: Not specified
acidbrain attached the following image(s):