OSDN Git Service

wwww
[proj16/16.git] / src / v2 / util / PACK.TXT
1 pack.exe\r
2 documentation\r
3 by zeromus 5.8.99\r
4 zeromus@verge-rpg.com\r
5 (be sure word wrap is on)\r
6 ---\r
7 USE: creates v2 pakfile\r
8 ---\r
9 v2 enjoys its own built-in pakfile system.  v2 can use files in any number of pakfiles at the same time it can read files from your computer's regular directory structure.  This allows for simplified distribution and management of v2 games, as well as adding a small measure of security to the data you worked so hard to create for your game--it will be a pain for losers to remove (read: rip) data from pakfiles, although we make no gurantees that your data is safe.  This should help the situation some.\r
10 \r
11 To create a packfile, pack.exe takes a makefile of the following format:\r
12 \r
13 --- <--cut below this line :)\r
14 pakfile_to_create.vrg\r
15 number_of_files\r
16 file_name_1    flag_extrractable flag_overrideable\r
17 file_name_2    flag_extrractable flag_overrideable\r
18 file_name_3    flag_extrractable flag_overrideable\r
19 ---\r
20 \r
21 Here it is with sample data.\r
22 \r
23 ---\r
24 test.vrg\r
25 3\r
26 pack.c   0 0\r
27 test.mak 1 0\r
28 test.obj 0 1\r
29 ---\r
30 \r
31 This would create test.vrg with three files: pack.c, neither overrideable nor extractable, test.mak, extractable, but not overrideable, and test.obj, only overrideable.\r
32 \r
33 Extractable means that the file will be extracted by unpack.exe.  Files you want to keep secret should have a 0 for this.  \r
34 \r
35 Overrideable files will be overridden by a file of the same name in the game directory.  That means, if there is a file in the game directory, it will use that one instead of the one in the pakfile.  Otherwise, the copy in the pakfile will always be used.  You'll usually want this set to 1, as it facilitates patches, etc.  For example, if battle.map had a bug in it, you could just distribute a copy of the corrected battle.map for users to chunk in the game directory, and v2 would use the corrected copy instead.\r
36 \r