Open City Screenshot OpenCity is a free 3D city simulator

OpenCity is a 3D city simulator game project written in standard C++ with OpenGL and SDL from scratch. It is not intended to be a clone of any famous city simulator from Max*s.

License: free
Requirements:

  • OpenGL
  • libpng
  • SDL
  • SDL_image
  • SDL_net
  • SDL_mixer (optional)

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnononoyesyes
Suggest an update

Comments

This is a copy of sim city and it's pretty nice. The models aren't there yet in the graphics but it seems like the game actually plays. Lots of bugs but keep on going it'll be great! I compiled it no problem on my fedora core 3.
Re: this game! posted by neoneurone on Jan 12 2005 3:46 PM
Hi there,

I hate bugs. That's why the stable releases are always tested before they reach the final users. However, if you think that you discovered a new bug please submit it at the following page as soon as possible so that I can fix it.

Report bug

Thank you.
Re: this game! posted by anonymous on Jan 14 2005 2:23 PM
hey thanks! I'll be bugging you with my bug reports so to speak!! Sent my first one! I'll be playing this game lots so I can ferret them out :) heh heh good game too! I was losing 200$ a month but I didn't notice that the months were passing...hehheh pretty soon I was 4K in the hole.
Re: this game! posted by neoneurone on Jan 14 2005 3:35 PM
Cut off your expense because in the future stable versions your life will become harder with 5000 @ instead of 15000 @ ;) I have just replied to your bug report, check it out.

Have fun.
This project is going really well. One thing i'd like to see in the full version though, are these in-game graphics (buidlings, roads). It looks great somehow...
Re: Awesome posted by neoneurone on Jan 12 2005 3:40 PM
Hi there,

Currently, we are concentrating our efforts improving the graphics. Just be patient ;)
I looked at the screenshots of 0.0.3b and it looks very promising. Sure it needs work to be done. Anyway i hope the developpers has much spare time ;-)
And i wish all the best luck to them and the game.
Seems maybe LinCity dosent need go 3D, this could be the 3D City game.
Re: Looks nice posted by neoneurone on Jan 12 2005 3:35 PM
Thank you for trying OpenCity.

It seems that a lot of Open Source developers have a job in non Open Source domain (Win32 ?), so do I currently ;) This project is some kind of a spare time project. Instead of playing game, I prefer coding game for fun, especially this type of simulation game. The work left to be done on OpenCity will be done of course, it's just a matter of time.

LinCity is also a simulation game but I have my own vision about the city simulation game. That's why you shouldn't put LinCity and OpenCity together. LinCity can go 3D with its own game logic. OpenCity is 3D and will have its own game logic.
Re: Looks nice posted by anonymous on Mar 25 2006 1:01 AM
It would be awesome if lincity and open city games could both be interchangable backends and their graphics systems (2d and 3d) could both be interchangable frontends. Of cause that would be too much work to ever be practical, but it would be good none the less.
No offense, but "not intended to be a clone?" Who are you fooling here, exactly? It looks a whole lot like Simcity 2000's interface, it has city in the title...why bother pretending that it isn't one?
Re: Open City posted by anonymous on Jan 13 2005 6:17 AM
Let me guess... you haven't even tried it before posting that assumption?
Re: Open City posted by anonymous on Jan 13 2005 11:31 AM
I think they're being ironic.
Re: Open City posted by neoneurone on Jan 13 2005 1:19 PM
Why "not intented to be a clone" ?

First, it's because I'm not good enough to make a clone of the so famous and well known SimCity.

Secondly, I have my own vision of city simulator, for the moment perhaps it looks like SimCity 2000 but it's not SimCity 2000. And it things will change in the near future.

Third, if it was intended to be a clone, people would look for an exact copy of SimCity, but OpenCity is not a copy and will never be. I just don't want to deceive anyone.

Regards.
Re: Open City posted by charlieg on Jan 14 2005 12:26 AM

You should ignore flamebait, rather than respond to it.

Sadly, along with the plaudits and interest that comes with developing your own open source game, you get an equal measure of idiocy as well. Maybe one day people will learn to act with more respect, but I don't think it'll be in our lifetimes.

