Skip to content

Instantly share code, notes, and snippets.

@munehime
Last active March 9, 2025 23:28
Show Gist options
  • Save munehime/2d1f718c0f106f360474bfbdcab7a620 to your computer and use it in GitHub Desktop.
Save munehime/2d1f718c0f106f360474bfbdcab7a620 to your computer and use it in GitHub Desktop.
storybrew-on-linux

Tested on Arch Linux with wine-staging 6.16

  1. Install wine-staging and winetricks

    • Arch Linux
    pacman -S wine-staging winetricks
    • Unbuntu
    # Install wine-staging
    sudo dpkg --add-architecture i386
    wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
    sudo apt update
    sudo apt install --install-recommends winehq-staging
    
    # Install winetricks
    wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
    chmod +x winetricks 
    sudo mv -v winetricks /usr/local/bin
  2. Setup wineprefix and install .NET 4.5.2

WINEPREFIX=~/storybrew WINEARCH=win64 winetricks -q dotnet452
  1. Download the latest version and extract storybrew to drive_c directory
# Assume you saved the file in Downloads directory
cd ~/Downloads
unzip storybrew.*.zip -d storybrew
mv storybrew  ~/storybrew/drive_c/
  1. Run storybrew
cd ~/storybrew/drive_c/storybrew
wine ./StorybrewEditor.exe
  • Fix black screen when open storybrew Install lib32-libxcomposite
pacman -S lib32-libxcomposite 
  • Optinal: Remove Visual Studio Code notification when create new effects Install Visual Studio Code (if you haven't) and add it to PATH variable in wine regedit
# Install Visual Studio Code 
pacman -S visual-studio-code-bin

# Add the Visual Studio Code to wine PATH evironment variable
WINEPREFIX=~/storybrew WINEARCH=win64 wine regedit

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment then add Z:\opt\visual-studio-code to PATH key i.e.: Z:\opt\visual-studio-code;%SystemRoot%\............

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