Author Topic: OXCE v7.12 MacOS  (Read 54047 times)

Offline Yankes

  • Commander
  • *****
  • Posts: 3240
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #75 on: October 04, 2023, 04:31:02 pm »
You probably need install cmake in Brew first

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #76 on: October 04, 2023, 04:50:34 pm »
I try, there are now 5 minutes it is so with very high cpu...


bfbf22cd:build FOX$ brew install cmake
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################ 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################ 100.0%
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching cmake
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/b62800d3fde4834850a948302f
############################################################################################ 100.0%
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.27.6/cmake-3.27.6.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/5
############################################################################################ 100.0%
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.

==> ./bootstrap --prefix=/usr/local/Cellar/cmake/3.27.6 --no-system-libs --parallel=4 --datadir=/sh
==> make


EDIT: I try to stop, install new version of Command Tool and launch again, it says:

bfbf22cd:build FOX$ sudo rm -rf /Library/Developer/CommandLineTools
Password:
bfbf22cd:build FOX$ brew install cmake
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching cmake
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/d48cb0cc95783e90114afc8ad1cad9e7dda13162/Formula/c/cmake.rb
Already downloaded: /Users/FOX/Library/Caches/Homebrew/downloads/eb53b7f9fab0a2d81d34dbd51ecbdcda088c07687e18e4951d8b1d5a2e5a881d--cmake.rb
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.27.6/cmake-3.27.6.tar.gz
Already downloaded: /Users/FOX/Library/Caches/Homebrew/downloads/730c807bb9690fedd07398f21a061babd6879fc6eb850121f925403675f2ec72--cmake-3.27.6.tar.gz
Error: The following formula cannot be installed from bottle and must be
built from source.
  cmake
Install the Command Line Tools for Xcode 11.3.1 from:
  https://developer.apple.com/download/all/

I try but I don't have a developer account

Unistalled brew

Please can somebody attach a copy of the .dmg for the 7.9.14 :-) ?
« Last Edit: October 04, 2023, 05:04:11 pm by Fox Mulder »

Offline Yankes

  • Commander
  • *****
  • Posts: 3240
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #77 on: October 05, 2023, 12:38:53 am »
I try but I don't have a developer account
and is core of problem, and add incompatibilities between versions make creating programs for OSX pain in ass.
Some times probably would be easier to run Wine under OSX (I recall it is available there too) and run windows exe as workaround.

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #78 on: October 05, 2023, 09:17:29 am »
Some times probably would be easier to run Wine under OSX (I recall it is available there too) and run windows exe as workaround.

Maybe, I tried already with the porting kit that contains wine and that I use for other windows games not made for Mac, but it is 1,31gb against 42mb. I would rather prefer the native MacOs version, that is smaller and much faster than that. I'll wait for somebody posting the Macos version here, in the meantime I'll try again to create it
Regards

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #79 on: October 24, 2023, 02:05:31 pm »
Please can somebody attach a copy of the .dmg for the 7.9.14 :-) ?

This copy from past page? https://openxcom.org/forum/index.php?topic=6596.msg157984#msg157984

It's OK to compile brew tools for some hours.

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.9.8 MacOS
« Reply #80 on: October 24, 2023, 02:58:42 pm »
« Last Edit: October 24, 2023, 03:01:21 pm by Fox Mulder »

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
version 7.9.20
« Reply #81 on: December 06, 2023, 01:02:39 am »
- Lots of cool stuff
Know more https://github.com/MeridianOXC/OpenXcom/commits/oxce-plus

Note: sign app in Terminal
sudo xattr -cr /Applications/openxcom.app
codesign --force --deep --sign - /Applications/openxcom.app

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
version 7.9.24 \ 7.10
« Reply #82 on: December 16, 2023, 01:19:22 pm »
- now Mojave build fixed and available
- some cool stuff
Know more https://github.com/MeridianOXC/OpenXcom/commits/oxce-plus

Note: sign app in Terminal
sudo xattr -cr /Applications/openxcom.app
codesign --force --deep --sign - /Applications/openxcom.app
« Last Edit: December 16, 2023, 06:33:59 pm by craiz »

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #83 on: December 20, 2023, 09:10:29 am »
Thank You, Craiz!

Offline SPGremlin

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #84 on: December 27, 2023, 06:45:05 am »
Thanks, craiz!

I'm using your builds and also stumbled upon the black screen issue. OS Monterrey 12.6.5 (Intel CPU).   

I've localized the issue with the Universal Patch... Basically:

1. Unpack your latest build (openXcom_7.9.24_intel_Mojave+.zip), sign;
Copy UFO folders from the GOG game archive (for which I had to use another Windows machine to install their exe and make it a zip)
-> works.

2. Copying (replacing) the data contents from the Universal UFO Patch (openxcom.org .. download .. extras .. universal-patch-ufo.zip)
-> black screen when starting.

Any suggestions?

Thanks!

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #85 on: January 01, 2024, 02:00:48 pm »
You are welcome!

2. Copying (replacing) the data contents from the Universal UFO Patch (openxcom.org .. download .. extras .. universal-patch-ufo.zip)
-> black screen when starting.

2. Do not replace game folders on Mac systems: Patch folders contain fewer files.
Try to overwrite only files in UFO folders (folder-by-folder, manually).
« Last Edit: January 01, 2024, 02:05:20 pm by craiz »

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #86 on: January 01, 2024, 02:51:19 pm »
First of all, happy New Year to everybody!
craiz, when and if possible, would You post the 7.10 for intel monterey?
thank you

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
OXCE v7.10.2
« Reply #87 on: January 01, 2024, 04:38:18 pm »
Happy New Year!

craiz, when and if possible, would You post the 7.10 for intel monterey?

- lots of cool stuff
- updated third-party libs
Know more https://github.com/MeridianOXC/OpenXcom/commits/oxce-plus

Note: sign app in Terminal
sudo xattr -cr /Applications/openxcom.app
codesign --force --deep --sign - /Applications/openxcom.app

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #88 on: January 03, 2024, 01:03:50 pm »
craiz, thank You!

Online craiz

  • Sergeant
  • **
  • Posts: 18
    • View Profile
OXCE v7.10.5 MacOS
« Reply #89 on: January 05, 2024, 06:51:09 pm »
Happy New Year returns

- all your base are belong to us
- some technical fixes
Know more https://github.com/MeridianOXC/OpenXcom/commits/oxce-plus

Note: sign app in Terminal
sudo xattr -cr /Applications/openxcom.app
codesign --force --deep --sign - /Applications/openxcom.app