View Single Post
Old 05-22-2007, 08:13 AM   #14
Zeyes
All Star Reserve
 
Join Date: Jun 2006
Posts: 818
Quote:
Originally Posted by Fenris View Post
Hi Zeyes,

as you know I have the same problem, could you tell me what you edited where and into what? But for me it's only the AAA game on 06/06/07.
Rightnow I see a glimmer of hope to rescue my leagues, too.
Well, if you're comfortable doing hex-editing, sure.

First, go to Database Info and create a data export of your stuck universe (format doesn't matter, but csv is probably easiest to use). You need games_basic and leagues_basic. Then close OOTP. The exported files will be in the import_export subfolder of your savegame.

From the exported leagues.csv, you'll be able to see which league IDs belong to your active leagues so you won't accidentally change one of their All-Star Games. Then, open up games.csv and sort it by the game_type column. All the games with a value of 4 (as in the screenshot in the post above) will be All-Star Games, and at least one of them should have a league_id that does not appear in leagues.csv.

Take note of the game_id for that game/those games. Convert it into hex, then search world.dat for that value. (I suggest working on a copy of world.dat, not the original, just in case.) You'll probably have additional hits (population numbers for cities etc.), but the correct one should be towards the bottom of the file. Schedule data seems to occupy 155 bytes for each game. The 44th byte in the block is the "Game Played" flag...change this one from 00 to 01. See the screenshot below...the block I've marked belongs to game #16667 from endgame's universe, the underlined value is the one I've changed.



Replace the stuck world.dat with the fixed one, reload the universe, and it should hopefully get moving again.

Last edited by Zeyes; 05-22-2007 at 08:17 AM.
Zeyes is offline