Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't open .lnk files generated by thcrap #3645

Open
FlameSniper opened this issue Dec 31, 2024 · 0 comments
Open

[Bug]: Can't open .lnk files generated by thcrap #3645

FlameSniper opened this issue Dec 31, 2024 · 0 comments

Comments

@FlameSniper
Copy link

Describe the bug

When you generate a .lnk configuration for thcrap and try to open the .lnk in Bottles, it gives out a "file not found" error.
Disabling flatpak's folder protections don't help with this, neither moving everything to one of the directories that Bottles likes ootb.

To Reproduce

  1. get any mainline PC Touhou game (6 to 19)
  2. install thcrap (check https://www.thpatch.net/ ) and create a mod configuration file by running thcrap.exe
  3. run the .lnk file produced by creating a mod configuration

Package

Flatpak from Flathub

Distribution

EndeavourOS Cinnamon

Debugging Information

Official Package: true
Version: '51.17'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.7-zen1-1-zen
Disk:
    Total: 3077332992
    Free: 3077160960
RAM:
    MemTotal: 5.7GiB
    MemAvailable: 2.4GiB
Bottles_envs: null

Troubleshooting Logs

lucas@jet-jaguar ~> flatpak run com.usebottles.bottles

(bottles:2): Gtk-WARNING **: 21:30:01.093: Theme parser warning: style.css:184:3-185:1: Expected ';' at end of block

(bottles:2): Gtk-WARNING **: 21:30:01.093: Theme parser warning: style-dark.css:23:3-24:1: Expected ';' at end of block
21:30:01 (INFO) Launching with URI: None 
21:30:01 (INFO) [Activate] request received. 
21:30:01 (INFO) Bottles Started! 
21:30:03 (INFO) Performing Bottles checks… 
21:30:03 (INFO) Dxvks found:
	 - dxvk-2.4
 
21:30:03 (INFO) Vkd3ds found:
	 - vkd3d-proton-2.13
 
21:30:03 (INFO) Nvapis found:
	 - dxvk-nvapi-v0.7.1
 
21:30:03 (INFO) Latencyflexs found:
	 - latencyflex-v0.1.1
 
21:30:03 (INFO) Runners found:
	 - soda-9.0-1
	 - caffe-9.7
	 - wine-ge-proton8-26
	 - kron4ek-wine-9.22-staging-tkg-amd64
	 - ge-proton9-20
	 - sys-wine-9.0
 
21:30:03 (INFO) Bottles found:
	 - Games 1
	 - Programas
	 - Touhou
	 - JP
 
21:30:04 (INFO) Catalog installers loaded 
21:30:04 (INFO) Catalog dependencies loaded 
21:30:04 (INFO) Catalog components loaded 
21:30:08 (INFO) Setting Key sync=fsync for bottle Touhou… 
21:30:08 (INFO) There is no running wineserver. 
21:31:29 (INFO) Launching an executable… 
21:31:29 (INFO) Using Wine Starter -- run 
21:31:29 (INFO) Using EasyAntiCheat runtime 
21:31:29 (INFO) Using BattlEye runtime 
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (126).
0090:err:hid:udev_bus_init UDEV monitor creation failed
21:31:44 (INFO) Using Wine Runtime tool -- send_status(-k) 
00e8:err:ole:start_rpcss Failed to open service manager

Additional context

I am aware of the warning on top about Windows executables, but this seems to be an error exclusive to Bottles, as i have confirmed that Lutris can run the .lnk files generated by thcrap.
I opened a bug report on thcrap's github, seems like they don't have a clue. thpatch/thcrap#272

I can provide touhou's files in case it is necessary and exclusively to debug this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant