sitespeedcalendar.blogg.se

Build unity game for mac
Build unity game for mac









build unity game for mac
  1. #Build unity game for mac download#
  2. #Build unity game for mac mac#

  • If any Linux Unity Player executable is available, it is possible to put this executable in the same level as GameName.exe and GameName_Data and launch the game from terminal or with -logfile /location/to/file.txt command line parameter to force the game write a log to /location/to/file.txt and inspect the output.
  • Majority of games include level0 file in them, so navigating to the folder and executing this command should print the actual Unity version on the terminal: strings level0 | head -1If nothing is returned, it's a very old Unity engine version, which has the version information towards the end of the file, but for which no Linux support exists anyway. Executing strings command on one of them can help getting the exact version. Inside this folder there should be multiple of files, most of which contain the string for the Unity version.
  • Navigate to the GameName_Data folder of the game to be checked.
  • Probably the easiest way is to use find-engine.py Python script from but it can also be done without it by at least two ways: Secondly, a version of the Unity the game is using needs to be checked. Renaming Linux executables to it will be needed later on. The rest of the files are not needed, as they will be replaced with contents from the Linux Unity player later on. The executable is stored in GameName.app/Contents/MacOS/GameName, but it will not be used. Mv GameName.app/Contents/Resources/UnityPlayerIcon.png GameName_Data/Resources/UnityPlayer.png Mv GameName.app/Contents/Resources/unity\ default\ resources GameName_Data/Resources/unity\ default\ resources Mv GameName.app/Contents/Resources/Data GameName_Data

    build unity game for mac

    #Build unity game for mac mac#

  • For other sources, extract Windows installers with innoextract, 7za or similar tools.įor Windows games, obtained folder structure with GameName.exe and GameName_Data is the same as Linux.įor Mac games, the file structure is different and it is needed to move and rename some files around :.
  • build unity game for mac

    dmg files, mount them with sudo mount -o loop,ro -t hfsplus image.dmg mountpoint.

    #Build unity game for mac download#

  • For itch.io, download and extract a Windows version with 7z x Game.exe.
  • After renaming it to Scripts.gz, gunzipping it, and extracting the resulting cpio archive, it is possible to finally get to the game content. After extracting its contents, the next step is to find a file called 'Scripts' in a subdirectory (cannot remember its exact name right now), which is actually a gzipped cpio archive. pkg files, which are in fact xar archives. For Mac, most (if not all) installers come as.

    build unity game for mac

    For GOG.com, download a Windows installer and extract its files using innoextract -gog setup_whatever_game.exe.It is also possible to download an old version of the game that way. For Steam, use Proton ( macos-depot-download for Mac), SteamCMD or Steam console to download a Windows or Mac depot (search SteamDB for the actual depot numbers of the game).If not, it is usually possible to download (and extract if they are archived) the files under Linux natively: If the game is installed on Windows, Mac or Wine/Proton, these files can be used. Unless trying to fix a broken Linux game or add support for 32-bit or 64-bit for games shipping with only 32-bit or 64-bit executable in Linux (which should be possible by adding the respective files), files for the Windows or Mac version of the game need to be obtained. Porting a Windows or Mac game Obtaining game filesįirst, files for the game to port needs to be obtained. 1.3.3 Finding files in own game library.











    Build unity game for mac