 |
|  |
 |
|
Fromafar
|
|
If we want to be able to load scenarios - like the LOTR scenario - that have been generated with the Activision 1.1 patch, we have to support the changed file format. From the change list of the Activision patch we get
quote: * Incremented save file version to force string reload for old games.
|
So, open GameFile.cpp, add a new file type 66, and try to open the LOTR scenario. Instead of directly returning to the selection screen, it really starts to load now.
Getting some Assert popups, applying some modifications, getting lots of Assert popups , thinking I should have started with something simpler than LOTR , more debugging , getting even more popups , more debugging, more popups , [ ... ] , but finally getting something recognisable on the display with only about 20 popups left to Ignore.
In the end, the difference between the file formats appears to be an inserted byte in the city data. Reading and writing it (up to now I only encountered 0 as value) is no problem, but I don't have a clue what it is supposed to do. For now, I have added a new member variable and christened it m_unknown_from_patch, but I do not consider this ripe for inclusion in the altered source file thread yet. If you want to check it out, see for the code changes, and LOTRdata.zip for some LOTR data file changes.
Any suggestions on a name and possible meaning of the new data will be appreciated!
[Edit: moved the code to the altered source code thread after testing.]
Last edited by Fromafar on 27-02-2004 at 03:14
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:33
|
|
If I start a new game and try to settle, the city name isn't properly displayed and I get a debug assertion at civarchive line 338. If I try to ignore it, the game crashes.
Last edited by Peter Triggs on 17-01-2004 at 18:12
|
|
|  |
 |
|  |
 |
|  |
All times are GMT. The time now is 05:33. Apolyton Time is 00:33. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|