Yuzu Online Multiplayer Server on Portainer

Hi SO I saw the very good news about Yuzu supporting MP LAN again so I wanted to use a computer I have at home to set up a server for me and my friends.
The Server has OPMV6 and Portainer so I tried to build a stack for it.

The Stack I built is something like this:

version: ‘1’
image: yuzuemu/yuzu-multiplayer-dedicated
container_name: yuzuemu
restart: always
- --room-name=VagonRojo
- --room-description=“Description”
- --preferred-game=“Pokemon Games”
- --port=24872
- --max_members=4
- --password=password
- --token=“I placed my token here”
- --web-api-url=https://api.yuzu-emu.org/
- 24872:24872/udp

The Docker runs and everything and it seems like it created its own network yuzu_default but I can’t see it under the public list, nor I can join using the IP directly.

When opening the logs all I see is this

`[ 0.000047] Network dedicated_room/yuzu_room.cpp:main:278: Room name is empty!
[ 0.000053] Network dedicated_room/yuzu_room.cpp:PrintHelp:47: Usage: /usr/src/app/yuzu-room [options]
–room-name The name of the room
–room-description The room description
–port The port used for the room
–max_members The maximum number of players for this room
–password The password for the room
–preferred-game The preferred game for this room
–preferred-game-id The preferred game-id for this room
–username The username used for announce
–token The token used for announce
–web-api-url yuzu Web API url
–ban-list-file The file for storing the room ban list
–log-file The file for storing the room log
–enable-yuzu-mods Allow yuzu Community Moderators to moderate on your room
-h, --help Display this help and exit
-v, --version Output version information and exit

I am stuck and have no clue what to do next. any help is welcomed

In order for us to provide better support, we need to see the log generated by yuzu. This guide will walk you through how you can obtain the log file: Getting Log Files - yuzu

_yuzu_logs.txt (5.2 KB)
Attaching logs

I had the same issue, turns out the flags used in the docker run example are command flags and not environment variables.

So the docker-compose equivalent is:

version: '3.7'
    image: yuzuemu/yuzu-multiplayer-dedicated
    container_name: (your container_name)
      - (your port):(your port)/udp
    command: >
      --port (your port)
      --room-name (your roomname)
      --room-description (your room description)
      --preferred-game (your pref game)
      --preferred-game-id (your pref game id)
      --max_members 4
      --token (your token) 
      --web-api-url https://api.yuzu-emu.org
      --password (your password)

You are awesome! this worked!

1 Like