Thursday, December 15, 2011

I found this feature the other day and it's made my life easier. When compiling GMod the source is in a folder called src, and the generated binaries go in a folder next to src called game. To test it out I had a script that copied the binaries from game to sourcemods. That way I can run the development version of Garry's Mod as a Mod on Steam.

Well with mklink I can create a link between game and sourcemods. So that when I open the sourcemods folder it's identical to the game folder. It's the same folder under a different name. The OS treats it exactly as if the files were in sourcemods.

The command line is pretty straight forward..


For example I have a .bat file in my sourceĀ 

with the contents:

rmdir D:gamessteamsteamappssourcemods
mklink /D /J D:gamessteamsteamappssourcemods gameĀ 

I have that file in both my garry's mod branch and my garry's mod beta branch - so I can easily switch between them.

Thought this was a cool feature that someone might want to know about.

More Rubbish

Your Portfolio Gave Me Diarrhea

Friday, October 1, 2021


Friday, September 24, 2021

We got married

Thursday, September 16, 2021

Unity Quiz

Sunday, September 6, 2020

Everything We Watched In Lockdown

Thursday, September 3, 2020


Tuesday, December 13, 2011

Blog update

Sunday, December 11, 2011

Ass Kicker

Monday, November 28, 2011

Other Stuff

Tuesday, November 22, 2011

Stuff done did

Sunday, November 20, 2011