[refactor]: Extract SetDataDirectory function from NewGame.