Mac OSX My Road to a Mac Port is Filled With Roadblocks

Discussion in 'GameMaker Studio 2 Community Tech Support' started by TheCheeseMaster, Aug 16, 2019 at 2:33 AM.

  1. TheCheeseMaster

    TheCheeseMaster Member

    Joined:
    Aug 26, 2018
    Posts:
    19
    Hi everyone,

    I'm in the process of releasing my first game on Steam and am in "super learning mode". I've been trying to figure out Steamworks, SDK, and just generally how to get my game on the platform.
    Now, I've made some progress in those departments, however now I'm attempting to create a port of my game for Mac (as it is something I promised in my modest Kickstarter back in April).

    I feel like I've been making some progress in this, thanks fully to tutorials such as:
    https://help.yoyogames.com/hc/en-us/articles/235186128-Setting-Up-For-macOS

    However I'm running, again, into a bit of a roadblock. I tried to run my game remotely by connecting my Windows PC to my wife's Mac, however I receive a couple of lines of text that appear to be errors related to Steamworks SDK. Here's the full Output:

    --------------------------------------------------------------------------------------------------------------------------------------
    "cmd" /c subst Z: "C:\Users\dbeck\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

    elapsed time 00:00:00.1016162s for command "cmd" /c subst Z: "C:\Users\dbeck\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 08/15/2019 10:52:52
    "cmd" /c subst Y: "C:\Users\dbeck\AppData\Local\GameMakerStudio2\GMS2TEMP"

    elapsed time 00:00:00.1315779s for command "cmd" /c subst Y: "C:\Users\dbeck\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 08/15/2019 10:52:52
    "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344"

    elapsed time 00:00:00.0708119s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344" started at 08/15/2019 10:52:52
    Saving project to: C:\Users\dbeck\Desktop\Mac TEST\Mac TEST.yyp
    "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\dbeck\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Mac Run

    Loaded Macros from C:\Users\dbeck\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Mac_TEST_4AB638D6\macros.json
    Options: X:/bin\platform_setting_defaults.json
    Options: C:\Users\dbeck\AppData\Roaming/GameMakerStudio2\dbeckert_1263133\local_settings.json
    Options: C:\Users\dbeck\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Mac_TEST_4AB638D6\targetoptions.json
    X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Mac TEST" /td="Y:/" /cd="Z:/Mac_TEST_4AB638D6" /zpuf="C:\Users\dbeck\AppData\Roaming/GameMakerStudio2\dbeckert_1263133" /m=llvm-mac /tgt=2 /llvmSource="X://yyc/" /nodnd /cfg="default" /o="Y:/Mac_TEST_7750A4A6_YYC" /sh=True /optionsini="Y:/Mac_TEST_7750A4A6_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\dbeck\Desktop\Mac TEST\Mac TEST.yyp" /preprocess="Z:/Mac_TEST_4AB638D6"
    Reading project file....C:\Users\dbeck\Desktop\Mac TEST
    Reading project file....X:\BaseProject
    Reading config delta 'C:\Users\dbeck\Desktop\Mac TEST\options\main\inherited\options_main.inherited.yy'
    finished.


    X://bin/GMAssetCompiler.exe DONE (0)
    Release build
    Options: Z:/Mac_TEST_4AB638D6\PlatformOptions.json
    mkdir -p ~/.ssh
    cat ~/.ssh/authorized_keys
    pwd
    remote_install_path : /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST
    PlatformOptions
    [Compile] Run asset compiler
    X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Mac TEST" /td="Y:/" /cd="Z:/Mac_TEST_4AB638D6" /zpuf="C:\Users\dbeck\AppData\Roaming/GameMakerStudio2\dbeckert_1263133" /m=llvm-mac /tgt=2 /llvmSource="X://yyc/" /nodnd /cfg="default" /o="Y:/Mac_TEST_7750A4A6_YYC" /sh=True /optionsini="Y:/Mac_TEST_7750A4A6_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\dbeck\Desktop\Mac TEST\Mac TEST.yyp" /optionsini="Y:/Mac_TEST_7750A4A6_YYC\options.ini" /bt=run /rt=yyc
    Reading project file....C:\Users\dbeck\Desktop\Mac TEST
    Reading project file....X:\BaseProject
    Reading config delta 'C:\Users\dbeck\Desktop\Mac TEST\options\main\inherited\options_main.inherited.yy'
    finished.
    Compile Constants...finished.
    Remove DnD...finished.
    Compile Scripts...finished.
    Compile Objects...finished.
    Compile Timelines...finished.
    Compile Triggers...finished.
    Compile Rooms...finished.
    Compile Extensions...finished.
    Global scripts...finished.
    finished.
    collapsing enums.
    Final Compile...finished.
    Looking for built-in particle images in X:\bin\ParticleImages
    Writing Chunk... GEN8
    option_game_speed=60
    Writing Chunk... OPTN
    Writing Chunk... LANG
    Writing Chunk... EXTN
    Writing Chunk... SOND
    Writing Chunk... AGRP
    Writing Chunk... SPRT
    Writing Chunk... BGND
    Writing Chunk... PATH
    Writing Chunk... SCPT
    Writing Chunk... GLOB
    Writing Chunk... SHDR
    Writing Chunk... FONT
    Writing Chunk... TMLN
    Writing Chunk... OBJT
    Writing Chunk... ROOM
    Writing Chunk... DAFL
    Writing Chunk... EMBI
    Writing Chunk... TPAGE
    Texture Group - Default
    Texture Group - Default1
    Texture Group - luma_mask
    Writing Chunk... TGIN
    Writing Chunk... STRG
    Writing Chunk... TXTR
    0 Compressing texture... writing texture texture_0.png...
    1 Compressing texture... writing texture texture_1.png...
    2 Compressing texture... writing texture texture_2.png...
    3 Compressing texture... writing texture texture_3.png...
    4 Compressing texture... writing texture texture_4.png...
    5 Compressing texture... writing texture texture_5.png...
    6 Compressing texture... writing texture texture_6.png...
    7 Compressing texture... writing texture texture_7.png...
    8 Compressing texture... writing texture texture_8.png...
    9 Compressing texture... writing texture texture_9.png...
    10 Compressing texture... writing texture texture_10.png...
    11 Compressing texture... writing texture texture_11.png...
    12 Compressing texture... writing texture texture_12.png...
    13 Compressing texture... writing texture texture_13.png...
    Writing Chunk... AUDO
    saving file Y:/Mac_TEST_7750A4A6_YYC\Mac TEST.ios
    Stats : GMA : Elapsed=53215.7289
    Stats : GMA : sp=1628,au=187,bk=24,pt=0,sc=127,sh=6,fo=3,tl=0,ob=826,ro=58,da=1,ex=0,ma=13635,fm=0xE000B31D7DFC2AA4


    X://bin/GMAssetCompiler.exe DONE (0)
    nname: Y:/Mac_TEST_7750A4A6_YYC\Mac TEST.zip
    destname: Y:\Mac_TEST_7750A4A6_YYC\GameAssetsMac.zip
    mkdir -p /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST/
    mkdir -p /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TESTFromPC
    Options: C:\Users\dbeck\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Mac_TEST_4AB638D6\steam_options.yy
    Failed to copy Steam DLL - 'C:\Steamworks\sdk\redistributable_bin\osx32\libsteam_api.dylib' - SDK not installed properly?
    pscp Y:/Mac_TEST_7750A4A6_YYC\Mac_TEST/ /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TESTFromPC/
    pscp X:/YYC\Mac\bin\iconcreate.sh /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/iconcreate.sh
    pscp X:/BaseProject/options/mac/icons/1024.png /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/icon512.png
    chmod +x /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/iconcreate.sh
    /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/iconcreate.sh /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/icon512.png /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TESTFromPC/Mac_TEST/Supporting\ Files/icon.icns
    rsync -c -r /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TESTFromPC/ /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST
    rm -rf /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST.app
    cd /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST; security unlock-keychain -p gytls2Wkd;xcodebuild -xcconfig "/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST/__yy_certificate.xcconfg" ARCHS="x86_64" VALID_ARCHS="x86_64" clean build;
    echo Starting... >/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/debug.log
    open -n -a /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST.app --args -debugoutput "/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/debug.log" -output "/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/debug.log" -debug_steamapi -nosteamrestart
    WARNING: Unable to connect to remote client: ssh command 'open -n -a /Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST.app --args -debugoutput "/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/debug.log" -output "/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/debug.log" -debug_steamapi -nosteamrestart' failed.
    FSPathMakeRef(/Users/kimjunghee/GameMakerStudio2/Mac/GMS2MAC/Mac_TEST/Mac_TEST.app) failed with error -43.

    Igor complete.
    WARNING: Unable to connect to remote client:System.InvalidOperationException: The client is already connected.
    at Renci.SshNet.BaseClient.Connect()
    at ..(String , SshClient& , StreamReader& )
    Igor complete.
    elapsed time 00:01:40.4394030s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\dbeck\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Mac Run started at 08/15/2019 10:52:52
    "cmd" /c subst Z: /d

    elapsed time 00:00:00.0845805s for command "cmd" /c subst Z: /d started at 08/15/2019 10:54:32
    "cmd" /c subst Y: /d

    elapsed time 00:00:00.1028383s for command "cmd" /c subst Y: /d started at 08/15/2019 10:54:33
    "cmd" /c subst X: /d

    elapsed time 00:00:00.0873543s for command "cmd" /c subst X: /d started at 08/15/2019 10:54:33
    SUCCESS: Run Program Complete
    --------------------------------------------------------------------------------------------------------------------------------------

    So my first question is, do I need to set up Steamworks SDK on the Mac, even if I'm trying to run the game remotely via my PC?
    I figured that might be the case, so I downloaded the latest SDK and added it to the Mac's desktop. I copied this folder's location and inserted it into Game Maker Studio 2 on the Mac, but still no dice.

    So my next question would be, do I need to do something to the files in the "sdk" folder to get the game to run on the Mac? I know I had to manipulate files in the SDK folder on my PC in order to upload the Windows version of the game to Steam, but I wasn't sure if I need to manipulate any of the files in order to, first off, even run the game on the Mac, and then later, compile a final version of the game for Mac.

    That sort of leads to my last question, which is: Do I need to create a Steamworks build of the game on the Mac, as well as create a Steamworks build of the game on PC if I want to have the game compatible with both Mac and PC? I was under the impression if I could somehow compile the game on the Mac, that I could simply copy those files over to my PC and put them in the appropriate folder in Steamworks sdk, finally creating a separate DEPOT for the game.

    I'm sorry if these questions are noobish or very beginner. I've been doing my best to understand the tutorials but the issues I'm running into don't seem to be solved anywhere.

    Thanks.

    Dan
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice