Author Topic: Crashes when launching interceptors  (Read 4788 times)

Offline CommanderDrobo

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Crashes when launching interceptors
« on: September 24, 2017, 04:26:26 am »
When I start a game with or without FMP running it crashes as soon as I select the interceptor tab in the geoscape.  This pops up and the game closes.

OpenXcom has crashed: Interface geoCraftScreens not found
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.

I'm running Linux Mint and using the Nightly from the ppa.  I have FMP in the Mods folder.

Could use some help please.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Crashes when launching interceptors
« Reply #1 on: September 24, 2017, 10:27:24 am »
It means your executable file and your data files are incompatible.

Interface geoCraftScreens has been removed here: https://github.com/SupSuper/OpenXcom/commit/82f7fd2693e535ae56c0eb6ba14821df4b2178b5#diff-3ec749923b6a5726723383675eba6d7cL151
...and replaced by several other interfaces.

That (most likely) means your data files are newer than your executable file (which is too old).

Offline CommanderDrobo

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Crashes when launching interceptors
« Reply #2 on: September 25, 2017, 04:02:43 am »
Could you please explain how I can fix this?  I am still new to OpenXcom and Linux.

Thank you

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Crashes when launching interceptors
« Reply #3 on: September 25, 2017, 11:56:05 am »
edit: just read Meridian's posts, they're better than mine

Just download the latest OpenXcom, open the folder, take the openxcom.exe file out and use it to replace your copy of openxcom.exe.

Or perhaps better yet, do a complete re-install by deleting the folder contents except for the game files (original x-com files) and then extract everything from the latest nightly version of openxcom.

Also just make sure you're using a nightly build within the last 2 years or so. The builds really are pretty stable as they come out. But make sure you aren't using 1.0. That version is WAY too old.
« Last Edit: October 06, 2017, 03:01:54 am by The Reaver of Darkness »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Crashes when launching interceptors
« Reply #4 on: September 25, 2017, 12:03:29 pm »
Just download the latest OpenXcom, open the folder, take the openxcom.exe file out and use it to replace your copy of openxcom.exe.

He said he's using Linux, not Windows.

And just replacing exe (or its linux alternative) is exactly what can lead to such errors... always do a full proper installation with all files, not just exe!

Also just make sure you're using a nightly build within the last 2 years or so. The builds really are pretty stable as they come out. But make sure you aren't using 1.0. That version is WAY too old.

He also said he's using nightly.

And the interface change was done approx. 1 month ago, so he must be using a recent one.

Or perhaps better yet, do a complete re-install by deleting the folder contents except for the game files (original x-com files) and then extract everything from the latest nightly version of openxcom.

Yes, I can recommend this too.

Delete everything and start fresh.

Could you please explain how I can fix this?  I am still new to OpenXcom and Linux.
Thank you

What I was trying to say is that your installation is broken.
Without seeing your files, the only fix I can give you is "delete everything and install fresh".
« Last Edit: September 25, 2017, 12:06:25 pm by Meridian »

Offline CommanderDrobo

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Crashes when launching interceptors
« Reply #5 on: September 27, 2017, 10:36:01 pm »
I have deleted every OpenXcom folder there was, and have downloaded the 2017-09-20 Nightly appimage.
I have made the appimage executable.  When I run it I now get error No X-Com installations found make sure you installed openxcom correctly. Check the wiki documentation for more details.

I am not sure what to do.  The wiki has a vague description of what appimage is but nothing to help.  When I run the appimage there are no folders created.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Crashes when launching interceptors
« Reply #6 on: September 27, 2017, 11:00:54 pm »
I'm sorry, I can't help more here, I am a Windows user.

Can any linux guru take over from here please?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Crashes when launching interceptors
« Reply #7 on: September 28, 2017, 12:30:38 am »
The AppImage lacks the data files from the original game, so it needs to be passed the location of those files when it's run.  I've gotten it to work using command line arguments after placing the original game data files in a folder called OpenXcom in my home folder:

Code: [Select]
/path/to/appimage/OpenXcom_20170920_12fbabe5a_x86-64.AppImage -data "~/OpenXcom/"

The OpenXcom folder contains the UFO folder as mentioned on the install page on the wiki.  The game will by default create the new folders "~/.config/openxcom/" for the configuration file and "~/.local/share/openxcom" for the user folder containing mods and save games.  Hope this helps!

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: Crashes when launching interceptors
« Reply #8 on: September 28, 2017, 12:52:20 am »
If you copy the original data files into the ``~/.local/share/openxcom`` folder there is not even a need for the commandline argument.

For reference purposes this is how my current setup looks like after running the appimage on a clean system and copying the UFO & TFTD folders needed:
Code: [Select]
$ ls -gG ~/.local/share/openxcom/
total 4
drwxrwxr-x 1    0 sep 27 23:25 mods
-rw-rw-r-- 1 2439 sep 27 23:30 openxcom.log
drwxr-xr-x 1  146 sep 27 23:40 TFTD
drwxr-xr-x 1  154 sep 27 23:30 UFO
drwxrwxr-x 1   54 sep 27 23:31 xcom1

$ ls -gG ~/.local/share/openxcom/UFO/
total 8
drwxr-xr-x 1  394 sep 27 23:30 GEODATA
drwxr-xr-x 1 1364 sep 27 23:30 GEOGRAPH
drwxr-xr-x 1 4690 sep 27 23:30 MAPS
-rw-r--r-- 1  506 sep 27 23:30 patch.txt
-rw-r--r-- 1  531 sep 27 23:30 README.txt
drwxr-xr-x 1 3664 sep 27 23:30 ROUTES
drwxr-xr-x 1  684 sep 27 23:30 SOUND
drwxr-xr-x 1 1626 sep 27 23:30 TERRAIN
drwxr-xr-x 1 2198 sep 27 23:30 UFOGRAPH
drwxr-xr-x 1  146 sep 27 23:30 UFOINTRO
drwxr-xr-x 1  844 sep 27 23:30 UNITS

$ ls -gG ~/.local/share/openxcom/TFTD/
total 4
drwxr-xr-x 1  184 sep 27 23:40 ANIMS
drwxr-xr-x 1  810 sep 27 23:40 FLOP_INT
drwxr-xr-x 1  458 sep 27 23:40 GEODATA
drwxr-xr-x 1 2512 sep 27 23:40 GEOGRAPH
drwxr-xr-x 1 6526 sep 27 23:40 MAPS
-rw-r--r-- 1  529 sep 27 23:40 README.txt
drwxr-xr-x 1 6504 sep 27 23:40 ROUTES
drwxr-xr-x 1  252 sep 27 23:40 SOUND
drwxr-xr-x 1 3998 sep 27 23:40 TERRAIN
drwxr-xr-x 1 1118 sep 27 23:40 UFOGRAPH
drwxr-xr-x 1  952 sep 27 23:40 UNITS

$ ls -gG ~/.config/openxcom
total 8
-rw-rw-r-- 1 6549 sep 27 23:31 options.cfg

note: the xcom1 folder was created after a successful start of the program
note2: ``$`` indicates the start of an input line here

Hope it helps