Difference between revisions of "Installing (OpenXcom)"

From UFOpaedia
Jump to navigation Jump to search
(This wiki could use some fixboxes, similar to PCGamingWiki. This documentation seems a bit messy, everything could be shorter and a bit more to the point.)
Line 16: Line 16:
  
 
* data
 
* data
** GEODATA
+
** '''GEODATA'''
** GEOGRAPH
+
** '''GEOGRAPH'''
 
** Language
 
** Language
** MAPS
+
** '''MAPS'''
 
** Resources
 
** Resources
** ROUTES
+
** '''ROUTES'''
 
** Ruleset
 
** Ruleset
 
** Shaders
 
** Shaders
 
** SoldierName
 
** SoldierName
** SOUND
+
** '''SOUND'''
** TERRAIN
+
** '''TERRAIN'''
** UFOGRAPH
+
** '''UFOGRAPH'''
** UFOINTRO
+
** '''UFOINTRO'''
** UNITS
+
** '''UNITS'''
  
 
and for the nightly it should look like this:
 
and for the nightly it should look like this:
  
* UFO
+
* '''UFO'''
** GEODATA
+
** '''GEODATA'''
** GEOGRAPH
+
** '''GEOGRAPH'''
** MAPS
+
** '''MAPS'''
** ROUTES
+
** '''ROUTES'''
 
** Shaders
 
** Shaders
** SOUND
+
** '''SOUND'''
** TERRAIN
+
** '''TERRAIN'''
** UFOGRAPH
+
** '''UFOGRAPH'''
** UFOINTRO
+
** '''UFOINTRO'''
** UNITS
+
** '''UNITS'''
  
 
If you do this incorrectly, you'll get an error about "X not found".  For more specific instructions, check your platform below.
 
If you do this incorrectly, you'll get an error about "X not found".  For more specific instructions, check your platform below.

Revision as of 17:42, 27 May 2015

OpenXcom requires a vanilla version of the original X-COM resources. This can be any one of:

  • DOS Version 1.4 (you can check if you have the correct version if it contains a "SOUND\GM.CAT" file)
  • Windows Version / Collector's Edition
  • Steam Version (you can find the game folder in "Steam\steamapps\common\xcom ufo defense\XCOM")

Make sure your copy has the latest patch. Do not use modded versions (eg. XcomUtil) as they may cause bugs and crashes.

Instructions

In the instructions below, we refer to three different folders a lot: the "data" folder, the "user" folder, and the "config" folder. See here for directory definitions and where they are located on your operating system.

All platforms

Copy the original resources (specifically the GEODATA, GEOGRAPH, MAPS, ROUTES, SOUND, TERRAIN, UFOGRAPH, UFOINTRO, and UNITS subfolders) to OpenXcom's Data folder for version 1.0 or to the UFO folder in the User folder for the nightly. If using the nightly, you can alternately/additionally copy in Terror From the Deep files to the TFTD folder in your User folder to prepare for when the TFTD OpenXcom ruleset is released. Do not just drag/copy your whole X-COM folder into the Data folder, it won't work. For version 1.0 it should end up like this:

  • data
    • GEODATA
    • GEOGRAPH
    • Language
    • MAPS
    • Resources
    • ROUTES
    • Ruleset
    • Shaders
    • SoldierName
    • SOUND
    • TERRAIN
    • UFOGRAPH
    • UFOINTRO
    • UNITS

and for the nightly it should look like this:

  • UFO
    • GEODATA
    • GEOGRAPH
    • MAPS
    • ROUTES
    • Shaders
    • SOUND
    • TERRAIN
    • UFOGRAPH
    • UFOINTRO
    • UNITS

If you do this incorrectly, you'll get an error about "X not found". For more specific instructions, check your platform below.

Video tutorial

A video tutorial that covers the installation of milestone version 1.0 is available here (courtesy of Ivan Dogovich). Though recorded for the Windows platform, check it out if you have doubts about a particular step during the installation.

A video tutorial for installing the nightly is available here. It also demonstrates how to install The Final Modpack (a popular mod).

Windows

The installer will automatically detect Steam installations, patch the game and copy the original data for you, just follow the instructions.

Mac OS X

Copy the resources to the application's data resource (right click the application > Show Package Contents > Contents > Resources > data) for version 1.0 or the UFO and/or TFTD resources for the nightly.

Unix-like

OpenXcom requires the following libraries:

  • SDL (libsdl1.2)
  • SDL_mixer (libsdl-mixer1.2)
  • SDL_gfx (libsdl-gfx1.2), version 2.0.22 or later
  • SDL_image (libsdl-image1.2)
  • yaml-cpp (libyaml-cpp), version 0.5.1 (0.5.2 an later has issues)

Check your distribution's package manager or the library website on how to install them.

Copy game resources to the appropriate folder locations.

Portable

To make a portable version of OpenXcom, just put all the files in the game folder, with a data (1.0) or UFO (nightly) subfolder for the resources and a user subfolder for your saves and settings (you may need to delete your old User Folder so the game doesn't use it instead).

Log file

In case you experience any problems or errors during the initial game loading/startup, these will be shown and logged in openxcom.log in the User Folder. Make sure you installed everything correctly as instructed, and if you still experience problems, check the forums.