CivOne - An Open Source remake of Civilization 1

- can you speed up the movement of units somewhat?

I will do that, the speed is not right at the moment.
(https://github.com/SWY1985/CivOne/issues/33)

Edit: The speed is as it should be at the moment, but there are performance issues due to the not so efficient canvas code. I will move this issue to the list of fixes for version 0.2.0.

- when you make a movement with a unit the fog of war is removed before the unit makes the move. It should be removed only after the unit has moved to a new tile.

These details are very important. I want to make the game act (near) exactly like the original. Thank you for pointing this out.
(https://github.com/SWY1985/CivOne/issues/34)

- some units (like the bomber) should have a view radius of 2.

That is a bug, and I don't know why that happens. Somehow, the view radius of 2 is only working for the Fighter unit. It should already be working correctly for the Bomber, Carrier, Submarine, Cruiser and Battleship.
(https://github.com/SWY1985/CivOne/issues/35)

I honestly newer knew that you cold move units by right-clicking in Civ1. You learn something new every day. :cool:

It's the only way to move units diagonally when playing on my 2-in-1 notebook, which doesn't have a keypad. :)

I am really glad you are making such good progress and I wish I could help you with this but I newer fully understood object-oriented programming. Keep it up.

I'm really glad you're testing my builds so quickly. It's really easy to overlook certain bugs because I'm writing and testing all the code by myself at the moment. Thank you for your help. :goodjob:

Edit:
New binary uploaded, see below...
 
I haven't yet tried the new exe files, but I've been following the development on github page. It's very interesting to read your code.

Just saying good job and keep it up!


edit: I know you are making exact clone of civDOS, but what really bugs me is that you can't see more than 15x12 tiles on the screen. Maybe you could create setting to customize those numbers?
 
@hannurabi
Short answer: No, not at this point.

I hope I can create a modding API decent enough so that this could be achieved with mods.
What might be possible (and not too difficult) is a setting that collapses the sidebar, which would give another 5 horizontal tiles. I'm still 'stuck' on the 320x200 resolution though, so there's no real solution for getting more vertical tiles.

The canvas/picture changes I have planned for version 0.2.0 will allow for higher resolution textures. It could also possibly open a possibility for zooming in and out on the map (using the scrollwheel). But this would greatly deviate from the original game, that's why I would prefer to put such a functionality in a mod.

The first version of the modding API is not something I'm planning at the moment, though...
 
I have created a new binary for Windows. New features since the last build include:
  • Production menu graphics fixes
  • Show number of shields in city production frame
  • Implemented food storage increase and city growth
  • Allow clicking on Change and Buy buttons
  • Implemented resources on City map (including turning on/off per tile)
  • Added citizens to City name header
  • Fixed vision range of certain units
  • Ability to build roads and irrigation
  • Ability to join city
  • Tribal hut outcome implemented
  • Road movement implemented
  • Found city animation implemented

Edit:
New version is here: http://forums.civfanatics.com/showpost.php?p=13487171&postcount=1
 
Just tried the latest version (pre-alpha1-r397) on XP x64, it's working right off the bat, just like when I tried it last summer. I'm not well-versed enough in Civ1 to have much constructive feedback on things such as accuracy, but I didn't find any obvious bugs or crashes. And although there are of course a few areas not implemented yet, there's more happening than I expected to already be up and working! :goodjob: Things like city production, fog of war, terrain info, Civilopedia... it's starting to feel a bit like a Civ game.
 
Great job.
But, game still freezes after I choose Game - Quit to dos.
When do you plan to add a minimap?
Thanks
 
I haven't yet found out why the game freezes, so I haven't been able to fix it yet. The bug is on the issue list, I will fix it.

Edit: I believe I can reproduce the bug now, I'm going to work on a fix.

Currently I'm working on implementing the tech tree. After that I will implement the mini map. Next preview will include both (and more), and will probably be ready on Saturday or Sunday.
 
@axx
I've been able to solve 4 of the 5 reported issues. The last one, I've already answered. I will get to the building thing in cities soon. The way things are going, I might have city improvements implemented by Sunday. :)
 
good, it seems that overall progress in this last few weeks is bigger than the progress from the start of this topic till the start of those weeks (almost 2 years))))
Thank you for your deeds!
 
SWY, please tell me more about the mechanic of the process: how do you port the game? You decode some code? It is impossible to write it from the scratch, so how do you do this?
 
@deathfry
I can not do magic like darkpanda, dack and gowron (or at least I haven't tried it yet). I rely heavily upon their topics on the CivFanatics forums where they explain the inner workings of the game. They have used a decompiler to find out exactly what the game is doing.

Then there are guides and tables that explain the rules of the game.

For the rest, I make screenshots of the game to get the graphics exactly right and I run the game to find out how it behaves.
 
Swy.

I pee'd a little. This is amazing!

Wish I could help as I can't wait for a full release!
 
Wow, thanks for all the encouraging posts!

I've uploaded a new version, it's available here: http://forums.civfanatics.com/showpost.php?p=13487171&postcount=1

@deathfry: Can you please test the hanging issue on quit?

@DracoNoir: If you want to help, please test and compare it to the original game. If you find something wrong or incorrect, please report it.

Thank you! :D
 
CivOne - An Open Source remake of Civilization 1
previously know as
Civilization for DOS remake for Windows
 
Hello, SWY

First of all thank you for your precious work.

I've downloaded the new version.
Well, it still freezes after I choose quit to dos and answer YES ((

I have found a few bugs:
1. No people in a view of the city.
https://s9.postimg.org/42hfibpsf/civ1.jpg
Also I can buy settlers any time I press buy button, probably it is because of the testing...

2. I have bought 2 settlers, made the city in a distance of 1 square from previous city, and then, with the help of second settler, made the city between two cities. Game crashes.
https://s9.postimg.org/tmjporb67/civ2.jpg

3.When I choose load a save game and change my mind I press ESC. It doesn't show me original background, but backgroung of loading saved games (see pic)
https://s9.postimg.org/erv4al1lb/civ3.jpg

Thanks!
 
Hello, SWY

First of all thank you for your precious work.

Happy to work on it. :)

I've downloaded the new version.
Well, it still freezes after I choose quit to dos and answer YES ((

Too bad, I had hoped that I fixed it. I'll reopen the issue then.

I have found a few bugs

1. No people in a view of the city.
https://s9.postimg.org/42hfibpsf/civ1.jpg

There's already a bug report for that, it has no high priority at the moment. I might just decide to implement it at any given time, but it's not required for the first version.

Also I can buy settlers any time I press buy button, probably it is because of the testing...

That is for debugging purposes. I will implement actually having to pay for a unit once I've implemented trade/gold earning.

2. I have bought 2 settlers, made the city in a distance of 1 square from previous city, and then, with the help of second settler, made the city between two cities. Game crashes.
https://s9.postimg.org/tmjporb67/civ2.jpg

That is a bug and a nice find. I will create a new issue on GitHub.

3.When I choose load a save game and change my mind I press ESC. It doesn't show me original background, but backgroung of loading saved games (see pic)
https://s9.postimg.org/erv4al1lb/civ3.jpg

That is actually how the original game works. ;)

Thank you, again, for testing. Great job! :goodjob:
 
Top Bottom