from Hacker News

Leaked source – CS:GO

by wastedbrains on 6/3/23, 2:39 PM with 105 comments

  • by opan on 6/3/23, 3:26 PM

    The title says "open source" but then goes on to talk about leaked source. Unless a clean room RE was done, I don't think this can be called "open source". I want the thing in the title to exist, of course, but at best this seems like the sort of thing that won't be legal and free until we're all dead.

    If anyone was interested in making a properly free CS:GO, they probably should avoid reading this post as it seems to show the leaked source.

  • by Jack5500 on 6/3/23, 3:39 PM

    This world view is quite perplexing, to be frank. On one hand, he urges potential users to switch to Linux, emphasizing its cost-free nature and the freedom it offers in terms of code and game direction. However, on the other hand, the code being used is stolen and leaked, thus infringing on the original creator's copyright. Additionally, the repository's license claims that all contributions are considered public domain, which adds to the oddity of the situation. Since there is no legitimate license permitting the existence of this code, it is even more peculiar that a custom license is being invented, allowing contributions to this clearly stolen source code to be considered public domain.
  • by metadat on 6/3/23, 3:18 PM

    Anyone have a magnet link to the original full.7z as a torrent?

    <Edit: The best I can find so far are these~>

    [1] https://git.botox.bz/BotoX/hl2_src-leak-2017/src/commit/21b3...

    [2] https://hl2-beta.ru/index.php?topic=29120.0

    Both of which lead to:

    magnet:?xt=urn:btih:21dda6847dde983f2f8063739249d2d1d09a5dda

    "April 22nd 2020, random leaked shit.rar" / 5.0GB

    MD5: c053f2b60d104f61c3057d3d425abd25

    SHA256: f77c6124b35b3a44966aa904cccc178342957e0e2d42e8588e240ce9533d6096

    </Edit>

    Also, really admire the level of skill, dedication, and degree of focus it took to pull this off. I'm good at most of the areas used in this article, except the RE, and this was undoubtedly a TON of work for one lone wolf to execute on! Huge respect for this person. Then creating such an amazingly detailed technical write-up with the entertaining story bits and cute references like ".. us smoothskins ..", I had to look it up:

    https://fallout.fandom.com/wiki/Smoothskin

    Thank you so much, @LWSS (the author)!

  • by codethief on 6/3/23, 4:09 PM

    Given the proprietary nature of most of the source code, I'm surprised the author's Github account hasn't been suspended yet. The blog post is from 2020 and everything's still online.
  • by jrflowers on 6/3/23, 5:57 PM

    > Some weird schizoid managed to grab both these codebases during his work on some 900th attempt of a HL2 VR project and his major goal was to have this circle leak it to the public and fly to his girlfriends house (also involved in the valve community) and kill himself and her.

    What the fuck? This is so weird.

  • by destroy-2A on 6/4/23, 2:39 AM

    I am impressed with the amount of effort this bloke put to get this thing running, respect. I would rather see people talking about the insane hacks that were in the code.

    I also had a chuckle when I saw the license

    In a few days when valve lawyers knock on the door... he guys I said ALL DUE RESPECT, so its legal, its in the Geneva convention!!! https://youtu.be/Af-Id_fuXFA

  • by sylware on 6/3/23, 2:45 PM

    And cs2 is about to be released. Funny timing.

    You could dev a PC AAA game and released it only for elf/linux. It is so easy to install free mainstream elf/linux distros, ppl will probably do it to play that big PC AAA game.

  • by the_overseer on 6/5/23, 4:51 PM

    Am I the only one who isn't that impressed with the codebase quality? They are not even respecting the same coding convention in the same file for Christ!

    It just looks so hacky and something from the early 2000s era when it comes to engine architecture... What am I missing? Shouldn't these guys be at the forefront of innovation when it comes to engine design? Last time I checked they were a multi-billion dollar company which prides in hiring only the best of the best. How the hell do the best of the best write this code where you find // HACK: everywhere?

  • by sodality2 on 6/3/23, 4:17 PM

    (2020)
  • by pharmakom on 6/3/23, 3:59 PM

    it says one of the leakers was arrested? is there a source for this?
  • by no_time on 6/4/23, 10:39 AM

    Now that it has been posted here, I urge everyone to clone the repo and download the steam depots mentioned in the README.

    It did compile successfully for me the last time I tried it a year ago. I miss the original UI more than I anticipated, but other than that it works great.

  • by favorited on 6/4/23, 1:31 AM

    The title should say (2020) -- the bottom of the page notes "Written on December 16, 2020"
  • by 29athrowaway on 6/3/23, 4:06 PM

    It's unlicensed proprietary code, you cannot use it.
  • by xwdv on 6/3/23, 4:33 PM

    I think we will begin to see more projects like this as it becomes trivial to take some leaked source code, and hand it off to an AI and tell it to make it non-copyright infringing.

    Eventually the next natural progression is to hand over an entire program’s binary, and have the AI produce an equivalent code base in whatever language you wish.

    In response, this will usher in a new era of very thin clients, or perhaps server based rendering of programs.

  • by kristopolous on 6/3/23, 3:44 PM

    For other people totally confused, all these acronyms are for video games
  • by GaggiX on 6/3/23, 3:34 PM

    I dream of a day when the source code for Mario Kart Wii is leaked (my favorite game), but I guess CS:Go and TF2 is already something.

    But to be honest, in the future there will be powerful models trained to reverse engineer binaries, so it probably won't be necessary.

  • by gatkinso on 6/3/23, 5:07 PM

    its finally the year of the linux desktop
  • by Aeroi on 6/3/23, 3:52 PM

    dope, can you make my macbook run 1.6?
  • by babuloseo on 6/3/23, 3:16 PM

    The best CS:GO was when they didn't have competitive mode XD