176

OpenCiv1 – open-source rewrite of Civ1

> The game is still very popular and easy to play. But the obsoletness of DOS

Nothing obsolete about DOS when it comes to playing 2D games. Thanks to DOSBox and other emulators (FreeDOS is also not bad though) it is a fantastic OS (or virtual machine). DOS as a platform for (2D) games has never been better than it is today, on modern hardware running DOSBox.

18 hours ago1313ed01

I bought some DOS games wrapped in DOSBox on GOG, and I'm not sure if GOG uses some bad version or bad config, but it's pain the the ass - you can't resize a window to be able to actually see something on 4k screen, no obvious way to switch to fullscreen and back, etc.

It's one thing to be able to emulate DOS games (something which worked 20+ years ago), it's another thing to offer reasonable ergonomics in a modern environment...

6 minutes agokillerstorm

> Nothing obsolete about DOS when it comes to playing 2D games.

Until you want better graphics, network, touch support, etc, etc.

Some people may not want that; and there are workarounds, even in dosbox itself; still, they are just that.

The page lists similar plans in FAQ: “To add additional functionalities (features) to the game (like online gaming, scalable HQ Grahics, HQ Audio, plugins, etc.).”

9 hours agothih9

I'm the author of OpenCiv1 project. The main point of such project is to fix the bugs and to provide additional features. Also, there are multiple live discussions on Civ Fanatics Forums on how to modify Civ1. The people still have endless creativity for Civ1 and this is the way to give it to them :)

3 hours agorahorvat

What I like about DOSbox are its constraints and limitations.

Of course there plenty of good features missing but on the other hand that’s the point.

Why start in 2d when in reality you want a 3d game?

DOSbox is delivering constraints.

The demo scene died when the constraints were gone and all that was left was showing a movie. On a C64 for example there are no animations per se but maxing out technical prowess combined with design. If it matches optimally it will make you marvel otherwise not so much.

So there is no right or wrong only what do you want?

6 hours ago_the_inflator

> The demo scene died when the constraints were gone

The problem was in my opinion not that the constraints were gone, but the fact that the PC did not provide a very stable platform anymore on which you could do some crazy low-level optimizations.

4 hours agoaleph_minus_one

You can also run the original on an Amiga emulator (or an actual Amiga, like me).

35 minutes agobadgersnake

86Box runs on modern MacOS, but is not very performant for games on ARM.

https://github.com/86Box/86Box

There are also patch sets available for modern PCs to support legacy MSDOS, and Windows 3.1/95/98/ME. Attempting to install/run on modern hardware will usually blue-screen without the workarounds. =3

https://github.com/JHRobotics/patcher9x

11 hours agoJoel_Mckay

There is a win 3.1 port for wider screens that do box will run

17 hours agoAtlasBarfed

I'm looking for similar colonization rewrite. FreeCol lacks that retro look and feel

an hour agop0w3n3d

It's on that list of things I would've love to do with infinite time. Especially as it actually had a hotseat multiplayer-mode that would be awesome to put in a networked context (iirc it might've been a hack enabled with a hex-editor but it was fun).

an hour agowhizzter

I really prefer the 2D pixel graphics of the original Civ. But the middle game can be a slog due to micromanagement, e.g. loading units onto boats. I would love to see a few tweaks, fixing bugs like disappearing units, and a stronger AI that doesn't have to cheat :)

6 hours agosehugg

This is a cool project, but the author should note that they _are_ likely creating a derivative version of Civ1 here. It might look somewhat different, but that's clearly just 16-bit (?) intel opcodes in a slightly spicier form.

It's very unlikely this sort of approach will end up with a copyright-free codebase, though it might be useful as a source for a cleanroom approach. The author shouldn't be discouraged -- lots of other recompilation efforts work this was as well, but it's a muddy place to be.

18 hours agommastrac

Well, the 'intel opcodes' are just a proof of concept. It was important, for me, to prove it could be done. If you look deeper in the available code there is already a bunch of code that has nothing to do with 'intel opcodes'.

On 'It's very unlikely this sort of approach...' I will say Why not?

The process of rewriting the code is that the one side is describing the functionality in details and the other side writes the 'clean' code. That's what I'm trying to do. The 'intel opcodes' describe the functionality, and I'm writing the clean code.

I believe https://en.wikipedia.org/wiki/Clean-room_design is the best practice in this situation.

3 hours agorahorvat

It is very likely that no one cares if anyone cares about copyright.

If someone do in fact care, I'm sure someone else can organize an online donation for them tissues those who care can cry into.

Otherwise please accept that Civ I is effectively public domain.

13 hours agolstodd

Nobody cares until the original company wants to release a remaster in 10 years.

4 hours agomiki123211

There are also some folks working on a similar project for Civilization 2. https://github.com/axx0/Civ2-clone

17 hours agologanhood

Yes, also a great project :)

