User Tools

Site Tools

This page exists within the Old ArtZone Wiki section of this site. Read the information presented on the linked page to better understand the significance of this fact.

Mapping Content

In order to use the replace content feature of DAZ Studio, content must be mapped in the Content Manager database. Currently, this must be done manually, but is easy to accomplish.

When mapping content, it must be assigned to a database category and a content type. The database category tells DAZ Studio where the item is located in the content manager while the content type tells DAZ Studio what type of content it can replace, if that option is selected. For example, a conforming hair item will replace another conforming hair item instead of a conforming clothing item.

You will need the following items in order to map content:

  • Pathname to content (optional - information only)
  • Content database category or categories
  • Type of content (conforming hair, prop hair, pants, shorts, top, etc.)
  • A .MAP file

To map content:

  1. Determine where the content should be categorized, for example, a hairstyle for Victoria might go under People/Victoria/Hair and Hair/Long.
  2. Access the resources folder in your DAZ Studio directory and locate the Categories.txt and ContentTypes.txt files.

  3. Open the Categories.txt file. You'll see several columns with text or numbers in them.
    • Column 1: Lists the category number
    • Column 5: Lists the category name
    • Column 6: Lists the parent category number
    • Column 7: Lists the parent category name

  4. In column five, locate the content type you need, for example, Hair, then look at the parent category number, which in our example is 17.

  5. Locate the parent category to see what its parent is. In our case, the Hair type found is under the David parent category.


    If you are mapping hair for Victoria, then you don't want to place it here so locate the correct figure and then the correct category, which for Victoria would be category 49.

  6. If the content is under another category in the content database, locate that category as well, so to show that the hair is under the main Hair category and then in the Long sub-category, we'd locate category 95.

  7. Note down the categories, i.e., 49 and 95.
  8. Next, open the ContentTypes.txt file and locate the type of content for the item, for example, the Bombshell hair is a conforming hair item, so locate Hair/Conforming in the list. Note down the exact content type name and/or copy it when you need to.

  9. Now that you have the categories and content type, the map file can be created. To do this, go to the resources/ContentMapFiles folder in your DAZ Studio directory and copy one of the .map files there then paste the copy into the same folder. If you copy a .map file that is similar to the one you are adding, you'll have a bit less work to do.
  10. Open the file and you'll see something similar to the image below, which shows the .map file format along with the three lines you will be modifying (the remaining lines are for future use).

    • Filename: Not required but helps to show what item is affected, path name is for information only, filename is needed when saving .map file.
    • Categories: Lists the categories where the item is located in the Content Manager.

      icon-note.jpg NOTE! This category number also used by the content scan to pre-determine a file's location in the database. If no .map file exists for an item, it is automatically placed into the Un-categorized category. If the user decides to manually categorize the content, these numbers are not used unless a full rescan is started.

      icon-note.jpg NOTE! Only the categories listed in the Categories.txt file can be added to the .map file as user added categories are different for each user and cannot be mapped by DAZ Studio.
    • Type: Lists the type of content for the item, determines what it can and cannot replace in the scene.
  11. Replace the text in the file with the information needed for the new content.

    For example:
    • Filename changed to show the pathname to the Bombshell hair.
    • Categories 49 and 95 are left in since they are the same for this item. Note that multiple categories are separated by a comma only.
    • Type is left as Hair/Conforming

  12. Copy the filename of the item, i.e., BombshellV3 LongLayered.cr2, save the file and close it.
  13. In the ContentMapFiles folder, rename the file using the filename copied above making sure that the .map extension is left in.



    Choose File > Save As from the text editor menu and save the file with a .map extension.

  14. Rescan for new content (uses the categories in the .map file) or manually categorize the content.