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: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by charlieg on 2005-01-06.

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.
Have fun.
Currently, we are concentrating our efforts improving the graphics. Just be patient ;)
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.
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.
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.
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.
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.
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.
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.
Look into "C:\Program Files\OpenCity\". There should be two files: "stdout.txt" and "stderr.txt". The error outputs may be printed there.
Later.
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.
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.
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.
$ 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 1whats going on?
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...
After my verification, it's a right workaround though.
Have fun.
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
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.
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 !
You shouldn't be compiling from source if you're not a developer. Get a binary package.
Keep up the good work Eric
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.
That can't be right. I'm using Epiphany and the site works fine.
MS Firefox
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.
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
Greetings Nadow