3 hours agorahorvat

While not exactly the same, there is also https://www.freeciv.org/

17 hours agoyitchelle

- civ 1 --> OpenCiv1

- civ 2 --> FreeCiv

- civ 3 --> OpenCiv3

- civ 4 --> ???

- civ 5 --> UnCiv

11 hours agoculi

I really wish the FreeCiv team would focus on their SDL build instead of all these fiddly and very fickle UI toolkits. They have an incredibly cool hex-based hybridized Civ 2/3 ruleset that might be the best of all worlds, IF it could actually start consistently on all systems. Drop GTK and Qt, clean it up, add some modern quality of life keybinds and UI info, make it the universal target.

3 hours agonetbioserror

This is a great idea. I do play Civ1 on my XT class machine (NEC V20 @ 10MHz, 1MB RAM, 64MB IDE, 256K Trident VGA, NE2000, Adlib) but the turn times are horrendous as this is a 1991 game being run on a 1982 CPU. Realistically, most people would have been playing on either a 286 or 386. Having the game available on modern hardware, I imagine it’d be far more enjoyable. I’ll give it a go.

16 hours agoBirAdam

Emulators are ok

6 hours agoj45

I'm commenting this blindly so apologies if I'm wrong, but if it's possible I'd try and compile this against .NET Framework 3.5 instead of .NET 8.

A lot of people (myself included) have XP/7 machines for retro games like Civ1 and I'd personally love to use that machine instead of my modern one to play the game.

8 hours agothomasmarton

Without looking at the codebase, I can already say this is a big ask because it uses the Avalonia framework for cross-platform deployment. .NET Framework 3.5 is Windows-only, and there was a heap of massive breaking changes when the .NET Framework was replaced by the superior .NET Core (now just .NET), so it would be a pretty big maintenance burden to try to maintain a separate build target for that.

7 hours agoapplfanboysbgon

For Win 7, you can easily compile with .NET core 6 and Avalonia framework for .NET core 6.

I have tested it and it works :)

3 hours agorahorvat

> The game logic is Based on original DOS Civilization 1 game version 475.05 disassembly.

Love more details on how this was done and the translation to human-readable code.

19 hours agotigerlily

Since this requires some files from the original Civilization how do people obtain legal copies of the game? It's not available on Steam or GOG

(Or am I being hopelessly naïve by asking such a question?)

19 hours agoindy

You go on eBay or similar site and you pay for a used copy on floppy or CD-ROM. Then using the appropriate tool you back those files up and use them for OpenCiv 1. Cheap, no. Convenient, no. But legal.

If you're lucky you stumble across it in a thrift store that wasn't paying particular attention and assumed it was a puzzle or a board game.

18 hours agochocochunks

So: Yes, hopelessly naive.

18 hours agojstummbillig

I still have the floppies and manual in a box in the attic. Bit of a hoarder in that way I’m afraid.

Question then is do I need to find a floppy drive to obtain the files or can I get them elsewhere.

Of course who knows if the floppy’s still work. I remember having problems with my Star Trek 25th anniversary floppies around 1996ish, and today it’s 30 years later.

18 hours agohdgvhicv

I mean from a legal perspective, original media is the only recourse. But if we expand the options we're willing to avail ourselves of, there's a lot of high quality backups online.

So far as I know, Take-Two Interactive is extremely lenient, especially since they don't offer any way to purchase Civ1 or 2

18 hours agocaminanteblanco

Owning the original game does not automatically grant you right to make or use in derivative works.

