Advertisement
Guest User

conig.ini

a guest
Nov 25th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 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://teamglorious.eu/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 an 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=tgdata.grf
  42.  
  43. //client_file - [Relative Address]
  44. //It's GAME EXE not patcher's
  45. client_file=TeamGlorious.exe
  46.  
  47. //client_parameter - [Self Explained]
  48. client_parameter=-1sak1
  49.  
  50. //---------------------------------------------------------------------------------
  51. //
  52. // Below are advanced settings, it is not required to change 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 adjust depend on content size
  61. windows_autosize=true
  62.  
  63. //windows_mode - How should window 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 or 1
  67. window_style=none
  68.  
  69. // Width and Height of window
  70. //windows_autosize set to false or 0 for this to work
  71. // Min: 1 Max: 10000 (I don't think you would need that large)
  72. window_width=
  73. window_height=
  74.  
  75. // If set to true, user able to drag window by click images (background)
  76. // recommended to true especially for boarderless window
  77. window_handle_move=true
  78.  
  79. // Image for background (DOES NOT READ FROM DIRECTORY OF PATCHER, the config packer will put image inside patcher too)
  80. // Support : jpg bmp
  81. // Note : patcher determine image format by filename extension, use with care!
  82. background_file=images/bg.bmp
  83.  
  84. //New style of progress bar, it used image.
  85. //WARNING: HIGH CPU USAGE
  86. NewProgressBar=False
  87.  
  88. //Image of progress bar(only when ProgressBar set to true; BMP, JPG, PNG are supported)
  89. ProgressBar_back=
  90. ProgressBar_front=
  91.  
  92. // size of progress bar? (only when NewProgressBar set to false)
  93. progress_bar_width=
  94. progress_bar_height=
  95.  
  96. // Position of progress bar
  97. progress_bar_left=
  98. progress_bar_top=
  99.  
  100. //Custom progress bar color
  101. //Use hexadecimal of RGB [eg. #4C7D7E]
  102. //Color for back of progress bar.
  103. progress_bar_backcolor=
  104. progress_bar_backcolor_end=
  105.  
  106. //Color for front of progress bar.
  107. progress_bar_barcolor=
  108. progress_bar_barcolor_end=
  109.  
  110. // Status message width (showing current status)
  111. // no height
  112. status_width=
  113.  
  114. // Text alignment
  115. // Left , Center , Right
  116. status_alignment=center
  117.  
  118. // Position
  119. status_left=
  120. status_top=
  121.  
  122. //Color for status, in hexadecimal of RGB [eg. #123456]
  123. status_color=
  124.  
  125. // control notice (News box? Mini web browser? you name it)
  126. notice_width=
  127. notice_height=
  128. notice_left=
  129. notice_top=
  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=
  137. start_top=
  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=
  145. exit_top=
  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=
  153. cancel_top=
  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 = Minimize
  179. // 4 = Close patcher
  180. // 5 = Start button clone
  181. //button1_mode=
  182. // _action - depend on what you set in _mode, this may vary
  183. // ex. _mode = 0 , _action=http://google.com
  184. // which makes user open that URL address after click that button
  185. //button1_action=
  186. // Parameter - Currently only used in "Start button clone"
  187. //button1_parameter=
  188.  
  189.  
  190.  
  191. [BGM]
  192. //Background music, leave blank to disable (mp3/mid/wav)
  193. //Side note: Personally, I don't like background music in this kind situation, so think about players.
  194. bgm=
  195.  
  196. //Loop play background music? (play over and over)
  197. BGMLoop=False
  198.  
  199. //BGM Volume (1-100)
  200. // Recommended value: 40-60 [Respect player's ears please]
  201. // Default: 50
  202. Volume=50
  203.  
  204. //Note: This will override "bgm" entry when set!
  205. //When set, patcher will scan all mp3 in specific directory (use relative path)
  206. //It will random choose one when launch
  207. //eg. BGM/
  208. BGMDir=
  209.  
  210. [Misc]
  211. //Set to true if you want patcher allow to start game when unable to connect webserver
  212. Continue On Connection Fail=False
  213.  
  214. //What will the window title called?
  215. Title=Thor Patcher
  216.  
  217. //Set this to true if you love to see similar effect in RO when dragging window.
  218. // (Semi transparent effect)
  219. // Note: Does not apply to window title yet.
  220. // Not recommended for average users.
  221. FadeOnDrag=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement