Author Topic: OpenXCom Installation  (Read 562 times)

Offline judasdisciple

  • Squaddie
  • *
  • Posts: 3
    • View Profile
OpenXCom Installation
« on: December 13, 2020, 12:48:36 pm »
Hi guys, I am sure that this has been mentioned several times. But I'll do it anyways. So I've done a clean install of OpenSUSE on a new laptop and one of the things I was really looking forward to is playing OpenXcom again. Usually I have no issues. I use the version that's provided by OpenSUSE repos and copy the data folder to where OpenXcom folder has popped up. But this time it won't play. When looking at the log I get the follwoing:

Quote
[13-12-2020_10-44-21]   [INFO]   OpenXcom Version: 1.0.cafc2eda3 (2020-12-05 19:34)
[13-12-2020_10-44-21]   [INFO]   Platform: Unix-like
[13-12-2020_10-44-21]   [INFO]   Data folder is: /tmp/.mount_OpenXcuVTM4b/usr/share//openxcom/
[13-12-2020_10-44-21]   [INFO]   Data search is:
[13-12-2020_10-44-21]   [INFO]   - /home/ingvar/.local/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /tmp/.mount_OpenXcuVTM4b/usr/share//openxcom/
[13-12-2020_10-44-21]   [INFO]   - /home/ingvar/.local/share/flatpak/exports/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /var/lib/flatpak/exports/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /usr/local/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /usr/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /usr/local/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /usr/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   - /usr/share/openxcom//
[13-12-2020_10-44-21]   [INFO]   - ./
[13-12-2020_10-44-21]   [INFO]   User folder is: /home/ingvar/.local/share/openxcom/
[13-12-2020_10-44-21]   [INFO]   Config folder is: /home/ingvar/.config/openxcom/
[13-12-2020_10-44-21]   [INFO]   Options loaded successfully.
[13-12-2020_10-44-21]   [INFO]   SDL initialized successfully.
[13-12-2020_10-44-21]   [INFO]   SDL_mixer initialized successfully.
[13-12-2020_10-44-21]   [INFO]   requested file not found: openxcom.png
[13-12-2020_10-44-21]   [INFO]   Detected locale: aa_DJ.utf8
[13-12-2020_10-44-21]   [INFO]   Attempting to set display to 640x400x8...
[13-12-2020_10-44-21]   [INFO]   Display set to 640x400x8.
[13-12-2020_10-44-21]   [INFO]   Loading data...
[13-12-2020_10-44-21]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcuVTM4b/usr/share//openxcom/standard'...
[13-12-2020_10-44-21]   [INFO]   Scanning user mods in '/home/ingvar/.local/share/openxcom/mods'...
[13-12-2020_10-44-21]   [ERROR]   no mod masters available
[13-12-2020_10-44-21]   [ERROR]   No X-COM installations found

It's never asked for a mod master before. And I don't understand how it keeps on saying that it can't find openxcom.png when it is RIGHT THERE.

Any help would be much appreciated.

Offline R1dO

  • Colonel
  • ****
  • Posts: 340
    • View Profile
Re: OpenXCom Installation
« Reply #1 on: December 13, 2020, 03:01:05 pm »
First guess would be that you are missing the required original datafiles (or put them in the wrong location).

Can you attach/post the output of:
Code: [Select]
tree -d -I "xcom?|standard|common|mods" ~/.local/share/openxcom/ > ~/Desktop/openxcom.tree.txt* The -I option ignores a bunch of standard folders
* The ">" construct will create a file on your desktop
* -d is there since at the moment I am only interested in the folder structure, not the files under it.

The info message about missing openxcom.png is harmless, you can safely ignore it.

P.s. Which version of openSUSE are you using? It looks like the repository provides a flatplack image (the openxcom download page provides an appimage).

Offline judasdisciple

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: OpenXCom Installation
« Reply #2 on: December 21, 2020, 01:10:18 am »
Hi there so I did that and got the following:

Quote
/home/ingvar/.local/share/openxcom/
└── data
    ├── GAME_1
    ├── GAME_10
    ├── GAME_2
    ├── GAME_3
    ├── GAME_4
    ├── GAME_5
    ├── GAME_6
    ├── GAME_7
    ├── GAME_8
    ├── GAME_9
    ├── GEODATA
    ├── GEOGRAPH
    ├── Language
    ├── MAPS
    ├── MISSDAT
    ├── Resources
    │   ├── BulletSprites
    │   ├── Pathfinding
    │   ├── UI
    │   └── Weapons
    ├── ROUTES
    ├── Ruleset
    ├── Shaders
    ├── SoldierName
    ├── SOUND
    ├── TERRAIN
    ├── UFOGRAPH
    ├── UFOINTRO
    └── UNITS

30 directories

I am currently using Leap 15.2 with GNOME. I did use the AppImage version as I couldn't find OpenXCom on Flathub, even though I know it used to be there.

Offline R1dO

  • Colonel
  • ****
  • Posts: 340
    • View Profile
Re: OpenXCom Installation
« Reply #3 on: December 21, 2020, 01:52:27 am »
Wow, looks like a 1.0 installation (although did kinda expected it).

Best course of action in this case would be (referring to ~/.local/share/openxcom as openxcom):
* backup the complete openxcom folder.
* remove the openxcom folder
* Start the AppImage (will complain and fail, but at least creates appropriate folder structure)
* Copy original datafiles to openxcom/UFO (and if you have original TFTD files copy those to openxcom/TFTD
* From your backup copy any mods you want to keep to openxcom/mods
* From your backup copy any saves you want to keep to openxcom/xcom1 (or openxcom/xcom2)

When done your tree should represent something like (most important are the "UFO"  and "TFTD" folders):
Code: [Select]
$ tree -d .
.
├── common
│   ├── Language
<<<snip>>>
│   └── SoldierName
├── mods
│   └── Final Mod Pack
├── standard
│   ├── Aliens_Pick_Up_Weapons
<<<snip>>>
│   ├── xcom1
│   │   ├── Language
<<<snip>>>
│   │   └── ROUTES
│   ├── xcom2
│   │   ├── Language
<<<snip>>>
│   │   └── ROUTES
│   ├── XCOM_Damage
<<<snip>>>
│   └── XcomUtil_Triton_Weapon_Slot
├── TFTD
│   ├── ANIMS
│   ├── FLOP_INT
│   ├── GEODATA
│   ├── GEOGRAPH
│   ├── MAPS
│   ├── ROUTES
│   ├── SOUND
│   ├── TERRAIN
│   ├── UFOGRAPH
│   └── UNITS
├── UFO
│   ├── GEODATA
│   ├── GEOGRAPH
│   ├── MAPS
│   ├── ROUTES
│   ├── SOUND
│   ├── TERRAIN
│   ├── UFOGRAPH
│   ├── UFOINTRO
│   └── UNITS
├── xcom1
└── xcom2

Good luck

Offline judasdisciple

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: OpenXCom Installation
« Reply #4 on: December 28, 2020, 01:20:04 pm »
Thank you very much that seemed to work wonderfully.