Skip to content

begin-theadventure/fl-studio-integrator-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 

Repository files navigation

FL Studio Integrator

Integrate FL Studio with your Linux system.

So what does it do?

It doesn't take care of installing FL Studio, but integrating it with the system:

  • Provides(/Installs) a shell script that runs the .exe with Wine and a .desktop application shortcut (/and an icon);

  • Associates the .flp files and allows to open them (thanks defusq) from the file manager, desktop etc., or the terminal: fl-studio-integrator "/path/to/*.flp".

In version 1.0.4, two new integrations have been added for .exe, .lnk, .msi and .reg files!

How to install

Arch - the AUR.

Different distros:

Home

  1. Download Source Code (from releases) and the icon (as fl-studio.png).

  2. Extract the file and move .local to the home directory ~.

  3. Go to ~/.local/share/applications, make fl-studio-integrator, -elm, and -reg executable and edit the WINEPREFIX path in them.

  4. Add /home/ReplaceThisWithYourUSERname in fl-studio-integrator.desktop, -elm, and -reg to Exec= and Icon= (before /.local/..).

  5. Go to ~/.config and add application/flp=fl-studio-integrator.desktop; in mimeapps.list.

To open from the terminal create alias commands:

alias fl-studio-integrator='~/.local/share/applications/fl-studio-integrator'

alias fl-studio-integrator-elm='~/.local/share/applications/fl-studio-integrator-elm'

alias fl-studio-integrator-reg='~/.local/share/applications/fl-studio-integrator-reg'

in one of these files (depending on your shell): ~/.bashrc / ~/.zshrc / ~/.config/fish/config.fish.

Root

  1. Download snapshot from the AUR and the icon (as fl-studio.png).
  2. Make fl-studio-integrator, -elm, and -reg executable and edit the WINEPREFIX path in them.
  3. Place the files like in the PKGBUILD (lines 32-39, /usr/..).
  4. sudo update-mime-database /usr/share/mime (for file associations).

Tips

Plugin GUI glitches

  1. Running the plugin in a Detached mode; re-clicking Captonize or Detailed settings buttons; clicking on the plugin.
  2. export WINEDDLOVERRIDES="d2d1=disabled".
  3. Installing DXVK and/or VKD3D (they can fix glitches in some, but also cause them in others, particularly DXVK).
  4. Wine versions with the Vulkan child window patch (more information), such as: wine-ge-custom, wine-lutris or wine-tkg (although this one has to be built with the patch, but there's an unofficially pre-built version on Copr).

DXVK/VKD3D

Winetricks

In the terminal: cd /path/to/prefix -> winetricks dxvk vkd3d.

Or with the GUI:

cd /path/to/prefix (in the terminal) -> winetricks -> Selected the default wineprefix OK -> Install a Windows DLL.. OK -> dxvk vkd3d OK.

Manual

Symlink the prefix to ~/.wine.

Download DXVK and the install script -> ./setup_dxvk.sh install in the terminal.

Download VKD3D -> ./setup_dxvk.sh install in the terminal.

After installing you can delete the symlink.

To update, do the same steps; to uninstall, change install to uninstall."

Low latency WineASIO, adjust with PIPEWIRE_QUANTUM, which is already included in the scripts.

Virtual desktop wine explorer /desktop=FLStudio,RESOLxUTION, for example, 1920x1080.

Wine Breeze Dark theme Link.

To install, open the file with FL Studio REG (or fl-studio-integrator-reg in the terminal).

Disabling internet access in the prefix

Wine Control Panel (fl-studio-integrator-elm "/path/to/drive_c/windows/system32/control.exe" or go to the path and open it with FL Studio ELM) -> Internet Settings -> Connections -> Use a proxy server ✓ - Type something in Address and Port - Apply - OK

Possible performance improvements

GameMode gamemoderun wine

  • Renice

Adjusting the nice value/priority of processes in /etc/gamemode.ini, for example, to 7 (High).

fsync Needs a patched Wine version, such as: wine-ge-custom, wine-lutris or wine-tkg.

export WINEESYNC=0 WINEFSYNC=1

NVIDIA These might cause issues.

export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=0 __VK_LAYER_NV_optimus="NVIDIA_only" VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"

__GLX_VENDOR_LIBRARY_NAME="nvidia", __NV_PRIME_RENDER_OFFLOAD=1 and prime-run (can) cause crashes.

DXVK/VKD3D might also help.

Of course, this project is not official.