source-engine icon indicating copy to clipboard operation
source-engine copied to clipboard

launcher improvements

Open maksw2 opened this issue 1 year ago • 10 comments

in csgo and new tf2 instead if hl2.exe we have gamename.exe. these games didn't require the -game parameter to launch, so i'm asking is it possible to make double clicking hl2_launcher.exe directly launch the game (--build-games= would also change the launcher to default not to hl2 folder but to build game folder).

maksw2 avatar May 29 '24 09:05 maksw2

Screenshot_20240601_103620_GitHub.jpg

looks like i found the line.

maksw2 avatar Jun 01 '24 08:06 maksw2

image DEFAULT_HL2_GAMEDIR is defined at line 94 if someone needs

DiegoArmando-27 avatar Jun 23 '24 09:06 DiegoArmando-27

can we derive this from --build-games ?

maksw2 avatar Jun 24 '24 19:06 maksw2

can we derive this from --build-games ?

impossible

ThePixelMoon avatar Dec 07 '24 19:12 ThePixelMoon

sure is possible

maksw2 avatar Dec 13 '24 13:12 maksw2

sure is possible

so you think it can change the code according to a fucking console argument?

ThePixelMoon avatar Dec 14 '24 17:12 ThePixelMoon

sure is possible

so you think it can change the code according to a fucking console argument?

are you stupid? at waf level add a preprocessor definition to set the default game. not that hard.

maksw2 avatar Dec 17 '24 19:12 maksw2

sure is possible

so you think it can change the code according to a fucking console argument?

are you stupid? at waf level add a preprocessor definition to set the default game. not that hard.

yeah and what about mods?

ThePixelMoon avatar Mar 05 '25 05:03 ThePixelMoon

--build-game=mod or whatever

maksw2 avatar Mar 05 '25 06:03 maksw2

--build-game=mod or whatever

oh right.

ThePixelMoon avatar Mar 07 '25 10:03 ThePixelMoon