News for hackers. Stuff that matters.
Re:Valve releases Team Fortress 2 game code by Imustaskforhelp on Wednesday February 19, 2025 @12:54AM (#43099037)
can we not create a legal open source "source emulator".

I am asking this from a total legal standpoint.

Re:Valve releases Team Fortress 2 game code by ripdog on Wednesday February 19, 2025 @11:04AM (#43103598)
"Emulator" is the wrong word, but the answer is yes. The word you actually meant was "re-implementation" - writing a completely new, clean-room program which reads Source data files (levels, assets, scripts) and allows the user to play a Source game is perfectly legal.

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

Re:Valve releases Team Fortress 2 game code by zamalek on Wednesday February 19, 2025 @12:52PM (#43105070)
A somewhat notorious example of "never having seen the proprietary code" was the whole Mono and Rotor fiasco. Rotor was a source-available implementation of .Net (Framework, Core didn't exist), with a highly restrictive license. If memory serves, someone had read the Rotor source and contributed to Mono: causing a legal nightmare.
Re:Valve releases Team Fortress 2 game code by jamesfinlayson on Wednesday February 19, 2025 @07:49PM (#43109789)
Eh, I think someone tried to do this with the GoldSource engine a few years ago and got shut down by Valve's lawyers before too long.