1863 points · by davikr · 1y ago · 387 comments
The community around the engine is vibrant and well-versed in the caveats of the Source workflow. With a GPL release, just like Carmack did with id tech, the amount of creative projects from indies would sky rocket. No longer bound by obscure deals.
IdTech probably was only open sourced because Carmack pushed for it, but it helps that IdTech of that vintage was all in-house code exclusively targeting the PC. I think the only thing they had to cut out for legal reasons was the patented shadowing algorithm in Doom 3.
They couldn't release the windows port of Doom either, as that had been done by Microsoft, and would therefore include Microsoft copyrighted code.
With Quake, Id did their own windows port, so it was possible to release the source code for winquake.
This just seems like a lazy excuse. Ok so some of the code can’t be released. Fine, what stops you from open sourcing the rest of it that isn’t licensed? The OS community will surely fill in The blanks.
Probably other stuff there but not sure off the top of my head.
reminds of the whole "opensourcing solaris" drama that Bryan Cantrill talked about in his speech at usenix some ten years ago.
i wonder if the culprit is i18n again, "lol"
I remember that being somewhere in the neighborhood of 1 LOC to fix, and exactly where to change it was “common knowledge” the moment the source came out
Source uses Havok, which is a licensed middleware. Convincing Havok to be also open source is likely a nonstarter. Repeat for any other middlewares they might have used, such as Adobe's ScaleForm used by CSGO, and it quickly is just an endless legal nightmare. idTech handled this by either spending time to rip out those components, allowing for a partial open source release which is what you're ripping on Valve for doing right this moment, or by avoiding using any licensed middlewares at all which is a significant development limitation that not everyone can get away with.
As Source 2 replaces everything with in-house developed alternatives, it's possible we might see that open sourced in the future. Who knows.
Do you have a link for this? I know the sound system is theirs as they open sourced it.[0] What about physics?
Also, I agree that they should open source Source 2 if possible. They gain almost nothing by having it closed source and gain a lot by giving developers a better deal than Unreal because more money saved on the engine means either cheaper or better/long games. (At least assuming both engines are equivalent which they are not, but in theory.) Meanwhile Epic is using Unreal as a carrot for developers to release their games in Epic Store.[1]
[0] https://valvesoftware.github.io/steam-audio/
[1] https://www.theverge.com/2024/10/1/24258723/epic-games-store...
Haven't played TF2 but at least HL2 relies heavily on physics for gameplay, so while replacing the rendering engine might lead to rendering artifacts which can be annoying but tolerable in many cases, replacing the physics engine will probably lead to game-breaking issues.
One could reverse engineer it, but then you're into copyright territory...
Contributing to this is probably
- custom external hooks (eg: homemade test framework, patchnotes publishing, steamapp backdoor integrations, hardware-specific firmware interfaces, 3rd party closed source SDK hooks)
- assumptions about Valve's server architecture/implementation for most multiplayer stuff used by Valve games, the codebase(s) of which are probably as vast as Source itself and closed-source too
- bespoke engine modifications made for specific games like HL2 or CS1.6 which hasn't been touched for a decade, the authors of which may not be accessible to document them trivially
Adding sufficient documentation to a massive closed-source system meant for internal use, over multiple decades, to bring them up to par for functional OSS publication is a monumental feat that honestly probably isn't worth the risk of bad publicity from the modder community who'd just be mad about how unusable it would be.
[1]https://sbox.game or https://store.steampowered.com/app/590830/sbox/
My general impression from lurking on these kinds of threads (with no relevant personal experience) was that Godot is a good 2D engine but not a good 3D engine. Do you find it comparable to the other two?
Sadly, you need to put in a lot of work to get good results out of it (neither of its predecessors had a reputation for being easy to work with) and for whatever reason many studios aren't exactly rushing to invest a bunch of time into it (many just go for Unreal Engine 5, or stick with Unity etc., indies often opt for Godot), so you don't get much past simple example projects. Part of this is probably that it never generated a lot of hype or much of a community around it.
Godot has a big community around it and is maturing pretty quickly, the early versions were pretty rough when it came to 3D (2.X and 3.X), but it's better now. Not as stable as Unity or Unreal but those have had the advantage of lots of years of work put into them, by more people than Godot has up until now.
There's also more niche options like Stride (https://www.stride3d.net/) and Flax (https://flaxengine.com/) but they suffer from the same issues as O3DE, even if otherwise are promising.
Forget Source, what about GoldSrc.
... which was based on Quake which is now GPL.
There's Xash3d which lives in a kind of licensing limbo because it was developed mostly from scratch except for some header files which could now be replaced by GPL QuakeWorld ones yet the current Xash maintainers can't do anything about it because they're tainted by non-clean-roomness.
Even if the above issue was solved, this is about the engine; the HL1 game code (the "SDK") is open but licensed by Valve in a way (MIT-ish permissive with a non-commercial clause) that is incompatible with the GPL.
This makes both legally undistributable as binaries together.
I steer clear of Xash3D because of it's legal grey area too.
https://github.com/ValveSoftware/source-sdk-2013/issues/624
I don't think it reflects well on this site either
PS: I am the guy who wrote the long paragraph about crowdfunding.
After reading the hackernews , it became evident that yes it would be nice for foss source code but its never gonna happen because its gonna take effort and money for valve for what? they might not do it , because I guess they are there for making money ?
I believe that crowdfunding is the way to go , Instead of forcing companies to give what we want for free , we need to provide an incentive for them.
This crowdfunding could also be a great PR for valve itself as well. Crowdfunding is the win-win situation I could think of , but oh I am more than happy to eat my own word , if I can get source's source code and really run team fortress 2 fully open source.
Maybe remove that part if you really want valve to listen to this professionally please ?
if someone just does a `git push` and changes license it won't be much help to anyone until there is a proper documentation.
Do you think they will release it at any point? Maybe there are licensing issues where they don't have the rights to all of it and couldn't easily opensource it. Or maybe there is in fact still too much secret sauce left there?
There's always in-house ways to deal with graphics drivers and certain effects. Remember how Source 1 was the only engine which was able to render HDR with measly ATI 9600XT, without a performance penalty most of the time?
You carry this know how in evolved form for generations, and it gets buried under as the foundation of the new things you're building on top of it.
This is what I remember from a friend who implemented his own game engine and created a company for it, and half the woes were making the graphics drivers and processors behave as they said in their manuals.
If this apocryphal story is true, they might only have a license to it (making it a derivative work) and depending on the terms of their licensing agreement from id they might not be able to do that without having their legal people talk to ZeniMax’s (they bought out id software and are their parent company now) lawyers, which runs to thousands of dollars in pure costs even if everyone is totally cooperative and on board and wants to make it happen immediately.
There are maybe four still in development and due hopefully this year, plus Apex Legends is still going strong.
I feel like that's irrelevant, because the same logic can be used to justify having Source2 open as well.
After all, what value is there in keeping the game code private at all? The only things I can think of are a) anticheat, b) NDA'd 3rd party code, and c) protecting important secret sauces made by the company itself
a) and b) are both solved by simply not releasing those portions of the code, while c) is a bit moot. Any competitor can already (legally) RE the binaries and recreate any juicy proprietary algorithms, unless they're patented. But in that case they would be protected even if the source was released so it's still the same situation.
I'm not fully up to date but I'm under the impression that Source 2 is currently used by their modern games. I don't think that's the case for Source 1. The same logic wouldn't apply.
>After all, what value is there in keeping the game code private at all?
Pretty much what you said. It's all down to cost-benefit at the end of the day and of they think there's more cost (perceived or otherwise) to releasing source 2 code they won't bother.
We can not fix problematic netcode (this is a running joke in the TF2 comminity)
We can fix game balance issues (that could also be fixed through configs)?
I think some of these fixes were through something a bit more complicated like sourcemod which hooks various methods.
I am asking this from a total legal standpoint.
It is necessary to avoid distributing any copyrighted material, so the user must provide the game assets from a legitimate copy for using the program to be legal. In addition, the 'clean-room' must be maintained by ensuring that no contributors to the re-implementation have ever seen the source code for Source, or they become tainted with forbidden knowledge.
Indeed, it's quite common for beloved old games to be re-implemented on new codebases to allow easy play on modern OS's and at high resolution, etc.
See https://github.com/Interkarma/daggerfall-unity, https://openrct2.io/, https://github.com/AlisterT/openjazz
I remember downloading a leaked version of the source code for source engine, and in general it was laughable at how awful it was. I dont know if it was ever discussed mainstream but only based on recollection of IRC chats.
I think it was about 6 months out of date, but even so it would explain why HL sequels would become vaporware despite years of teasing the community by Gabe Newell himself.
Volumetrics, physical sound, pbr, great snapshot based networking.
Godot doesn't really come close.
It's about damn time, really. The TF2 source code has already leaked twice. And a group even made a cloned version of the game in an earlier version of the engine. The community support this game still has is massive.
edit: here's the announcement from the TF2C Discord:
==============
@everyone We'll have more to say later, but you might not be able to launch TF2 Classic for a little bit due to the massive SDK update and public release of Team Fortress 2's code.
We're already preparing for the porting efforts and a potential Steam release now that we've been legally enabled to pursue that, but in the meantime, you will have to shift Source SDK Base 2013 Multiplayer to the "previous2021" beta branch that still has the previous revision of the SDK files to continue playing. See the screenshot for an example.
Thank you, and we'll have more news soon!
They don’t have Valve’s humor but… who does.
https://github.com/ValveSoftware/source-sdk-2013/blob/0759e2...
frogs and graphics programming are good friends.
(Also includes links to recent updates for other Source engine titles)
Double digits? That's very very optimistic. It's closer to like two people.
I see what you did there
Unless you know for sure that you're going to get a decent player base, I don't think optimising for Mac makes much business sense for games companies. Users that can afford a Mac can probably also afford a console anyway.
You can trick games into running by using the same wrappers and workarounds that you'd use to game on Linux (except you need to optimise the wrappers yourself because they're less mature) but gaming on Linux already has plenty of DRM/anti-cheat incompatibility issues, and using less mature tools will only make that worse. And, of course, Apple doesn't care much about backwards compatibility; they've killed 32 bit for no apparent reason other than "we don't want to maintain compatibility" and who knows how long they'll maintain the current set of replacement APIs. Linux suffers from similar issues, and that's why the go-to method of playing games on Linux is to run them in an emulated Windows environment.
I think games companies will recompile games for Snapdragon before they'll bother with Mac. By the time they got all their 32 bit x86 libraries to work on ARM without emulation, Apple has probably switched around a couple of APIs and requirements anyways, so why bother.
See also: Win32 is the only stable ABI on Linux - https://news.ycombinator.com/item?id=32471624
People make fun of "devs devs devs" from Balmer but he was heavily right, Microsoft spent a ton to court developers and they got a monopoly on PC gaming as a result.
I think "courting" is underselling what they actually did.
They invested heavily into building tooling and APIs specifically for games, which eventually powered their own gaming console. They were practically the only company doing this on PCs since the mid '90s, and they became a monopoly because nobody else was focused on this. Developers and consumers jumped aboard because there was nowhere else to go. This is the same reason Steam won. For many years, there were just no alternatives.
Microsoft gets a lot of flack for many things, but they deserve a ton of credit for inventing and supporting the PC gaming landscape as we know it today.
[1] https://www.macrumors.com/2024/08/01/apple-arcade-frustratio...
> As [1]announced on the official TF2 website
[1] https://www.teamfortress.com/post.php?id=238809 states:
> We're also doing a big update to all our multiplayer back-catalogue Source engine titles (TF2, DoD:S, HL2:DM, CS:S, and HLDM:S), adding 64-bit binary support, a scalable HUD/UI, prediction fixes, and a lot of other improvements!
So that seems to be coming, at least in the sense of x86-64 which Apple Silicon supports better via Rosetta 2.
That is actually more than I thought, but its clear without compatible games there is very little reason to install Steam.
Also, Apple only recently started to be more gaming friendly, so it's really not surprising they would try to port a 20 year old game.
About 30% of the games I own on Steam would run on my Mac. I think that's quite much for a platform that nobody likes to develop for. But to be fair, I have few mainstream games like CoD, LoL or whatever.
I can't find it. But essentially it was Apple not wanting their machines to be used for gaming. And so axed all the work of the port and refused to publish the game.
The best I can find is from 2007 from Gabe:
> We have this pattern with Apple, where we meet with them, people there go "wow, gaming is incredibly important, we should do something with gaming". And then we'll say, "OK, here are three things you could do to make that better", and then they say OK, and then we never see them again. The cycle then repeats itself when a new group of people replace the old ones at Apple.
> We're also doing a big update to all our multiplayer back-catalogue Source engine titles (TF2, DoD:S, HL2:DM, CS:S, and HLDM:S), adding 64-bit binary support, a scalable HUD/UI, prediction fixes, and a lot of other improvements!
So it sounds more like Valve just hadn't done the work to make it possible to run on more modern macOS (that has long been 64-bit only) until now. Not much Apple could have done except maybe tried to directly pay them to do it earlier...
Windows Vulkan and OpenGL drivers exist, because Microsot still hasn't removed the ICD plugin interface from the OS, which is used by GPU vendors themselves, not Microsoft, to provide drivers on Windows for VUlkan and OpenGL.
Likewise, Valve could have use MoltenVK if they actually wanted to.
Valve didn't bother with Metal because Apple are hostile to their business model, they've given up dedicating serious rescources to the platform and at this point Steam only exists on MacOS out of inertia.
I fear the day that Gaben dies/resigns. Hopefully Valve finds a worthy successor, but it's not unheard of for a company to lose its way after the original generation is gone.
I think it's hard to form a gambling addiction if you don't really have any money for gambling. You learn pretty fast that you get better value trading than gambling. I don't see how its much worse than baseball cards (we also had "top trumps" and pokemon cards and such).
Looking back on my childhood, I think the effect of internet porn far outweighed the effect of gambling-adjacent stuff like loot boxes.
I think the real victims of gambling in games are usually adults who have a much greater ability to dump their life's savings into a game.
I think that's more because people don't want to teach children about sex, while people do demonstrate what gambling is early on. Ones much more complex and if you're letting a kid find their own answers unguided, that can potentially be disasterous.
That's not even mentioning theneffect of instilling shame on your own biological body and treating parts of it as taboo. If parents refuse to talk about something, it can be taken as either a bad thing, a scary thing, or a complicated thing.
But they have a near-monopoly on the pc gaming market so selling on Steam is a must
- anticheat
- voice chat, friend list, ...
- matchmaking
- marketplace for mods, maps, skins, ...
- clips and videos
- forums/ discussion board
- cloud saves
- rankings
An indie would have to implement and host those by itself or rely on third party services.
Even more ironically those indies typically use negligible amounts of Steams infrastructure, while the AAA games which enjoy the 20% revenue share are the ones regularly pushing 200GB downloads though Steams servers.
When you put it that way, the model makes so much more sense to matching how the US operates.
As you say, Valve does not directly promote gambling products. They are not like EA with their predatory Fifa super team.
Still a lot of people, including journalists, find that they could do more to protect against underage gambling.
I think just means that valve has turned their DRM into a value-add for the consumer with cloud backups and item trading and such convenience features. And I say this as someone who uses GOG. You look at other competitors like Epic Games Store or EA or whatever and the user interface is bloated and slow, and it is just a pain to use.
Critically, Valve allows you to trade items. This results in a couple of downstream effects:
1. Items have real-world value because they can be traded for money outside of Steam. Multiple sites exist for people to convert items into real-world money (certain rare items have been sold for >$1m [0]).
2. As these items have value, they can serve as a surrogate for money in casinos, or for sports betting.
3. This can even lead to money laundering [1].
As such, skins should be considered money, but the sites running these services don't. Therefore, it is trivial for a child to walk into a game store, buy Steam credit, use that credit to buy skins, and then spend that money on literal gambling (as very few sites have KYC). I know because I've actively partaken in it as a child. Even cryptocurrency is harder: most legitimate exchanges attempt to do identity validation.
Some video resources that might be useful:
- Coffeezilla: https://www.youtube.com/watch?v=13eiDhuvM6Y
- People Make Games: https://www.youtube.com/watch?v=eMmNy11Mn7g
[0]: https://www.ign.com/articles/counter-strike-skin-sells-for-o...
You can wrangle that with words in any way you want, its gambling. Same for Team Fortress 2 and stuff like hats.
Most current monetization for cosmetics allows you to both (1) grind for items without paying anything and (2) if you want to pay, show you exactly what you are paying for.
Even games that still use lootboxes (i.e. don't follow #2) allow you to grind for items.
CS is one of the very few (or only current) game where you can't get a cosmetic without paying (must purchase keys to open lootboxes) and you don't know what you are getting (lootboxes).
It's bad and there is no excuse.
The trading mechanic, which adds a real world value to these cosmetics, and encourages players to pay for lootboxes makes it worse.
People sometimes hate on popular games like Fortnite and COD, but they have way better/more fair monetization practices.
I am however eternally grateful Steam allows me to painlessly run Windows games on Linux so I never have to deal with MS in my personal life ever again. As a game distributor they are awesome. And that is what Valve does best, distribute games.
Half-Life Alyx actually took me by surprise. As in: "What? Valve still makes games?". And while it is the Half-Life franchise, it is different enough to stand on its own.
Maybe I'm not enough of a hardcore gamer to like DOTA or MOBA style games. I loved TF2 but you can only play for so long.
I would like to see Valve come up with some fresh new imaginative IP that isn't something decades old. Half life was a ground breaking game and to this day I will fire it up and play through about once a year after I get the urge. On a rail was my favorite part. I feel dread when I get to Zen because I know the end of the game is near.
https://store.steampowered.com/search/?sort_by=Released_DESC...
They also likely have another half-life game in the works, as mentions of half-life-esque things have popped up around their codebase (as published through updates of their existing source 2 games):
Valve's release cycle has slowed down to almost nothing, and are just feeding off their cash cows. Gabe is 62 and seems more interested in his Neuralink competitor.
CS:GO is the worst offender; to the point where there's third-party gambling[0] sites to gamble cosmetic gun skins with, that specifically cater to children. Basically all of CS:GO's pro scene is sponsored by it.
[0] The skin gambling sites are not officially condoned by Valve, but they absolutely do not do shit to try and stop it.
[1] Half-Life: Alyx notwithstanding
Source really wasn't built for the amount of particles present in the cosmetics (especially the "Unusuals")
Same with the Half-Life repo - when the 25th anniversary stuff was released it was just pushed as one mega-patch.
On the flip side, does this SDK actually help bot makers? That would be unfortunate indeed.
I doubt it - there have been at three or four Source engine leaks over the years, as well as the Team Fortress 2 game code. I suspect anything they don't know they reverse engineer from the Linux and Mac builds, and I'm sure anything Windows specific is easy to find as they'd have IDA scripts to automate what they need to find.
Initial commit
+1153568 -222431 lines changed
Valve is not 40,000+ company, not even 4,000+. 400 people. That's it.
It makes sense they decided to focus on Source 2 instead...
Existing instructions use the old, leaked source engine. Time to make it official and native.
There might be some Team Fortress 2-specific stuff in the engine (certainly the GoldSource engine tweaks a couple of things based on which game is running) but I doubt it - the Source engine relies a lot more on expecting game code to implement a bunch of interfaces.
Shame that source itself is proprietory.But still its leaked so its "theoretically" possible to be open source. IDK.
it was heavily disliked by people. So I think I have come across the solution of crowdfunding.
I have presented various benefits to the crowdfunding & I am writing this again so that this can be a comment of its own so that it can be much more easier for hackernews people to see I suppose for better discussion purposes I suppose.
https://github.com/ValveSoftware/source-sdk-2013/issues/624#...
Oh... and pressure-vessel which pulls linux expensive "user/mount namespace" in for... a desktop system, only for what seems the "I-don't-why-they-cannot" generate clean 64bits ELF binaries, namely with proper glibc ABI selection (see 2nd part of the binutils ld VERSION documentation page, and the man page of the readelf command for auditing those binaries), dynamic loading of core video game interface shared libs (x11/wayland is statically linked/libasound/libvulkan/legacy libGL/libxkbcommon[-x11]).
Oh and lately, I had to build the original lsof command to please the steam webhelper... and there is a liblsof library they could have linked statically...
Valve "linux" devs should be worry putting "valve" on their resume, this could backfire... seriously.
Steam launched without any runtime. They added all that because yes, the average game developer cannot manage to build portable libraries.