Live data from Hacker News

Convert SimCity 2000 cities into Minecraft worlds

github.com

11–20 of 154 posts

Re: Convert SimCity 2000 cities into Minecraft worlds

#11
post #2

Hopefully Minecraft has a mod to let you fly around in a helicopter and pick people up from the ground only to drop them confused on top of a skyscraper.

While Ride of the Valkyries blares in the background, obviously.

Showering them with water from a bucket.

Re: Convert SimCity 2000 cities into Minecraft worlds

#13
post #5

This reminds me a lot of SimCopter (1996) where you could also import your SC2k city and fly around and do missions. Mostly about helping people in various forms of distress by picking them up and flying to various destinations. Great flashback from 90's gaming, I remember tossing people out at random when flying which was always hilarious when you're a young kid. You could then pick them up and fly them to the hospi…

SimCopter was awesome! I had forgotten all about it. I didn't realize you could import SimCity cities!

Re: Convert SimCity 2000 cities into Minecraft worlds

#14
post #5

This reminds me a lot of SimCopter (1996) where you could also import your SC2k city and fly around and do missions. Mostly about helping people in various forms of distress by picking them up and flying to various destinations. Great flashback from 90's gaming, I remember tossing people out at random when flying which was always hilarious when you're a young kid. You could then pick them up and fly them to the hospi…

SimCopter wasn't the only game that allowed you to import from SC2k -- the city import is the only notable feature of the otherwise-unremarkable Streets of SimCity[0].

[0] https://en.wikipedia.org/wiki/Streets_of_SimCity

Re: Convert SimCity 2000 cities into Minecraft worlds

#15
post #10

Very cool idea and execution. Slightly off-topic; if there ever was a excellent example of what it means when a C# program is being written by a java developer, this would certainly qualify. Was this ported from a java project?

Could you give examples of what you mean? I've had a look through and there are certainly stylistic things I'd do differently, such as using "var" and LINQ more, and capitalising method names. But it's easy enough to understand despite that.

Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style).

Here's what I've noticed so far:

- Uses camelCase instead of PascalCase

- Uses setter and getter methods instead of C# properties.

- Uses reverse DNS namespace com.mc2k.SimCityReader instead of e.g. JGosar.MineCity2000.SimCityReader.

- Lack of LINQ (It is such a big part of C#, that not using it at all is strange).*

- Lac of using generics e.g. List instead of string[].*

- Excessive use of arrays (you'd typically use a simple IEnumerable or List).

- Lack of `var`.*

- Casting integer literals to short, byte, etc -- these all have equivalent literal notation.*

- Lack of extension methods.*

- Lack of maps (pattern matching).*

There could be more, but those are what I noticed.

EDIT: * Given that the original code was done with VS 2010 and .NET Framework 4, its fair to say that a few of the points above do not apply, but the code is nevertheless very java-esque (just from the first two points).

Re: Convert SimCity 2000 cities into Minecraft worlds

#16
post #8

neat idea but the project is like 10 years old, and last commit was 3+ years ago and only works on java edition. would like to see something like this, but for other city builders like Caesar

> only works on java edition Yes, as the project says, Minecraft. Not the cut-down mobile game with microtransactions that claims to be Minecraft.

I'm not playing Minecraft, but this has fascinated me from afar. AIUI, Microsoft has two teams on two different continents essentially developing two very similar but subtly incompatible versions of the same game. Funky.

Do they share any code or formats? Are the client/server interoperable? Does the C++ one even have a server implementation?

Re: Convert SimCity 2000 cities into Minecraft worlds

#17
post #5

This reminds me a lot of SimCopter (1996) where you could also import your SC2k city and fly around and do missions. Mostly about helping people in various forms of distress by picking them up and flying to various destinations. Great flashback from 90's gaming, I remember tossing people out at random when flying which was always hilarious when you're a young kid. You could then pick them up and fly them to the hospi…

SimCopter wasn't the only game that allowed you to import from SC2k -- the city import is the only notable feature of the otherwise-unremarkable Streets of SimCity[0]. [0] https://en.wikipedia.org/wiki/Streets_of_SimCity

[deleted]

Re: Convert SimCity 2000 cities into Minecraft worlds

#18

neat idea but the project is like 10 years old, and last commit was 3+ years ago and only works on java edition. would like to see something like this, but for other city builders like Caesar

wait till you hear how long it's been since simcity got a commit

Re: Convert SimCity 2000 cities into Minecraft worlds

#19
post #2

Hopefully Minecraft has a mod to let you fly around in a helicopter and pick people up from the ground only to drop them confused on top of a skyscraper.

If anyone here wants to try to recreate your Sim Copter glory days, I would recommend FlansMod. It’s an incredible mod family that is pinned to the ancient Minecraft 1.7.10 I believe. It has tons of vehicles and weapons from WW1 biplanes to mechs. There are definitely helicopters and I think they have passenger seats.

The whole thing was pushing the bounds of the Minecraft engine beyond reason when it was being actively developed, and has largely been abandoned. Still, I was hosting a Flan’s server to play w/ my kids as recently as last winter. If you can live with the bugs it’s an incredibly fun mod, and a masterclass in Java hackery.

Re: Convert SimCity 2000 cities into Minecraft worlds

#20
post #16
post #8

Earlier quoted context omitted.

> only works on java edition Yes, as the project says, Minecraft. Not the cut-down mobile game with microtransactions that claims to be Minecraft.

I'm not playing Minecraft, but this has fascinated me from afar. AIUI, Microsoft has two teams on two different continents essentially developing two very similar but subtly incompatible versions of the same game. Funky. Do they share any code or formats? Are the client/server interoperable? Does the C++ one even have a server implementation?

Servers are not interoperable by default. There is 3rd party software that acts as a proxy letting Bedrock players connect to Java servers but it'll just remove anything that the more limited client doesn't support.

They both use completely different network stacks, Bedrock using RakNet over UDP, Java using Netty (?) over TCP, so they have to be translated accordingly.

Post reply on HN