Results 1 to 10 of 44

Thread: Linux Bash Script: Convert RPG City Map Generator to SVG

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    OK, I've installed Wubi and I've got a dual operating system (woo hoo!) - it's kind of liberating to know that I don't have to depend on Microsoft for everything in my life!

    I'm not sure what to do next? I imported your script and a sample city file from RPG generator. I double clicked your script and it opened the file as in a text editor rather than running the script. I'm sorry, I'm a real noob at this - could you talk me through what I have to do to get it all running please?

    cheers!

    Ravs

  2. #2

    Default

    No problem! Well done for getting ubuntu installed...

    Let me just check a few things a second...

    Hit control, alt and "T" at the same time to open a terminal hopefully...

    Type this into the window:

    sudo apt-get update

    And hit enter

    (You'll probably need to type your password I guess)

    When it's finished, type:

    sudo apt-get install tofrodos

    and hit enter, type your password, this should nstall dos2unix

    Locate your sample .sgs file (you did make an .sgs file using the "city map" menu, NOT an exported bitmap I hope?) and copy it to your desktop, along with my unzipped bash script.

    Hopefuly you haven't closed the terminal yet. Type this: (copy and paste to make sure you don't omit the wavy line thing)

    cd ~/Desktop

    and hit enter

    Nearly there (phew!)...

    Type this...

    chmod +x RPG2SVGv3.0.sh

    and hit enter

    followed by this:

    ./RPG2SVGv3.0.sh

    then hit enter. It should then give you a list of the valid .sgs files in the current directory (the desktop). Type the name it gives you (no .sgs extension), hit enter, and you're hopefully off and running!

    If any of this fails, just tell me what goes wrong and I'll try and work it out...
    Last edited by GrumblingHive; 09-17-2012 at 09:40 AM.

Posting Permissions

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