Skip to content

For anyone who ever wanted to construct C# objects out of Sim City 2000 city files, but was afraid to ask.

Notifications You must be signed in to change notification settings

dwfennell/city-parser-2000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

City Parser 2000

General purpose version

By Dustin Fennell


Overview

City Parser 2000 is a simple C# program which represents some of the data from binary Sim City 2000© files (.SC2 file format) as C# objects.

This is part of a larger project I am working on which will facilitate custom comparisons of simulated cities using C# ASP.net.

Current Status

The current version of the parser is stable with almost all binary data represented in the City object. It is not fully-polished by any means. As noted below, I would like to do some restructuring so that this can be used as a general-purpose command line application, but for now my focus is on another branch.

Future Development

  • Interpret more of the SC2 file, particularly the MISC segment.
  • ParseBinaryFile will likely take a more complex data structure as input (as opposed to a local filepath).
  • Modifications for greater command line ease-of-use (city filepath input, City object 'ToString()' output).
  • Creation of a light-weight version for use in a web application.

About

For anyone who ever wanted to construct C# objects out of Sim City 2000 city files, but was afraid to ask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages