SourceExplorer icon indicating copy to clipboard operation
SourceExplorer copied to clipboard

Add .lnk support

Open PikaAndrej opened this issue 3 years ago • 5 comments

What directory did you attempt to start Source Explorer in? [Desktop]

PikaAndrej avatar Jan 16 '22 18:01 PikaAndrej

It appears you're trying to open a shortcut to a game, instead of the game .exe itself. Source Explorer does not handle shortcuts, please try and load the .exe directly.

LAK132 avatar Jan 20 '22 11:01 LAK132

I'm sorry, but it seems that something is wrong here because i'm not using any shortcuts, i'm opening the .exe and seems that's not the problem

PikaAndrej avatar Jan 21 '22 12:01 PikaAndrej

and check out the screenshot srcexp_ZgZgahFEvd

PikaAndrej avatar Jan 21 '22 12:01 PikaAndrej

Ah, your log file continues after those errors, showing that Source Explorer was trying to open Chipper and Sons Lumber Co..lnk which is a .lnk not a .exe:

Source Explorer x86_64 v2.0.13-37c6d8c
ERROR(../include/lak/src/windowing/sdl/window.cpp:92): Failed to create an OpenGL context
ERROR(../include/lak/src/windowing/sdl/window.cpp:93): Could not create GL context: Операция успешно завершена.

LoadGame (../src/explorer.cpp:59)
{
| DEBUG (../src/explorer.cpp:61): Attempting To Load "C:\\Users\\Lietotajs\\Desktop\\Chipper and Sons Lumber Co..lnk"

Is the problem that it's not loading the game, or is the graphical window not appearing at all for you?

LAK132 avatar Jan 21 '22 13:01 LAK132

Also, if it's just that it's not loading the game correctly, please make sure you have "Only Errors?" turned off while loading a game if you are looking at the console window

LAK132 avatar Jan 21 '22 13:01 LAK132