Play Age of Empires 2 HD 64 bit on Mac (AoE2 HD 64bitをMacでプレイ)

Sept. 13, 2018, 1:57 a.m. edited Sept. 20, 2018, 4:52 p.m.

#AoE2 

$$ \def\bra#1{\mathinner{\left\langle{#1}\right|}} \def\ket#1{\mathinner{\left|{#1}\right\rangle}} \def\braket#1#2{\mathinner{\left\langle{#1}\middle|#2\right\rangle}} $$
  1. Download PlayOnMac and install it.
    PlayOnMacをダウンロードし,インストール.なお,設定から言語は英語にしておく.
  2. From Tools, open PlayOnMac wine versions manager. Install Wine 2.1 (amd64). If "Wine packages website is unavailable" is displayed, check your anti-virus software settings.
    ToolsからPlayOnMac wine versions managerを開き,amd64でWine 2.1をインストールする.この際,「Wine packages website is unavailable」と表示されたが,自分の場合はアンチウイルスソフトを切ったら直った.
  3. Download SteamSetup.exe.
    SteamSetup.exeをダウンロード.Windowsと書いてあるところ.
  4. Open Terminal, then, input below commands.
    ターミナルを開き,以下のコマンドを入力.

    cd ~/Library/PlayOnMac/wine/darwin-x86

    ln -s /Users/<username>/Library/PlayOnMac/wine/darwin-amd64/2.1 .

  5. Click "Install" -> "Install a non-listed program" -> "Next" -> ... -> "Next" -> "Install a program in a new virtual drive". Input "Steam". Check "Use another version of Wine" and click "Next". Check "System" (You could not find 2.1 here...) -> "64 bits windows installation". Ignore this error. When "Browse" button appeared, you do not click it but click "Cancel".
    "Install"をクリック -> "Install a non-listed program"をクリック -> "Next" -> ... -> "Next" -> "Install a program in a new virtual drive"."Steam"と入力."Use another version of Wine"にチェックを入れ,"System"にチェック(なぜかここでは 2.1 を選択できない)."64 bits windows installation"にチェック.すると以下のエラーが出るが無視.それから"Browse"ボタンが出るが無視し,"Cancel"をクリック.
  6. Click "Configure". Set Wine version as 2.1 in "General" tab. Then, switch to "Wine" tab and click "Configure Wine". In "Application" tab, set "Windows Version:" as "Windows 7". In "Libraries" tab, find "dwrite" in "New override for library:", click "Add" and "Edit" it as disabled. Then, "OK".
    "Configure"をクリックし,"General"タブでWine versionを2.1にセット.それから"Wine"タブで"Configure Wine"をクリック.それから出てきた設定画面の"Application"タブで"Windows Version:"を"Windows 7"にする.そして"Libraries"タブで"New override for library:"で"dwrite"を探し,"Add"してから"Edit"でdisabledとする.そして,"OK".
  7. In "Miscellaneous" tab, click "Run a .exe file in this virtual drive" and select "SteamSetup.exe". Install it and login it. Maybe, after login, the window of Steam does not appear, so abort it.
    "Miscellaneous"タブで"Run a .exe file in this virtual drive"をクリックし,"SteamSetup.exe"を選択.そしてインストールする.ログインした後,おそらくSteamのウィンドウは出てこないので,そのまま強制終了する.
  8. In "General" tab, click "Make a new shortcut from this virtual drive" and select "Steam.exe". Then, In "PlayOnMac configuration" -> "Steam" -> "Steam", set "Arguments" as "-no-cef-sandbox".
    "General"タブで"Make a new shortcut from this virtual drive"をクリックし,"Steam.exe"を選択.それから,"PlayOnMac configuration" -> "Steam" -> "Steam"にある"Arguments"に"-no-cef-sandbox"をセット.
  9. Open ~/Library/PlayOnMac/wineprefix/Steam/drive_c/Program\ Files\ \(x86\)/Steam/config/config.vdf. Add below text after "cip" line.
    ~/Library/PlayOnMac/wineprefix/Steam/drive_c/Program\ Files\ \(x86\)/Steam/config/config.vdfを開き,"cip"のある行の次に以下を入力する1

    "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"

  10. From here, read Install AoE2HD and Fix Launcher in https://steamcommunity.com/sharedfiles/filedetails/?id=528356278
    ここから先は https://steamcommunity.com/sharedfiles/filedetails/?id=528356278Install AoE2HD and Fix Launcher に沿えば良い.

thumbnail

さて,本当にこれは64 bitになっているのだろうか.PlayOnMacの64 bitサポートが十分でないためか途中シンボリックリンクを貼るなどしていたが,できたものが64 bitなのか確かめたい.そこで,cmd.exeから%PROCESSOR_ARCHITECTURE%をechoしようとしたが,32 bitで作ったときはcmd.exeをOpen a shellからwine cmd.exeで呼べるにもかかわらず,64 bitではうまくいかなかった.(systeminfoはいずれも動作しなかった)そこで,レジストリから調べることにした2.その結果,

めでたしめでたし.プレイ中フリーズすることもなくなった.Macなのでスクショも簡単.

追記 (2018-09-21): 日本語化