This takes place before the events of StarGate - The Video Game.
Ender grabs an escape pod and manages to fly to Earth (flying scene), but crashes in the water. He just escapes that as well.
It is effectively a game version of the story "Legend of Ender". The link is on the main page.