Giter Site home page Giter Site logo

Comments (2)

misterbeebee avatar misterbeebee commented on May 26, 2024

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.

from civone.

misterbeebee avatar misterbeebee commented on May 26, 2024

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".

from civone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.