Giter VIP home page Giter VIP logo

Comments (3)

camilstaps avatar camilstaps commented on May 20, 2024 2

Yep, works, thanks! We probably have different zip versions, then. Exciting to see this really working :)

from anno2018.

cmfcmf avatar cmfcmf commented on May 20, 2024

Huh, that's an interesting issue I haven't seen before. I am not sure what causes that. Could you verify some things for me?

  • What Anno 1602 version are you using (i.e., the GOG edition, a version from an original CD, ...)?
  • No idea if this is relevant, but what graphics card are you using?
  • Are you able to use the mousewheel to zoom into the map (you should)? Could you zoom into one tile really close and take another screenshot?
  • Please use the "Download files" button down the page under the "Downloading all uploaded and converted files" heading to download the converted files (this takes a minute or two and will not display any progress while the zip file is generated. Be patient, your browser will download a zip archive with all uploaded and converted files when it is ready). In the downloaded zip file, open gfx/STADTFLD/sprite-sheet-0.png. It should be a 2048x2048 PNG file. Please verify that there are 32 graphics in the first row.

from anno2018.

cmfcmf avatar cmfcmf commented on May 20, 2024

Nevermind that, I think I found and fixed the problem in 5408480 and e2b7e7f. When processing the uploaded zip file, the upload handler looks for a file with the name GFX/STADTFLD.BSH using a case insensitive regex. Due to an error on my part, the regex also matched the incorrect SGFX/STADTFLD.BSH and MGFX/STADTFLD.BSH files. The code uses the first match it finds, and that was always GFX/STADTFLD.BSH for me. Your zip file seems to be packed in a different order, which is why it matched SGFX/STADTFLD.BSH or MGFX/STADTFLD.BSH for you. These contain the smaller versions of the graphics that Anno uses when you are zoomed out farther.

The fix is now live. You'll have to use the "Reset all files" button and then re-upload your Anno zip file. Then it should work!

from anno2018.

Related Issues (7)

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.