summaryrefslogtreecommitdiff
path: root/profiles/wine_mount-and-blade-ii.profile
blob: cfac6b030290ff85220ed6ebb9e899482d1ebe37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file is overwritten after every install/update
# Persistent local customizations
include mount-and-blade-ii.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord

whitelist ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord


mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/imgui.ini
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_d3d11.log
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_dxgi.log

read-only ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/imgui.ini
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_d3d11.log
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_dxgi.log


# machine-id, obs, and alsa don't get along
#ignore machine-id

# Bannerlord requires netlink or it will remain on the initial loading screen forever
protocol unix,netlink

# MB2 requires name_to_handle_at and ptrace
# Not anymore
#seccomp !name_to_handle_at,!ptrace

ignore memory-deny-write-execute

ignore noexec ${HOME}

include generic-wine-game.inc