Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it legal to make an open-source version of a closed-source game (and expansion pack) to distribute to other users? I want to do that for an old game called Age of Empires 2.

share|improve this question

closed as off topic by izx, dobey, Marco Ceppi Aug 20 '12 at 14:41

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
AOE2 is already an awesome game which can be bought online for $8. I don't see the point in doing an exact clone. You'd be better off spending your time making an improved RTS inspired by AOE2. I suggest that you look into using an existing free RTS engine like ORTS or Spring instead of trying to build your own. –  Nate C-K Aug 17 '12 at 3:17
2  
@NateC-K As I understand it, hunter's interest is not in having something that is cheaper, but rather something that is open source and runs natively on more platforms. –  Eliah Kagan Aug 17 '12 at 3:35
    
@NateC-K: And which can easily be extended in an expansion pack. –  Mechanical snail Aug 17 '12 at 4:40
1  
If you like the work of the people who made AOE2, I suggest you encourage people to buy their product and play it as-is. If you want to make your own game, I suggest it would be more artistically fulfilling, technologically easier, and a better contribution to the open source community to build a game with similar gameplay by customizing an existing RTS engine. AOE2 is old and the RTS genre has been improved in many ways since then; Age of Mythology, for example, while still flawed in some ways, demonstrates some ways you could improve AOE2. –  Nate C-K Aug 17 '12 at 18:43
    
As for an "expansion pack," the concept doesn't make sense in the open source world. An expansion pack is just an official mod. In the open source world anyone is free to do their own version. Anyway, I don't think the OP was focusing on the capability of doing an expansion pack, I think the meaning of that part was an intent to have the game include the gameplay of the Conquerors expansion, not just the original AOE2. –  Nate C-K Aug 17 '12 at 18:50
show 1 more comment

4 Answers 4

up vote 15 down vote accepted

Age of Empires II can usually be run on Ubuntu and other GNU/Linux systems without too many problems, using Wine.

Disclosure: I am not a lawyer.

As for the general question, if your goal is to create free open-source software that facilitates playing a proprietary game, and you have programming skills, typically there is no legal impediment to writing a replacement game engine. (You may potentially fall afoul of software patents, but no more so than in any other major programming project to produce software for performing tasks that existing software already performs.) If you do this, then someone can install your engine, and then, if they have the artistic data (maps, "worlds", sounds, and so forth) from the game, they can play the game.

Developing a game engine for an existing game is a non-trivial task, and usually there will be differences between the way it behaves and the way the original game ran, though they might be slight. But the main thing you should realize is that the game data, representing the "world" of the game, will still be proprietary, and generally unlawful to redistribute. So people will still have to have a copy of the game (or at least certain files from it), to play it using your engine.

One example of a game where this was done is Jazz Jackrabbit, which can be played with the OpenJazz game engine.

