Giter VIP home page Giter VIP logo

mine-city-2000's Introduction

mine-city-2000

MineCity 2000 is a program that converts SimCity 2000 cities into Minecraft (Java Edition) worlds

From this:

Into this:

Overview

The program works by reading a *.sc2 city file created by SimCity 2000. It then maps the terrain and places all the buildings into a Minecraft world.

See it in action:

https://www.youtube.com/watch?v=R6RW6WouGbE

https://www.youtube.com/watch?v=Z3FkM7GLxKo

https://www.youtube.com/watch?v=EhIF_1SuZLs

Download link for the compiled app

This is a link to the compiled app, so you don't have to build it from the source code yourself: https://raw.githubusercontent.com/jgosar/mine-city-2000/master/release/mc2k-release.rar

You can download a smaller version here if you only want to use MineCity 2000 CLI (Command-line interface) https://raw.githubusercontent.com/jgosar/mine-city-2000/master/release/mc2k-release.rar

If for some reason the app above doesn't work, please try the old version: https://raw.githubusercontent.com/jgosar/mine-city-2000/master/release/mc2k-release-legacy.rar

Running the compiled app

Run the compiled app using MineCity2000-GUI.exe.

With the first browse button, choose your *.sc2 city file. A good place to look for it would be C:\Program Files\Maxis\SimCity 2000\Cities. But if you can't find it, open it in SimCity 2000, click "File->Save city as" and put it in a place where you will find it.

With the second browse button, choose your Minecraft install directory. It might be C:\Users\[username]\AppData\Roaming\.minecraft or something similar. A sure way of finding it is if you right-click the shortcut you use to run Minecraft, click Properties and see where the shortcut points.

If you want the underground area to be filled instead of empty (So you don't fall into the ground after digging for a bit), select the "Fill underground area" checkbox. But be warned that this also increases the conversion time and RAM requirements.

If you want Minecraft to automatically generate its own terrain around the city instead of having an obsidian wall, select the "Generate terrain around the city" option.

After you choose both of these, click "Convert!". And when the processing is done, you can close this window, open Minecraft and you should see your city among the saved games.

Your antivirus might think that MineCity 2000 is a virus. It's not.

Running the CLI (Command-line interface)

You can also run MineCity 2000 as a CLI, which can be useful if you want to call it from a script or from another app, here are the instructions: https://github.com/jgosar/mine-city-2000/wiki/CLI-usage

Opening generated worlds in Minecraft Bedrock Edition

This project was started quite some time ago (2014), so it only generates Minecraft Java Edition worlds.

But fortunately Microsoft has released a converter that can transform Minecraft Java Edition worlds to Bedrock Edition, it's accessible here: https://chunker.app/. I have tested it with a world that was generated by MineCity 2000 and it works almost perfectly. The only difference is that you can't fly around as fast, because that was my custom setting in the generated Java Edition world. But as you can see in the screenshot below, the draw distance in Bedrock Edition can be much much greater (Click for larger images):

image mc2k-bedrock-4K

Here's a video from this city in Minecraft Bedrock Edition: https://youtu.be/w_fU_Cy6xCA

Projects

The repository contains these projects:

  • SimCityReader: Reads information about the city map from a *.sc2 city file
  • AnvilFile: Contains utility classes for working with Minecraft's Anvil file format
  • MinecraftEditor: Contains classes for creating and editing a Minecraft world
  • MineCity2000: Creates the Minecraft world with terrain and buildings
  • MineCity2000-GUI: A rudimentary GUI for running the program

For building the app from the source code you need .NET Core framework 8.0. The projects are set up for development with Visual Studio Code. In order to develop the GUI, you will also need the dotnet MAUI workload. If you open the project with Visual Studio Code, you can launch it using the "Launch GUI" or "Launch CLI" commands under the "Run and Debug" menu.

This is a development version, so do not be surprised if something doesn't work. Please open an issue on GitHub if you encounter any problems.

At the current stage, not all buildings are supported, so there will be some holes between the buildings in a generated world.

Stuff that does NOT work yet:

  • Subways
  • Highways (mostly)
  • Underwater pipes?
  • ???

If you would like to help

Let me know about any bugs or other problems you encounter.

If you know a community that might be interested in this project, tell them about it.

If you have the time, patience and skills, you can design a few more of the missing buildings. The instructions are available here: https://github.com/jgosar/mine-city-2000/wiki/How-to-design-and-add-new-buildings-to-the-project. Please let me know if anything is unclear.

Changelog:

The minecraftforums version: v0.1: Buildings:

  • Upper class homes 1-4
  • Medium Condominiums 2
  • Police Station
  • Water Pump
  • Middle class homes 5

Features:

  • Power lines
  • Roads
  • Ground water
  • Trees

v0.1-v0.2: New buildings:

  • Middle class homes 2
  • Medium Condominiums 1
  • Medium Condominiums 3
  • Middle class homes 4
  • Middle class homes 3
  • Small warehouse 1
  • Small warehouse 2
  • Gas station 1
  • Small office building 2
  • Chemical storage
  • Gas station 2
  • Toy store
  • Industrial substation
  • Convinience store
  • Small Factory 3
  • Small Factory 4
  • Small Factory 5
  • Small Factory 6
  • Medium office 5
  • Medium office 6
  • Medium Appartments 2

New features:

  • Tunnels
  • Railways
  • The file selectors on the GUI automatically open at the most probable location for SimCity and Minecraft installs

Fixed bugs:

  • Water level is read correctly from SimCity file
  • Program does not crash if an object needs to be at a height greater than 255

v0.2-v0.3: New buildings:

  • Office/Retail
  • Medium office 3
  • Medium office 4
  • B&B Inn
  • Warehouse
  • Small office 1
  • Port warehouse
  • Large warehouse 1
  • Small Park
  • Lower class homes 1
  • Lower class homes 2
  • Lower class homes 3
  • Church
  • Fire Department
  • Large Factory
  • Medium Factory
  • School

The GitHub version:

  • Refactored code

New buildings:

  • Runway
  • Pier
  • Middle class homes 1
  • Hospital
  • Medium Appartments 1
  • Small Appartments 1
  • Corporate Headquarters
  • Abandoned building 1
  • Abandoned building 2
  • Big Park
  • Small Appartments 2
  • Small Appartments 3
  • Statue

Contact

[email protected]

mine-city-2000's People

Contributors

jgosar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mine-city-2000's Issues

I would love to make some buildings

SimCity 2000 was one of my sweetest childhood memories.

Now I am a dad with kids. In recent years, I built a big Minecraft world with my kids:

https://www.youtube.com/watch?v=-Zg7UjDrRqA

So when I discovered your project, the fantastic feeling is beyond what I can describe.

Could you please share how can I make buildings for this project?

I have experience with both SimCity 2000 and Minecraft, and I am a programmer too (currently my main project is https://planetable.xyz).

Terrain generation

I think it would be cool if instead of having an obsidian wall surrounding the converted city, it just had regular Minecraft terrain generation so the city appears in an otherwise normal Minecraft world. What do you think?

Feature request: Fill the underground area with blocks

Currently the area under the ground is left empty, so after digging 2 blocks into the ground, it's possible to fall out of the world.

A user suggested that there should be an option to fill the underground area with blocks, either to a selected thickness or all the way to the bottom. Also the filling material could be selectable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.