Re: Open City posted by perthpenguinista on Apr 14 2005 5:16 PM
How about naming it with a horrible pun: Urban Source?
I love it. I found problems building r3 for cygwin, so I stuck with the old version, but its nice anyway.

problems: - strange controls - lack of a buttom to minimize to a traicon, I like to work while i play sim city games - heee... its not idiots proff compilable.

Re: Open City posted by neoneurone on Jan 15 2005 1:56 PM
Thank you for trying OpenCity.

If you think that you have discovered a bug, please report it so that I can fix it in the future releases.

Report bug

Thank you.
Re: Open City posted by anonymous on Apr 14 2005 12:17 PM
I had trouble compiling this, because of errors about log10 being undefined (actually math.h is not included).

For those of you having the same problem, I've put a patch on their bug page that fixed it for me (at the bottom, in a comment).

Steven.

Greetings, I gave a go to opencity (0.0.3b) on a Win98 host, but it does not start up. After clicking the icon, the screen shows up for a second then the app dies. How can I check what went wrong?
Re: Opencity vs. Windows 98 posted by neoneurone on Apr 13 2005 9:55 AM
Hi there,

Look into "C:\Program Files\OpenCity\". There should be two files: "stdout.txt" and "stderr.txt". The error outputs may be printed there.

Later.

Re: Opencity vs. Windows 98 posted by Insubordinate on Apr 13 2005 5:09 PM
Hi, I have the same problem. First I moved the folder OpenCity to C:\Program Files from C:\Programmer (Danish Windows) which stops some of the errors (not being able to find some files).
But still leaves these logs:

STDOUT.TXT -------------------------------------------

Welcome to OpenCity version 0.0.3beta
Copyright (C) by Duong-Khang NGUYEN. All rights reserved.
email: [email protected]

This program is released under the terms of
GNU General Public License (See the COPYING file for more details)

Starting ...

Tex file name: C:/Program Files/OpenCity/texture/terrain_plane_128.png

STDERR.TXT -------------------------------------------

WARNING: Loading "C:/Program Files/OpenCity/font/vera.ttf".
OpenCity doesn't start if it can not find this font !
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Looking forward to trying this new version soon.
Re: Opencity vs. Windows 98 posted by neoneurone on Apr 14 2005 5:19 AM
Hi there, Currently, the path "C:\Program Files\OpenCity\" is hard coded into the OpenCity's codes for the win32 version. That's why you won't be able to start it from anywhere else. This is not the case of the linux version which comes with the configure script. The configure script tells OpenCity where it's installed so that it can find the data files later.

If OpenCity has been installed in a different path than "C:\Program Files\OpenCity", try to create the required directory and move all OpenCity's datas there.

Have fun.
Re: Opencity vs. Windows 98 posted by perthpenguinista on Apr 14 2005 5:13 PM
Try setting an envar or something. Forex (Win32): set OPENCITYHOME="C:\Wherever I Please\OpenCity"

