D3dxcreatetexture сталкер ошибка

Обновлено: 05.07.2024

The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

Since playing Anomaly became difficult recently (because of bugs), here is the Bug Report I wanted to post anyway, to help improve this excellent game. Didn't have so much fun since. Eve Online and The Witcher

System:
i7-5820K, 16GB RAM, GF1070, Asus X99 Deluxe2, Win 8.1, latest drivers
58 in-game days

1. From the beginning: after installing, the game was freezing very often, making the game almost unplayable - sudden still frame, unable to switch to task manager or desktop - hard reset necessary every time. When for the second time I noticed a bright blob frozen next to my head, I thought maybe that's incoming bullet and maybe that's the problem, or it's sound, to be precise. Changing Sound Device from Generic to OpenAL Soft made the problem disappear.

2. Wish Granter - CTD when choosing "I desire riches" - log

[error]Expression :
[error]Function : CInifile::r_string
[error]File : Xr_ini.cpp
[error]Line : 531
[error]Description : fatal error
[error]Arguments : Can't find variable cost in [mutant_part_general_add]

3. CTD when loading a saved game - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: table index is nil

4. CTD after failed purchase of Gauss Gun from Meeker. The whole process is bugged. He accepts order, sends confirmation (sometimes not), doesn't give the gun. Loading every save made after that, causes CTD. (When I ordered a sniper riffle, he gave it without waiting 24 hours.) - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: table index is nil

5. CTD when loading a game - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: . er anomaly\gamedata\scripts\alife_storage_manager.script:146: bad code

6. Another one - CTD after visiting Outskirts, picking up one artifact from anomaly and going to Pripyat. Every save after the causes CTD while loading, even before the image shows on loading screen - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: table index is nil

7. CTD After going back from "Assassinate VIP for Petrenko". All saves after accepting the quest cause CTD. - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: . er anomaly\gamedata\scripts\alife_storage_manager.script:146: bad code

8. CTD while loading Rostok. Have to choose a save from hour before, to make the game load - log

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: . er anomaly\gamedata\scripts\alife_storage_manager.script:146: bad code

Now, even despite making saves often, I don't know which one of them will work or how many saves back I'll have to choose to make the game load. Sometimes it's 4, sometimes 20.

Some CTDs don't create logs, some have same error code, but different length. I have few more of them, let me know if you might need them.
Hope this helps.

=========
EDIT

O.K., it seems that the mod broke. At some point, sooner or later, saves just cause CTDs, so I think I have to wait for some solution.

This is the most recent one: log

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: . er anomaly\gamedata\scripts\alife_storage_manager.script:146: bad code

And another crash while opening a saved game:

X-Ray Engine has stopped working

Problem Event Name: APPCRASH
Application Name: xrEngine.exe
Application Version: 1.6.0.2
Application Timestamp: 5c096b58
Fault Module Name: lua51.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 5c096b39
Exception Code: c0000005
Exception Offset: 000000000002cbbe
OS Version: 6.3.9600.2.0.0.256.48
Locale ID: 1045
Additional Information 1: a5af
Additional Information 2: a5af924e10d1ac3c4c8b9ce9d41a66ea
Additional Information 3: 90dc
Additional Information 4: 90dc654b069bfb6fbc80f48a1c2a2e16

CTD while passing through Radar.

[error]Expression : I != levels().end()
[error]Function : GameGraph::CHeader::level
[error]File : g:\projects\stalker\anomaly2-engine\src\xrgame\game_graph_inline.h
[error]Line : 153
[error]Description : there is no specified level in the game graph : 50

I've been having similar crashes with loading saves in my file with 33 in-game days. I get the "table index is nil" more than the "bad code," but it's the same line in each script as above. My game has been really stable otherwise, though, except for a crash when in Wild Territory for the first time: in multiple savefiles, the first mutant or stalker to go through the Burner tunnel causes a crash.

I have also been having the issue where the game freezes up and completely hangs my computer, forcing a hard restart every time. The game just freezes and I can still hear my character and the game running, but nothing changes on screen. Then, when it finally closes the game, my screen becomes a jumbled mess of static colors and jittery graphical glitches (this is AFTER the game has already closed). I couldn't close steam, and the x-ray engine process seemed to still be running. I can open the task manager, but it doesn't let me close anything and it itself eventually crashes.

The interesting thing for my, I've noticed, is that this crash happens with every mod based on the COC/COM setup. Only Dead Air and Misery itself don't seem to crash like this. As far as I can tell, I don't even get an error in the log, the game just stops and hangs my entire computer processes dead in their tracks.

