Author Topic: Terrain Bug Reports  (Read 3844 times)

Offline xxbbcc

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Terrain Bug Reports
« Reply #15 on: October 22, 2019, 05:03:52 am »
I'm getting a crash using Terrain Pack 4.2 with OpenXcom nighly build 2019/10/18; here's the error message (paths reduced):

Code: [Select]
---------------------------
OpenXcom Error
---------------------------
OpenXcom has crashed: invalid MCD file: TERRAIN/MADDECOR.MCD,
check log file for more details.
More details here: C:\...\Documents\OpenXcom\openxcom.log
If this error was unexpected, please report it to the developers.
---------------------------
OK   
---------------------------

Since the problem is with MADDECOR.MCD, I assume it's related to Terrain Pack. Here's the log from the game:

Code: [Select]
[21-10-2019_20-35-09] [INFO] OpenXcom Version: 1.0 git 2019-10-18 12:33
[21-10-2019_20-35-09] [INFO] Platform: Windows
[21-10-2019_20-35-09] [INFO] Data folder is:
[21-10-2019_20-35-09] [INFO] Data search is:
[21-10-2019_20-35-09] [INFO] - C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] - X:\DosApp\CDrive\OpenUFO
[21-10-2019_20-35-09] [INFO] - X:\DosApp\CDrive\OpenUFO
[21-10-2019_20-35-09] [INFO] User folder is: C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] Config folder is: C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] Options loaded successfully.
[21-10-2019_20-35-09] [INFO] SDL initialized successfully.
[21-10-2019_20-35-09] [INFO] SDL_mixer initialized successfully.
[21-10-2019_20-35-09] [INFO] requested file not found: openxcom.png
[21-10-2019_20-35-09] [INFO] Detected locale: C
[21-10-2019_20-35-09] [INFO] Attempting to set display to 1920x1080x8...
[21-10-2019_20-35-09] [INFO] Display set to 1920x1080x8.
[21-10-2019_20-35-09] [INFO] Loading data...
[21-10-2019_20-35-09] [INFO] Scanning standard mods in 'standard'...
[21-10-2019_20-35-09] [INFO] Scanning user mods in 'C:\...\Documents\OpenXcom\mods'...
[21-10-2019_20-35-09] [INFO] Mapping resource files...
[21-10-2019_20-35-10] [INFO] Resources files mapped successfully.
[21-10-2019_20-35-10] [INFO] Active mods:
[21-10-2019_20-35-10] [INFO] - xcom1 v1.0
[21-10-2019_20-35-10] [INFO] - Aliens_Pick_Up_Weapons v1.0
[21-10-2019_20-35-10] [INFO] - UFOextender_Starting_Avalanches v1.0
[21-10-2019_20-35-10] [INFO] - XcomUtil_Starting_Improved_Base v1.0
[21-10-2019_20-35-10] [INFO] - Terrain Pack v4.2
[21-10-2019_20-35-10] [INFO] - Expanded_Ubase_Reworked v1.3 Tactical Maze!
[21-10-2019_20-35-10] [INFO] - solar-039-s-new-ufos v1.4
[21-10-2019_20-35-10] [INFO] - support-drones v1.0
[21-10-2019_20-35-10] [INFO] - UfoEx v0.1
[21-10-2019_20-35-10] [INFO] Loading rulesets...
[21-10-2019_20-35-10] [INFO] Loading fonts... Font.dat
[21-10-2019_20-35-10] [INFO] Data loaded successfully.
[21-10-2019_20-35-10] [INFO] Loading language...
[21-10-2019_20-35-10] [INFO] Language loaded successfully.
[21-10-2019_20-35-10] [INFO] OpenXcom started successfully!
[21-10-2019_20-35-10] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 11 has 0 armor
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 12 has 0 armor
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 71 has 0 armor
[21-10-2019_20-35-41] [FATAL] A fatal error has occurred: invalid MCD file: TERRAIN/MADDECOR.MCD, check log file for more details.
[21-10-2019_20-35-41] [FATAL] 0x634130 OpenXcom::CrossPlatform::stackTrace(void*)
[21-10-2019_20-35-41] [FATAL] 0x637a00 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[21-10-2019_20-35-41] [FATAL] 0x401580 exceptionLogger()
[21-10-2019_20-35-41] [FATAL] 0xa248e8 MPEGaction::MPEGaction()
[21-10-2019_20-35-41] [FATAL] 0x703e90 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[21-10-2019_20-35-41] [FATAL] 0x708100 OpenXcom::BattlescapeGenerator::run()
[21-10-2019_20-35-41] [FATAL] 0x46c7e0 OpenXcom::ConfirmLandingState::btnYesClick(OpenXcom::Action*)
[21-10-2019_20-35-41] [FATAL] 0x6455b0 OpenXcom::InteractiveSurface::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[21-10-2019_20-35-41] [FATAL] 0x645a10 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[21-10-2019_20-35-41] [FATAL] 0x643b20 OpenXcom::State::handle(OpenXcom::Action*)
[21-10-2019_20-35-41] [FATAL] 0x63aa50 OpenXcom::Game::run()
[21-10-2019_20-35-41] [FATAL] 0x401820 SDL_main
[21-10-2019_20-35-41] [FATAL] 0x869a10 console_main
[21-10-2019_20-35-41] [FATAL] ??
[21-10-2019_20-35-41] [FATAL] 0x76cd6340 BaseThreadInitThunk
[21-10-2019_20-35-41] [FATAL] 0x77917a90 RtlGetAppContainerNamedObjectPath
[21-10-2019_20-35-41] [FATAL] 0x77917a90 RtlGetAppContainerNamedObjectPath
[21-10-2019_20-35-44] [FATAL] OpenXcom has crashed: invalid MCD file: TERRAIN/MADDECOR.MCD, check log file for more details.
More details here: C:\...\Documents\OpenXcom\openxcom.log
If this error was unexpected, please report it to the developers.

I also attached a saved game that triggers - a terror UFO lands in Anchorage and when the battlescape is about to be loaded, the game crashes.

Offline Hobbes

  • Moderator
  • Commander
  • ***
  • Posts: 3463
  • Infiltration subroutine in progress
    • View Profile
Re: Terrain Bug Reports
« Reply #16 on: October 23, 2019, 12:48:33 am »
I'm getting a crash using Terrain Pack 4.2 with OpenXcom nighly build 2019/10/18; here's the error message (paths reduced):
I also attached a saved game that triggers - a terror UFO lands in Anchorage and when the battlescape is about to be loaded, the game crashes.

Thanks. This is something new because of the latest OXC changes, it will also affect a few terrains but right now no time do permanently fix all of them.

As a temporary solution I've attached a fixed MADDECOR file. Just unzip its contents to \Documents\OpenXcom\mods\Terrain Pack\TERRAIN\ and replace the existing files.

Offline xxbbcc

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Terrain Bug Reports
« Reply #17 on: October 23, 2019, 02:34:29 am »
Hobbes,

Thank you, I'll give this a try. I appreciate the quick response.

Offline xxbbcc

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Terrain Bug Reports
« Reply #18 on: November 02, 2019, 03:57:31 pm »
Hobbes,

I ran into the same issue (as you predicted the possibility) with AREA-51.MCD. Would you be able to create a fixed version of it?