Another example (where it was actually the original developer that released the GNU/Linux version of the game engine as free open source software) is DOOM (and since then, most of Id Software's game engines have eventually been released as FOSS, sometimes with slight modifications for patent reasons). There are a number of community projects that have enhanced the original DOOM engine, allowing for more complex maps, enhanced graphics, and a more three-dimensional gameplay experience.

Given the limitations and that writing a game engine from scratch (plus testing it and fixing bugs) is a significant task, you might decide to make your own game instead.

Disclaimer: This answer is for informational purposes only and not for the purpose of providing legal advice. You should contact an attorney to obtain advice with respect to any particular issue or problem.

share|improve this answer
1  
Personal use is never a problem if you own the software (but see DMCA). It's distribution that's a problem. –  izx Aug 16 '12 at 18:16
    
@hunter Well, I'm not a lawyer and I can't give legal advice. With that said...I'm not sure I know what you mean. Are you asking if a free open source replacement game engine can use files that are already present on the user's computer (which could include files on a CD inserted into the computer's optical drive)? That would probably be OK, as discussed in my answer above, so long as we're talking about game data (maps, sounds, sprites, cutscenes, models, fonts, palettes, and so forth). On the other hand, as izx says, what you distribute mustn't include these files (or parts of them). –  Eliah Kagan Aug 16 '12 at 18:19
1  
sorry to ask but what is a game engine and how do i write one? I am totally lost. –  hunter Aug 16 '12 at 18:54
2  
@hunter You should see Game Development. A game engine is the code that acts to interpret input and maps/levels to actually make the game run. That said, it is very hard to write a game without good knowledge of coding. –  hexafraction Aug 16 '12 at 19:30
3  
Re: Wine. I got AoE2 running on Wine with few problems, and it works far better than it ever did on Windows. –  John Aug 17 '12 at 3:28
show 3 more comments

You can't copy it to be open-source. Even if the source were leaked, that is illegal. You can, however, follow in the footsteps of FreeCiv or Doom3. FreeCiv is based on Civilization, and is an open-source version. Doom3 is also open-source but requires the use of official game data for full operation or you must provide your own assets for models. Either way the engine is free, open source, and available to all. FreeCiv includes no game data since both the original and FreeCiv generate maps dynamically. The requirements to release your version are as follows:

  • Any patents related to the original must have expired. You can use a patent search such as Google Patent Search. Simply type your query as if it were a regular Google search, and under one or two web results, patents will be shown.

  • The program you are writing does not use strong cryptography that is restricted by the US government.(Or if it were downloaded in some countries, you could be considered an arms dealer) You may also register with the US Bureau of Industry and Security, which is a part of the US Department of Commerce, although the legal paperwork may be very difficult to file without professional legal counsel. Also see the BIS FAQ on encryption.

  • Your version does not use images or other files (such as sound files) from the original version.

  • Your version includes some (at least minor) changes.

  • You did not use, directly, or as an idea on how to write your version, any of the source of the original if it had been leaked.

  • You do not utilize the source's trademarks.

Do note that you have to code it, package it, and put it in a PPA or the repositories. This may be very difficult. There is no way to just copy-paste some magic from the old version. Please read the disclaimer below prior to doing anything to make your version, and for more guidance about the actual stages of coding, visit Game Development and Stack Overflow.

Legal disclaimer: This is not meant to be legal advice. The author of this answer, Ask Ubuntu, Stack Exchange, Inc, their representatives, agents, and/or any affiliated parties will not be responsible for any damages, incidental, or consequential, that may arise due to the use of these guidelines. These guidelines are based on US laws and regulations. Laws and regulations in your area may differ so check with a lawyer or local authorities.

share|improve this answer
    
Can you define strong cryptography or point to a site that explain this? –  Topo Aug 16 '12 at 17:32
    
@Topo: en.wikipedia.org/wiki/… –  izx Aug 16 '12 at 17:33
6  
@Topo You do not have to avoid using strong cryptography (at least in the United States). If you do, then there may be restrictions on how you can make the game available. Lots of open source software uses strong cryptography, including software that is part of Ubuntu by default and present on the official Ubuntu CD images. Such software is even necessary to sign the Ubuntu code of conduct! Disclaimer: I'm not a lawyer and this isn't legal advice either. –  Eliah Kagan Aug 16 '12 at 17:35
1  
Disclosure: I am not a lawyer. This is not meant to be legal advice. You can use images and other files from the old version in that you can create an open-source engine that reads the old files such as sourceforge.net/projects/fheroes2 . –  Stall Aug 16 '12 at 18:30
1  
@SmallMan does Free Heros include the original HOMM artwork, etc in its distribution; or only use identical naming/paths so users can swap them in after installation? –  Dan Neely Aug 16 '12 at 21:02
show 13 more comments

While the other answers adequately cover copyright and patent considerations, you should also be aware of trademark.

In particular, you asked:

Is it legal to make an open-source version of a closed-source game

Under trademark law, this depends on what you mean by "version". A trademark grants its owner the exclusive right to use a protected mark (such as "Age of Empires") in commerce. It forbids others from using the mark or a similar brand in a related area of commerce (like Age of Empires brand computers), as well as in unrelated areas in a way that could "dilute" the value of the mark (e.g. Age of Empires brand flush toilets).

So, you should not call your game "Age of Empires" or something similar, and you should make clear that it is a 3rd-party product not made by, endorsed by, or affiliated with the owners of the mark (I think Microsoft). However, it is fine to mention Age of Empires, e.g. to say your game is similar to or inspired by Age of Empires, since that would be a purely factual statement.

(Of course to be sure what you want is legal, consult a lawyer.)

share|improve this answer
    
so could i make a game called kingdom era and say that it would be based on a game called age of empires 2 and can the game have almost (if not) the same graphics of aoe2? Do I have to code the files for the game? –  hunter Aug 17 '12 at 4:33
    
Saying "based on" might falsely suggest it was endorsed by the original creators. You definitely have to re-code and use your own graphics, to avoid violating copyright. Arguably "Kingdom Era" is similar enough to "Age of Empires" that it could create a "substantial likelihood of confusion". This is a legal gray area, so I suggest you consult a lawyer to ask what specific things are acceptable. –  Mechanical snail Aug 17 '12 at 4:39
add comment

Why not just join in with the development team here?

0 A.D is a fantastic AOE2 spin off, and could do with some devs. Also, you save yourself some of the horrors of undertaking such a large project like that yourself.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.