Besides that, the only bug issues I've noticed are crash errors that callback to files that don't seem to exist. I don't have the log anymore as I haven't been able to replicate the crash, but one error was referring to a file called "ui_actor_main_menu" in the texture files

So I re-read LongZero's original post, specifically the part about the sound device potentially causing the problem, and changed the sound device to "OpenAL", and it definitely seemed to fix the bad crashing problem. I've no idea why that would affect the stability of the mod or cause the engine process to hang indefinitely. I'll have to go and retry the other COC/COM and co. mods with this change to test if that was the problem with those as well.

P.S. I also wouldn't have found this thread if Vulkodlac hadn't sent the thread to the top with his post at the time that I happened to look at the forums, so thank you immensely Vulkodlac. And of course thank you LongZero for your solution, this issue had been driving me crazy and it honestly feels so relieving to have it sorted out.

PeachLion, I'm glad I could help somehow.

[error]Expression : D3DX11CreateTextureFromMemory ( HW.pDevice,S->pointer(),S->length(), &LoadInfo, 0, &pTexture2D, 0 )
[error]Function : CRender::texture_load
[error]File : ..\xrRenderDX10\dx10Texture.cpp
[error]Line : 525
[error]Description : The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.

[error]Arguments : d:\program files (x86)\steam\steamapps\common\stalker call of pripyat\anomaly\gamedata\textures\ui\ui_actor_main_menu.dds

It would seem that the game is calling to something that doesn't exist?? I have looked in the textures file and there is no file with that name anywhere within it.

In my current game, I'm playing clear sky hand haven't even left the Great Swamp yet, so it's not anything to do with loading new areas. It often happens when I'm pulling out a gun, not opening a menu, so I'm not sure why the main menu texture would affect anything to cause that error.

If anyone has any idea why the game is calling to that file that doesn't seem to exist, it would be greatly appreciated.

(I'll also probably make a new thread for this issue, but I figured this thread already has most of the context for the error I've been encountering)

Damn @PeachLion, that's a weird one. Dumb question, but are your drivers up to date? That sounds like a ghost in the hardware to me. Most of the textures are packed up in database files, so they wouldn't be visible in gamedata, but also it could be Steam's installation structure -- I have all my Anomaly files on my desktop, no launcher.

Also turning on the keep textures in memory option could solve it. Good luck.

Something new, just in case someone's interested. End of the crash log:

DestroySingleton::RefCounter: 0
DestroySingleton::RefCounter: 0
DestroySingleton::RefCounter: 0
Input: 1
Config-file [appdata\user.ltx] saved successfully
Destroying Direct3D.
* RM_Dump: textures : 10
* : 1: ui\guide\encyclopedia_anomalies
* : 1: ui\guide\encyclopedia_characters2
* : 1: ui\guide\encyclopedia_characters4
* : 1: ui\guide\encyclopedia_notes
* : 1: ui\guide\encyclopedia_pda
* : 1: ui\ui_actor_menu
* : 1: ui\ui_actor_sleep_screen
* : 1: ui\ui_common
* : 1: ui\ui_icon_equipment
* : 1: ui\ui_ingame2_common
* RM_Dump: rtargets : 0
* RM_Dump: vs : 1
* : 10: stub_notransform_t
* RM_Dump: ps : 1
* : 10: stub_default
* RM_Dump: dcl : 0
* RM_Dump: states : 1
* RM_Dump: tex_list : 10
* RM_Dump: matrices : 0
* RM_Dump: lst_constants: 0
* RM_Dump: v_passes : 10
* RM_Dump: v_elements: 10
* RM_Dump: v_shaders : 10
refCount:pBaseZB 1
refCount:pBaseRT 1
refCount:m_pSwapChain 1
DeviceREF: 27
refCount:m_pAdapter 4
stack trace:

at address 0x00007FF99C606105

[error]Expression : object->ID_Parent == 0xffff
[error]Function : xrServer::Perform_destroy
[error]File : xrServer_sls_clear.cpp
[error]Line : 12
[error]Description : assertion failed

Huh. I've seen the "can't find children of parent" in the console all the time. Which reminds me -- I've also seen the "failed to load_var.drx_quest_stash" or whatever it is just as much, but never in crashes. They're clearly bugs, but I'm not convinced they're the cause of the failure to assert. If I remember correctly, they're leftover from the CoC days.

