Author Topic: Game crashes on random missions?  (Read 5038 times)

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Game crashes on random missions?
« 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

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Game crashes on random missions?
« Reply #1 on: March 08, 2022, 01:52:14 pm »
Please upload a save before the crash, so that we can reproduce the issue.

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #2 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.

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #3 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.

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #4 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.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Game crashes on random missions?
« Reply #5 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?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Game crashes on random missions?
« Reply #6 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.)

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #7 on: March 09, 2022, 05:48:31 pm »
Ah, the readme on the GitHub is not current then, as it states "The Terrain Pack can be played on both OXC or OpenXCom Extended."

Thank you for the assistance.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Game crashes on random missions?
« Reply #8 on: March 09, 2022, 06:01:30 pm »
Ah, the readme on the GitHub 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

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #9 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?

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Re: Game crashes on random missions?
« Reply #10 on: March 09, 2022, 06:31:57 pm »
Ah, the readme on the GitHub 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.

Offline falselogic

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Game crashes on random missions?
« Reply #11 on: March 09, 2022, 07:34:14 pm »
I just went ahead and installed OXCE. Everything seems to work fine now! Thanks again!