After hackers knocked its PlayStation Network offline for nearly a month, Sony is now trying to make amends by giving customers free video games.

Sony made the announcement Monday, saying it was a way of thanking the millions of gamers on its network for their "patience, support and continued loyalty during the service outage."

In the U.S. and Canada, PlayStation Network and Qriocity subscribers will soon be able to register for two new games each -- either in PS3 or PSP format -- at the PlayStation Store. The PlayStation Store isn't online yet, but when it comes back, gamers will have 30 days to get their goods.

Depending on the package they've signed up for, subscribers will also get free movies, enhanced services packages and free virtual items.

Sony is offering similar plans to European and Latin American users, but the company has not said what it will do in Asia, where the network is still offline.

Last month, Sony disclosed that it had been hacked and warned its 77 million PlayStation Network users that personal information --- e-mail addresses, for example -- may have been compromised. Then in early May the company said that another network, the Sony Online Entertainment network, had also been broken into.This second incident affected close to 25 million users.