I have a problem. I'm playing through the game again with a number of mods, and it's been working fine up until just now, when I tried to enter X18. Soon after trying the door to enter the underground, the game crashed-to-desktop, here's the revealing bit from the error log.
Expression : it!=WeatherCycles.end() Function : CEnvironment::SetWeather File : E:\stalker\sources\trunk\xr_3da\Environment.cpp Line : 133 Description : Invalid weather name. Arguments : x18_ugrndJudging by that error, it'd seem that there's a mistake in one of the modded weather files, but which one? I checked environment.ltx (since that's the closest match to the one it mentioned), and there aren't 133 lines in the file or any mention of 'x18_ugrnd'.
As for which mods I have in the game at the moment, there's three major ones merged together, and a number of minor ones on top of those. This is what I installed, in the order that I installed them.
* Oblivion Lost v2.2 for 1.0005 * Arsenal RC1 * Oblivion Lost v2.2/Arsenal merge patch * Stalker Weather Overhauled v3 (w/ the OL compatibility patch included with the second hotfix)
The others are aesthetic, such as sound and UI mods, I'm quite confident they have nothing to do with the issue. I did everything quite carefully, and the whole thing has been perfectly stable until now. (Well, I did have a CTD at the Bar, but that was when I was testing a particle mod I'd installed, it didn't work, so I uninstalled it again, that doesn't have any bearing on the rest of it)
EDIT: Oh, and FYI, I'm running the retail version of the game, not the Steam version, so Steam complications can be counted out as a possible cause.
I've googled 'invalid weather name' and there are a fair few topics around reporting problems of this type, but there seems to be no common thread, except that those who have this problem usually experience a crash right away at the start of the game, and I'm not.
Any ideas would be appreciated.
did you try uninstalling the weather mod if you did not than do it its obviusly something up with the weather mod like you metioned but comon its only weather you can live without it
This is just a guess, but looking at the environment files that come with each mod - the OL weather for Lab X18 is:
indoor_x18 = sect_indoor_x18
while Weather Overhauled is this:
indoor_x18 = sect_indoor
Try going to gamedata\config\weathers and opening up 'environment.ltx'. If you're using SWO for OL 2.2, the [weathers] section should look like this:
Try changing the bit in bold to: sect_indoor_x18 ;sect_indoor That should set the weather in Lab X18 back to Oblivion Lost default. Not like you're going to be missing out when you're indoors =p
Remember to back it up first.
I'll try that, thanks for the suggestion.
There does seem to be an anomaly here. The code in my file is subtly different a few ways, take a look:
map = sect_map test = sect_test default = sect_default_weather default2 = sect_default_weather chernobyl = sect_default_weather indoor = sect_indoor indoor_x18 = sect_indoor_x18 ;sect_indoor pripyat = sect_default_weather radar = sect_default_weather rain = sect_default_weather sarkofag = sect_indoor stancia = sect_default_weather stancia2 = sect_default_weather yantar = sect_default_weather yantar_indoor = sect_indoor amk_for_blow = amk_sect_for_sun pre_blow = sect_stancia 00_flares_fix = 00_sect_flares_fix
EDIT: I tried what you suggested. Unfortunately it still crashes with the same error. :(
Maybe you could send me your file? (If I understand correctly that it's OL merged with SWO, that is. If not, disregard that.) My environment.ltx is the one from the the OL 2.2 compatibility patch included with SWO's second hotfix.
Interesting development. The first few times I tried entering the lab were when it was raining. I just tried again at a different time of day, and just as I reached the level transition a blowout started. To my surprise the level loaded and I played for a bit, however it crashed as soon as the blowout ended. Same error message.
Sorry, I'm not running Stalker at the moment, I just have the two mods on my documents drive.
You've probably already tried this, but what about waiting for the blowout to finish, then entering the Lab? Or try deleting the weathers folder and replacing it with the one from OL, which will set the weather back to OL default, allowing you to carry on. Once you've finished the lab, reinstall SWO and go from there.
Entering the lab post-blowout yielded the same result, and replacing the SWO weathers folder with that of OL just results in a crash at game startup. Looks like I'm stuck. :(
I didn't make it!
It's because OL has a dynamic weather script system what also have connections with the blowout, since the blowout is also a weather change mainly, so you can't just overwrite the ltx files. Look into the level_weathers.script and bind_stalker.script and see how it works.
Yeah, I didn't expect that to work.
Just now, I got a similar crash when I tried to enter the Agroprom Underground, even though I'd previously been through there twice with no problems. It seems to be touchy about indoor maps, and whether it'll crash or not seems to vary depending on the time of day and/or weather conditions, strange.
Expression : it!=WeatherCycles.end() Function : CEnvironment::SetWeather File : E:\stalker\sources\trunk\xr_3da\Environment.cpp Line : 133 Description : Invalid weather name. Arguments : agr_ugrndAs I said before, the mods I'm running at the moment are OL + Arsenal RC1 + a compatibility patch for those two + S.W.O. v3 + the OL compatibility patch from the second S.W.O. hotfix, installed in that order. Strangely (I thought), the hotfix only contains one file (environment.ltx). I was under the impression it was no small task merging OL with S.W.O, so could it be the compatibility patch is missing something?
Here's a screenshot of WinMerge comparing the base OL 2.2 environment.ltx (left) with the one from the S.W.O. compatibility patch (right). See if you can spot anything out of order:
Okay, I believe I've discovered the source of the error. I started reinstalling all my mods from scratch (OL, SWO, Arsenal, and a bunch of other little ones), while running the game after I installed each mod and testing X18 to see if it'd crash, the idea being I could isolate the problem that way. It worked. With the core components (OL, SWO and Arsenal) installed, it didn't crash, so I got to work installing the other bits and pieces.
As far as I can tell, the fault was caused by a file from the optional music module of imperialreign's SoundEFX mod v0.6. The file -- game_maps_single.ltx -- seems to have been the source of the issue. There were a few different versions of it included with the mod, for compatibility with various others, I used the one compatible with SWO v3, but it seems now that the file doesn't get along well at all with OL for some reason, so I've left that component out of the sound mod and everything seems to work now.