Skip to content

Instantly share code, notes, and snippets.

@LogCreative
Last active July 3, 2023 03:42
Show Gist options
  • Save LogCreative/5695092f4812d1c8d94269beda118e3b to your computer and use it in GitHub Desktop.
Save LogCreative/5695092f4812d1c8d94269beda118e3b to your computer and use it in GitHub Desktop.
macOS Honkai: Star Rail (v1.1) - PlayCover Method
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bundleIdentifier</key>
<string>com.miHoYo.hkrpg</string>
<key>buttonModels</key>
<array>
<dict>
<key>keyCode</key>
<integer>30</integer>
<key>keyName</key>
<string>1</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.9506810108820597</real>
<key>yCoord</key>
<real>0.24258708247432018</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>8</integer>
<key>keyName</key>
<string>E</string>
<key>transform</key>
<dict>
<key>size</key>
<real>6.8587105624142675</real>
<key>xCoord</key>
<real>0.70944165388743086</real>
<key>yCoord</key>
<real>0.85382219950358074</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>-2</integer>
<key>keyName</key>
<string>RMB</string>
<key>transform</key>
<dict>
<key>size</key>
<real>6.8587105624142675</real>
<key>xCoord</key>
<real>0.9033358097076416</real>
<key>yCoord</key>
<real>0.85337668524848087</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>31</integer>
<key>keyName</key>
<string>2</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.95028831958770754</real>
<key>yCoord</key>
<real>0.35365685356987858</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>32</integer>
<key>keyName</key>
<string>3</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.95015397071838381</real>
<key>yCoord</key>
<real>0.46564518963849105</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>33</integer>
<key>keyName</key>
<string>4</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.9501953125</real>
<key>yCoord</key>
<real>0.56637638233326104</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>-1</integer>
<key>keyName</key>
<string>LMB</string>
<key>transform</key>
<dict>
<key>size</key>
<real>8.4675439042151464</real>
<key>xCoord</key>
<real>0.81092406113942461</real>
<key>yCoord</key>
<real>0.76073816087510848</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>16</integer>
<key>keyName</key>
<string>M</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.091396427154541021</real>
<key>yCoord</key>
<real>0.18349499172634548</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>13</integer>
<key>keyName</key>
<string>J</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.02925553321838379</real>
<key>yCoord</key>
<real>0.28522283766004775</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>10</integer>
<key>keyName</key>
<string>G</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.15944062074025472</real>
<key>yCoord</key>
<real>0.077289086801034426</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>41</integer>
<key>keyName</key>
<string>Esc</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.027382500966389976</real>
<key>yCoord</key>
<real>0.078602656611689817</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>40</integer>
<key>keyName</key>
<string>Enter</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.032464241981506346</real>
<key>yCoord</key>
<real>0.90839027122214988</real>
</dict>
</dict>
<dict>
<key>keyCode</key>
<integer>9</integer>
<key>keyName</key>
<string>F</string>
<key>transform</key>
<dict>
<key>size</key>
<real>5</real>
<key>xCoord</key>
<real>0.62234157721201577</real>
<key>yCoord</key>
<real>0.59148570873119199</real>
</dict>
</dict>
</array>
<key>draggableButtonModels</key>
<array/>
<key>joystickModel</key>
<array>
<dict>
<key>downKeyCode</key>
<integer>22</integer>
<key>keyName</key>
<string>Keyboard</string>
<key>leftKeyCode</key>
<integer>4</integer>
<key>rightKeyCode</key>
<integer>7</integer>
<key>transform</key>
<dict>
<key>size</key>
<real>20</real>
<key>xCoord</key>
<real>0.19261790911356608</real>
<key>yCoord</key>
<real>0.77821409437391498</real>
</dict>
<key>upKeyCode</key>
<integer>26</integer>
</dict>
</array>
<key>mouseAreaModel</key>
<array>
<dict>
<key>keyName</key>
<string>Mouse</string>
<key>transform</key>
<dict>
<key>size</key>
<real>25</real>
<key>xCoord</key>
<real>0.44036250909169516</real>
<key>yCoord</key>
<real>0.42700985096119043</real>
</dict>
</dict>
</array>
<key>version</key>
<string>2.0.0</string>
</dict>
</plist>

Play Honkai: Star Rail (v1.1) on macOS

Download

  1. Download macOS emulator PlayCover.
  2. Download the IPA package of Honkai: Star Rail, e.g. IPA Store, you probably need to login to get the download link.

Install

  1. Install PlayCover directly.
  2. Open PlayCover and install the IPA package by clicking the + button, select the downloaded IPA package like com.miHoYo.hkrpg_1.1.0_und3fined.ipa.

install game

6. Open the game, login, and close any VPN to let the in-game download start.

Fix the sound issue

  1. In the game, you may find that the sound is missing. Now, close the game. Right click the game and select Find in Finder.

find in finder

  1. In the finder, rename the Chinese named app 崩坏:星穹铁道 to hkrpg. At the moment, when open the game, the sound is back normal.

  2. However, in PlayCover GUI, you cannot start the game from the original icon. So, in the finder, right click the hkrpg and select Make alias, rename the alias to the original Chinese name 崩坏:星穹铁道. Now you can launch the app from PlayCover.

make alias

Keymapping

  1. In the game, you could setup the keymapping of the game as follows. Use Option ⌥ key to switch between keyboard mode and the mouse mode.

keymapping

  1. You could also import the keymapping from hkrpg.playmap below.

importkeymap

With the update of Honkai: Star Rail, the method mentioned above may be invalid or the issue could be automatically fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment