tencent-ailab / hok_env

Honor of Kings AI Open Environment of Tencent
https://aiarena.tencent.com/aiarena/en/open-gamecore
Apache License 2.0
590 stars 68 forks source link

could you guide the latest installation?? #26

Closed chrisjin2 closed 10 months ago

chrisjin2 commented 1 year ago

HI, tencent AIlab

Thanks for providing a wonderful simulator hok_env. I tried to install a simulation. however, I could not follow installation step by step through the documentation.

How to install on win10. 'pip install -e' not working on WSL2. I could not find 'ai_simulator_remote' folder and sgame_simulator.common.conf file.

please, help for me.

hongyangqin commented 1 year ago

Sorry about the bad experience. The new documentation is on the plan.


  1. Try to use pip install hok to install the hok_env
  2. No need to add ai_simulator_remote to PATH anymore. Here we use the set PATH=%PATH%;..\lib\ to set the PATH
  3. The content of sgame_simulator.common.conf is shown in the readme.md.
{
    "abs_file": "../scene/1V1.abs",
    "core_assets": "../core_assets",
    "game_id": "kaiwu-base-35401-35400-6842-1669963820108111766-217",
    "hero_conf": [
        {
            "hero_id": 199
        },
        {
            "hero_id": 199
        }
    ]
}

See also: https://github.com/tencent-ailab/hok_env/issues/17#issue-1535700020 https://github.com/tencent-ailab/hok_env/issues/18#issue-1535719826