Skip to content

Instantly share code, notes, and snippets.

@akofink
Last active October 2, 2020 21:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akofink/73f7a75bbf65475a58a1e3e502a7cfb8 to your computer and use it in GitHub Desktop.
Save akofink/73f7a75bbf65475a58a1e3e502a7cfb8 to your computer and use it in GitHub Desktop.

Install Jalopy on Linux

Note: it appears that this method will work for any unity game. You only have to change the unity player version to match the game. This information can be found in the game data under <game>_Data/mainData. This is a binary file, but the unity version (i.e. 4.5.3f3) is plaintext.

main inspiration

Prerequisite

Instructions

# Force Steam to download the windows only game; Jalopy steam ID is 446020 (https://steamdb.info/app/446020/)
./steamcmd.sh +@sSteamCmdForcePlatformType windows +login <steam login> +app_update 446020 validate +quit

# Get the unity version 4.5.3f3 player (i.e. build a blank project in unity)
# I've already built the player. You can download it here: https://drive.google.com/open?id=0B7U31qho8NZhUGJZSlhOWVA2QWM

# Untar the project
tar xvf 4.5.3f3.tar.gz
cd 4.5.3f3
export UNITY_PATH=`pwd`
export ARCH=`uname -m`

# Change directories to the Jalopy game directory
cd ~/.local/share/Steam/steamapps/common/Jalopy

# Copy the player executable to Jalopy
cp $UNITY_PATH/player.$ARCH Jalopy.$ARCH

# Replace Jalopy_Data/Mono with player_Data/Mono
cp -r $UNITY_PATH/player_Data/Mono Jalopy_Data/

# Delete all plugins from Jalopy_Data/Plugins
rm -rf Jalopy_Data/Plugins/*

# Replace plugins with those from unity player
cd Jalopy_Data/Plugins
cp -r $UNITY_PATH/player_Data/Plugins/* ./

# Add SteamworksNET plugins from github (https://github.com/rlabrecque/Steamworks.NET)
cd $ARCH
wget  "https://github.com/rlabrecque/Steamworks.NET/blob/master/Plugins/${ARCH}/libCSteamworks.so?raw=true" -O libCSteamworks.so
wget  "https://github.com/rlabrecque/Steamworks.NET/blob/master/Plugins/${ARCH}/libsteam_api.so?raw=true" -O libsteam_api.so

Done!

# To run
cd ~/.local/share/Steam/steamapps/common/Jalopy
./Jalopy.$ARCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment