aliens

Author Topic: OpenXcom Extended and Steam  (Read 14196 times)

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 220
    • View Profile
OpenXcom Extended and Steam
« on: October 13, 2018, 01:08:40 pm »
How to play with OpenXcom Extended and count the playtime in Steam?

- Buy the game in steam and install: https://store.steampowered.com/app/7760
- Download the OpenXcom Extended: https://openxcom.org/forum/index.php/topic,5258.0.html
- Go to the "..\Steam\steamapps\common\XCom UFO Defense" folder and extract here the zip file (overwrite files, if needed!)
- Rename the "OpenXcomEx.exe" to "dosbox.exe" (overwrite it!)
- Go to steam and start the game, or use the game shortcut (steam) in Desktop.

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #1 on: August 18, 2021, 08:39:27 pm »
I tried.
I get the following errors in the log when I start the game:
[17-08-2021_22-32-45]   [ERROR]   FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[17-08-2021_22-32-45]   [ERROR]   FileMap::mapExtResources(xcom1, UFO): external resources not found.
[17-08-2021_22-32-45]   [ERROR]   no mod masters available
[17-08-2021_22-32-45]   [ERROR]   No X-COM installations found

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 220
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #2 on: August 18, 2021, 08:52:38 pm »
I try too, and its work for me.

Download from here, the last version:
https://openxcom.org/forum/index.php/topic,5258.0.html

overwrite all files, and rename to dosbox.exe and start the dosbox.exe, not from the steam (steam just run in background)

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #3 on: August 18, 2021, 10:43:07 pm »
I try too, and its work for me.

Download from here, the last version:
https://openxcom.org/forum/index.php/topic,5258.0.html

overwrite all files, and rename to dosbox.exe and start the dosbox.exe, not from the steam (steam just run in background)

Does not work. I attached the screenshot of what I get when I launch the game.

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 220
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #4 on: August 18, 2021, 10:59:01 pm »
I try again, but its work for me. uninstall the game, and try clearly. And start from steam, and its counting the gametime.

My steam is hungarian, but i think you need to see same things. Choose the upper option and start.

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #5 on: August 18, 2021, 11:16:23 pm »
Quote
overwrite all files, and rename to dosbox.exe and start the dosbox.exe, not from the steam (steam just run in background)
You told me to start the dosbox.exe not from Steam and now you're telling me to do the opposite.
This simply cannot work, because in order to run OpenXcomEx.exe you need to do the opposite. You have to copy the contents of the UFO folder for X-COM:UFO Defense and the contents from the TFD folder for X-COM: Terror From The Deep into the corresponding folders inside the zip file. Only then you can run the game, but not from Steam.
I also tried adding the game as a non-Steam game and it works, but without overlay, without an ability to take screenshots and time tracking.
« Last Edit: August 18, 2021, 11:22:58 pm by JConstantine »

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 220
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #6 on: August 18, 2021, 11:31:09 pm »
Ah sry my english is bad.. so, i dont know what is the problem, because i try the last openxcom extended version, and its work for me. Just rename the OpenXcomEx.exe to dosbox.exe run from steam as i show in screenshot and its work for me.

Did you unzip and overwrite all file? Not just the openxcomex.exe?

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #7 on: August 18, 2021, 11:41:25 pm »
Problem here is that Biggieboy probably had a working version of OXC(E) before using the procedure of adding it to steam.

The error JConstantine is getting tells me that OXCE cannot find the required datafiles, OXC(E) expects them to be in some specific folder somewhere in it's search path.

For UFO
-----------
* Go to the steam library and right click on "X-COM: UFO Defense" .
* Choose "Manage" -> Browse local files (see attached screenshot)
* This opens windows explorer
  - Select the folder called "XCOM" and copy it
* Open another explorer (or use the same one) and navigate to "C:/Users/JC/Documents/OpenXcom"
  - Paste the folder there
  - Rename "XCOM" to "UFO"

For TFTD
-------------
* Go to the steam library and right click on "XCOM: Terror from the deep".
* Choose "Manage" -> Browse local files (see attached screenshot)
* This opens windows explorer
  - Select the folder called "TFD" and copy it
* Open another explorer (or use the same one) and navigate to "C:/Users/JC/Documents/OpenXcom"
  - Paste the folder there
  - Rename "TFD" to "TFTD"

This should provide you with a working installation.
Please note: At least one of the above procedures is needed, both are provided in case you own both so you can chose which one you play.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9124
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #8 on: August 18, 2021, 11:42:37 pm »
the issue is the location of the original files

it works for biggieboy because he already copied those files and didn't mention it (or likely doesn't even remember that he did it)

Steam has the original files in a folder called "XCOM", whereas openxcom needs them in a folder called "UFO".... so copy everything from "XCOM" into "UFO" and it will work...

...ninjad by R1dO, oh well, I'll post anyway
(btw. R1dO suggests to copy them to %Documents%/OpenXcom/UFO which will also work... both locations are valid for openxcom, mine and R1dO's)
« Last Edit: August 18, 2021, 11:45:37 pm by Meridian »

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #9 on: August 18, 2021, 11:56:34 pm »
The game works indeed, but still no Steam overlay and I can't take screenshots.
When I was playing the vanilla OpenXCom many years ago I added it as a non-Steam game and somehow was able to use the overlay and take screenshots (still have them...1117 of them...don't ask :D)

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #10 on: August 19, 2021, 12:20:22 am »
Try the suggestion from the following post: https://openxcom.org/forum/index.php/topic,1609.msg14852.html#msg14852

The mentioned options are found in the "options" section of OXCE, see attached screenshot.
If i am correct any openGL filter has an asterisk (*) behind it's name.

-- edit ---
Just noticed screenclip did not capture selected filter. I would suggest "Raw*" for vanilla experience.
« Last Edit: August 19, 2021, 12:23:49 am by R1dO »

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #11 on: August 19, 2021, 12:23:48 am »
Yes! I have finally fixed it!
Here is the solution:
To get the Steam overlay working, just enable an OpenGL Display Filter in the game options (Raw or Pixellate are good if you don't want any visual changes).
Wow! It was actually posted by SupSuper in the Discussions for the X-COM: UFO Defense on Steam:
 

Offline JConstantine

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: OpenXcom Extended and Steam
« Reply #12 on: August 19, 2021, 12:24:53 am »
ninjad by R1dO as well :D :D :D
Thank you guys for your time!
OpenXcom has the best community ever!