Genshin Impact lutris script troubleshoot

Hello, I’m a new Linux mint user. I don’t know how to run the script as root.

I have tried to run the script as root through the file manager but lutris doesn’t launch at all (I know it is not recommended but I don’t know what else to do). I am able to open the installer and download the data resources which are great.

As far as i know, my only problem is that the script can’t cd to the directory and is unable to find the file directory to execute the script.

For system info
inxi -Fxxrz
System:
Kernel: 5.15.0-67-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin dm: LightDM
Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: LENOVO product: 82KD v: Lenovo V15 G2 ALC
serial: Chassis: type: 10 v: Lenovo V15 G2 ALC
serial:
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial:
UEFI: LENOVO v: GLCN46WW date: 04/29/2022
Battery:
ID-1: BAT0 charge: 16.1 Wh (45.4%) condition: 35.5/38.0 Wh (93.5%)
volts: 7.6 min: 7.7 model: SMP L20M2PF8 serial:
status: Discharging
CPU:
Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
Speed (MHz): avg: 1396 high: 1402 min/max: 1400/4056 boost: enabled
cores: 1: 1397 2: 1395 3: 1397 4: 1397 5: 1397 6: 1396 7: 1393 8: 1397
9: 1397 10: 1397 11: 1402 12: 1396 bogomips: 50305
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: 5.18.13 pcie:
speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: HDMI-A-1
bus-ID: 04:00.0 chip-ID: 1002:164c
Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-3:2 chip-ID: 13d3:56ff
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: eDP res: 1920x1080 dpi: 142 diag: 394mm (15.5")
OpenGL: renderer: RENOIR (renoir LLVM 15.0.3 DRM 3.49 5.15.0-67-generic)
v: 4.6 Mesa 22.3.0-devel direct render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 04:00.1 chip-ID: 1002:1637
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Lenovo driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 04:00.5
chip-ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3
Sound Server-1: ALSA v: k5.15.0-67-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8168
IF: enp1s0 state: down mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:c822
IF: wlp2s0 state: up mac:
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 3-4:3 chip-ID: 0bda:c123
Report: hciconfig ID: hci0 rfk-id: 4 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address:
Drives:
Local Storage: total: 1.38 TiB used: 914.35 GiB (64.9%)
ID-1: /dev/nvme0n1 vendor: TeamGroup model: TM8FP6512G size: 476.94 GiB
speed: 31.6 Gb/s lanes: 4 serial: temp: 34.9 C
ID-2: /dev/sda type: USB vendor: Toshiba model: MQ01ABD100
size: 931.51 GiB serial:
Partition:
ID-1: / size: 91.11 GiB used: 33.72 GiB (37.0%) fs: ext4
dev: /dev/nvme0n1p8
ID-2: /boot size: 964.9 MiB used: 709.7 MiB (73.6%) fs: ext4
dev: /dev/nvme0n1p5
ID-3: /boot/efi size: 96 MiB used: 37.6 MiB (39.1%) fs: vfat
dev: /dev/nvme0n1p2
ID-4: /home size: 248.95 GiB used: 108.32 GiB (43.5%) fs: ext4
dev: /dev/nvme0n1p9
Swap:
ID-1: swap-1 type: partition size: 7.45 GiB used: 808 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p7
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 42.0 C
Fan Speeds (RPM): N/A

Repos:
Packages: 3008 apt: 2988 flatpak: 20
No active apt repos in: /etc/apt/sources.list
No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
1: deb Index of /amdgpu/5.4/ubuntu/ jammy main
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
1: deb [arch=amd64,arm64,armhf] Index of /ubuntu/22.10/prod/ kinetic main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com vera main upstream import backport

2: deb Index of /ubuntu/ jammy main restricted universe multiverse
3: deb Index of /ubuntu/ jammy-updates main restricted universe multiverse

4: deb Index of /ubuntu/ jammy-backports main restricted universe multiverse
5: deb Index of /ubuntu jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/rocm.list

1: deb [arch=amd64] Index of /rocm/apt/5.4/ jammy main
Active apt repos in: /etc/apt/sources.list.d/steam.list
1: deb [arch=amd64,i386] Steam for Linux - launcher stable steam

2: deb-src [arch=amd64,i386] Steam for Linux - launcher stable steam
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64,arm64,armhf] Index of /repos/code/ stable main
Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources

1: deb [arch=amd64 i386] Index of /wine-builds/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
1: deb [arch=amd64 i386] Index of /wine-builds/ubuntu jammy main
Info:
Processes: 356 Uptime: 4h 27m Memory: 9.58 GiB used: 3.07 GiB (32.1%)
Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12
clang: 14.0.0-1ubuntu1 Shell: Bash v: 5.1.16 running-in: gnome-terminal
inxi: 3.3.13