Jump to content
Sign In to follow this  
MCO1254

Region/Map Size

5 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hi, I just have a quick question.

I've been looking at a few new regions and most of them are considerably bigger than I want to use (6 x 10 large tiles or something that would take me years to finish and months to load). I'd like to get the region down to something a little more manageable, say 3 x 5 large tiles. Can I just throw out the config file that comes with the file and make my own smaller one so that the region is smaller? I know that if I shrink the config file down it will truncate the region and I'll only get the upper-left corner, but if I start with a smaller config will the greyscale load shrink down to fit the new config file so that I have a smaller version of the same map?

Thanks.

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Well that's unfortunate, thanks for the info.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Hi, MCO1254.

    You might want to browse throuh the OmniMaps section of the Simtropolis Omnibus to see if you can find any information to help you.

    Also, if you're specifically looking for smaller maps, you might want to search for my maps on the STEX.  I tend to create small maps.

    Finally, if you have a graphics editor, you can open a grayscale image and resize it according to your needs.  Mind, you might have some loss of quality as well as "sqaushing" of the image but it might work for you.

    Remember, as Tungston pointed out, you need to remember the formula for your grayscale image size vs. your config.bmp map size.  That formula and some examples are shown below:

    1) config.bmp size is known – calculate the size of the region.

               (64W+1) by (64L+1)

               where W is the width of the config.bmp and L is the length of the config.bmp.

    For example:

    config.bmp is 4 x 9 pixels

    (64 x 4) + 1) = 257

    (64 x 9) + 1) = 577

    Therefore, the Region dimensions are 257 by 577 pixels.

    2) Region size is known – calculate the size of the config.bmp.

               ((W-1)/64) by ((L-1)/64)

               where W is the width of the Region image and L is the length of the Region image.

    For example:

    Region size is 257 by 577 pixels

    ((257-1) / 64) = 4

    ((577-1) / 64) = 9

    Therefore, the config.bmp dimensions are 4 by 9 pixels.

    If you have any other questions, please let me know.

    Regards,

    Gary (Vandy)


     



    In the end you will see, You is you and me is me.
    © May 29, 1980

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Okay Vandy, your explanation makes sense. I'll try resizing it that way. I'll also check out some of your maps too.

    Thanks.

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections