Author Topic: Mac tips?  (Read 5677 times)

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Mac tips?
« on: April 21, 2016, 10:28:16 am »
Hi! I got hooked on my PC at home, but when I travel I'm on Mac. Any way to get this running in OS X? <3

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #1 on: April 22, 2016, 10:53:34 pm »
FYI, trying to get it working with Wine. Base OpenXCOM works fine, but when I activate the mod, it won't load. No hints in the log...I think.

Code: [Select]
[22-04-2016 15:46:14] [INFO] Data folder is:
[22-04-2016 15:46:14] [INFO] Data search is:
[22-04-2016 15:46:14] [INFO] - C:\users\bradfordstephens\My Documents\OpenXcom\
[22-04-2016 15:46:14] [INFO] - Z:\Users\bradfordstephens\Dropbox\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez
[22-04-2016 15:46:14] [INFO] - Z:\Users\bradfordstephens\Dropbox\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez
[22-04-2016 15:46:14] [INFO] User folder is: Z:\Users\bradfordstephens\Dropbox\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez\user\
[22-04-2016 15:46:14] [INFO] Config folder is: Z:\Users\bradfordstephens\Dropbox\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez\user\
[22-04-2016 15:46:14] [INFO] Options loaded successfully.
[22-04-2016 15:46:14] [INFO] Scanning standard mods in 'standard'...
[22-04-2016 15:46:14] [INFO] Scanning user mods in 'Z:\Users\bradfordstephens\Dropbox\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez\user\mods'...
[22-04-2016 15:46:14] [INFO] Mapping resource files...
[22-04-2016 15:46:15] [INFO] Resources files mapped successfully.
[22-04-2016 15:46:15] [INFO] SDL initialized successfully.
[22-04-2016 15:46:16] [INFO] SDL_mixer initialized successfully.
[22-04-2016 15:46:16] [INFO] Attempting to set display to 640x480x8...
[22-04-2016 15:46:16] [INFO] Display set to 640x480x8.
[22-04-2016 15:46:16] [INFO] Loading data...
« Last Edit: April 22, 2016, 10:56:31 pm by lusciouspear »

Offline Yankes

  • Commander
  • *****
  • Posts: 3206
    • View Profile
Re: Mac tips?
« Reply #2 on: April 23, 2016, 12:00:16 am »
Could you describe "won't load" more verbose? What exactly happens then?

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #3 on: April 23, 2016, 12:11:08 am »
Sure. I run OpenXcomExPlus29.exe, and the console makes it as far as "Loading OpenXcom Extended 2.9+...".  This is if Piratez is enabled in the mods. Without it enabled. X-Com opens fine.


Offline Yankes

  • Commander
  • *****
  • Posts: 3206
    • View Profile
Re: Mac tips?
« Reply #4 on: April 23, 2016, 12:31:34 am »
how long you wait? if I recall correctly piratez load lot of longer than normal game because it have lot more content.

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #5 on: April 23, 2016, 12:38:22 am »
Ohhh 10+ minutes?

Offline Yankes

  • Commander
  • *****
  • Posts: 3206
    • View Profile
Re: Mac tips?
« Reply #6 on: April 23, 2016, 12:59:44 am »
then this is too long. could you set in options.cfg `verboseLogging: true` and show log after that?

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #7 on: April 23, 2016, 09:32:49 pm »
Good news -- on a hunch, I installed wine from brew instead of from bins. Everything works! It does take a while to load but a few mins of clicking around seem to be just fine in geoscape and battlescape.

Now my plane ride won't suck.

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #8 on: April 27, 2016, 02:59:29 am »
FYI, I timed the load and it's 4:58. Is that normal? Seems awfully long. It's a new MBP w/ 16G ram. I've attached a log.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Mac tips?
« Reply #9 on: April 27, 2016, 10:20:26 am »
It loads circa 50 secs on my PC (which is almost 6 years old).

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #10 on: April 27, 2016, 09:27:30 pm »
Looks like all the time is spent here:

Code: [Select]
26-04-2016 16:09:40] [VERBOSE] - C:\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez\user\mods/Piratez/Ruleset/Piratez.rul
[26-04-2016 16:13:03] [VERBOSE] - C:\xcom\OpenXcom_XPiratez_0_98C\OpenXcom_XPiratez\user\mods/Piratez/Ruleset/Piratez_Armors.rul


How is the .rul file being processed? Maybe there's some slow/out-of-date lib that wine installs by default?

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: Mac tips?
« Reply #11 on: April 27, 2016, 10:25:45 pm »
This is probably when all the resources that are in the mod are loaded too, of which there a a lot. It is quite possible that wine isn't great at accessing multiple small files.

My laptop takes a while to load everything (and in fact runs out of memory and uses swap, which slows things down even further and also freezes the game once in a while when what it needs is in swap instead of memory), but it is still only ~2 minutes.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Mac tips?
« Reply #12 on: April 27, 2016, 11:10:47 pm »
Yes these 2 files are resposible for loading several thousand resource files.

Offline lusciouspear

  • Sergeant
  • **
  • Posts: 39
    • View Profile
Re: Mac tips?
« Reply #13 on: April 27, 2016, 11:39:48 pm »
Ahhh that makes sense. Thanks.