Developers can have 1000's of textures in the globalmaterials directory for example. And they might want to distribute one or more game levels, without having to package up ALL textures, they only want to pack the USED textures, no duplicates, nothing NOT USED.
HOW IT SHOULD WORK:
You have a map loaded into jDesigner3D, and wish to export the assets to package it to distribute.
You would go to 'Publish' map to the menu under
"FILE" -> "Publish"
First you are prompted to name the project.
In this example call it MYGAME
After clicking [OK] a folder is created in jet3D BIN directory with the name you chose.
The process scans the *.J3d map for text strings in a file search. *.jpg and *.jmat as it is currently would tell these files. A subfolder is created Globalmaterials and these files are dumped into this folder. The same applies to ACTORS, and SOUNDS.
You can load and PUBLISH other maps into these same publish project folder "MYGAME" as in the example here.
On FILE-PUBLISH, you can optionally chose a PUBLISH folder, if you do not wish to create a new one. This will be fore game siwth more than one game level.
As a second map can have duplicates assets, it will ignore all duplicates and move onto the next Object, texture, actor, sound etc. As it is copying the assets to the selected folder.