by jsheard · 1y ago · 0 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.
> The bad news: this code only compiles and runs on linux. We couldn't release the dos code because of a copyrighted sound library we used (wow, was that a mistake -- I write my own sound code now), and I honestly don't even know what happened to the port that microsoft did to windows.
> Still, the code is quite portable, and it should be straightforward to bring it up on just about any platform.
It seems like they just didn't have immediate access to the code for the Windows version. The DOS source code eventually leaked a couple years ago along with the code to the Mac port of Doom. https://archive.org/details/doom-mac-source
How does that follow? Normally copyright would transfer to the company paying for it.
On one hand, at one point we had CEO and CTO publicly stating in townhalls that they want us to be a technological forefront and looking for ways to showcase our capabilities. At the same time it was virtually impossible to open source even something as trivial as a string formatting library, because once you started talking to stakeholders about approval their POV was that it's part of a project that took X amount of employees Y amount of time and that equation is in millions, so that has to be really valuable.
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.
So they could probably do it, but it would be costly, while just releasing the TF2 code is basically free.
It's all legal risk with little commercial upside
I do think that the source code of source was leaked. Its just that valve has to themselves give the code of source. FLOSS community would really do it. Trust me.
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"
https://github.com/id-Software/DOOM-3/blob/master/neo/render...
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...
That's not really true. As a strictly internal engine they gain the massive benefit that the only users are themselves. They don't have to make affordances or adjust for third party users. If they released it with no intention to play nice with the community then all they open themselves up to is criticism and bad press when they inevitably break third party users. To keep their nice internal workflows without more engineering effort would make the release a dump of the source tree and a "have fun" message pledging zero support.
Often in internal engines there are lots of workflows and tools that only work with access to the company's internal network. Things you can't make public. I work on (a different) internal AAA engine and our build system would not work without access to our internal network even if you had a dump of the entire source code. Do you rip that out or modify your internal workflows? Not so free to release it anymore.
Source 2 dropped Havok in favor of their in-house Rubikon physics engine.
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...
They seem fairly functional but not fully drop-in replacements.
There is a third-party implementation of vphysics based on an open source physics engine, for example - so for Valve that seems to have been successful: https://github.com/misyltoad/VPhysics-Jolt
If you ever meet any you should ask them.
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/
https://vghe.net/source-2-engine.html#source-2-engine-games shows Valve almost exclusively.
FFS some of the best indie games out there made was made on RPG Maker and let's say it's far less advance than Godot. After all games are all about enjoyable core loop and player expirience. And no game engine magically give you any of it.
Company I co-founded released 2 games on PC and about to release 3rd one on PC and all the consoles. One of them was made with Godot, two with Unity. The only reason we had to switch to Unity are consoles. And the reason why Godot cant efficiently complete on consoles is the fact that platforms are backward and proprietary.
Do you see Source being used in virtual soundstages? No. Does Source support Metal or Vulkan? No.
Does it have anything approaching the 3D or 2D or rendering style capabilities of any modern engine? No.
Is Source going to be remotely relevant for metaverse stuff? No.
All the money in the world won't change the fact that Source is an outdated pile of garbage.
Respawn uses it to this day for Apex, and it's horrific. Its graphics quality is atrocious especially for the demands it places on hardware. It has the worst latency of any similar multiplayer game (some events can take half a second to make it from a player's action to another player's system!) It lacks modern features that have been in other games for many years, like variable event rates (some games, for example, will use much higher event update rates for stuff happening within the player's field of view.)
Its game engine has so many bugs around inputs, movement, and collisions that high level play revolves around abusing all of them for competitive advantage in what is lauded as "movement", and because Respawn never treated these issues as exploits, they got painted into a corner where they can't ever switch to a modern game engine because trying to get the quirks of movement behavior would be impossible.
The game's input processing is done in relation to framerate, for fucks sakes....so input processing behavior changes depending on framerate.
The security and anti-cheat in the game is so hamstrung by Source that multiple world tournaments have been hacked live and ultimately had to be done in secret, later broadcast - because Respawn was so powerless to stop the hacker(s).
With more Unity shifting to a royalty model you're going to see a lot more interest in open source game engines like Godot; Godot is, for example, working on being usable for massive multiplayer and open-world games.
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.
ID's engines are always called "The world's most expensive xcopy". You always get the source, but you never share it.
Same model. Get the license, get the source.
See the relevant page at: https://dev.epicgames.com/documentation/en-us/unreal-engine/...
From that page:
> This page provides detailed instructions for subscribers to download the source code for Unreal Engine (UE) from the Unreal Engine GitHub repository, and to get started working with the code.
(Emphasis mine)
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.