aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Golden Sectivin

Pages: [1]
1
OXCE Support / [Solved] OXCE+ and Area 51 mod ( macOS only )
« on: February 01, 2018, 11:15:14 pm »
I'm really loving OXCE+ !    However, I love Area 51 too, but I'm having problems making both play nice together:

Some of the A51 sprites are horribly corrupted.  As best I can tell, they are proper pngs/gifs, that appear fine in Preview in the OS. But in-game, they show up as jagged scrambles.  Not all of them, but military-base soldiers, or easiest to check is the smoke grenade in inventory/on-hand.

I'm using a manually compiled OXCE+ on macOS.  I confirmed a manually built standard OpenXCOM build is fine, displays sprites fine.

Any ideas?


2
Programming / Re: Building on macOS
« on: January 24, 2018, 07:52:16 pm »
Here's something I wanted to try for a few weeks now, but didn't get to it yet...

I have the OpenXcom macOS project building in both Debug and Release (without cmake), and seems to be fine. I've even toyed around with making some "improvements" (having statstrings in names in the transfer summary screen, changing RNG to use xoroshiro128+, etc).

Since it looks like it's just you two supporting macOS in a time-limited fashion, I would be happy to help if you'd like.


3
Programming / Building on macOS
« on: January 20, 2018, 07:31:30 pm »

Hi All!,

I'm interested in building on, and potentially helping with, the macOS part of OpenXcom.  Are there any macOS devs active?

I had a real pain of a time trying to build OpenXcom.

From the macOS readme, it appears that "luciderous" is no longer on github, and rcreasey's fork of OpenXcom hasn't been modified for two years.

As-is you cannot build on a relatively recent macOS.  I had to do the following on my working copy:

( Install SDL, linking to the individual libs -- I think we should have the SDL2.framework included so that this step isn't needed. )

( Install yaml via MacPorts -- the example command appears to no longer be valid syntax, you have to separate each package fetch into its own command due to the +universal variant.  Otherwise MacPorts complains that yaml-cpp+universal doesn't exist. )

Open the Xcode project, update to recommended settings since the project file is so old.

   ifdef main() to remove, on macOS, const from arg ( SDL on Mac issue )
   
   comment out impl of
      - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename

   Select “OpenXcom” (target) in project navigator,

      Add SDL2.Framework to build phases, link

      Build Settings -> Header Search Paths:
               + “/Library/Frameworks/SDL2.Framework/Headers/“

      Build Settings -> Apple LLVN <vers> - Language - Modules
               Enable Modules (C and Obj-C) == NO


Thanks!


Pages: [1]