SC4 Devotion Forum Archives

Sim City 4 Devotion Tools => Tools - General Discussion => SC4Mapper => Topic started by: wouanagaine on January 09, 2013, 04:30:02 AM

Title: SC4Mapper 2013 Version User Guide
Post by: wouanagaine on January 09, 2013, 04:30:02 AM


LEX VERSION IS 2013.5
Grab it here (http://www.sc4devotion.com/csxlex/lex_filedesc.php?lotGET=2880) ( you should be registred to the LEX )
Questions ? Any problems ? go here (http://sc4devotion.com/forums/index.php?topic=15456.0)



NHP SC4Mapper 2013 Quick Tour

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg526.imageshack.us%2Fimg526%2F2505%2Fsplashod.jpg&hash=a24d75e87bac4257e1559dcaf9f5ee7b2091f9aa)(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg577.imageshack.us%2Fimg577%2F5474%2Fwomm.png&hash=2e7ef4f7eda2020e9a4e79c2153aeb608554b4fa)
Many Thanks to Cogeo, and dobsdriver for ideas and testing !

SC4Mapper is a compagnon utility of SC4Terraformer (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=731) SC4Terraformer is not required to use SC4Mapper.
It will help you to:


The 2013 Version comes with long waiting bug fixes and new features:


Any operation should take less then 10 minutes, if SC4Mapper is doing nothing it certainly freezed and crashed

In that case, run the Debug version and post the output in the support thread (http://sc4devotion.com/forums/index.php?topic=15456.0)



Let's take a tour of SC4Mapper



(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg39%2F407%2Fscreenshot070dr.jpg&hash=68285b8c7e93c6cfeacc72b1ef0b83d510bdc451)

This is the main screen of SC4Mapper

You can see the top bar buttons, where you can either


Loading a region



(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg715%2F1667%2Fscreenshot071xh.jpg&hash=db4eddd8e5d15d860f04e3d440ba1233643246b3)
So let's load the San Fransisco region from SC4

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg209%2F4308%2Fscreenshot010mf.jpg&hash=53f68d0b2fe8a888121bf2439323d4a2b7810a51)
You'll have to wait while loading the whole region

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg526%2F7741%2Fscreenshot073x.jpg&hash=221419a92b21d94cd83f7c741bfe5756b10e21bd)
And here is the SF region loaded, with the layout of the cities on top of it
You see that you can scroll the window or enlarge it to get a better view

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg715%2F6292%2Fscreenshot062c.jpg&hash=6fe423a7d9f88bcb25a93db2e03c9d3dd3d8f37a)
You can also zoom in/out and hide the cities overlay
You can also see that more buttons on top menu are now enable



Exporting Region



If you choose Export region you will be prompt for a destination file
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg26%2F9936%2Fscreenshot076pv.jpg&hash=792405f9fd1de203349c44cc0b7a73527c823293)

So some explanations are needed here about the differents export formats

If you choose to export as SC4M, you will be prompt for a HTML file that will be included into the SC4M and displayed to the user when importing.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg571%2F4954%2Fscreenshot074e.jpg&hash=fe41278e49b9cbd08c9bee600974a0fcdf7966cb)
You should enter an existing html file. or cancel to avoid including any html file

If everything is ok, you should see the following messagebox
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg89%2F3618%2Fscreenshot017pe.jpg&hash=18ab20872b1dc8dfe831f59dc68ea7cb23c8d026)


Remember that the SC4M was specially designed to share your region at verious Exchanges.


Creating a region



When you click on Create Region you will be prompt to choose from what file format you want to import
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg502%2F4204%2Fscreenshot018fj.jpg&hash=e697e784e55eb76a0eae1efd631c19f912b954df)
The greyscale format is for creating a region from 8 bits greyscale image ( jpgs as found in the STEX )





Saving a created region


Once you have created the region, you will have to Save Region or else you won't be able to play the region in SC4
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg708%2F7321%2Fscreenshot063u.jpg&hash=c46f7122e8a175661710223eb6ba09b05096f81e)
Give a name to the new region - SC4Mapper will create a subfolder with this name in your regions folder

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg577%2F1690%2Fscreenshot032l.jpg&hash=eeae67d0bf0106b34476d427d806a17bdf0d8c73)
Wait while the region is saving



In place Config.bmp edition



(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg545%2F9365%2Fscreenshot064mg.jpg&hash=e537a968181c70e72e9b72c4e732b4ee93345489)
Press the 'Edit config' button to enter the config editor

New buttons appears in the top toolbar:


To exit the config editor, just untoggle the 'Edit config' button


To change city size:


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg202%2F3205%2Fscreenshot065q.jpg&hash=e90e3f57f215ba0849a5606909f12e0b84397f7b)
I want to add a big city at the blue place

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg217%2F9150%2Fscreenshot066r.jpg&hash=9ccc006e0f2537d81649806a4cccfcba028afd85)
After I clicked the new city is created and the surrounding cities have been changed accordingly



To remove a city:


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg194%2F1748%2Fscreenshot067am.jpg&hash=ee0f04ccdcbcca46db96305aea08acc45b19a290)
I want to remove the city at the green hashcrossed place

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg694%2F3268%2Fscreenshot068w.jpg&hash=4c6efd2cc46d6251cf168286ecf025ef31e79ebd)
After I clicked the city has been removed and a grayed hashcrossed square is displayed




But wait there is even more!!!
What about getting only the most interesting part of a region ?


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg834%2F259%2Fscreenshot056lv.jpg&hash=a62115782cce23802a5ecd1f6c874cd195bb68f5)(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg13%2F6984%2Fscreenshot057l.jpg&hash=a361c77123e68be1a828c651409e2e2783e23d7d)
Let's erase the whole last row of cities from the config
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg267%2F1913%2Fscreenshot058w.jpg&hash=46d000191268e1625270bc9555219932189c845a)
And now with CTRL and the down arrow key you can move the config overlay to get the exact region you want !!!

Of course you can move in any direction provided there is space to move !


And you can even speed up the process by just getting a specific part !

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg441%2F4360%2Fscreenshot059n.jpg&hash=b60377be8dfd0aab5b47540a2696d6251069d78f)
By pressing CTRL and dragging around the cities you want

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg803%2F7351%2Fscreenshot060r.jpg&hash=be7cc6ad5067df4710048754eac315153e860c3d)
You can have the exact part you want to play on!

Upon saving or export, only the non crossed hatched part of the region will be saved  !



This conclude the tour of SC4Mapper






Annexe : RGB Scheme



(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimageshack.us%2Fa%2Fimg838%2F4305%2Famarco.png&hash=0cee6749465a2623ccf46025408287439f845251)
This is the RGB file from one map I released in the NHP Islands Maps Pack 01


The RGB scheme retains the 0.1m precision by using the following rules: