Advertisement
Guest User

Untitled

a guest
May 9th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. // Thor Patcher Internal Config File
  2. // Note: any entry leaves as blank will use default value
  3.  
  4. // True = 1
  5. // False = 0
  6. // Note that true or 1 both works fine (that's why I put "=")
  7.  
  8. [URL]
  9. //base_url - everything except patch files will read from here
  10. //The address should point to a directory with / at end
  11. //
  12. // example:
  13. // http://domain.com/patch/
  14. // NOT
  15. // http://domain.com/patch
  16. //
  17. base_url=http://patch.valkyrjaro.net/patch/
  18.  
  19. //notice_file - [Relative Address]
  20. //You should able to access this file by combine base_url & notice_file
  21. notice_file=notice.html
  22.  
  23. //core_file - [Relative Address]
  24. //this internal config file only store whats required,
  25. //but core_file is a remote config file that stores on your web host
  26. core_file=main.ini
  27.  
  28. //TimeOut - timeout of connection in seconds
  29. //0 is default setting, leave it as 0 unless you know what you are doing!
  30. TimeOut=0
  31.  
  32. //=============================
  33. // File below is on local disk
  34. //=============================
  35. [Local]
  36. //status_file - [Relative Address]
  37. //It used to store information such as last patch id etc,
  38. status_file=server.dat
  39.  
  40. //grf_file - [Relative Address]
  41. grf_file=main.grf
  42.  
  43. //client_file - [Relative Address]
  44. //It's GAME EXE not patcher's
  45. client_file=Valkyrja.exe
  46.  
  47. //client_parameter - [Self Explained]
  48. client_parameter=-1sak1
  49.  
  50. //-----------------------------------------------------------------------
  51. //
  52. // Below are advanced settings, it is not required for patcher to work
  53. //
  54. //-----------------------------------------------------------------------
  55.  
  56. //=============================
  57. // Custom Skin controls
  58. //=============================
  59. [Skin]
  60. //windows_autosize - if set to 1, window size will automatically change depend on content size
  61. windows_autosize=true
  62.  
  63. //windows_mode - How should windows presented?
  64. // None - Borderless window
  65. // Single - Window cannot resized
  66. // Sizeable - ... what it says, however it can not resize when windows_autosize set to true / 1
  67. window_style=None
  68.  
  69.  
  70. // Width and Height of window
  71. //windows_autosize set to 0 for this to work
  72. // Min: 1 Max: 10000 (I don't think you would need that big)
  73. window_width=
  74. window_height=
  75.  
  76. // If set to true, user able to drag window by click images (background)
  77. // recommended to true especially for boarderless window
  78. window_handle_move=true
  79.  
  80. // Image for background (DOES NOT READ FROM DIRECTORY OF PATCHER, the config packer will put image inside patcher too)
  81. // Support : jpg bmp
  82. // Note : patcher determine image format by filename extension, use with care!
  83. background_file=images/woa.bmp
  84.  
  85. //New style of progress bar, it used image.
  86. NewProgressBar=False
  87.  
  88. //Image of progress bar(only when ProgressBar set to true, currently only BMP & JPG supported)
  89. ProgressBar_back=
  90. ProgressBar_front=
  91.  
  92. // how big is progress bar? (only when NewProgressBar set to false)
  93. progress_bar_width=408
  94. progress_bar_height=19
  95.  
  96. // Position of progress bar
  97. progress_bar_left=45
  98. progress_bar_top=621
  99.  
  100. //Custom progress bar color
  101. //Use hexadecimal of RGB [eg. #01162d]
  102. //Color for back of progress bar.
  103. progress_bar_backcolor=#01162d
  104. progress_bar_backcolor_end= #3f3f3f
  105.  
  106. //Color for front of progress bar.
  107. progress_bar_barcolor=
  108. progress_bar_barcolor_end=
  109.  
  110. // Status message width (the one shows what patcher currently doing)
  111. // no height
  112. status_width=
  113.  
  114. // Text alignment
  115. // Left , Center , Right
  116. status_alignment=Left
  117.  
  118. // Position
  119. status_left=45
  120. status_top=587
  121.  
  122. //Color for status, in hexadecimal of RGB [eg. #123456]
  123. status_color= #FFFFFF
  124.  
  125. // control notice (News box? Mini web browser? you name it)
  126. notice_width=492
  127. notice_height=174
  128. notice_left=53
  129. notice_top=372
  130.  
  131. // For start button
  132. start_normal=images/start1.png
  133. start_hover=images/start2.png
  134. start_down=images/start3.png
  135.  
  136. start_left=476
  137. start_top=589
  138.  
  139. // For Exit button
  140. exit_normal=images/Exit1.png
  141. exit_hover=images/Exit2.png
  142. exit_down=images/Exit3.png
  143.  
  144. exit_left=572
  145. exit_top=0
  146.  
  147. // for cancel button
  148. cancel_normal=images/Exit1.png
  149. cancel_hover=images/Exit2.png
  150. cancel_down=images/Exit3.png
  151.  
  152. //cancel_left=572
  153. //cancel_top=0
  154.  
  155.  
  156. // How many custom buttons you want to create?
  157. // Can create up to 255 buttons (Plenty enough)
  158. buttons=0
  159.  
  160. // - Custom buttons -
  161. //As you can see below, it's not that hard to make custom buttons
  162. //the number after "button" is id(depends on how many you set in buttons)
  163. // Again, note that all image files will be embed into patcher.
  164.  
  165. // _normal - image file when button is in normal status
  166. //button1_normal=
  167. // _hover - image file when user hover on it
  168. //button1_hover=
  169. // _down - image file when user mouse down on it
  170. //button1_down=
  171. // _left/_top - position of button
  172. //button1_left=
  173. //button1_top=
  174. // _mode - mode for button
  175. // 0 = open URL
  176. // 1 = Launch file/program
  177. // 2 = Message box
  178. // 3 = Reserved
  179. //button1_mode=
  180. // _action - depend on what you set in _mode, this may vary
  181. // ex. _mode = 0 , _action=http://google.com
  182. // which makes user open that URL address after click that button
  183. //button1_action=
  184.  
  185.  
  186. [Star Clone]
  187. //Start button clone, I name it star clone because it's better name XD
  188. // How many buttons you wanted?
  189. // Again, up to 255
  190. buttons=0
  191.  
  192. // very similar to custom buttons
  193.  
  194. // _normal - image file when button is in normal status
  195. //button1_normal=
  196. // _hover - image file when user hover on it
  197. //button1_hover=
  198. // _down - image file when user mouse down on it
  199. //button1_down=
  200. // _left/_top - position of button
  201. //button1_left=
  202. //button1_top=
  203. // _file - Client file
  204. //button1_file=
  205. //_parameter - Client parameter
  206. //button1_parameter=-1sak1
  207.  
  208.  
  209. [BGM]
  210. //Background music, leave empty to disable (mp3/mid)
  211. //Side note: Personally, I don't like background music in this kind situation, so think about players.
  212. bgm=
  213.  
  214. //Loop play backgroun music? (play over and over)
  215. //Does not work for MIDI
  216. BGMLoop=False
  217.  
  218. //Change volume XD (1-100) [No 0.. pointless] [MP3 ONLY]
  219. // Recommended value: 40-60 [Respect player's ears please]
  220. // Default: 100
  221. Volume=100
  222.  
  223. //Note: This will override "bgm" entry when set!
  224. //When set, patcher will scan all mp3 in specific directory (use relative path)
  225. //It will random choose one when launch
  226. //eg. ./BGM/
  227. BGMDir=
  228.  
  229. [Misc]
  230. //Set to true if you want patcher allow to start game when unable to connect webserver
  231. Continue On Connection Fail=False
  232.  
  233. //What will the window title called?
  234. Title=Thor Patcher
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement