SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: {AR}MetalKiller on May 08, 2020, 10:05:00 AM

Title: LevelPack
Post by: {AR}MetalKiller on May 08, 2020, 10:05:00 AM
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
Title: Re: LevelPack
Post by: {AR}MetalKiller on May 10, 2020, 02:42:18 AM
I found the solution. LevelPack takes a *.req file that specifies the file it needs to build into the *.lvl file.
EhPortal 1.34 © 2024, WebDev