Jump to content

3 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Two quick questions that requires a potentially complex answer: Does anyone know themselves, or if not themselves then at least be able to direct me to some good documentation/resources about the simulation model for SimCity 4, and everything involved with the simulation model therein? Where is the code stored for all this in the game folders, and has the source code been extracted?

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

The game's external data files are located where SC4 is installed:

  • SimCity_1.dat
  • SimCity_2.dat
  • SimCity_3.dat
  • SimCity_4.dat
  • SimCity_5.dat


This is inside the SimCity 4 Deluxe folder at:
C:\Program Files (x86)\Maxis\SimCity 4 Deluxe


Using the Reader 0.9.3 tool, it allows these to be opened to view the file entries within.

In terms of code, the SimCity_1.dat contains Lua file entries which is the scripting language the game uses. Not all the internal code is included in these scripts however, and this means how internal functions are inside the executable located in the Apps folder. There is no source code available for SC4 currently, and although it is possible how EA might someday release this, for the foreseeable future this seems unlikely. The best hope we have for advanced modifications is with DLL files.

You may find the Prima Guide useful for information about the simulation in general. Also this detailed topic explains about the traffic simulator in particular, which is what the NAM modifies in a complex way. I also suggest having a look at articles on the SC4D Wiki and also the Omnibus as well.

  • Like 2
  • Yes 1
  • Thanks 1

Quick Links

“SimCity 4 is not just a game, but a tool driven by our own imagination and creativity.”

Buy me a coffee

Share this post


Link to post
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account


×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections