官方原命令:
sudo docker run -d \
--publish 5000:5000/udp \
yuzuemu/yuzu-multiplayer-dedicated \
--room-name "(COUNTRY) (REGION) - GAME TITLE" \
--preferred-game "GAME TITLE" \
--preferred-game-id "TITLE ID" \
--port 5000 \
--max_members 4 \
--token "YUZU ACCOUNT TOKEN" \
--enable-yuzu-mods \
--web-api-url https://api.yuzu-emu.org
现因停服所以更改为:
sudo docker run -d \
--publish 5000:5000/udp \
yuzuemu/yuzu-multiplayer-dedicated \
--room-name "(COUNTRY) (REGION) - GAME TITLE" \
--preferred-game "GAME TITLE" \
--preferred-game-id "TITLE ID" \
--port 5000 \
--max_members 4 \
--enable-yuzu-mods \
可以用docker-compose,创建以下docker-compose.yml:
version: '3.8'
services:
yuzu-multiplayer-dedicated:
image: ikuzen/yuzu-multiplayer-dedicated
container_name: yuzu-multiplayer
ports:
- "5000:5000/udp"
command: >
--room-name "宝可梦 朱紫 0号房"
--room-description "宝可梦 朱紫 等游戏都可以,不限制"
--preferred-game "Pokémon Scarlet and Violet"
--preferred-game-id "0100ABF008968000"
--port 5000
--max_members 24
--enable-yuzu-mods
restart: unless-stopped
docker-compose up -d
即可
目前开了一个服,IP:193.134.211.147
,端口:5000
,欢迎大家来玩哈哈
现在有别的大佬开了大厅,config生成地址:The Myndgame & Gnarkade » 柚子的东西更新了:The Myndgame & Gnarkade » Yuzu 配置
我猜大概是这样用的:
sudo docker run -d \
--publish 5000:5000/udp \
yuzuemu/yuzu-multiplayer-dedicated \
--room-name "(COUNTRY) (REGION) - GAME TITLE" \
--preferred-game "GAME TITLE" \
--preferred-game-id "TITLE ID" \
--port 5000 \
--max_members 4 \
--token "yuzu_token" \
--enable-yuzu-mods \
--web-api-url api.ynet-fun.xyz
version: '3.8'
services:
yuzu-multiplayer-dedicated:
image: ikuzen/yuzu-multiplayer-dedicated
container_name: yuzu-multiplayer
ports:
- "5000:5000/udp"
command: >
--room-name "宝可梦 朱紫 0号房"
--room-description "宝可梦 朱紫 等游戏都可以,不限制"
--preferred-game "Pokémon Scarlet and Violet"
--preferred-game-id "0100ABF008968000"
--port 5000
--max_members 24
--enable-yuzu-mods
--web-api-url api.ynet-fun.xyz
--token "yuzu_token"
restart: unless-stopped