I can't get my unpacker to work with Anomaly, but if I could I'd love to see what line 12 is.

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: c:\stalker anomaly 2\gamedata\scripts\xr_animpoint.script:364: attempt to index a nil value

Another one. CTD when opening game.

setup
end setup
warfare_faction_control.on_game_start()
warfare_overrides.on_game_start()
xr_combat_ignore.on_game_start()
xr_corpse_detection.on_game_start()
xr_danger.on_game_start()
xr_eat_medkit.on_game_start()
xr_gather_items.on_game_start()
xrs_debug_tools.on_game_start()
xrs_dyn_music.on_game_start()
xrs_facer.on_game_start()
xrs_kill_wounded.on_game_start()
xrs_rnd_npc_loadout.on_game_start()
* phase time: 14009 ms
* phase cmem: 315760 K
* phase time: 9 ms
* phase cmem: 315706 K
! [SCRIPT ERROR]: . anomaly 2\gamedata\scripts\alife_storage_manager.script:146: bad code

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: . anomaly 2\gamedata\scripts\alife_storage_manager.script:146: bad code

Expression : F
Function : CResourceManager::OnDeviceCreate
File : ..\xrRender\ResourceManager_Loader.cpp
Line : 137
Description : d:\steam games\steamapps\common\stalker call of pripyat\gamedata\shaders.xr

When trying to launch the game.

And another one, while opening lab doors in Yantar. CTD:

[error]Expression : I != levels().end()
[error]Function : GameGraph::CHeader::level
[error]File : g:\projects\stalker\anomaly2-engine\src\xrgame\game_graph_inline.h
[error]Line : 153
[error]Description : there is no specified level in the game graph : 50

I am getting the error:

FATAL ERROR

[error]Expression :
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: table index is nil

too, in my case its triggered either by loading certain saved games or a level changer be that in game or fast travel v1.5 b2.4

I cant seem to save now without this crash being the result if loaded

I get this error if I play on anything but DX9

Expression : D3DX11CreateTextureFromMemory ( HW.pDevice,S->pointer(),S->length(), &LoadInfo, 0, &pTexture2D, 0 )
Function : CRender::texture_load
File : ..\xrRenderDX10\dx10Texture.cpp
Line : 534
Description :
Arguments : d:/anomaly 1.5 beta 3 =hd-sfx-armr-nvg - jsrs overhaul\gamedata\textures\ui\ui_actor_main_menu.dds

Выражение: <no expression><no expression>
функция: CScriptEngine:: lua_error
File : ..\xrServerEntities\script_engine.cpp
строка : 191
описание: фатальная ошибка
Аргументы: LUA ошибка: e:/games/anomaly бета-тест\gamedata\scripts\_g. script:1865: недопустимая функция заказа для сортировки

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Максим Фладаров

Ксения Покровская

Подскажите, пожалуйста, как вручную эти файлы скопировать? Windows 7 64 не дает этого сделать, говорит длинное имя файла, переименовать тоже не получается.

Дмитрий Сальников

Можно как то отключить аддон связанный с ранениями в разные части тела ?

Макс Дорофеев

А как отключить пираний?В настройках их нет, также я отключил ванильных котов,но они через какое-то время все равно начали спавниться.

Влад Летов

Народ, при переходе на другую локацию игра вылетает, ни окон с ошибками ни чего нет. Что можете посоветовать?

Валера Васильев

как решить эту проблему, если кто-то смог помогите пж

Григорий Саруман

Денис, он встроен или искать отдельно надо? Если встроен как включить его

Возникает ТОЛЬКО при загрузке сохранений. А вылетает из-за несоответствие конфигов с версией игры. Такое точно случается, если подсунуть шестому патчу system.ltx от четвёртого, получается ли данный вылет с другими конфигами или нет я не знаю.
Правда, на просторах встечал этот же вылет, только в описании были явно указаны или .ogg или .ltx файл - в данном случае ничего сказать не могу.

Лечение :

Причина :

Причиной вылета служит неправильный путь для проигрывания партикла (пример: аномалия в Х-18, она двигается по зацикленному пути из .anm файла).

Лечение :

Причина :

Не найдена трёхмерная OGF-модель, в данном случае mesh.ogf из папки meshes\physics.

Лечение :

Проверяйте наличие файла, правильность написания пути и имени файла.

Причина :

Лечение :

Причина :Игра не находит id какого-то профиля. или диалога. или квеста. В общем указанный id в .xml файле.

Лечение :

