Mapdev:Tutorial Finalizing: Difference between revisions

From Spring
Jump to navigationJump to search
m →Archiving to sd7: renamed to just archive
Line 21: Line 21:
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.
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 =
Spring uses 7zip for its archives.
Archiving the map creates a single file with smaller overall size for easy distribution.
<ol>
<ol>
<li>Create a new 7zip archive containing the contents of the sdd folder.(see below for platform specific instructions)
<li>Create a new 7zip archive containing the contents of the sdd folder.(see below for platform specific instructions)

Revision as of 06:49, 2 January 2013

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 mymapname.smf and mymapname.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

Archiving the map creates a single file with smaller overall size for easy distribution.

  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.