15 hours agoj16sdiz

Not exactly, but under US copyright law there is a limitation of exclusive rights that grants the owner of a copy the right to make an adaptation provided "that such a new copy or adaptation is created as an essential step in the utilization of the computer program in conjunction with a machine and that it is used in no other manner". Unfortunately, the law doesn't specify what "adaptation" means, and I'm not sure the concept of an "essential step" stretches to cover modifying your program to run on a new OS decades after its original host platform has gone extinct.

Regardless, making such a modification for personal use only would be hard for a copyright owner to win a lawsuit over even if they could find out about it. But publicly distributing your derivative work like this is definitely violating the original's copyrights.

12 hours agowtallis

Well, I claim that there is no violating of Original copyright whatsoever. The repository doesn't contain any of the contents of the original game disks or any of the files. You could argue that I used a small parts of the work, but that can only fall under https://en.wikipedia.org/wiki/Fair_use doctrine.

3 hours agorahorvat

Can anyone give some hints on what made Civ 1 special compared to other classic entries in the franchise? Despite the nostalgia factor, of course.

17 hours agohaolez

In my opinion, Civ1 was fundamentally simpler than any other Civ game. It is like the difference between playing DOOM and Halo. Civ 1 has very few units, very few civ types, very few anything really. That means that it is easy to keep the whole game in your head at once. For me, its a totally different experience.

17 hours agocaminanteblanco

I played a lot of Civ1, Colonization and Civ 2. First time I tried Civ 3 I lost some city due to some culture or religious influence and ragequit (I was also working my first job at that point so didn't have as much time to spare).

Played a bit of Civ 4 and 5(or 6?) but never was really as hooked on them.

an hour agowhizzter

It's simple (both in terms of gameplay and graphics) and it's the fastest Civ game to complete a full playthrough. Later releases made the game slower and more complex.

10 hours agoSL61

1. It was the first civ.

2. The Settler unit was a big eared bat

2 hours agoTiredOfLife

Honestly it feels to me that Civ1 - Civ2 is the most direct upgrade in the series. Civ 2 was mostly just a better civ 1. From civ4 onwards, the series was a lot more willing to shake things up in its gameplay.

17 hours agoMacha

Civ 2 was without doubt a much uglier civ 1, though. Isometric graphics in win 3.11 wasn't a good bet.

Civ 1 had good pixel art (look at those mountains! Not to mention the intro), good colors (and more of them!) and clean iconography. For me the look was part of the magic, so I never got into Civ 2.

12 hours agovintermann

I considered Alpha Centauri as the sequel, both in the continuation of Civ 1s final goal and the expanded gameplay.

9 hours agoantihipocrat

Civ 3 already started to shake things up.

16 hours agoNarishma

Nice one! Wish someone would make a browser based version a la Chronodivide's RA2

4 hours agoport3000

Is there anything similar for Civ IV? So many top tier mods break after a while due to the same memory issues.

16 hours agoTarks

I love how obsessed HN is with civilization. I put over 1000 hours into Civ 5 alone and was proud to beat diety (and then consistently beat diety). It's funny how many founders are big on civ. Zuck and Elon both apparently spent a lot of time during college on the series.

17 hours agodanielparsons

"OpenCiv1 uses .NET 8 and Avalonia UI framework" So.... way bigger filesize than the original game + dosbox running on a html server?

Nice exercise though, but I'll stick to the original.

By the way CivNet (civ1 + networking for Win 3.11) runs perfectly in Wine

16 hours agoixv0

Avalonia is a native UI toolkit (kinda WPF inspired).

an hour agowhizzter

We got civ 2, civ 3, and civ 1.

But when will we get the greatest civ ever, civ 4?

16 hours agopolski-g

Those who like civ 4 are playing civ 4. Even with dll mods it works great in linux

2 hours agoTiredOfLife

Time to pimp up my throne room

19 hours agodvh

In Civ 1 you bring ameliorations to your palace, not throne room. Please hand in your geek card.

16 hours agoixv0

[dead]

5 hours agopugchat

[dead]

4 hours agodamotiansheng

[dead]

4 hours agodamotiansheng

[dead]