Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: RPG City Map Generator to SVG Converter

  1. #11
    Community Leader Korash's Avatar
    Join Date
    Nov 2008
    Location
    Montreal, Canada
    Posts
    1,601

    Default

    Man that was fast!!

    I ran a few small towns and villages though and it was all in a blink of an eye; I clicked enter and then the window disappeared....THEN I noticed the file in the folder.

    Okay, Lets try something bigger, so I went to max size and buildings, no trees or lakes and RPGCG took 1 1/2 min to generate a 6mgb file, and guess what...the converter crashed......After a few other tests I figured that somewhere around 3mgb is the limit because it was quite quick (a few secs) to do that one, and I was real impressed with the job it did...

    testing1.sgs.svg

    VERY well done Rep on the way!!!!

    ***EDIT****
    Got a question for you...What format of images does this work on, or is it strictly for RPGCG? Not that that isn't more than enough mind you, but was wondering if it can also be used elsewhere.
    Last edited by Korash; 09-22-2012 at 04:05 PM. Reason: double posting of attachment
    Art Critic = Someone with the Eye of an Artist, Words of a Bard, and the Talent of a Rock.

    Please take my critiques as someone who Wishes he had the Talent

  2. #12
    Guild Artisan Katto's Avatar
    Join Date
    Apr 2009
    Location
    Dortmund, Germany
    Posts
    709

    Default

    @ruff: remove the "" then it will work, remove also any spaces in the filename

    @ravi: if you have found a way to import the *.svg file and export it to *.dxf for City Engine use that works, it would be fantastic (there seems to be no trial version of your favourite program Draw Serif)!

  3. #13

    Default

    Hmmm. I'm guessing since you're running win7 64bit that ram is not a problem..I can't check that file right now, but I'm guessing "small village" means it's not a very big city.

    Try making sure that the .sgs file is in the same directory as the program and see if that helps.

    Sometimes I get a crash on the windows version with a really big city, but then the linux version works fine. Maybe it needs recompiling with a better compiler...

    I should really start quoting people to make it clear who I'm talking to. I don't normally participate in such active threads...


  4. #14

    Default

    @katto: I have always had problems getting the .dxf export from Serif Drawplus to work in City Engine (which likes the AI export). In the end I have to open the .dxf file in Campaign Cartographer 2 (which is built around Autocad I think) which then allows me to export it in a way that City Engine likes. It was a while back when I did this and really fiddly, but give me a couple of hours or so and I should be able to figure out how to do it again.

    The hours I spent trying to get CE to accept a Serif Drawplus .dxf and the zillions of different freeware programmes I downloaded to try and get it done .. it was a lot.

    I'll give it a try...hang on.

    There is a free starter version of Drawplus here: http://www.serif.com/free-graphic-design-software/

    but I don't know if it will open .svg files....worth a try!

  5. #15

    Default

    You're going to have some problems importing into city engine, mainly due to the overlapping splines. You could try setting the anti-overlap check in RPGCMG to maximum, and/or create a sort of giant compound path from all the buildings,bucket fill the largest negative space and use the resultant fill as a shape to simplify things a bit.

    I should be coming up with a more memory-efficient version of the program in the next couple of days to address all the crashes people seem to be experiencing...

  6. #16
    Guild Artisan Katto's Avatar
    Join Date
    Apr 2009
    Location
    Dortmund, Germany
    Posts
    709

    Default

    @ravs: No problem here with exporting dxf files from CC3 to CE. You must set the fill style of the houses to hollow, that's all.

  7. #17

    Default

    Here's a new (windows 32 bit) binary. It's a little slower, but crashes less (I actually couldn't get it to crash at all, even on 20,000 buildings, maximum streets etc, even the biggest file I could make didn't crash the crappiest computer in my house)

    If anyone does get an error, please tell me so I can try and fix it for you...

    Try and put the program in the same location as the file you are trying to convert. Probably best to stick to your desktop for now.

    Also it's probably better to stick to letters and numbers with no spaces in the filename.

    Oh, and if you happen to have a file called "TEMP.txt" in the directory you're using, <IT WILL BE DESTROYED BY THIS PROGRAM PROBABLY>. So call your important "TEMP.txt" file something else before you run it, ok?

    Also, when it says "drop the file..." Don't do this. Just TYPE the filename and all should be well.

    Probably needs Visual C++ 2010 Redistributable Package if you don't have it installed already...
    Last edited by GrumblingHive; 09-27-2012 at 03:15 PM.

  8. #18

    Default

    I've found a bug! I think!

    On my machine the new version is producing houses which only have '3 sides' and not an enclosed 4 sided shape. In the he attached I've given the house objects a gray fill and a 1pt stroke. The older version made enclosed shapes which is much more useful.
    Attached Images Attached Images

  9. #19

    Default

    When you say "new version" do you mean, it didn't used to happen in the bash script version? Or the earlier version in this same thread? Anyway, I'll look into it soon!
    edit: yup, you're absolutely right, well spotted. Happens in the other binary version too. I'd better fix that, hadn't I?

    Oooops....seems I got "polygon" and "polyline" mixed up. That's the problem. Easily solved though!

    By the way, the newest versions are now on the first page, and all the other versions are removed. To make things simpler...
    Last edited by GrumblingHive; 09-27-2012 at 03:17 PM.

  10. #20

    Default

    I've also attempted the Windows form (Win7, 64bit) utilizing a city record from RPGCG 5.40. Changing over to *.svg works, yet just for a little piece of the roads. Bringing in it to Illustrator CS4 produces one layer with some road ways. Any other individual with this issue?

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •