jgosar / mine-city-2000

A program that converts SimCity 2000 cities into Minecraft worlds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

converted world only generates sand

S21810014 opened this issue · comments

the terrain were correctly converted, but the entire map is only consist of sand blocks
image

Interesting, maybe the DOS version of SimCity 2000 generates files differently than the Windows one. Can you attach the .sc2 file, so I can check?

Another possible reason for this happening would be if the app wasn't able to access the .mcafiles in the buildings directory

here's the savefile, does the 'building' folder has to be in the same directory as the executable? i compiled the entire solution and the executables were stored in 'bin' folder

.sc2 save file

yep, it appears that moving the 'buildings' folder to the same dir as the executable works

image

The app looks for the buildings directory on path ..\..\..\buildings
https://github.com/jgosar/mine-city-2000/blob/master/MineCity2000/Program.cs#L18

I guess this depends a lot on how the files are arranged when you run it. I'll look into making this more robust

@S21810014 I know that you had this problem a really long time ago, but this should be fixed now. I upgraded the projects to .NET 8, and added copying of the buildings dir to the correct place as a build step.