Open misterbeebee opened 3 years ago
I added some logging on each call to PicFile
constructor:
Civilopedia: Preloading articles...
Warning: Character width larger than bytes per character. (ID: 95, Width: 9)
New PicFile from filename: SP299
New PicFile from filename: CITYPIX2
Loaded /Users/michaelroger/.local/share/CivOne/data/CITYPIX2.PIC
New PicFile from filename: SP299
Loaded /Users/michaelroger/.local/share/CivOne/data/SP299.PIC
Loaded /Users/michaelroger/.local/share/CivOne/data/SP299.PIC
New PicFile from filename: ICONPGD
Loaded /Users/michaelroger/.local/share/CivOne/data/ICONPGD.PIC
New PicFile from filename: ICONPGB
Loaded /Users/michaelroger/.local/share/CivOne/data/ICONPGB.PIC
New PicFile from filename: ICONPGA
It appears to always fail to load the image ICONPGA
.
Interestingly, this happens twice. The first time (before the UI starts), the exception is caught.
The second time, (when loading the main game screen for Turn 0, after the setup menus) the program crashes.
Coincidentally(?), ICONPGA
is one of the few ICONPG
files with both a .PAL
file and a .PIC
file.
I have a mild suspicion that CivOne is failing to decode the first .PIC
file that has a .PAL
(palette) co-file.
By removing ICONPGA.PIC
and copyingICONPGB.PIC
in its place, I am able to start playing the game.
Something must be wrong with my ICONPGA.PIC
or with the way CivOne decodes that particular file in my particular version of the game.
I'm not sure which version of the game I have, but my data files are all dated "Dec 17 1991", except for PRODUCT.TXT
dated "Jan 5 1992".
Built and ran on Mac OS X, using data files from an old Civilization installation.
Problem here:
outer exception stack trace
For reference, the previous log output was: