Mapdev:Tutorial Finalizing: Difference between revisions

From Spring
Jump to navigationJump to search
m →Review: filled out.
m cleaned up, filled out.
Line 19: Line 19:


= Testing the map =
= Testing the map =
show how you can copy the sdd directory to the maps folder to test without archiving.
Copying the sdd directory to your spring maps folder will allow spring to recognise it as a map, this way you can tweak parameters and test things before archiving it for distribution.


= Archiving to sd7 =
= Archiving to sd7 =
should be pretty simple to explain really.  
Spring uses 7zip for its archives.
# zip up the contents of the sdd folder
<ol>
{{infobox|title=Caution|body=note about solid archive}}
<li>Create a new 7zip archive containing the contents of the sdd folder.(see below for platform specific instructions)
# copy the archive to maps folder to test
<li>Copy the archive to maps folder to test
</ol>
{{infobox|title=Caution|icon=icon-caution.png|color=rgba(255,0,0,0.1)
|body=Make sure that you have not created the archive with the "solid archive" option, or spring will not recognise it.}}
{| class="wikitable" width="100%"
! Linux
|
# Open a terminal and navigate to your sdd directory
# Run the following command:
: <code>7z a -ms=off mymapname.sd7 *</code>
|-
!Windows
|[[File:Examplearchivewith7zip.jpg|512px]]
|-
!Mac
|???
|}


= uploading to springfiles.com =
= Uploading to springfiles.com =
will have to re-do this myself to remember
<ol>
<li>Head on over to [http://www.springfiles.com springfiles.com] and create an account
<li>Select upload from the main horizontal menu
<li>Fill out as much as you can
<li>Post to [http://springrts.com/phpbb/viewforum.php?f=13 map creation] subforum with something like "[new map]" in the subject line so as to increase visibiity.
</ol>
= Congratulations =
Your map is set free into the wilds of the internet. We sincerely hope its well loved.
 
Please browse the [[Mapdev:Main|Map Development]] wiki pages for more ways to make awesome maps. Please help us make this wiki as comprehensive as possible, if you see something missing don't hesitate to jump in and add it.
 
Additionally, now you have gotten into maps, perhaps other areas of spring development may interest you. Check out the [[Game_and_Unit_development|Game development]] pages.


= Congratulations =
For help and discussions please visit the [http://springrts.com/phpbb/viewforum.php?f=13 forums]
further information like please help with the wiki, have a look at the game dev pages, learn lua scripting, etc etc. general advice and thanks.


good luck.
Good Luck.


[[Category:mapdev]]
[[Category:mapdev]]
[[Category:Development]]
[[Category:Development]]

Revision as of 04:25, 20 December 2012

Finalizing

This page describes how to compile some of the texture files into the smf smt files, test your map, archive the map using 7zip and upload to springfiles.com

Review

Following stage one or stage two of the beginners tutorial you will have some intermediary files ready to convert into the SMF and SMT map format.

  • heightmap.png
  • metalmap.png
  • diffuse.png
  • minimap

These are not all of the components that can be compiled into the smf/smt files, see the terrain type and grass pages for more info.

Compiling the smf and smt files

  1. Open up the terminal and navigate to your working directory
  2. Generate the smf and smt files by runing mapconv with these options:
    springMapConvNG -t diffuse.png -h heightmap.png -m metalmap.png -minimap minimap.png -ct 1 -o mymapname
  3. Copy the smf and smt files to the ./mymapname.sdd/maps/ directory

Testing the map

Copying the sdd directory to your spring maps folder will allow spring to recognise it as a map, this way you can tweak parameters and test things before archiving it for distribution.

Archiving to sd7

Spring uses 7zip for its archives.

  1. Create a new 7zip archive containing the contents of the sdd folder.(see below for platform specific instructions)
  2. Copy the archive to maps folder to test
Caution
Make sure that you have not created the archive with the "solid archive" option, or spring will not recognise it.
Linux
  1. Open a terminal and navigate to your sdd directory
  2. Run the following command:
7z a -ms=off mymapname.sd7 *
Windows
Mac ???

Uploading to springfiles.com

  1. Head on over to springfiles.com and create an account
  2. Select upload from the main horizontal menu
  3. Fill out as much as you can
  4. Post to map creation subforum with something like "[new map]" in the subject line so as to increase visibiity.

Congratulations

Your map is set free into the wilds of the internet. We sincerely hope its well loved.

Please browse the Map Development wiki pages for more ways to make awesome maps. Please help us make this wiki as comprehensive as possible, if you see something missing don't hesitate to jump in and add it.

Additionally, now you have gotten into maps, perhaps other areas of spring development may interest you. Check out the Game development pages.

For help and discussions please visit the forums

Good Luck.