Skip to content

Rewrite of the original Civilization Game designed by Sid Meier and Bruce Shelley in year 1991

License

Notifications You must be signed in to change notification settings

hartmark/OpenCiv1

 
 

Repository files navigation

About

OpenCiv1 project is an open source rewrite of Civilization 1 Game designed by Sid Meier and Bruce Shelley in year 1991.

The game logic is Based on original DOS CIV I version 475.05 disassembly.

The game is still very popular and easy to play. But the obsoletness of DOS or Windows 16-bit platform and the bugs that have never been fixed are hindering the popularity of the game.

The news, discussions about this project and releases are published regularly on Civilization Fanatics Forum page

Copyright considerations

The available code is not a full working copy of the game. To run OpenCiv1 you are legally required to own your own copy of the Civilization game. This is the reason that not a single file from original game is included in this GitHub repository as they are copyrighted.

The part of the game assembly code is emulated with Virtual CPU, and the rest of the code has been rewritten from scratch until all of the code is replaced with new copyright free code. The other resources (like graphics, music and text) will also be completely replaced with copyright free resources before publishing the complete game.

Current status

The game is in working state, but you have to legally own the Original game (the .txt, .pic and .pal files have to be present). The Debug mode can be toggled by pressing Alt + D Key.

How to install release version of OpenCiv1

The file OpenCiv1.exe should be copied directly into installed and working DOS Civilization 1 directory. The Debug mode can be toggled by pressing Alt + D Key.

The only dependency is .NET 8

How to run the code

If you want to compile the code, it is assumed that:

  • You are using Visual Studio 2022.
  • You have .NET 8 installed.
  • For debugging you have installed DOS CIV I game at 'c:\Dos\Civ1\', or at '~/Dos/Civ1/' if you are using Linux. It's where it's home directory resides (Images, palettes, text and save games are loaded/saved there, for now).
  • For Release mode it is expected that OpenCiv1.exe (for simlicity) is put directly into directory with resource files, for example: 'c:\Dos\Civ1\', '~/Dos/Civ1/' or any other path.

Help needed

All contributions are welcome.

For this stage of code rewrite, the programmings skills needed are:

Project milestones

The goal is to completely rewrite the code (first stage), fix the bugs and port the code to a modern platform (second stage).

Milestones for a first stage

  • Reaching the initial playability of the game (passed),
  • Rewrite of the game code, functionalities and features (in progress...),
  • Archive the game code.

Planned milestones for a second stage

What will change in the new version:

  • Porting to HTML5 platform (Web interface, online gaming),
  • Graphics (the new graphics will be as close as possible to the spirit of the original version),
  • Music/Sounds (the new music/sounds will be as close as possible to the spirit of the original version),
  • Some text where appropriate,
  • Design (Map zoom functionality, some small updates, also some dialogs will be slightly different),
  • Multilanguage capability,
  • Multiplayer capability,
  • Cheat capability,
  • Plugin capability (can override rules, graphics and music/sounds).
What will stay the same:
  • Original game rules and logic (except for established bugs),
  • Overall look and feel of the original game.

Screenshots of the OpenCiv1 game

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7
Screenshot 8
Screenshot 9
Screenshot 10
Screenshot 11
Screenshot 12
Screenshot 13
Screenshot 14

About

Rewrite of the original Civilization Game designed by Sid Meier and Bruce Shelley in year 1991

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%