I am working on a weapon which rearranges the research order of plasma weapons, while combining it with Shadows’ terran plasma weapons mod. Everything is working fine for the most part, until I finish the research for the (human) plasma weapons and try to look at any of the UFOpedia entries for the newly researched weapons, at which point it crashes and I am not entirely sure why.
The crash log states the following:
[30-08-2016_15-49-52] [INFO] Data folder is:
[30-08-2016_15-49-52] [INFO] Data search is:
[30-08-2016_15-49-52] [INFO] - C:\Users\*REDACTED*\Documents\OpenXcom\
[30-08-2016_15-49-52] [INFO] - C:\Program Files (x86)\openxcom
[30-08-2016_15-49-52] [INFO] - C:\Program Files (x86)\openxcom
[30-08-2016_15-49-52] [INFO] User folder is: C:\Program Files (x86)\openxcom\user\
[30-08-2016_15-49-52] [INFO] Config folder is: C:\Program Files (x86)\openxcom\user\
[30-08-2016_15-49-52] [INFO] Options loaded successfully.
[30-08-2016_15-49-52] [INFO] SDL initialized successfully.
[30-08-2016_15-49-52] [INFO] SDL_mixer initialized successfully.
[30-08-2016_15-49-52] [INFO] requested file not found: openxcom.png
[30-08-2016_15-49-52] [INFO] Attempting to set display to 3840x2160x32...
[30-08-2016_15-49-54] [INFO] Display set to 3840x2160x32.
[30-08-2016_15-49-54] [INFO] requested file not found: Shaders/scale4xhq.opengl.shader
[30-08-2016_15-49-54] [ERROR] Shaders/scale4xhq.opengl.shader: bad file
[30-08-2016_15-49-54] [INFO] requested file not found: Shaders/scale4xhq.opengl.shader
[30-08-2016_15-49-54] [ERROR] Shaders/scale4xhq.opengl.shader: bad file
[30-08-2016_15-49-54] [INFO] Loading data...
[30-08-2016_15-49-54] [INFO] Scanning standard mods in 'standard'...
[30-08-2016_15-49-54] [INFO] Scanning user mods in 'C:\Program Files (x86)\openxcom\user\mods'...
[30-08-2016_15-49-54] [INFO] Mapping resource files...
[30-08-2016_15-49-55] [INFO] Resources files mapped successfully.
[30-08-2016_15-49-56] [INFO] Loading fonts... Font.dat
[30-08-2016_15-49-56] [INFO] Loading extra resources from ruleset...
[30-08-2016_15-49-56] [INFO] Data loaded successfully.
[30-08-2016_15-49-56] [INFO] Loading language...
[30-08-2016_15-49-56] [INFO] Language loaded successfully.
[30-08-2016_15-49-56] [INFO] OpenXcom started successfully!
[30-08-2016_15-49-56] [INFO] Playing flx, 320x200, 890 frames
[30-08-2016_15-49-58] [INFO] SDL_mixer initialized successfully.
[30-08-2016_15-49-58] [INFO] SDL_mixer initialized successfully.
[30-08-2016_15-50-09] [INFO] Mapping resource files...
[30-08-2016_15-50-10] [INFO] Resources files mapped successfully.
[30-08-2016_15-50-10] [INFO] Attempting to set display to 3840x2160x32...
[30-08-2016_15-50-10] [INFO] Display set to 3840x2160x32.
[30-08-2016_15-50-10] [INFO] SDL_mixer initialized successfully.
[30-08-2016_15-50-10] [INFO] Loading data...
[30-08-2016_15-50-10] [INFO] Scanning standard mods in 'standard'...
[30-08-2016_15-50-10] [INFO] Scanning user mods in 'C:\Program Files (x86)\openxcom\user\mods'...
[30-08-2016_15-50-10] [INFO] Mapping resource files...
[30-08-2016_15-50-11] [INFO] Resources files mapped successfully.
[30-08-2016_15-50-12] [INFO] Loading fonts... Font.dat
[30-08-2016_15-50-12] [INFO] Loading extra resources from ruleset...
[30-08-2016_15-50-12] [INFO] Data loaded successfully.
[30-08-2016_15-50-12] [INFO] Loading language...
[30-08-2016_15-50-12] [INFO] Language loaded successfully.
[30-08-2016_15-50-12] [INFO] OpenXcom started successfully!
[30-08-2016_15-50-16] [ERROR] Failed to load item STR_ALIEN_ALLOY
[30-08-2016_15-50-16] [ERROR] Failed to load item STR_ETHEREAL_ENGINEER
[30-08-2016_15-52-08] [FATAL] A fatal error has occurred: Segmentation fault. This usually indicates something missing in a mod.
[30-08-2016_15-52-14] [FATAL] OpenXcom has crashed: Segmentation fault. This usually indicates something missing in a mod.
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
Can anyone help? I have attached the current version of the mod.
Thanks for the response!
The INTERRO_DEP's are used to unlock STR_PLASMA_WEAPONS (any one soldier + elerium), while the dependencies for STR_PLASMA_WEAPONS are used only to ensure that it cannot be unlocked by accident.
I have a different mod that I used for debugging purposes, which adds lots of several items at the start of a game (I use it to quickly simulate antire games), which adds STR_ETHEREAL_ENGINEER. I didn't realize that the Ethereals don't have engineers.
Removing the engineers from the debug mod, I am still getting complaints about STR_ALIEN_ALLOY, though the only place that I used it was as an item added to the base inventories at the start of the game. I don't think it is the debug mod causing the problems this time, as it was working previously (without the engineers).
[30-08-2016_16-33-15] [INFO] Data folder is:
[30-08-2016_16-33-15] [INFO] Data search is:
[30-08-2016_16-33-15] [INFO] - C:\Users\*REDACTED*\Documents\OpenXcom\
[30-08-2016_16-33-15] [INFO] - C:\Program Files (x86)\openxcom
[30-08-2016_16-33-15] [INFO] - C:\Program Files (x86)\openxcom
[30-08-2016_16-33-15] [INFO] User folder is: C:\Program Files (x86)\openxcom\user\
[30-08-2016_16-33-15] [INFO] Config folder is: C:\Program Files (x86)\openxcom\user\
[30-08-2016_16-33-15] [INFO] Options loaded successfully.
[30-08-2016_16-33-15] [INFO] SDL initialized successfully.
[30-08-2016_16-33-15] [INFO] SDL_mixer initialized successfully.
[30-08-2016_16-33-15] [INFO] requested file not found: openxcom.png
[30-08-2016_16-33-15] [INFO] Attempting to set display to 3840x2160x32...
[30-08-2016_16-33-17] [INFO] Display set to 3840x2160x32.
[30-08-2016_16-33-17] [INFO] requested file not found: Shaders/scale4xhq.opengl.shader
[30-08-2016_16-33-17] [ERROR] Shaders/scale4xhq.opengl.shader: bad file
[30-08-2016_16-33-17] [INFO] requested file not found: Shaders/scale4xhq.opengl.shader
[30-08-2016_16-33-17] [ERROR] Shaders/scale4xhq.opengl.shader: bad file
[30-08-2016_16-33-17] [INFO] Loading data...
[30-08-2016_16-33-17] [INFO] Scanning standard mods in 'standard'...
[30-08-2016_16-33-17] [INFO] Scanning user mods in 'C:\Program Files (x86)\openxcom\user\mods'...
[30-08-2016_16-33-17] [INFO] Mapping resource files...
[30-08-2016_16-33-18] [INFO] Resources files mapped successfully.
[30-08-2016_16-33-18] [INFO] Loading fonts... Font.dat
[30-08-2016_16-33-18] [INFO] Loading extra resources from ruleset...
[30-08-2016_16-33-19] [INFO] Data loaded successfully.
[30-08-2016_16-33-19] [INFO] Loading language...
[30-08-2016_16-33-19] [INFO] Language loaded successfully.
[30-08-2016_16-33-19] [INFO] OpenXcom started successfully!
[30-08-2016_16-33-19] [INFO] Playing flx, 320x200, 890 frames
[30-08-2016_16-33-19] [INFO] SDL_mixer initialized successfully.
[30-08-2016_16-33-19] [INFO] SDL_mixer initialized successfully.
[30-08-2016_16-33-25] [ERROR] Failed to load item STR_ALIEN_ALLOY
[30-08-2016_16-34-04] [FATAL] A fatal error has occurred: Segmentation fault. This usually indicates something missing in a mod.
[30-08-2016_16-34-08] [FATAL] OpenXcom has crashed: Segmentation fault. This usually indicates something missing in a mod.
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
I attatched the DEBUG mod (minus engineers).
EDIT: Removing STR_ALIEN_ALLOY the debug removed [ERROR] Failed to load item STR_ALIEN_ALLOY; but the crash persists.