LAK132 / SourceExplorer

GNU General Public License v3.0
136 stars 13 forks source link

Add .lnk support #79

Open PikaAndrej opened 2 years ago

PikaAndrej commented 2 years ago

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

LAK132 commented 2 years ago

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.

PikaAndrej commented 2 years ago

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 commented 2 years ago

and check out the screenshot srcexp_ZgZgahFEvd

LAK132 commented 2 years ago

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 commented 2 years ago

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