Проверяйте правильность написания идентификатора, либо добавьте его, если таковой отсутсвует.

Причина :

game.graph не соответствует кросс-таблице одной из локаций.

Лечение :

Скорее всего - забыли закинуть в геймдату level.gct после правки в СДК и компиляции AI. Помните, level.gct нужно обновить для всех локаций, а не только для тех, которые подвергались правке.

Причина:Имеются thm в папке текстуры.Их необходимо удалить.

Причина :

Происходит при попытке загрузки сохранения, которое было сделано не другом "наборе" gamedata.

Лечение :

Если делали какие-то изменения собственноручно, то верните папку gamedata в первоначальный вид. В противном случае следуйте совету - удалите сохранение.

Причина :

Странно, но данный вылет происходит только в моде Lost World Trops Of Doom с патчами ниже 3.5.2. Причиной этому якобы большой вес ноги псевдогиганта (inv_weight = 20.0).

Лечение :

Уменьшить вес ноги до 12.

Причина:
Отображение и сокрытие съемных аддонов на оружии в сталкере осуществляется при помощи отображения и сокрытия меша, привязанного к определенной кости в моделе. Существует три таких кости: wpn_scope, wpn_silencer и wpn_launcher. В данном случае мы попытались прописать оружию съемный прицел, но указанный худовый визуал не содержит кости wpn_scope.

Лечение:
Сделать аддон несъемным (либо отключить его вообще) путем редактирования конфига либо добавить в худовую модель указанную кость.

Причина :

game.graph и файл level.ai одной из локаций не соответствуют друг другу.

Лечение :

Вероятно также, что и у предыдущего вылета.

Причина :Одна из моделей на локации зафиксирована (посредством параметра fixed_bones в all.spawn) за неизвестную кость.

Лечение :

Причина :

Вылет из-за железа, а точнее - оптимизации ОС. Скорее всего проблема с драйверами.

Лечение :

Обновите драйвера на видеокарту. Снизьте графические настройки.

Причина :

Игра не находит идентификатор указанной погоды, в данном случае boloto, в файле environment.ltx.

Лечение :

Варианта два:
1. Поменять погоду прописанную одной из локаций в файле game_maps_single.ltx;
2. Добавить идентификатор погоды в секцию weathers, файле environment.ltx.

Причина :

Данная ошибка, как правило указывает на "криворучие" при создании меню игры. Например: ползунок который увеличивает опции меню при прокрутке задран очень высоко. И в большей степени относится к изменениям худа.

Лечение :

Смотри, где, что наковыряли и исправляйте.

Причина :Игра не нашла в какой-то модели анимацию с именем waunded_1_idle_0.

Лечение :

В первую очередь проверьте правильность написания имени анимации. Если в названием всё впорядке, тогда либо заменить/удалить модель, либо добавить/переименовать анимацию.

Причина :

В диалоге, в данном случае это esc_dialog, нет доступной для отображения фразы (например все заткнуты инфопоршенами и не одно из условий не выполнилось).

Лечение :

Убедиться в том, чтобы хотябы одна из фраз диалога будет доступна.

Причина :

В файле game_relations.ltx допущена ошибка. Вероятнее всего для параметра communities заданы неправильные значения.

Лечение :

Проверить данный файл на ошибки.

Причина :

Для какого-то оружия не верно прописан тип нанoсимого урона.

Лечение :

Лечение :

Причина :

Лечение :

Говорят от него помогает установка третьего сервис пака на ХР.

ТЧ, 1,0004. + Луа-расширение RvP. Такая необычная реакция на неправильно указанное имя текстуры в xml-описателе.

См. также справку по вылетy Line 764

Причина :

Судя по логу - проблемы с видео памятью. Причины не известны.
- Неверная установка мода.
- Проблемы с драйверами видеокарты или Direct X.
- Проблемы с операционной системой и прочее.

Лечение :

Причина :

Игра не находит указанного файла.

Лечение :

Либо добавить файл, либо убрать регистрацию этого файла в конфигах, зачастую это либо system.ltx, либо localization.ltx.

Причина :

В игре даже пропатченной до версии 1.0005 всё ещё есть проблемы с маршрутами.

Лечение :

Обычно достаточно просто загрузить последний сейв и не сохраняться рядом с местами, где происходят такие вылеты.

Дополнительное обсуждение и информация - в этом и этом постах.

Причина :

Игра не может найти указанный файл по указанному пути.

Лечение :

Причина :

all.spawn не соответствует game.graph. Когда компилировали AI, видно, забыли пересобрать спавн.

Лечение :

Привести all.spawn и game.graph в соответствие.

Причина :

Вылет говорит о том, что объект попал в вертекс (96), которого нет на данной карте.

Лечение :

Если загрузка последнего сохранения не помагает, то можете попробовать уменьшить радиус A-Life, посредством параметра switch_distance, пройти проблемный участок, а затем вернуть первоначальное значение параметра.

Возникает при попытке взять имя уровня по его ID c помощью вызова alife():level_name(level_id), если число level_id не соответствует ни одному из существующих уровней.

Причина :

Игра не находит в каком-то .xml файле указанный элемент.

Лечение :

Причина :

Продублирована указанная секция в .ltx файлах.

Лечение :

Причина:
Вы присвоили какому-то объекту визуал, у которого забыли сгенерировать шейпы. Как вариант - случайно были перепутаны мировая и худовая модели оружия. Имя объекта и сбойный визуал указаны в строке description

Добавил новую модель (ПДА заменил). Запускаю игру, ловлю вылет: Все было проставлено правильно, СДК не бунтовал при экспорте. Делал на основе кости старого ПДА АПД.

Все, спасибо, разобрался. Нужно было в СДК во вкладке Object поставить make progressive

Причина :

Игра определила повторяющиеся id в .xml файле, чего быть не должно.

Лечение :

Причина :

Либо не найден файл шейдера deffer_impl_flat.vs, либо проблема вся в том, что неправильно закомпилился шейдер, при компиляции уровня на качестве, более высоком чем Draft. Для ЗП (ЧН) это может ещё быть из-за отсутствия thm'ок для текстур терраина уровня.

Лечение :

В первом случае - проверить наличие файла. Во втором - нужно скачивать исправление шейдеров от товарища Haron.

The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

I downloaded the most recent full version of Anomaly (Anomaly 1.5.1)
Extracted then set up my video and game options. Running the game on Dx9 (Normal)

Started a new game three times, twice with DUTY once as a Loner, and I get the same error every time the game is almost done loading in.

LOG: FATAL ERROR

[error]Expression : D3DXCreateTexture( HW.pDevice, top_width,top_height, levels_exist,0,t_dest_fmt, (RImplementation.o.no_ram_textures ? D3DPOOL_DEFAULT : D3DPOOL_MANAGED), &t_dest )
[error]Function : TW_LoadTextureFromTexture
[error]File : ..\xrRender\Texture.cpp
[error]Line : 162
[error]Description :

Anything I could do to fix this?

It means your system can't play Anomaly with the graphics settings you're using. It could be any number of reasons, like the GPU or Operating System, but without a full log there is no way of knowing.

HOLAAAA XFIS DE VERDAD QUE NECESITO AYUDA ALGUIEN ME PODRIA DECIR SI LO PUDIERON RESOLVER DE VERAS QUE ME MUERO DE GANAS POR JUGAR STALKER ANOMALY SOY SUPER FAN DE ESTA GRANDIOSA SERIE PERO NO SE POR QUE TAMBIEN ME SALE ESE ERROR Y YA NO SE Q HACER PLEASE HELP ME

PS: INCLUSIVE ME REGISTRE ACA PARA PODER OBTENER AYUDA ESTAS SON MIS ESPICIFICACIONES UNA TOTAL PC DE GAMA BAJA PSSSS

INTEL CELERON 847 1.10GHZ DOBLE NUCLEO

INTEL HD GRAPHICS 743 MB

No creo que puedas jugar con 2 gb de memoria incluso si metes las texturas en lo mas bajo, y si te logra cargar, te va a andar muy mal con esas especificaciones.

Podrias probar esto:

"find user.ltx file, open it in notepad

Esta en un comentario de hace unos dias.

gracias por responder ok esta bien lo hare y cualquier cosa te notifico esta bien?

Ps: Oye sobre que a lo mejor no me corra no se pero yo pense que como pude correr todos los otros stalker y a graficos altos sin ningun problema solo se tardan un poco en la pantalla de carga pero tan solo la primera vez y cuando paso de zona nada mas pense q este lo iba a poder correr y mas xq podia correrlo con directx 8 por eso no pense q iba a ver ningun problema pero me salio fue ese mismo error q la persona de arriba y yo vi un video de antes de descargarlo y la persona menciono q con unos requisitos los cuales cumplo podria haberlo corrido entonces no se psss ya no se q pensar bro

Читайте также: