Is it legal to distribute old games that are no longer sold?
Technically no. Some copyright holders, such as Beam Software and DELTA 4, allow free (and only free) distribution of their old titles, but you may need to get permission from the Tolkien Estate as well. Most other companies do not seem to care as long as no money is involved but some, such as Zenobi Software and Interplay, have forbidden any kind of distribution. Just to make sure, you should try to locate and ask the copyright holders before you distribute anything.