protected Engine(CartridgeFile cf, OutputStream out) throws IOException { gwcfile = cf; savegame = cf.getSavegame(); if (out != null) log = new PrintStream(out); }