Git Product home page Git Product logo

anno2018's Introduction

Anno 2018

Gitpod Open-Dev-Environment

This is a rewrite of twenty-year-old Anno 1602 using modern techniques, running entirely in the browser. My goal is to bring the complete Anno 1602 experience to modern devices. It uses grahics and configuration of the original game. Due to copyright law, I cannot include the Anno 1602 graphics with Anno 2018. You need to have a copy of Anno 1602 installed on your computer to import them into this game.

Thanks

This would have never been possible without the work of countless Anno enthusiasts:

  • Sir Henry for their work on different tools around the Anno1602 file formats, including decryption of the savegame format.
  • Benedikt Freisen for their work on mdcii-engine and decoding further Anno1602 file formats.
  • The countless forum posts and websites who worked on Anno1602 mods.

Getting Started

  1. Go to http://cmfcmf.github.io/Anno2018/
  2. Upload your zipped Anno files
  3. Grab a coffee
  4. Click on a savegame to start it.

Contributing / Running Locally

To run this project on your machine, follow the steps outlined in the Contributing Guide.

Roadmap

  • Load Anno 1602 savegames
  • Render Anno 1602 savegames
  • Render static animations (flags, smoke)
  • Render tile animations (water, rivers, mill, canon foundry)
  • Render ships
  • Building logic
    • Calculate radius
    • Calculate running cost
    • Visualize radius
    • Market logic
      • Calculate storage capactiy
      • Fetch produced goods
    • Production building logic
      • Render worker animations
      • Fetch raw goods
      • Produce goods
      • Pause if on fire or manually paused
      • Building UI
    • Public building logic
    • House logic
      • Tax
      • Consumption of goods
      • Level advancement
  • Building things
    • Draggable streets, walls
    • Rotateable buildings
  • Shipyard
  • Firefighters, Doctor
  • Ship logic
    • Movement
    • Trade Routes
  • Save savegame
  • Start randomly generated endless game
  • Play Anno 1602 scenarios
  • Trader
  • Pirate
  • Natives
  • Sound
    • Background music
    • Building sounds
  • Misc
    • Triumphal arch
    • Golden monument
    • Palace
  • Random events
    • Vulcano
    • Fire
    • Plague
    • Drought
  • Military
    • Soldiers
    • Towers
    • Ship cannons
  • AI
  • Multiplayer
  • Random island generation
  • Increase island and map size
  • Running on Android and iOS

License

See the LICENSE.md file for further information.

anno2018's People

Contributors

cmfcmf avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anno2018's Issues

Animationen

Hi!
Ich wundere mich gerade, wie die Animationen der verschiedenen Sachen funktionieren.
Ich habe die Daten aus der haeuser.cod vorliegen. Korrigiere mich bitte, wenn ich falsch liege:
In den Objekten der haeuser.cod sind animationsparameter für Gebäude und Terrain (Wasser, Küste, Felder,... ) enthalten.
Für Figuren (Karren, Soldaten, Ureinwohner, Hirsch,...) gibt es jeweils eine oder mehrere verkettete animatiinsparameter in figuren.cod.

Konkret beschäftige ich mich gerade mit der Animation von Gebäuden und Terrain.
Ich hab deinen Animations-Handler gesehen.

export default class AnimationRenderer {

Behandelst du Animationen von Gebäuden/Terrain gleich wie von den Figuren?
Konkret scheitere ich an der Berechnung des korrekten Index für die neue Textur, die angezeigt werden soll.
Die Daten AnimAnz, AnimAdd, AnimTime und AnimFrame liegen je nach Feld zufreifbar vor.
Kannst du mir da erklären, wie das funktioniert?

DAT Parser constant assignment ReGex little mistake

Hey, I think you made a little mistake regarding the Constant Assignment ReGex matching string /^(@?)(\w+)\s*=\s*((?:\d+|\+|\w+)+)$/, because it accepts leading @. I don't think that's correct, but it's not critical, because it should never occur.

Better version:
/^(\w+)\s*=\s*((?:\d+|\+|\w+)+)$/

Wird das Projekt fortgesetzt werden?

Hallo @cmfcmf ,

ich frage mich, ob es in Zukunft wieder Neuigkeiten in diesem Projekt geben wird oder ob es nur ein, jetzt aufgegebenes, Experiment war?
Die Ergebnisse bis jetzt sind ja schon beeindruckend, finde ich. :-)

Viele Grüße

Only part of each tile visible

I'm not sure whether the tiles are clipped (i.e. only part is visible) or scaled (so that the image of the tile is smaller than the tile itself), but on my system each tile contains a lot of black:

2019-11-26-145446_1916x1039

This happens to me on both Firefox (68.2.0) and Chromium (76.0.3809.100), on Debian 10.1.

Game not does recognise my ZIP

I'm really interested in trying this, but when I try to upload a ZIP file containing my Anno resources I did an error message about my ZIP not having the correct format. I had a quick glance at the code and I saw that it looks for a "GFX" folder. However, this folder is present in my ZIP file. What am I missing?

COD Parsing

Hi!
Ich bin auf der Suche nach den Informationen, wie du mit den encodeten COD Dateien umgehst.
In deinem Anno2018-godot Projekt hattest du das ja mittels Regex geloest um eine JSON Datei zu erzeugen. Wo finde ich das denn hier?

How to set up local instance?

I'm trying to run a local instance of the app. I cloned the repo and ran npm install, then npm start. When uploading my zip it fails when it gets to the WAV files:

ERROR: The upload failed.
ERROR: wavefile__WEBPACK_IMPORTED_MODULE_0___default.a is not a constructor
INFO: Converting song Emotion.wav

This doesn't happen on the live server at christianflach.de so I'm guessing there must be an additional step to installing dependencies.

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.