2025-03-10

Keen on M1

Recently I came across Commander Genius, which [..] let's just say is a way to play Commander Keen on modern machines.

Since I am on ARM64 Darwin, a bit of tweaking needs to be done to run this x86_64 solftware. Here my notes:

 

  • You need Rosetta installed
  • You need to install openssl for x86_64. To not conflict with Homebrew for arm64, install it in a separate directory.

Open a x86_64 shell: 

> arch -x86_64 zsh

Install homebrew in a different directory (I use /Volumes/1TBSSD/opt/homebrew-x86_64, choose what fits your need)

> mkdir /Volumes/1TBSSD/opt/homebrew-x86_64
> curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C/Volumes/1TBSSD/opt/homebrew-x86_64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3812k  100 3812k    0     0  3721k      0  0:00:01  0:00:01 --:--:-- 9451k
> export PATH="/Volumes/1TBSSD/opt/homebrew-x86_64/bin:$PATH"
> which brew
/Volumes/1TBSSD/opt/homebrew-x86_64/bin/brew
> brew install openssl@3

  • change line 3 of the install script as below

DYLD_LIBRARY_PATH=/Volumes/1TBSSD/opt/homebrew-x86_64/lib:$DYLD_LIBRARY_PATH ./CGeniusExe

That is it.

No comments:

Post a Comment