Fwatch is obsolete! Read here

exe makepbo
Create addon
Input:
String path to directory
Output:
Array:
0 - Bool operation success
1 - Integer error code
2 - Integer system error code
3 - String error description
4 - Integer process ID


Example:
_ok = call loadFile ":exe makepbo ..\fwatch\tmp\01takethecar.abel"


Description:
Launches fwatch\data\makePbo.exe that will create PBO file out of the selected directory. Does not compress files by default. Pass argument -Z <extension1,extension2,...> to compress everything except for the files with selected extensions (results in a smaller file). New PBO archive is saved to the fwatch\tmp\ directory (overwrites). When the program is finished, its result number (0 - success, 1 - failure) is written to the fwatch\tmp\<num>.pid where <num> is process id. After compressing Fwatch automatically fixes file modification dates inside the PBO because of a bug in fwatch\data\makePbo.exe.

Pass check with process ID to see if the program is still running. Use close with process ID to terminate the program.
Purpose:
Automating mission updates (e.g. adding a script to a large amount of files).


Game ver:
1.96 / 1.99 / 2.01 Client and Dedicated Server
Introduced:
1.16
Source:
View


Topics:
What is Fwatch?
What's new?
Download & Startup

Presence Check
Using Commands
Input Commands Info
Animation Codes
Function & Script Library
Recommended Practices

Extras
Mod Manager
Changelog
Source
Credits