LevelPack

Started by {AR}MetalKiller, May 08, 2020, 10:05:00 AM

Previous topic - Next topic
Hey,

can anyone explain me how to use the "LevelPack" executable in the BFBuilder?
I want to build files from a directory (common) into a common.lvl file.

There seems to be no documentation on how to use the tool and what input files (and types) are required.

[spoiler]
$ .\LevelPack.exe -sourcedir .\common\ -inputfile !*.* -debug
Considering [.\common\\.\effects\file.fx]
Munging file.fx
Opened file .\common\\.\effects\file.lvl for output
Opened file .\common\\.\effects\file.lvl.req for output
Opened file .\common\\.\effects\file.fx for input
Error: Expecting bracket, but none was found.
File : .\common\\.\effects\file.fx(2)...
...
Error: Expecting bracket, but none was found.
File : .\common\\.\effects\file.fx(2)...
...
[/spoiler]

Cheers

I found the solution. LevelPack takes a *.req file that specifies the file it needs to build into the *.lvl file.