You might even want to have a gander at argv[0] (or the language's equivalent) to see where the initial executable was run from, and hunt for a directory relative to that.

Re: Opencity vs. Windows 98 posted by neoneurone on Apr 15 2005 4:07 AM
Thank you for your suggestion, I'll try to improve the win32 installation procedure in the next version.
compile will work, but make wont :(

$ make ....
Making all in networking
make[2]: Entering directory `/usr/oc/src/networking'
if g++ -DPACKAGE_NAME=\"OpenCity\" -DPACKAGE_TARNAME=\"opencity\" -DPACKAGE_VERSION=\"0.0.3beta\" -DPACKAGE_STRING=\"OpenCity\ 0.0.3beta\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"opencity\" -DVERSION=\"0.0.3beta\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DAUDIO_SDL=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_NET=1  -I. -I.  -I../../src/ -I/usr/X11R6/include   -I/usr/include/SDL -D_REENTRANT -Wall -ansi -pedantic -DNDEBUG   -MT networking.o -MD -MP -MF ".deps/networking.Tpo" -c -o networking.o networking.cpp; \
then mv -f ".deps/networking.Tpo" ".deps/networking.Po"; else rm -f ".deps/networking.Tpo"; exit 1; fi
In file included from netnode.h:24,
                 from networking.cpp:19:
/usr/include/SDL/SDL_net.h:416: error: extra `;'
make[2]: *** [networking.o] Error 1
make[2]: Leaving directory `/usr/oc/src/networking'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/oc/src'
make: *** [all-recursive] Error 1

whats going on?
Re: BUG! posted by anonymous on Apr 15 2005 9:30 PM
*oops, "compile" is supposed to read "configure"
Re: BUG! posted by neoneurone on Apr 16 2005 1:44 AM
Hi there,
I don't have any idea about what is going on. You should provide more information about SDL_* libraries' version, your system version and your distrib. etc...
Re: BUG! posted by anonymous on Apr 16 2005 5:18 AM
in file /usr/include/SDL/SDL_net.h delete char ; on line 416
Re: BUG! posted by neoneurone on Apr 16 2005 5:34 AM
It's not a good idea.
Re: BUG! posted by neoneurone on Oct 25 2005 1:36 AM
"in file /usr/include/SDL/SDL_net.h delete char ; on line 416"

After my verification, it's a right workaround though.

Have fun.
Hi! well, this is great! I liked the Stable release so decided to try and compile this one.

I am running a P-III 1.26GHz system with 256 Mb ram and a GeForce 2 - GTS graphics card. The Operating system is Linux, Mandrake 10.0. I ended up with the following SDL packages installed:- libSDL, -devel, _gfx, _gfx-devel, _image, _image-devel, _mixer, _mixer-devel, _net, _net-devel, _ttf1.2, _ttf2.0, _ttf2.0-devel, SDL_mixer-player and perl-SDL. (Don't know which are needed or not). Anyway, in this state I was able to compile OPenCity 003 Beta

Looks like you have a well thought out structural base to your program which will make this game very interesting to follow. Nice touch being able to view inside buildings and under mountains!

Panning with keyboard seems to be back to front. How about switching left/right and forward/back for first-person movement of view point? Maybe just an option to switch.

Navigation about the map is way too fast. (ie. panning and rotating). Using the Alt key for 10x is quite unuseable. Could you limit panning, rotating and zooming to some real-time values? or use a key to reduce navigation rate by factor of 10. Shift perhaps?

Will you be showing a shadow of building plans as they are about to be placed? (eg Power station). And finally, in the tool bar across the top you show the currently selected tool as a shortcut. Could you show next to that the icon for the currently selected tool, as a quick visual reference?

Like I said, this is brilliant, so keep up the good work. I am looking forward to being able to save my cities in the game.

Cheers .............Graham.Percy

Re: A Few Comments posted by neoneurone on Oct 25 2005 1:33 AM
Hi there,

Thank you for testing OpenCity. The next stable release is coming soon. However the save feature is planed for the next beta release (0.0.4). And I won't forget to add some visual aid ;)

Cya.
Can anyone update this game? It is 0.0.3stable-rc1 now... (December 2005)
Re: Updating posted by neoneurone on Jan 2 2006 4:14 AM
It's a development release, not for everyone.
Hi, why do you write Max*s insted of /put real name hiere/ ? It threre legal issue, or just slang?
Re: max*s posted by anonymous on Mar 25 2006 10:20 AM
IMO it's just polite. So nobody searching for the real thing ends up on this page.
Re: max*s posted by anonymous on Mar 25 2006 11:19 PM
Manners? On the internet? Does the President know about this?
Re: max*s posted by anonymous on Mar 26 2006 3:25 AM
No, we do have them. It's just that people don't always recognise them as they're different from offline. :-)
Re: max*s posted by anonymous on Mar 28 2006 10:10 PM
you are an Idiot. Please return to your mac origins.
checking for gluLookAt in -lGLU... no configure: error: GLU library required. See FAQ for more information

from FAQ:

Q: I have some compilation troubles, can someone help me ? A: If you are not a developer who is familar with Linux application compilation process then the answer is _NO_. Otherwise, you must be able to help yourself.

i try to help myself instling glut-devel and SDL_mm something Didnt worked i get the same error.

Please dont help me I deserve not being able to play this because im to dumb to be a developer !

Re: too dumb to play! posted by komakino on Mar 25 2006 7:22 AM
I'd say you don't have openGL installed. If you're not using an nvidia or ati card then install Mesa.
Re: too dumb to play! posted by parasti on Oct 30 2006 4:00 AM

You shouldn't be compiling from source if you're not a developer. Get a binary package.

Very nice indeed! I would recommend to talk to the lincity-ng guys. They have made very good 3d buildings. If I recall it correctly, they were made with blender (althought they use bitmaps in the game). Their buildings might fit very will in your game!

Keep up the good work Eric

The website just closed my browser window because I wasn't using Firefox. 1 star.
Re: dumb website posted by anonymous on Oct 30 2006 4:07 PM
Yeah, seriously, sure make it say that you should use firefox. However do NOT ever make it close the window - close() is a javascript abomination and should never be used.
Re: dumb website posted by anonymous on Oct 30 2006 4:25 PM
No Kidding. Even though I'm a huge fan of Firefox, I don't always have access to it. For instance, here at college, only a few of the computers have Firefox installed. The rest are Internet Explorer only, period. Although I can fire up portable firefox, not everyone has that luxury, and even those people who do have USB keys, most of them don't have a clue how to set up portable firefox. I am sure that many people are in a similar situation. Discriminating against Internet Explorer so that IE can't view it is kinda like the digital millenium copyright act - It only frustrates the innocent people. Go ahead and discriminate against Micro$oft all you like, just don't take it out on people who can't do a thing about what internet program they use.

Besides, that kind of code is just plain rude. I was curious about the project, but now I think I'm just going to ignore it.

Re: dumb website posted by parasti on Oct 31 2006 2:11 AM

That can't be right. I'm using Epiphany and the site works fine.

Re: dumb website posted by James Gregory on Oct 31 2006 3:23 AM
I imagine it searches for "IE" or "Internet Explorer" or similar in the id string. Which incidently IE isn't the only browser to do, but even if it was it's still childish and stupid.
Re: dumb website posted by anonymous on Jan 8 2008 9:54 PM
Epiphany is based on the Gecko engine, which is the same as Firefox.
Re: dumb website posted by neoneurone on Oct 31 2006 9:46 AM
Feel like ... frustrated ? Have you ever visit Microsoft or MSDN with Firefox ? Have you ever use other browser to surf on a site with Windows Media Player plugin ? Have you ever heard about DRM ? Oh god, too many things to know about. Ah sorry, I forgot that you have nothing other than IE. Maybe you need to check this one:

MS Firefox

Re: dumb website posted by anonymous on Jan 8 2008 9:33 PM
Works fine in Opera too :o)

But why, Neoneurone, why add such a feature to the website in the first place? I like having choices, and that is the whole reason I do not use Windows (And visit sites like Microsoft etc). Surely, dispite how good or bad IE or another application is in your opinion, a simple banner or splash page stating the browser it's designed for is more appropriate, as opposed to flat out denial.

Just my 2 cents.

Re: dumb website posted by anonymous on Jan 8 2008 11:29 PM

Works fine with Internet Explorer 7 too. I guess they've removed it now. Maybe they are not so facist about it anymore. They even offer *ghasp* windows binaries!!! j/k j/k ;)

How come developement is so er... slow? It's been in development for over FOUR YEARS now :P (Oldest news on site is dated Thursday, 4th sep 2003!) and version is not even in 0.x range yet. Is it planned to be finished in this century or the next? :p ;)

Btw. You did notice that you replied a comment from year 2006 did you? :p

Re: dumb website posted by anonymous on Jan 11 2008 10:06 AM
Haha, oopsie :o) I never have been that observant, pardon me for that mistake guys and girls.
Re: dumb website posted by Coz on Jan 9 2008 1:14 AM
And rating a game based on the website doesn't sounds any better than closing a window based on the browser.
Can this have a first person view so I can walk around my city (maybe go inside buildings) or drive around it like in simcopter and streets of sim city. Having a cheat code that gives me a gun would be nice too.
Ok this is a realy nice game and I am a big fan of city building games. So I hope this project grow up to more!

Greetings Nadow

Log in or register to rate this game or post a comment.