4 Directory Tree
ABelliqueux edited this page 2021-10-12 15:16:32 +02:00

By default, exporting results in a directory tree compatible with the 3dcam engine.

This can be overridden at export time with the 'Use Blender filename' option.

Hardcoded filenames

For now the exported files names will always follow this pattern. The filename in Blender's export dialog is not used.
You'll have to manually rename the files in levels and in the engine's sources if you insist on using another name.

Default tree

.
├── your_files...
├── common.mk
├── custom_types.h
├── config
│       ├── cd.cnf
│       └── mkpsxiso_config.xml
├── levels
│       ├── level0.c
│       └── level0.h
├── Makefile
├── TEX
├── thirdparty
│       └── nugget
├── TIM
├── VAG
└── XA

Incrementing the filename

Use 'Level Number' to increment your levels ; i.e : Setting level number to 1 will result in

├── levels
│   ├── level1.c
│   └── level1.h

and all the C symbols in the generated files will use this suffix as well.

Case of unsaved file

If you try to export a file that hasn't been saved yet, the files will be exported in the current working directory ( the directory from which you're executing blender).

To avoid this, save your file prior to export.