Re:Convert SimCity 2000 cities into Minecraft worlds
by chris37879 on Wednesday November 30, 2022 @10:32AM
(#33802083)
Looks like the GUI uses WinForms, which means you won't be able to build it on linux, I would wager. You may, however, be able to run an already built version of it through Wine.
Re:Convert SimCity 2000 cities into Minecraft worlds
by MayeulC on Wednesday November 30, 2022 @10:37AM
(#33802178)
Well, I wasn't too interested in the GUI anyway :)
Re:Convert SimCity 2000 cities into Minecraft worlds
by nycdotnet on Wednesday November 30, 2022 @11:02AM
(#33802640)
The GUI code looks very simple at first glance - just four buttons and file picker and background worker. Chances are this would be straight-forward to port to a .NET command-line tool that would be cross-platform assuming there's nothing Windows-specific in the domain logic.
Re:Convert SimCity 2000 cities into Minecraft worlds
by MayeulC on Wednesday November 30, 2022 @01:13PM
(#33804981)
Thinking about it, wouldn't mono support this fairly well? I don't have much experience with mono nor C#, but going from a sibling comment and my package manager, I would be tempted to install mono-msbuild-sdkresolver and run `mono build`.
Of course, I believe a command-line tool is a better fit, especially if one wants to automate this.
The real value of this project probably lies in the buildings the author made :)
Re:Convert SimCity 2000 cities into Minecraft worlds
by jgosar on Wednesday November 30, 2022 @05:14PM
(#33808612)
I'm the author, and the GUI is indeed not the focus of this project. It's just there so people can do the conversion in a few clicks.
Re:Convert SimCity 2000 cities into Minecraft worlds
by int_19h on Thursday December 01, 2022 @01:11AM
(#33812940)
Yes, Mono did come with a kinda sorta cross-plat version of WinForms, which should do fine with something as simple as this.
Re:Convert SimCity 2000 cities into Minecraft worlds
by tippysdemise on Wednesday November 30, 2022 @12:14PM
(#33803855)
Usually, building C# projects on Linux is as simple as getting the .NET SDK using your favorite package manager and running `$ dotnet build` at the root of the project. Just FYI.
Re:Convert SimCity 2000 cities into Minecraft worlds
by MayeulC on Wednesday November 30, 2022 @01:11PM
(#33804937)
Thanks for the tip! I saw some .sln files and I assumed project information was only stored in a Visual Studio-specific format.
Re:Convert SimCity 2000 cities into Minecraft worlds
by pjmlp on Thursday December 01, 2022 @02:25AM
(#33813359)
The dotnet command is aware of solution files,
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-s...
It's C# though, so I have no idea how to build this under Linux. I also wish there was a Minetest backend.
Similar: osm to Minecraft https://github.com/ignfab-minalac/minalac https://minecraft.ign.fr/ (there should be another code drop soon-ish, I heard [0] they plan to move the dev effort to GitHub by the end of the year).
[0] video, in French: https://peertube.openstreetmap.fr/w/cLpfr5jWd9SipjJTDKDPmj?s...