Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TAXINAUT

An open-world taxi sim/rpg in space. · By mosgrom

Script to run on Mac OSX

A topic by mysteriousmollusc created 28 days ago Views: 58 Replies: 2
Viewing posts 1 to 2

Someone online was asking how to get this running on a Mac. Here is a simple script, save it as run_taxinaut.sh in your Taxinaut directory, then run "sh run_taxinaut.sh".


#!/bin/sh

# Taxinaut is a wonderful game, but it doesn't officially support mac.

# Run this script to launch Taxinaut properly on macOS.

# Always run from the directory where this script lives

cd "$(dirname "$0")"

TOKEN_FILE=".taxinaut_mac_approved"

# If token file does not exist, remove quarantine attributes

if [ ! -f "$TOKEN_FILE" ]; then

    echo "First-time setup: approving Taxinaut for macOS..."

    

    # Remove quarantine flag recursively from this directory

    xattr -dr com.apple.quarantine . 2>/dev/null

    

    # Create token file so we don't repeat this

    touch "$TOKEN_FILE"

    

    echo "Approval complete."

fi

# Launch Taxinaut

java -Xmx2000M -Xms2000M -XX:+UseParallelGC \

  -cp "taxinaut.jar:lib/*:mod/mod/*" \

  net.mosgrom.taxi.Taxi "$@"

Hey mysteriousmollusc!

That is cool!

I might include this script in the regular release if that's alright with you. I'll call it "taximac_java.s" inline with the naming of the other scripts for linux and windows.

I know nothing about MacOS does this work on all reasonably modern Macs?

Thanks for this!

mosgrom

My guess is that this should work fine for any Mac from the last 10 years. The only thing that is really Mac-ish about it is that it automatically removes the macOS Gatekeeper protection; otherwise, I think it is exactly like the Linux version. Feel free to share! Thanks for the fun game!