OpenXcom Forum

OpenXcom => Troubleshooting => Topic started by: falselogic on March 08, 2022, 06:28:03 am

Title: Game crashes on random missions?
Post by: falselogic on March 08, 2022, 06:28:03 am
I've started a couple of games and things seem to go fine. I can even get through my first mission but then at the second one when I go to land my Skyranger I get an error like this? I'm playing 1.0 git 2021-12-21 11:39.

Whatever it is effects the save game because loading it now it always crashes here.

[07-03-2022_20-15-27]   [FATAL]   A fatal error has occurred: Map failed to fully generate.
[07-03-2022_20-15-27]   [FATAL]   0x54e9e0 OpenXcom::CrossPlatform::stackTrace(void*)
[07-03-2022_20-15-27]   [FATAL]   0x5522b0 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[07-03-2022_20-15-27]   [FATAL]   0x40dac0 exceptionLogger()
[07-03-2022_20-15-27]   [FATAL]   0xa38798 MPEGaction::MPEGaction()
[07-03-2022_20-15-27]   [FATAL]   0x4c6720 OpenXcom::BattlescapeGenerator::run()
[07-03-2022_20-15-27]   [FATAL]   0x5d64d0 OpenXcom::ConfirmLandingState::btnYesClick(OpenXcom::Action*)
[07-03-2022_20-15-27]   [FATAL]   0x572c30 OpenXcom::InteractiveSurface::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[07-03-2022_20-15-27]   [FATAL]   0x573090 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[07-03-2022_20-15-27]   [FATAL]   0x5bf520 OpenXcom::State::handle(OpenXcom::Action*)
[07-03-2022_20-15-27]   [FATAL]   0x569160 OpenXcom::Game::run()
[07-03-2022_20-15-27]   [FATAL]   0x40dd60 SDL_main
[07-03-2022_20-15-27]   [FATAL]   0x87d8c0 console_main
[07-03-2022_20-15-27]   [FATAL]   ??
[07-03-2022_20-15-27]   [FATAL]   0x75d46720 BaseThreadInitThunk
[07-03-2022_20-15-27]   [FATAL]   0x772089c0 RtlGetFullPathName_UEx
[07-03-2022_20-15-27]   [FATAL]   0x772089c0 RtlGetFullPathName_UEx
Title: Re: Game crashes on random missions?
Post by: Meridian on March 08, 2022, 01:52:14 pm
Please upload a save before the crash, so that we can reproduce the issue.
Title: Re: Game crashes on random missions?
Post by: falselogic on March 08, 2022, 07:52:26 pm
And of course I deleted the saved game! I turned off the expanded terrain mod and that seems to have solved it. Will test more.

Thank you.
Title: Re: Game crashes on random missions?
Post by: falselogic on March 08, 2022, 08:03:09 pm
Here is a save of the game right before it crashed going into a battle. Same error. The only mod I had turned on is the XCOM Terrain Pack.
Title: Re: Game crashes on random missions?
Post by: falselogic on March 08, 2022, 08:07:39 pm
I am playing on Windows 11 and when OpenXcom installed it dumped its resources in the Documents Folder that is under OneDrive (MS's cloud thing) and I'm wondering if this could be the reason why? The game expects assets to be there but doesn't know how to pull them from the cloud?

I'm not sure how I can point OpenXcom to the Documents drive located on the SSD though...

Just spitballing here.
Title: Re: Game crashes on random missions?
Post by: Solarius Scorch on March 09, 2022, 10:38:46 am
Make a "user" folder inside the OXC folder. This folder will now hold files such as options.cfg, as well as the "mods" folder and save folders.

Is this what you are aiming for?
Title: Re: Game crashes on random missions?
Post by: Meridian on March 09, 2022, 05:07:03 pm
Here is a save of the game right before it crashed going into a battle. Same error. The only mod I had turned on is the XCOM Terrain Pack.

XCOM Terrain Pack 1.0.2 requires OpenXcom Extended (OXCE) to run.
(It won't work with OpenXcom.)
Title: Re: Game crashes on random missions?
Post by: falselogic on March 09, 2022, 05:48:31 pm
Ah, the readme on the GitHub  (https://github.com/Hobbes74/XCOM-Terrain-Pack#mod-compatibility-openxcom)is not current then, as it states "The Terrain Pack can be played on both OXC or OpenXCom Extended."

Thank you for the assistance.
Title: Re: Game crashes on random missions?
Post by: Meridian on March 09, 2022, 06:01:30 pm
Ah, the readme on the GitHub  (https://github.com/Hobbes74/XCOM-Terrain-Pack#mod-compatibility-openxcom)is not current then, as it states "The Terrain Pack can be played on both OXC or OpenXCom Extended."

Thank you for the assistance.

yeah, looks like it

the modsite description already says it requires OXCE: https://openxcom.mod.io/terrain-pack
Title: Re: Game crashes on random missions?
Post by: falselogic on March 09, 2022, 06:26:34 pm
Make a "user" folder inside the OXC folder. This folder will now hold files such as options.cfg, as well as the "mods" folder and save folders.

Is this what you are aiming for?

Yeah, I thought I'd have to re-install and use some command line stuff in order to get it to install where I want it to. Will just having a user folder inside the OXC folder work?
Title: Re: Game crashes on random missions?
Post by: Hobbes on March 09, 2022, 06:31:57 pm
Ah, the readme on the GitHub  (https://github.com/Hobbes74/XCOM-Terrain-Pack#mod-compatibility-openxcom)is not current then, as it states "The Terrain Pack can be played on both OXC or OpenXCom Extended."

Thank you for the assistance.

Yup, the GitHub needs an updating, I forgot some of the new additions might break backwards compatibility with OXC.
Title: Re: Game crashes on random missions?
Post by: falselogic on March 09, 2022, 07:34:14 pm
I just went ahead and installed OXCE. Everything seems to work fine now! Thanks again!