Friday Facts #371 - Apple Silicon

Regular reports on Factorio development.
User avatar
FactorioBot
Factorio Staff
Factorio Staff
Posts: 423
Joined: Tue May 12, 2015 1:48 pm

Friday Facts #371 - Apple Silicon

Post by FactorioBot »

User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1114
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by brunzenstein »

I'm now running Factorio on a MacBook Air M2 24 GB under Ventura 13.0.1 thanks to your adaptation now smoothly in silicon wrapping-
thank you for your effort to make this possible.
Actually I bought the MBAir not the least to run Factorio smoothly :-)
Wuck
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Sep 13, 2022 3:25 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Wuck »

Is there a chance to get the same for the Surface pro x (arm64)? That would be soooooo nice
brainfart21
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Mar 06, 2019 7:51 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by brainfart21 »

So... Now that Factorio runs on ARM I can have headless Factorio running on an ARM server?
User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by SHiRKiT »

Glad to see small FFF updates like this! :D
User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1621
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by jodokus31 »

Stupid question maybe (Mac newb), can you have multiple standalone installations on mac?
There is a dmg file, which lets you install factorio the usual way, but is the a zip version for mac?
User avatar
thereaverofdarkness
Filter Inserter
Filter Inserter
Posts: 558
Joined: Wed Jun 01, 2016 5:07 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by thereaverofdarkness »

Now compare these Macs with PC! :mrgreen:
Akronymus
Inserter
Inserter
Posts: 22
Joined: Sun Sep 07, 2014 7:33 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Akronymus »

Why was the porting considered so confidental?
bombcar
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Jan 28, 2020 8:31 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by bombcar »

Chris4197 wrote: Fri Nov 25, 2022 1:56 pm Why was the porting considered so confidental?
They didn’t want to accidentally leak any hints about Nintendo. Just seeing ARM probably wouldn’t have but seeing some of the changes made to ARM might.
Akronymus
Inserter
Inserter
Posts: 22
Joined: Sun Sep 07, 2014 7:33 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Akronymus »

bombcar wrote: Fri Nov 25, 2022 2:00 pm
Chris4197 wrote: Fri Nov 25, 2022 1:56 pm Why was the porting considered so confidental?
They didn’t want to accidentally leak any hints about Nintendo. Just seeing ARM probably wouldn’t have but seeing some of the changes made to ARM might.
Ooooh, it seems I misread that part then. Thanks for clarifying.
StrangePan
Factorio Staff
Factorio Staff
Posts: 124
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by StrangePan »

jodokus31 wrote: Fri Nov 25, 2022 12:40 pm Stupid question maybe (Mac newb), can you have multiple standalone installations on mac?
There is a dmg file, which lets you install factorio the usual way, but is the a zip version for mac?
You can place the factorio.app package contained in the DMG anywhere you want on your computer, and you can give it any name you want; you don't have to place it in the Applications directory, and it doesn't need to be named "factorio.app". You could have multiple Factorio installations by downloading the DMGs for each version you want and copying them into different directories, or by simply giving them different names and putting them in the same directory.
StrangePan
Factorio Staff
Factorio Staff
Posts: 124
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by StrangePan »

brunzenstein wrote: Fri Nov 25, 2022 11:58 am I'm now running Factorio on a MacBook Air M2 24 GB under Ventura 13.0.1 thanks to your adaptation now smoothly in silicon wrapping-
thank you for your effort to make this possible.
Actually I bought the MBAir not the least to run Factorio smoothly :-)
You're welcome! How well does a MacBook Air run Factorio? I haven't had the opportunity to use one of those yet.
StrangePan
Factorio Staff
Factorio Staff
Posts: 124
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by StrangePan »

brainfart21 wrote: Fri Nov 25, 2022 12:23 pm So... Now that Factorio runs on ARM I can have headless Factorio running on an ARM server?
If it's an Apple Silicon Mac server, then yeah!

I don't think we're preparing ARM binaries for Linux or Windows machines right now. Maybe one day it'll happen, but right now, everyone's pretty focused on the expansion.
McRib
Inserter
Inserter
Posts: 40
Joined: Mon Apr 20, 2015 6:12 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by McRib »

finally a another Friday Fact... i missed them so much! Thx for sharing this insides with us.
User avatar
Stargateur
Fast Inserter
Fast Inserter
Posts: 158
Joined: Sat Oct 05, 2019 6:17 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Stargateur »

StrangePan wrote: Fri Nov 25, 2022 2:14 pm everyone's pretty focused on the expansion.
As someone that really really want a factorio server on my rasberry Pi 4 I say:

Last edited by Stargateur on Fri Nov 25, 2022 2:24 pm, edited 1 time in total.
LordBlackwood
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jun 04, 2020 9:45 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by LordBlackwood »

StrangePan wrote: Fri Nov 25, 2022 2:05 pm
jodokus31 wrote: Fri Nov 25, 2022 12:40 pm Stupid question maybe (Mac newb), can you have multiple standalone installations on mac?
There is a dmg file, which lets you install factorio the usual way, but is the a zip version for mac?
You can place the factorio.app package contained in the DMG anywhere you want on your computer, and you can give it any name you want; you don't have to place it in the Applications directory, and it doesn't need to be named "factorio.app". You could have multiple Factorio installations by downloading the DMGs for each version you want and copying them into different directories, or by simply giving them different names and putting them in the same directory.

In this scenario, the separate instances would still end up using a single, shared user data directory, right? (~/Library/Application Support/factorio, presumably.)

AFAIK there is no easy way to have separate installations (with separate user data directories) that doesn't involve manually replacing the contents of the user data directory when switching version.
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Bilka »

LordBlackwood wrote: Fri Nov 25, 2022 2:20 pm In this scenario, the separate instances would still end up using a single, shared user data directory, right? (~/Library/Application Support/factorio, presumably.)

AFAIK there is no easy way to have separate installations (with separate user data directories) that doesn't involve manually replacing the contents of the user data directory when switching version.
You can have separate user data directories, see https://wiki.factorio.com/Application_directory#macOS for instructions.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1621
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by jodokus31 »

StrangePan wrote: Fri Nov 25, 2022 2:05 pm
jodokus31 wrote: Fri Nov 25, 2022 12:40 pm Stupid question maybe (Mac newb), can you have multiple standalone installations on mac?
There is a dmg file, which lets you install factorio the usual way, but is the a zip version for mac?
You can place the factorio.app package contained in the DMG anywhere you want on your computer, and you can give it any name you want; you don't have to place it in the Applications directory, and it doesn't need to be named "factorio.app". You could have multiple Factorio installations by downloading the DMGs for each version you want and copying them into different directories, or by simply giving them different names and putting them in the same directory.
Great, thank you.
Bilka wrote: Fri Nov 25, 2022 2:23 pm
LordBlackwood wrote: Fri Nov 25, 2022 2:20 pm In this scenario, the separate instances would still end up using a single, shared user data directory, right? (~/Library/Application Support/factorio, presumably.)

AFAIK there is no easy way to have separate installations (with separate user data directories) that doesn't involve manually replacing the contents of the user data directory when switching version.
You can have separate user data directories, see https://wiki.factorio.com/Application_directory#macOS for instructions.
Thanks, good point.
So, I can create several totally independent installations for each modpack.

Would not want to miss that, esp. for retaining the replay
Redpossum
Inserter
Inserter
Posts: 31
Joined: Sun Oct 11, 2020 2:27 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Redpossum »

Very nice, thanks for sharing.

Personally, I haven't touched a Mac since the early 90's, and have no desire to do so ever again, but I'm happy for you.

The factory must grow.
Spectere
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Nov 25, 2022 3:56 pm
Contact:

Re: Friday Facts #371 - Apple Silicon

Post by Spectere »

thereaverofdarkness wrote: Fri Nov 25, 2022 1:53 pm Now compare these Macs with PC! :mrgreen:
It compares pretty favorably, given the M1's strong single-core performance (though I imagine the latest gen AMD/Intel parts would do quite well, albeit with greater power consumption):

Code: Select all

Lenovo ThinkPad T15 Gen 2, i7-1165G7, Arch Linux (KDE Plasma): Map benchmarked at 124.538 UPS

Ryzen 5900X, Windows 11 x64: Map benchmarked at 150 UPS

2021 MacBook Pro 16", M1 Pro, macOS Ventura: Map benchmarked at 160.57 UPS
I got these results using the flame_Sla 10k map. Both laptops were plugged in during testing.

Kind of odd that my M1 Pro ended up getting results closer to the normal M1 or x86_64 results (per the blog post), considering the primary difference between the M1 Pro and M1 Max is the GPU.
Post Reply

Return to “News”