How i can use external ( PROTON ) functions in portProton

I need to use this proton function in portproton
PROTON_REMOTE_DEBUG_CMD=“”

If i put it in user.conf as ’ export PROTON_REMOTE_DEBUG_CMD="’ ’
not WORKING !!!

You may try open the .ppdb file placed in needed program/game folder and add this line to the end of file, for example:

already did that and NOT working…

if you need launch external tool, you need this (click the tray icon and choose first program):

PortProton was launched in creation mode PortProton.log and it is successfully stored in the root directory of the port
To diagnose the problem, copy ALL of the log to: https://linux-gaming.ru/t/opisanie-kategorii-portproton-pomoshh/1642
-------------------------------------------------------------
PortWINE version:
PortProton-1.7.1
------------------------------------------------------------
Scripts version:
2381
-----------------------------------------------------------
RUNTIME is enabled
----------------------------------------------------------
Debug for programm:
/home/icem0nger/mnt/gaming/ufg-1/NON-Steam/Luma Island/Luma Island.exe
---------------------------------------------------------
GLIBC version:
2.40
--------------------------------------------------------
PW_VULKAN_USE=2 - DXVK v.2.4.1-446, VKD3D-PROTON v.1.1-4271
--------------------------------------------
Version WINE in use:
GE-PROTON9-20
-------------------------------------------------------
Program bit depth:
64 bit
-----------------------------------------------------------------
--------------------------------------------------------------------
Date and time of start debug for PortProton:
Mon Dec  2 09:58:55 AM MSK 2024
-----------------------------------------------------
The installation path of the PortProton:
/home/icem0nger/mnt/slink/PortProton
------------------------------------------------------
Operating system:
CachyOS
--------------------------------------------------
Desktop environment:
Desktop session: plasma
Current desktop: KDE
Session type: wayland
---------------------------------------------------
Kernel:
6.12.1-273-tkg-pds
-------------------------------------------------
CPU:
CPU physical cores: 16
CPU logical cores: 32
CPU model name: AMD Ryzen 9 5950X 16-Core Processor
------------------------------------------------
RAM:
               total        used        free      shared  buff/cache   available
Mem:           64199       10520        2375        1087       53098       53678
Swap:          64198        1577       62621
--------------------------------------------------------------
Filesystem /home/icem0nger/mnt/gaming/ufg-1/NON-Steam/Luma Island - ext2/ext3
Filesystem /home/icem0nger/mnt/slink/PortProton - ext2/ext3
Filesystem /tmp/PortProton - tmpfs
---------------------------------------------------------------
Graphic cards and drivers:
lspci -k | grep -EA3 VGA|3D|Display :
0c:00.0 VGA compatible controller: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 8978
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
----
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16376 MB
    Total available memory: 16376 MB
    Currently available dedicated video memory: 14610 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 565.57.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 565.57.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
-----
inxi -G:
Graphics:  Device-1: NVIDIA AD103 [GeForce RTX 4080 SUPER] driver: nvidia v: 565.57.01 
           Display: wayland server: X.Org 24.1.4 driver: loaded: nvidia unloaded: modesetting 
           resolution: 1: 3440x1440~165Hz 2: 1920x1200~60Hz 
           OpenGL: renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 565.57.01 
PW_SCREEN_RESOLUTION=3440x1440
PW_SCREEN_PRIMARY=DP-2
----------------------------------------------
Vulkan info device name:
GPU id : 0 (NVIDIA GeForce RTX 4080 SUPER):
GPU0:
	deviceName        = NVIDIA GeForce RTX 4080 SUPER
	driverName      = NVIDIA
	driverName                                           = NVIDIA
Vulkan cube test passed successfully
----------------------------------------------------
locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
---
locale -a | grep -i "$(locale | grep -e ^LANG= | sed s/LANG=// | sed  s/-8//)" :
en_US.utf8
-------------------------------------------
D3D_EXTRAS - enabled
------------------------------------------
winetricks.log:
vcrun2022
isolate_home
sandbox
mfc42
faudio
andale
arial
comicsans
courier
georgia
impact
times
trebuchet
verdana
webdings
corefonts
calibri
physx
tahoma
lucida
7zip
openal
vcrun2005
vcrun2008
vcrun2010
vcrun2012
vcrun2013
-----------------------------------------
Use /home/icem0nger/mnt/gaming/ufg-1/NON-Steam/Luma Island/Luma Island.exe.ppdb db file:
#!/usr/bin/env bash
#Author: icem0nger
#Luma Island.exe
#Rating=1-5
export PW_VULKAN_USE="2"
export PW_WINE_USE="GE-PROTON9-20"
export PW_PREFIX_NAME="DEFAULT"
export PORTPROTON_NAME="Luma Island"
export FILE_DESCRIPTION=""
export FILE_SHA256SUM="8c735648ca4f07112d5cabf27983d22dd55a6164407001befbcd0a2b9f2bb7a6"
export PW_MANGOHUD="0"
export PW_MANGOHUD_USER_CONF="0"
export PW_VKBASALT="0"
export PW_VKBASALT_USER_CONF="0"
export PW_DGVOODOO2="0"
export PW_GAMESCOPE="0"
export PW_NO_ESYNC="0"
export PW_NO_FSYNC="0"
export PW_USE_RAY_TRACING="1"
export PW_USE_NVAPI_AND_DLSS="1"
export PW_USE_FAKE_DLSS="0"
export PW_WINE_FULLSCREEN_FSR="0"
export PW_HIDE_NVIDIA_GPU="0"
export PW_VIRTUAL_DESKTOP="0"
export PW_USE_TERMINAL="0"
export PW_GUI_DISABLED_CS="0"
export PW_USE_GAMEMODE="1"
export PW_USE_D3D_EXTRAS="1"
export PW_FIX_VIDEO_IN_GAME="0"
export PW_REDUCE_PULSE_LATENCY="0"
export PW_USE_GSTREAMER="1"
export PW_FORCE_LARGE_ADDRESS_AWARE="1"
export PW_USE_SHADER_CACHE="1"
export PW_USE_WINE_DXGI="0"
export PW_USE_EAC_AND_BE="0"
export PW_USE_SYSTEM_VK_LAYERS="0"
export PW_USE_OBS_VKCAPTURE="0"
export PW_DISABLE_COMPOSITING="0"
export PW_USE_RUNTIME="1"
export PW_DINPUT_PROTOCOL="0"
export PW_USE_NATIVE_WAYLAND="0"
export LAUNCH_PARAMETERS=""
export PW_WINDOWS_VER="10"
export PW_DLL_INSTALL=""
export WINEDLLOVERRIDES=""
export PW_WINE_CPU_TOPOLOGY="disabled"
export PW_MESA_GL_VERSION_OVERRIDE="disabled"
export PW_VKD3D_FEATURE_LEVEL="disabled"
export PW_LOCALE_SELECT="disabled"
export PW_MESA_VK_WSI_PRESENT_MODE="disabled"
export MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine,font_size=32"
export PROTON_REMOTE_DEBUG_CMD="/home/icem0nger/.apps/CE-7.5/cheatengine-x86_64.exe"
----------------------------------------
# User overides db and var settings..."
# export DXVK_HUD=full"
# export GALLIUM_HUD=fps"
export MIRROR="GITHUB"
export PW_GUI_START="PANED"
export GUI_THEME="default"
export PW_GPU_USE="NVIDIA GeForce RTX 4080 SUPER"
export BRANCH="devel"
export PW_SHORTCUT_MENU="TRUE"
export PW_SHORTCUT_DESKTOP="FALSE"
export PW_SHORTCUT_STEAM="FALSE"
export PW_SOUND_DRIVER_USE="disabled"
export DOWNLOAD_STEAM_GRID="1"
export PW_WINE_DPI_VALUE="recommended"
export DESKTOP_WITH_TIME="disabled"
export SORT_WITH_TIME="enabled"
---------------------------------------
WINEDLLOVERRIDES=libvkd3d-shader-1=n;libvkd3d-1=n;d3d12core=n;d3d12=n;nvapi64,nvofapi64,nvapi=n;nvcuda=b;openvr_api_dxvk=n;dxgi=n;d3d8=n;d3d9=n;d3d10core=n;d3d11=n;d3dx9_43=n;d3dx9_42=n;d3dx9_41=n;d3dx9_40=n;d3dx9_39=n;d3dx9_38=n;d3dx9_37=n;d3dx9_36=n;d3dx9_35=n;d3dx9_34=n;d3dx9_33=n;d3dx9_32=n;d3dx9_31=n;d3dx9_30=n;d3dx9_29=n;d3dx9_28=n;d3dx9_27=n;d3dx9_26=n;d3dx9_25=n;d3dx9_24=n;d3dx11_43=n;d3dx11_42=n;d3dx10=n;d3dx10_43=n;d3dx10_42=n;d3dx10_41=n;d3dx10_40=n;d3dx10_39=n;d3dx10_38=n;d3dx10_37=n;d3dx10_36=n;d3dx10_35=n;d3dx10_34=n;d3dx10_33=n;d3dcompiler_47=n;d3dcompiler_46=n;d3dcompiler_43=n;d3dcompiler_42=n;d3dcompiler_41=n;d3dcompiler_40=n;d3dcompiler_39=n;d3dcompiler_38=n;d3dcompiler_37=n;d3dcompiler_36=n;d3dcompiler_35=n;d3dcompiler_34=n;d3dcompiler_33=n;nvngx,_nvngx=n;steam_api,steam_api64,steamclient,steamclient64=n;dotnetfx35.exe,dotnetfx35setup.exe=b;winemenubuilder.exe=
------------------------------------
-
Log WINE:
fsync: up and running.
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
00d8:err:openxr:get_vulkan_extensions Could not create key, status 0x2.

NOT working !!.. In this case Cheat Engine will run BUT will find NOTHING if i search in memory… If i run any trainer will not find needed memory segment for patching !!

Cheat Engine may not work on Linux, try this: https://github.com/DeckCheatz/wemod-launcher

same game (running in steam) … with the same Cheat engine with the same proton command as launch option in steam WORK great !!.. The problem is NOT in cheat engine but your game/apps runner because not injected proper… Game run proper as you see in the log BUT not cheat engine.
In your case if i run game first and after that run via wine file explorer cheat engine runs as application but not work proper because memory segmentation…

If i try to run FLING trainer in your portproton he NOT running too !!!

about weMOD… the shitiest game cheat tool (not free) created ever …

and at last PROTON_REMOTE_DEBUG_CMD … INJECTING 2nd app/game in the same segment of executable wine/proton memory to work proper and detect what he searching for

it’s very strange, i launch many trainers and it worked like a charm. Maybe problem on your side. I recommended retesting this with USE_RUNTIME OFF.

Эта тема была автоматически закрыта через 14 дней после последнего ответа. В ней больше нельзя отвечать.