I wouldn't put too much stock in TinyHowie's warning, as it's FUD and actually runs counter to case law (at least in the US). In http://en.wikipedia.org/wiki/Galoob_v._Nintendo the Ninth Circuit affirmed the right of people to modify their games, regardless of whether the copyright holder gives them permission or not. You can still run into trouble over certain things, such as if your mod breaks copy protection, distributes copyrighted content that you don't have the rights to distribute, or if your mod infringes on a trademark, but as long as you don't do these things you're pretty much in the clear.
It's the general picture, different courts may invoke different past verdicts for similar cases, in case a lawsuit was raised. Most developers simply let it go as some moddings are more benefits to their products than harms, but you shouldn't automatically assume what you're doing is within your rights. My suggestion, go with the crowd.
PS: Also a link reference for http://en.wikipedia.org/wiki/Reverse_engineering. It's a touchie subject, developers built plenty barriers to protect themselves. Not sure at your country, but if I'm trying to make a patch for someone else's software my government would sue me for 10 millions just to feed its treasury.
