Skip to content

al3xkras/shadowverse_dsbot

Repository files navigation

Shadowverse Dimension Shift bot

A Shadowverse bot which automatically plays the Dimension Shift deck for you.

<failed to load video preview>

Prerequisites:

  • A Linux system supporting the Steam client.
  • Latest Linux Steam client installed.
  • A GPU supporting CUDA 11.0 or later.
  • Xserver (latest) and Weston version>=14.0 installed
  • Docker and docker compose, installed as root (tested on docker 26.1.5+dfsg1, build a72d7cd)
  • nvidia-drm.modeset is supported by your system and enabled in the GRUB config.
    • Example (/etc/default/grub): GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset consoleblank=0 nvidia-drm.modeset=1" (Please do not copy-paste this config)

    • After updating GRUB_CMDLINE_LINUX_DEFAULT, run:

      sudo update-grub

      sudo update-initramfs -u

      The nvidia-drm.modeset setting is required to run steam compatibility layer (wine-proton) apps on a Weston (xwayland) display.

Installation

  1. In your Steam library, choose:

    $\texttt{ Shadowverse }\rightarrow\texttt{ Properties }\rightarrow\texttt{ Compatibility }\rightarrow\texttt{ "Force use of a specific Steam Play compatibility tool"}$

  2. Choose a locally installed proton version (optionally use the latest version suggested by the Steam client, if no wine-proton is installed locally): <failed to load steam_choose_compat_layer.png>

  3. In Shadowverse settings:

    $\texttt{ Shadowverse }\rightarrow\texttt{ Properties }\rightarrow\texttt{ General }\rightarrow\texttt{ Launch Options }$

    Set the following launch options:

    DISPLAY=:1.0 PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 PROTON_USE_WINED3D=1 DXVK_DISABLE=1 vblank_mode=0 WINE_FULLSCREEN=1 %command%

    <failed to load shadowverse_launch_options.png>

    Important: If your main Xserver display is currently running on DISPLAY=:1, or if Weston uses a different display ID for any reason, you will need to manually modify the DISPLAY variable ( e.g. by setting DISPLAY=:2 ) in the Launch options and in Weston display config (run.sh: WESTON_DISPLAY=:2.0).

  4. To build docker containers and launch the bot, run:

    # assuming 1000 == non-root user id owning the X server
    XDG_RUNTIME_DIR=/run/user/1000 ./run.sh

    or simply

    ./run.sh
    

    as user currently running the Xserver (default is: UID=1000). Sudo access is only required if docker is installed as root (which is true by default).

Disclaimer

The software is provided as-is, without warranties of any kind. The author is not responsible for any adverse effects, including but not limited to account bans, resulting from the use of this bot.

Releases

No releases published

Packages

No packages published