Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Thor Patcher Internal Config File
- // Note: any entry leaves as blank will use default value
- // True = 1
- // False = 0
- // Note that true or 1 both works fine (that's why I put "=")
- [URL]
- //base_url - everything except patch files will read from here
- //The address should point to a directory with / at end
- //
- // example:
- // http://domain.com/patch/
- // NOT
- // http://domain.com/patch
- //
- base_url=http://teamglorious.eu/patch/
- //notice_file - [Relative Address]
- //You should able to access this file by combine base_url & notice_file
- notice_file=notice.html
- //core_file - [Relative Address]
- //this internal config file only store whats required,
- //but core_file is an remote config file that stores on your web host
- core_file=main.ini
- //TimeOut - timeout of connection in seconds
- //0 is default setting, leave it as 0 unless you know what you are doing!
- TimeOut=0
- //=============================
- // File below is on local disk
- //=============================
- [Local]
- //status_file - [Relative Address]
- //It used to store information such as last patch id etc,
- status_file=server.dat
- //grf_file - [Relative Address]
- grf_file=tgdata.grf
- //client_file - [Relative Address]
- //It's GAME EXE not patcher's
- client_file=TeamGlorious.exe
- //client_parameter - [Self Explained]
- client_parameter=-1sak1
- //---------------------------------------------------------------------------------
- //
- // Below are advanced settings, it is not required to change for patcher to work
- //
- //---------------------------------------------------------------------------------
- //=============================
- // Custom Skin controls
- //=============================
- [Skin]
- //windows_autosize - if set to 1, window size will automatically adjust depend on content size
- windows_autosize=true
- //windows_mode - How should window presented?
- // None - Borderless window
- // Single - Window cannot resized
- // Sizeable - ... what it says, however it can not resize when windows_autosize set to true or 1
- window_style=none
- // Width and Height of window
- //windows_autosize set to false or 0 for this to work
- // Min: 1 Max: 10000 (I don't think you would need that large)
- window_width=
- window_height=
- // If set to true, user able to drag window by click images (background)
- // recommended to true especially for boarderless window
- window_handle_move=true
- // Image for background (DOES NOT READ FROM DIRECTORY OF PATCHER, the config packer will put image inside patcher too)
- // Support : jpg bmp
- // Note : patcher determine image format by filename extension, use with care!
- background_file=images/bg.bmp
- //New style of progress bar, it used image.
- //WARNING: HIGH CPU USAGE
- NewProgressBar=False
- //Image of progress bar(only when ProgressBar set to true; BMP, JPG, PNG are supported)
- ProgressBar_back=
- ProgressBar_front=
- // size of progress bar? (only when NewProgressBar set to false)
- progress_bar_width=
- progress_bar_height=
- // Position of progress bar
- progress_bar_left=
- progress_bar_top=
- //Custom progress bar color
- //Use hexadecimal of RGB [eg. #4C7D7E]
- //Color for back of progress bar.
- progress_bar_backcolor=
- progress_bar_backcolor_end=
- //Color for front of progress bar.
- progress_bar_barcolor=
- progress_bar_barcolor_end=
- // Status message width (showing current status)
- // no height
- status_width=
- // Text alignment
- // Left , Center , Right
- status_alignment=center
- // Position
- status_left=
- status_top=
- //Color for status, in hexadecimal of RGB [eg. #123456]
- status_color=
- // control notice (News box? Mini web browser? you name it)
- notice_width=
- notice_height=
- notice_left=
- notice_top=
- // For start button
- start_normal=images/start1.png
- start_hover=images/start2.png
- start_down=images/start3.png
- start_left=
- start_top=
- // For Exit button
- exit_normal=images/Exit1.png
- exit_hover=images/Exit2.png
- exit_down=images/Exit3.png
- exit_left=
- exit_top=
- // for cancel button
- cancel_normal=images/Exit1.png
- cancel_hover=images/Exit2.png
- cancel_down=images/Exit3.png
- cancel_left=
- cancel_top=
- // How many custom buttons you want to create?
- // Can create up to 255 buttons (Plenty enough)
- buttons=0
- // - Custom buttons -
- //As you can see below, it's not that hard to make custom buttons
- //the number after "button" is id(depends on how many you set in buttons)
- // Again, note that all image files will be embed into patcher.
- // _normal - image file when button is in normal status
- //button1_normal=
- // _hover - image file when user hover on it
- //button1_hover=
- // _down - image file when user mouse down on it
- //button1_down=
- // _left/_top - position of button
- //button1_left=
- //button1_top=
- // _mode - mode for button
- // 0 = open URL
- // 1 = Launch file/program
- // 2 = Message box
- // 3 = Minimize
- // 4 = Close patcher
- // 5 = Start button clone
- //button1_mode=
- // _action - depend on what you set in _mode, this may vary
- // ex. _mode = 0 , _action=http://google.com
- // which makes user open that URL address after click that button
- //button1_action=
- // Parameter - Currently only used in "Start button clone"
- //button1_parameter=
- [BGM]
- //Background music, leave blank to disable (mp3/mid/wav)
- //Side note: Personally, I don't like background music in this kind situation, so think about players.
- bgm=
- //Loop play background music? (play over and over)
- BGMLoop=False
- //BGM Volume (1-100)
- // Recommended value: 40-60 [Respect player's ears please]
- // Default: 50
- Volume=50
- //Note: This will override "bgm" entry when set!
- //When set, patcher will scan all mp3 in specific directory (use relative path)
- //It will random choose one when launch
- //eg. BGM/
- BGMDir=
- [Misc]
- //Set to true if you want patcher allow to start game when unable to connect webserver
- Continue On Connection Fail=False
- //What will the window title called?
- Title=Thor Patcher
- //Set this to true if you love to see similar effect in RO when dragging window.
- // (Semi transparent effect)
- // Note: Does not apply to window title yet.
- // Not recommended for average users.
- FadeOnDrag=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement