aliens

Author Topic: OXCE v7.15 MacOS  (Read 70331 times)

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 33
    • View Profile
Re: OXCE v7.10 MacOS
« Reply #90 on: January 06, 2024, 11:46:10 am »
First, craig, thanks again
Second, I would like to report that this version (7.10.5) lets me load also old saved games, previous versions didn't let me doing that. Thanks to all for your work!
« Last Edit: January 06, 2024, 11:47:50 am by Fox Mulder »

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
Re: OXCE v7.11 MacOS
« Reply #91 on: January 09, 2024, 03:44:52 pm »
First, craig, thanks again

You are welcome!
« Last Edit: January 09, 2024, 03:46:27 pm by craiz »

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
OXCE v7.11 MacOS
« Reply #92 on: January 09, 2024, 03:45:27 pm »
Great thanks to Meridian and every contributor!

Congratulations with cool v7.11

- added UFO and TFTD data patches
- some 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
« Last Edit: January 09, 2024, 04:09:24 pm by craiz »

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
Re: OXCE v7.11 MacOS
« Reply #93 on: January 09, 2024, 04:05:22 pm »
Some about X-Com X-files

Maybe anyone want to play cool mod for X-Com?

About
Wiki
Release v3.2

Unzip into Contents/Resources/user/mods/ (create dirs manually)
Switch mod in mainscreen Mods
« Last Edit: January 09, 2024, 08:33:34 pm by craiz »

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
OXCE v7.11.2 MacOS
« Reply #94 on: January 20, 2024, 09:41:07 pm »
- new abilities
- 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

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
OXCE v7.11.8 MacOS
« Reply #95 on: February 18, 2024, 02:24:17 am »
- new cool abilities & Smart Equip Mode
- 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

P.S. In 2024 we have some build problems: sdl_image and sdl_mixer have been deleted from brew. Be careful, have fun!
« Last Edit: February 18, 2024, 02:30:57 pm by craiz »

Offline ii8

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: OXCE v7.11.8 MacOS
« Reply #96 on: March 08, 2024, 10:54:44 pm »
- new cool abilities & Smart Equip Mode
- 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

P.S. In 2024 we have some build problems: sdl_image and sdl_mixer have been deleted from brew. Be careful, have fun!

Thank you so much!

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
Re: OXCE v7.12.1
« Reply #97 on: March 14, 2024, 09:52:11 pm »
- lots of improvements
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

Macs on ARM64: agree Rosetta 2 notification for Intel apps.
Native ARM64 builds: sometime in future, when I'll buy Parallels 19.
« Last Edit: March 15, 2024, 09:19:35 pm by craiz »

Offline Fox Mulder

  • Sergeant
  • **
  • Posts: 33
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #98 on: March 16, 2024, 06:50:16 pm »
Thank You craiz!!

Offline craiz

  • Sergeant
  • **
  • Posts: 26
    • View Profile
OXCE v7.12.8
« Reply #99 on: June 10, 2024, 01:34:48 am »
- lots of improvements
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 ska

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #100 on: July 21, 2024, 07:47:21 pm »
Hi Craiz!

First of all as a newbie here, thx very much for your service.
TFTD was our go-to-game through our teen years, very happy to see this whole community and its work.

I am on a MBP m1, having the latest parallels and at least homebrew installed – but this is where my knowledge of compiling stuff ends and usually old games go into the alpha of boxer or the win-vm itself :)

So if I can be of any help in regards of making a native m1 build of the latest OXCE please advise how and I can do it – at least some help I can offer.

many thx,
cheers,
Markus

Offline ska

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #101 on: July 21, 2024, 10:39:03 pm »
Update: I tried to do some magic, but despite hours on stackflow, in Xcode and terminal I didn't get a build to succeed, as homebrew is a bit of a struggle cause

"sdl_mixer has been disabled because it is deprecated upstream!"
"sdl_image has been disabled because it is deprecated upstream!"

tried w the newer sdl2_image and mixer and modify "CMakeLists.txt" accordingly, but then "fatal error: "SDL2_mixer.h' file not found", which makes probably sense that it won't be that easy :D

// also tried to "hack" myself into -> https://www.studyplan.dev/sdl-dev/sdl-setup-mac but no success
« Last Edit: July 21, 2024, 11:47:52 pm by ska »

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3346
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #102 on: July 22, 2024, 02:49:36 am »
For now MacOS is broken because Brew kill couple of libs that OXC used, but for some time it should be still possible to hack it and reelable it.
Best look for stack overflow ablaut re enabling Brew packages that was disabled

Offline ska

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #103 on: July 23, 2024, 08:55:23 pm »
Couldn't find anything quickly, so I tried to revamp w SDL2, but it didnt go well :D

Initially I only wanted to help out w a MAC and Parallels, but now I got interested.

Anyways, will look into a bit, maybe I can hardcopy it into homebrew again.

looking forward to the exchange

Offline Spicks

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Re: OXCE v7.12 MacOS
« Reply #104 on: July 23, 2024, 10:15:39 pm »
Hi Ska,

I compiled OXCE yesterday successfully on a MacBook M3. I had to edit the Homebrew formula for sdl_image and sdl_mixer to reenable it. See stackoverflow for that. You can install sdl_image and sdl_mixer after the edit. Instead of sdl I used the sdl12-compat formula. (I left out all the parameters like --with-static-lib in the brew install example for the dependencies, as they aren't accepted by homebrew)

Before that I also tried to change the cmake dependency from sdl_mixer to sdl2_mixer which doesn't work.

I then used the cmake way to compile the code. The resulting openxcom.app is missing the sdl2.dylib used for the sdl12-compat library. I copied that from an existing OXCE build and it runs without any flaws so far.

The binary is an Intel binary. I tried to get an arm64 native binary with -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 and editing the CMakeLists to add set(CMAKE_OSX_ARCHITECTURES "arm64"). The latter is accepted by cmake but it misses stuff resulting in " ld: symbol(s) not found for architecture arm64".

Any docs or hints on how to compile natively are greatly appreciated.