RESGen.bci 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. // Specification: RESGen
  2. // Written by: Ryan Gregg
  3. // Version: 2.0b3
  4. // Created: August 4, 2004
  5. // Last updated: August 4, 2004
  6. Batch
  7. {
  8. Name "RESGen"
  9. Priority "1"
  10. Links "RESGen,http://www.unitedadmins.com/resgen.php"
  11. Stages "RESGen"
  12. Filter "BSP Files (*.bsp)|*.bsp"
  13. Template "@echo off\n"_
  14. "\"${StagePath=RESGen}\" -k ${StageParam=RESGen} -f \"${FilePath}\\${FileName}\"\n"
  15. }
  16. //
  17. // RESGen
  18. //
  19. Stage
  20. {
  21. Name "RESGen"
  22. Title "Resource Generator"
  23. Type "Program"
  24. Filter "RESGen (RESGen.exe)|RESGen.exe"
  25. CheckBox
  26. {
  27. Name "Minimal Output"
  28. Param "-v"
  29. Hint "\tMakes RESGen only give minimal output.\n\n"_
  30. "\tIt's recommended you use this if you want to create res files as fast as possible. RESGen will still report any error."
  31. }
  32. CheckBox
  33. {
  34. Name "No Status Line"
  35. Param "-s"
  36. Hint "\tRESGen will not display it's status line.\n\n"_
  37. "\tThis might considerably speed up res file generation, especially on smaller maps."
  38. }
  39. CheckBox
  40. {
  41. Name "No Folder Info"
  42. Param "-i"
  43. Hint "\tRESGen will only report the base folder it's searching, but not the subfolders. Useful with -r option."
  44. }
  45. CheckBox
  46. {
  47. Name "No Resource Info"
  48. Param "-j"
  49. Hint "\tResources found while building the resource list will not be displayed. Useful with -e option."
  50. }
  51. CheckBox
  52. {
  53. Name "No Lowercase"
  54. Param "-l"
  55. Hint "\tTurns off converting all res file entries to lowercase.\n\n"_
  56. "\tRESGen converts all res file entries to lowercase since this is the default for Half-Life files. It has to do this because a lot of resource files in maps don't have the proper case that matches the actual resources. Only use this option if you know what you are doing."
  57. }
  58. CheckBox
  59. {
  60. Name "Overwrite .RES Files"
  61. Param "-o"
  62. Checked "True"
  63. Hint "\tIf a res file already exists it will be overwritten."
  64. }
  65. CheckBox
  66. {
  67. Name "Don't Check .PAK"
  68. Param "-p"
  69. Hint "\tPrevents RESGen from using the contents of any pakfile for resource verification.\n\n"_
  70. "\tThus, any resource that is available, but in a pakfile is excluded from the res file. This option is only useful when the -e option is also used. Please note that if a map comes with it's own pakfile, using this option will generate a res file that is incomplete."
  71. }
  72. Space
  73. {
  74. Size "3"
  75. }
  76. TextBox
  77. {
  78. Name "Additional Parameters"
  79. Type "String"
  80. Size "3"
  81. Hint "\tAdd additional parameters here as you would a command line."
  82. }
  83. FolderBox
  84. {
  85. Name "Folder"
  86. Param "-d"
  87. Hint "\tSpecify a folder that will be searched for bsp files."
  88. }
  89. FolderBox
  90. {
  91. Name "Recursive Folder"
  92. Param "-r"
  93. Hint "\tSpecify a folder that will be searched for bsp files. The folder's sub folders will also be searched."
  94. }
  95. FolderBox
  96. {
  97. Name "MOD Folder"
  98. Param "-e"
  99. Hint "\tMakes RESGen verify that all resources in the res file actually exist.\n\n"_
  100. "\tResources that can't be found will be excluded from the res file. RESGen expects modpath to point to a valid mod directory structure. If the modpath isn't the valve folder, RESGen will try to find the valve folder too, so a complete resource list can be established."
  101. }
  102. FileBox
  103. {
  104. Name "RFA File"
  105. Param "-a"
  106. FullPath "True"
  107. Filter "RFA Files (*.rfa)|*.rfa|Text Files (*.txt)|*.txt"
  108. Hint "\tThe contents of the rfa file will be added to the end of the res file.\n\n"_
  109. "\tThis is useful when adding custom resources, like the StatsMe sound pack. The .rfa file extension is optional."
  110. }
  111. Space
  112. {
  113. Size "7"
  114. }
  115. FileBox
  116. {
  117. Name "Exclude .BSP"
  118. Param "-x"
  119. FullPath "True"
  120. Filter "BSP Files (*.bsp)|*.bsp"
  121. Hint "\tExclude this map from res file generation.\n\n"_
  122. "\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  123. }
  124. FileBox
  125. {
  126. Name "Exclude .BSP"
  127. Param "-x"
  128. FullPath "True"
  129. Filter "BSP Files (*.bsp)|*.bsp"
  130. Hint "\tExclude this map from res file generation.\n\n"_
  131. "\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  132. }
  133. FileBox
  134. {
  135. Name "Exclude .BSP"
  136. Param "-x"
  137. FullPath "True"
  138. Filter "BSP Files (*.bsp)|*.bsp"
  139. Hint "\tExclude this map from res file generation.\n\n"_
  140. "\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  141. }
  142. FileBox
  143. {
  144. Name "Exclude .BSP"
  145. Param "-x"
  146. FullPath "True"
  147. Filter "BSP Files (*.bsp)|*.bsp"
  148. Hint "\tExclude this map from res file generation.\n\n"_
  149. "\tOnly works on maps found with -d or -r options. The .bsp file extension is optional."
  150. }
  151. }