News for hackers. Stuff that matters.
Re:Someone dropped the source code for Far Cry 1 on archive.org by grishka on Saturday July 01, 2023 @08:33AM (#36549432)
In general, open-source all abandonware. Here's a few examples of non-game old software that would benefit the society if open-sourced:

Windows 9x and classic Mac OS. No one has sold these OSes for 20+ years and they turned out to be evolutionary dead ends. It would make sense to release their sources so people could learn from them and run them on new hardware more easily.

Flash Player. Adobe has stated in no uncertain terms that Flash is dead. Is there any good reason why the sources need to stay closed if they aren't going to make any further gains, financial or otherwise, from this product and its ecosystem? I mean the Flash Player plugin and standalone app specifically, not the Flash authoring software — that's still alive under a new name, Adobe Animate.

Trident, the Internet Explorer engine. Again, it's dead for good as far as Microsoft is concerned, so why not release its sources for people to learn and hack on?

Presto, the Opera engine. This was leaked and of course I hoarded it, but it would be nice to see an official release.

Winamp. The company behind it pivoted to some kind of streaming social donation thing. It does not seem interested in maintaining the old Winamp app.

Path, the social media thing for "close friends", their mobile apps. The apps were insanely cool, especially at the time of Path's peak around 2013, but the service was shut down a few years ago. Unless they're going to somehow resurrect the service, there's no good reason for the sources for the apps to remain closed. I'd love to take a look at their implementation of real-time photo filters.

Thinking of it, it makes more sense for non-game apps than for games to release sources. Old games do sometimes come out as "remasters" for modern platforms. These usually reuse the engine and sometimes some of the assets. Non-game software, on the other hand, when it's dead, it's usually dead for good.

Re:Someone dropped the source code for Far Cry 1 on archive.org by geek_at on Saturday July 01, 2023 @08:38AM (#36549471)
man I wish they had open sourced OS/2. It could have a linux sized community at this point.

Sadly microsoft had put so much of their code in it, that they didn't allow the release (according to my dad who worked for IBM and was even called "Mr. OS/2" because he had sold it so good to companies)

Re:Someone dropped the source code for Far Cry 1 on archive.org by ttfkam on Saturday July 01, 2023 @09:33AM (#36549923)
OS/2 is still in use and under active development, just under a different name.

https://hackaday.com/2023/02/16/arcaos-os-2-updated-for-the-...

Re:Someone dropped the source code for Far Cry 1 on archive.org by mepian on Saturday July 01, 2023 @10:40AM (#36550607)
I remember reading somewhere that while the developers of ArcaOS have the rights to continue the development of OS/2, they didn't obtain the source code. So they have to patch their changes into the old OS/2 binaries instead of changing the code.
Re:Someone dropped the source code for Far Cry 1 on archive.org by psychphysic on Saturday July 01, 2023 @08:50AM (#36549552)
Is there a risk those closed source projects would be sued following the release because they disclosed some forgotten sin?

I'm thinking mostly of anti competitive practices from Windows.

Re:Someone dropped the source code for Far Cry 1 on archive.org by realitythreek on Saturday July 01, 2023 @09:06AM (#36549677)
There’s a bunch of costs to releasing closed source code as open source. Generally they’d have to have a team of developers review it, they’d need their lawyers to review it and any licenses. That every company that had licensed code used would also need to go through their own process.

At any time, one of them could say no and the process stops. So you’re basically paying for everyone’s time and possibly to relicense some parts. And im sure I’m missing other parts.

Re:Someone dropped the source code for Far Cry 1 on archive.org by xyzzy_plugh on Saturday July 01, 2023 @10:58AM (#36550811)
Yep, it's a huge time sink even in the best case scenario, let alone with ancient software encumbered by transfer of ownership through multiple corporate custodians.

It's not that unusual for it to not even be wholly owned by a single entity due to licensing requirements.

Re:Someone dropped the source code for Far Cry 1 on archive.org by stepupmakeup on Saturday July 01, 2023 @01:53PM (#36552922)
It's unfortunate that when a company DOES chose to release old software, the entire revision history is thrown out due to processes like that. In the software world, this probably doesn't matter too much, but video games can go through massive changes during development. But it also depends on factors like if game assets were even stored in version control in the first place.
Re:Someone dropped the source code for Far Cry 1 on archive.org by grishka on Saturday July 01, 2023 @08:59AM (#36549631)
It's not like this kind of stuff can't be found by reverse engineering. For Windows specifically, the ReactOS team is doing lots of it to document the inner workings of internal Windows APIs so they could reimplement them.
Re:Someone dropped the source code for Far Cry 1 on archive.org by qingcharles on Saturday July 01, 2023 @09:11AM (#36549716)
I doubt it. The Windows sources are available officially through Microsoft if you're spending enough money and your project requires them.
Re:Someone dropped the source code for Far Cry 1 on archive.org by drewcoo on Saturday July 01, 2023 @10:08AM (#36550297)
> anti competitive practices from Windows

You would more likely be amazed by all the dumb hacks in the system for backward compatibility, mostly for other companies' software.

https://devblogs.microsoft.com/oldnewthing/20050824-11/?p=34...

Re:Someone dropped the source code for Far Cry 1 on archive.org by realitythreek on Saturday July 01, 2023 @11:12AM (#36550979)
It seems dumb and it is dumb, but it’s also an important feature of Windows that your terrible app from the 90s can still run today with minor changes generally. Less so if it’s win16 but anything win32 is good to go.

Also, Linux has a similar philosophy as Linus has eloquently described in the past. [1]

[1] https://lkml.org/lkml/2012/12/23/75

Re:Someone dropped the source code for Far Cry 1 on archive.org by hulitu on Saturday July 01, 2023 @02:22PM (#36553308)
> It seems dumb and it is dumb, but it’s also an important feature of Windows that your terrible app from the 90s can still run today with minor changes generally.

This is a myth which is mostly not true from some time.

Re:Someone dropped the source code for Far Cry 1 on archive.org by realitythreek on Saturday July 01, 2023 @06:36PM (#36556062)
Can you explain how it’s not true? I’ve personally run software from the 90s. I am not a myth!
Re:Someone dropped the source code for Far Cry 1 on archive.org by vGPU on Sunday July 02, 2023 @08:18PM (#36567230)
Windows 11 killed NTVDM and 16 bit support.
Re:Someone dropped the source code for Far Cry 1 on archive.org by squarefoot on Saturday July 01, 2023 @11:27AM (#36551132)
> Is there a risk those closed source projects would be sued following the release because they disclosed some forgotten sin?

I know nothing about law, but I guess software companies would protect themselves in advance by mandating that all their developers use only software and sources that belongs to them anyway. That would be useful in case of a lawsuit where a court could force them to show the sources to prove they don't come say from the claimant's reverse engineered software, or some other FOSS project. Things might be different with 3rd party modules and libraries, where an obscure module was licensed from a company that went out of business ages ago, but all their assets were acquired by another party who finds the module in the wild and decides to sue. Just speculating, but although I'm 100% in favor of FOSS, if the above were real possibilities, I couldn't but understand why some companies are so reluctant to release even old code they couldn't profit from anymore.

Re:Someone dropped the source code for Far Cry 1 on archive.org by anders_p on Saturday July 01, 2023 @06:48PM (#36556136)
It's not that simple.

When developing software, a company might aquire a license to add some library or code to their product.

This happens all the time with OS's like Windows (licensing the ability to play media formats, etc.) or games (licensing certain engines or algorithms).

That doesn't mean the company squired a license to release the libraries or code as open source 20 years later.

So you'd have to go through the codebase with a fine-toothed comb, line-by-line, because the original developers don't work for you anymore, and the license agreements are long lost.

Releasing large software projects are a massive cost to any company that wants to be protected from potential lawsuits.

Re:Someone dropped the source code for Far Cry 1 on archive.org by rafram on Saturday July 01, 2023 @09:13AM (#36549731)
> Trident, the Internet Explorer engine.

Not really dead because it’s still shipped with enterprise Edge for sites that enable IE mode: https://learn.microsoft.com/en-us/deployedge/edge-ie-mode

Re:Someone dropped the source code for Far Cry 1 on archive.org by hulitu on Saturday July 01, 2023 @02:14PM (#36553202)
Also i think that people from Spyglass INC would not be very happy.
Re:Someone dropped the source code for Far Cry 1 on archive.org by efreak on Saturday July 01, 2023 @07:29PM (#36556446)
Doesn't HTA still use Trident also?
Re:Someone dropped the source code for Far Cry 1 on archive.org by catiopatio on Saturday July 01, 2023 @09:55AM (#36550145)
> classic Mac OS

I’d be really surprised if Apple still had the source code and custom tools necessary to actually build the thing.

Re:Someone dropped the source code for Far Cry 1 on archive.org by Palomides on Saturday July 01, 2023 @10:05AM (#36550248)
they released the Lisa OS code (from 1983) recently, I think they still have all the Mac OS code

building it may be horrible, but the code would still be very interesting to hobbyists

Re:Someone dropped the source code for Far Cry 1 on archive.org by classichasclass on Saturday July 01, 2023 @05:32PM (#36555472)
There is a fair bit of third party code in the classic Mac OS, particularly in the extensions and cdevs. The nanokernel and some basic portions of the OS are likely releasable but they'd have to audit all of that.
Re:Someone dropped the source code for Far Cry 1 on archive.org by dahart on Saturday July 01, 2023 @10:15AM (#36550352)
> Is there any good reason why the sources need to stay closed if they aren't going to make any further gains, financial or otherwise, from this product and its ecosystem?

I can think of lots of reasons. From a competitive point of view, you might risk having a big enough resurgence that it eats into the business of your replacement. From a technical point of view, it may reveal parts of the sausage making, or expose technology and libraries that you still use and rely on. From a legal point of view, it could open up multiple kinds of liability. From a support and staffing perspective, it typically takes at least a little time to open source something, if you want to do it well, there’s usually vetting & review by engineers and lawyers, and usually the need for more/better documentation than the internal docs.

Think about this from a business perspective- if they predict there’s going to be no financial upside, even indirectly, and there are costs and risks associated with it, then why would they? When companies open-source something, it’s not usually because the code is dead, it’s usually because the people in it are committed to open source and the org agrees to support that cause, or because the company stands to gain valuable attention from the community, and eventually or indirectly, profits.

We do have to support and celebrate when companies decide to release code, but we can’t really expect it or complain when they don’t, it just doesn’t make sense to them and they’re not obligated.

Re:Someone dropped the source code for Far Cry 1 on archive.org by iforgotpassword on Saturday July 01, 2023 @10:40AM (#36550604)
I'd guess something big as Windows 9x contains A LOT of licensed third party code which would be a nightmare to get permission for. Try finding five dozen rights holders after thirty years...
Re:Someone dropped the source code for Far Cry 1 on archive.org by pizzapill on Saturday July 01, 2023 @11:12AM (#36550970)
This is the usual argument you hear when it comes to old Games. It often would take way to long time to "clean" them up from 3rd party contributions/licenses etc. For a OS this is a impossible task.
Re:Someone dropped the source code for Far Cry 1 on archive.org by mcpackieh on Saturday July 01, 2023 @11:47AM (#36551336)
Usually the argument goes that it would take time/money to rewrite the parts they don't have rights to, but simply deleting those parts and releasing the (now broken) code would be much better than nothing. Of course this assumes they kept track of who owns what code in the first place. Probably a bad assumption in the case of games particularly.
Re:Someone dropped the source code for Far Cry 1 on archive.org by mrandish on Saturday July 01, 2023 @06:41PM (#36556089)
> Of course this assumes they kept track of who owns what code in the first place.

Not only that but for any large company to release code somebody in engineering needs to look at it to at least know what all is there, the legal department needs to assess the risk of potential liability, then which license to release it under needs to be decided. Finally, somebody in a senior business role needs to sign off on doing it.

I think it's great when old code gets released but the reason it's rare is it gets complex and it's nobody's job to do it. That's why many such release are thanks to an employee deciding to care about doing it and having the internal cred and sway to push it through. Or, as it appears in this case, someone who had access to the code and is awesome enough to choose to release it anonymously years later when the business is defunct or will no longer care.

Re:Someone dropped the source code for Far Cry 1 on archive.org by account42 on Monday July 03, 2023 @08:53AM (#36572212)
This would all be a lot easier if copyright itself had more reasonable term lengths.
Re:Someone dropped the source code for Far Cry 1 on archive.org by tobr on Saturday July 01, 2023 @12:41PM (#36551957)
As far as I understand, this is even true of lesser known old movies - even the work of figuring out who has the rights to what is unlikely to pay back, so it’s just never released in a digital format.
Re:Someone dropped the source code for Far Cry 1 on archive.org by deaddodo on Saturday July 01, 2023 @01:21PM (#36552442)
This is almost exclusively usually due to either producer credits or music licensing.

For the former, if it's really that big they'll just release it and keep a standard budget aside for if/when the unlocated people come out. The latter is what really blocks movies because it actively costs them money, so they need to be able to earn more than what it is costing them to release. This makes music-heavy/niche music films much more expensive for potential broadcasters/streamers.

Re:Someone dropped the source code for Far Cry 1 on archive.org by DropInIn on Sunday July 02, 2023 @12:32PM (#36563016)
As a minor musician, I have to say I find the entire legal model around music to be effing ridiculous and more harmful to the art and society than the benefit justifies

It all disproportionately benefits big names and corporations while small time creators and performers get screwed.

The moment recordings came into play it all got screwed up.

Before recordings every musician made their living exclusively from performances and every musician copied each other constantly.

We lost so much with the advent of recording and the associated development of copyrights etc.

The proof is in the numbers: management and corps take the lion's share of revenues within the industry, with the actual musicians and creatives getting a paltry pittance.

Re:Someone dropped the source code for Far Cry 1 on archive.org by wengo314 on Saturday July 01, 2023 @04:19PM (#36554681)
don't quote me on that but i read somewhere that microsoft has a strict policy of NIH in their codebase - everything gets reimplemented from scratch unless it's completely unfeasible.

The only problem might be the software patents that their code leverages.

Re:Someone dropped the source code for Far Cry 1 on archive.org by kanzenryu2 on Saturday July 01, 2023 @05:50PM (#36555657)
From memory they got their TCP/IP stack via the MIT licence
Re:Someone dropped the source code for Far Cry 1 on archive.org by p_l on Sunday July 02, 2023 @08:04AM (#36560662)
BSD license, because Berkeley was literally paid to port TCP/IP to Unix (and C) on basis that the resulting code would be available for incorporation by others free of charge.
Re:Someone dropped the source code for Far Cry 1 on archive.org by happymellon on Saturday July 01, 2023 @05:57PM (#36555709)
Why would parents prevent publishing of source code?

Unless you mean that someone could see that you implemented their patent and retroactively go to sue them?

Re:Someone dropped the source code for Far Cry 1 on archive.org by favorited on Saturday July 01, 2023 @06:01PM (#36555750)
A license to use someone else's code doesn't necessarily include permission to publish the source.
Re:Someone dropped the source code for Far Cry 1 on archive.org by happymellon on Sunday July 02, 2023 @04:02AM (#36559344)
A patent isn't permission to use their code, that would be a copyright.

A patent is a method, not an implementation.

Re:Someone dropped the source code for Far Cry 1 on archive.org by favorited on Sunday July 02, 2023 @04:54AM (#36559642)
We’re not talking about patents. Software licenses are about me allowing you to use code that I wrote, which is copyright.
Re:Someone dropped the source code for Far Cry 1 on archive.org by happymellon on Sunday July 02, 2023 @07:24AM (#36560399)
Literally the person I initially responded to said:

> The only problem might be the software patents that their code leverages.

We are talking about patents because Wengo brought it up and I was asking how they are applicable here.

Re:Someone dropped the source code for Far Cry 1 on archive.org by paulmd on Sunday July 02, 2023 @07:10PM (#36566778)
If the licensed code was written by a patent licensee, then to replicate it in-house you’d also need to license the patent yourself.
Re:Someone dropped the source code for Far Cry 1 on archive.org by favorited on Saturday July 01, 2023 @05:59PM (#36555733)
Their code for Zip folder compression/decompression is licensed from a 3rd party.

https://devblogs.microsoft.com/oldnewthing/20180515-00/?p=98...

Re:Someone dropped the source code for Far Cry 1 on archive.org by Hydraulix989 on Saturday July 01, 2023 @06:26PM (#36555986)
What is "NIH"? Google only mentions health institutions.
Re:Someone dropped the source code for Far Cry 1 on archive.org by tomjakubowski on Saturday July 01, 2023 @06:37PM (#36556066)
"Not invented here" syndrome
Re:Someone dropped the source code for Far Cry 1 on archive.org by mrtranscendence on Saturday July 01, 2023 @06:38PM (#36556075)
Not invented here.
Re:Someone dropped the source code for Far Cry 1 on archive.org by thfuran on Sunday July 02, 2023 @01:00PM (#36563302)
We should just shorten copyright to get around that problem.
Re:Someone dropped the source code for Far Cry 1 on archive.org by antegamisou on Saturday July 01, 2023 @10:20AM (#36550400)
> No one has sold these OSes for 20+ years and they turned out to be evolutionary dead ends. It would make sense to release their sources so people could learn from them and run them on new hardware more easily.

Would add SGI's IRIX too!

Re:Someone dropped the source code for Far Cry 1 on archive.org by pdntspa on Saturday July 01, 2023 @12:25PM (#36551803)
Au contraire, Winamp 5.9.2 released recently and it's the same old player.

They are working on a new one that I am somewhat suspicious of, but Winamp 5.9 has been a pleasant surprise.

Re:Someone dropped the source code for Far Cry 1 on archive.org by gibolt on Saturday July 01, 2023 @12:51PM (#36552057)
Internet Explorer is still very much alive for millions of people. Releasing the source would mean unlocking way more exploits on those people, with no plan to patch.
Re:Someone dropped the source code for Far Cry 1 on archive.org by stepupmakeup on Saturday July 01, 2023 @01:56PM (#36552962)
Winamp's source actually did leak a couple years ago too ("winamp-cvs")
Re:Someone dropped the source code for Far Cry 1 on archive.org by manquer on Saturday July 01, 2023 @06:20PM (#36555928)
> Is there any good reason why the sources need to stay closed if they aren't going to make any further gains, financial or otherwise, from this product and its ecosystem?

Many reasons are there , it takes a lot of effort for a company to open source anything, to name a few

- Not get sued for IP infringement if your developer from 20 years back copied something or used GPL code etc

- Potentially expose active trade secrets , the program might not be sold , parts the code /algorithms whole modules might still be used in newer applications.

- Presence of PII or other sensitive/inflammatory content in comments and code, could be anything from funny(but inappropriate )method names to comments and documentation .

- poor boundaries, you could have dependencies which are used by the app which are not possible to also be open sourced.

- poor documentation, you simply no longer have all the code or is it time consuming to piece it all together

- expose vulnerabilities in your current offerings , code sometimes has way of being reused , you would be surprised how much “dead” code has a way of living on for decades later .

- third party agreements, not all your code is “your” code, you may have only licensed it from another vendor.

Re:Someone dropped the source code for Far Cry 1 on archive.org by lelanthran on Saturday July 01, 2023 @07:01PM (#36556217)
> In general, open-source all abandonware. Here's a few examples of non-game old software that would benefit the society if open-sourced:

That's not the heuristic companies use to determine whether or not to release source code.

> Windows 9x and classic Mac OS. No one has sold these OSes for 20+ years and they turned out to be evolutionary dead ends. It would make sense to release their sources so people could learn from them and run them on new hardware more easily.

The companies would not do that, for the very simply reason being that it would cannibalise their existing offerings if "people could [...] and run them on new hardware more easily."

The biggest competitor to Windows 10 was not Linux or Mac, it was Windows 7. The biggest competitor to Windows 12 will be Windows 11.

Re:Someone dropped the source code for Far Cry 1 on archive.org by grishka on Sunday July 02, 2023 @01:23PM (#36563506)
> The biggest competitor to Windows 10 was not Linux or Mac, it was Windows 7.

I have to wonder how relevant Microsoft will remain in the long run. There are several projects maturing that allow people to run Windows apps — the one reason people use Windows in the first place — without any Microsoft involvement whatsoever. The fact that Win32 API has barely changed over the last 15 years also helps.

Wine compatibility is getting ever better. ReactOS is aiming to reach beta quality "soon".

Re:Someone dropped the source code for Far Cry 1 on archive.org by shultays on Sunday July 02, 2023 @05:14PM (#36565824)

  the one reason people use Windows in the first place 
The other reason is UX and people's familiarity with it. I tried switching to ubuntu a few times but small inconveniences adds up eventually and at some point I don't see a reason to switch. Windows works just fine and I like its UX (however we will see if that will change with 11), Linux needs to provide a bit more for people like me to switch for their personal computers
Re:Someone dropped the source code for Far Cry 1 on archive.org by grishka on Sunday July 02, 2023 @05:53PM (#36566184)
Well, ReactOS is a reimplementation of most of Windows, including the shell and the kernel.

Anecdotally, I once installed Ubuntu + Wine for someone non-technical who broke several Windows installations by infecting them with ransomware. He used it for like half a year calling it "this strange Windows" because some people don't know what an operating system is. He eventually irreparably broke its file system because apparently he was shutting down his machine by pulling the plug while it was running.

Re:Someone dropped the source code for Far Cry 1 on archive.org by shultays on Sunday July 02, 2023 @07:44PM (#36567014)

  shutting down his machine by pulling the plug while it was running
Well, if windows was more reliable when it comes to unexpected shutdowns then it is also partially linux's fault.

I have a similar experience as well. I have a pi server and I was trying to use an ntfs external hdd. For some reason it breaks the file system if I remove hdd or shutdown pi unexpectedly. I am not expecting there to be no data loss if i am not writing or editing a file, just doing nothing, then why FS breaks?

When that happens, I connect hdd to Windows and it is able to repair it but there is no such option in ubuntu

Re:Someone dropped the source code for Far Cry 1 on archive.org by scraft on Tuesday July 04, 2023 @12:12PM (#36588615)
> if i am not writing or editing a file, just doing nothing, then why FS breaks?

For a few reasons, but the most common is that when you write a file, you 'fwrite' operation doesn't typically immediately write blocks to the disk, instead it gets written to caches that will be written to disk in due course. Changes to the disk, tables with crucial data, etc again are just updated in memory, and written to the disk at a 'sensible' time. It's possible that you aren't actively performing operations to modify the disk, but various previous changes are sitting in memory waiting to be synced. If you kill the power then these changes aren't flushed so you can end up with corruption/filesystem problems. The main reason things work this way is for performance.

Re:Someone dropped the source code for Far Cry 1 on archive.org by nmz on Saturday July 01, 2023 @08:06PM (#36556691)
There's still money to be made with abandonware. GOG was buying and reselling dos games via slapping dosbox on it and making it playable.
Re:Someone dropped the source code for Far Cry 1 on archive.org by DropInIn on Sunday July 02, 2023 @12:41PM (#36563116)
Umm, anything windows can't be open sourced because significant parts are still in use and source access would create serious security issues due to how MS handles legacy components, right?
Re:Someone dropped the source code for Far Cry 1 on archive.org by grishka on Sunday July 02, 2023 @01:17PM (#36563452)
Windows 9x is based on DOS. The last release of that lineage was Windows ME. The only thing modern NT-based Windows has in common with it is many application-level APIs. Everything else is different. There may be some common code, but if that's so important to keep private, fine, strip it. Heck, release just the kernel of 9x, that definitely can't possibly share anything with any commercially-relevant products.

> source access would create serious security issues due to how MS handles legacy components, right?

Security through obscurity is not real security. It's just delaying the inevitable.

Re:Someone dropped the source code for Far Cry 1 on archive.org by DropInIn on Sunday July 02, 2023 @05:24PM (#36565920)
You've conflated being able to use legacy apps which require a very specific stack of components with the complete absence of any such components.

Additionally you've failed to recognize that where legacy code is maintained Exactly As Is (bugs included) because users (corps and gov mostly) explicitly depend on behaviors remaining exactly as they have been for 20 years, there is effectively zero means/will to fix dangerous problems which are not being actively exploited.

And the mantra around obscurity is too often misused and misunderstood:

It's not that obscurity is not a form of security it's that its not a meaningful form of security On Its Own.

Obscurity is in fact the first line of security.

Just like with physical security, the first step is in preventing attackers from knowing it exists at all and Then having security measures to prevent access/theft/etc if they do happen to find what is being protected.

Y'know, like safes behind paintings, which are a very real thing....