[Config:Main]
RootURL='http://127.0.0.1/thor/' [color=#ff0000]<<< for ur thor patch data[/color]
RemoteConfigFile='main.ini'
TimeOut=0
StatusFile='testragnarok.dat' [color=#ff0000] <<<< for the record[/color]
DefaultGRF='testragnarok.grf'[color=#ff0000] <<< for ur grf[/color]
ClientEXE='TestRO.exe' [color=#ff0000]<<< for ur RO exe[/color]
ClientParameter='-1sak1'
FinishOnConnectionFailure=false
[Config:Window]
AutoResize=true
Style='none'
Width=
Height=
DragHandling=true
Background='images/bg.bmp'
FadeOnDrag=false
[Config:BGM]
File=bgm/01.mp3 [color=#0000ff] <<< For music playing[/color]
Loop=true
Volume=20
Directory=
[Config:Misc]
Title='Fresh Patcher'
HideProgressBarWhenFinish=true
[ProgressBar:bar1]
Width=342
Height=10
Left=23
Top=486
BackColorStart=$009DEEEF
BackColorEnd=$00C2F1F1
FrontColorStart=$006ED5B0
FrontColorEnd=$0080DDCA
FrontImage=
BackImage=
Hook='ProgressChange'
[Label:Status]
AutoResize = false
Width=369
Height=
Left=15
Top=498
Alignment='center'
FontColor=$000000
FontName = ''
FontSize =
Text=''
Hook='StatusChange'
[NoticeBox:Box0]
Width=347
Height=250
Left=21
Top=217
URL='http://127.0.0.1/thor/Notice.html' <<< for ur patcher info
[button:Start]
Default='images/start1.png'
OnHover='images/start2.png'
OnDown='images/start3.png'
Left=383
Top=211
Hook='Start'
[button:Exit]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'
Left=383
Top=244
Hook='Exit'
[button:Cancel]
Default='images/Exit1.png'
OnHover='images/Exit2.png'
OnDown='images/Exit3.png'
Left=383
Top=211
Hook='Cancel'
Than use ConfigEmbader.exe to ur Thor.exe (don't for get to duplicate)
put folder web (insode thor root) to ur url example: xampp/htdocs/thor for xampp user
Edit main.ini
//Thor Patcher remote config file
[Main]
//Allow patching or not?
allow=true
//Should patcher ignore everything else and finish patch immediately?
Force_Start=false
//if not, what message should appear?
policy_msg=Server is taking a nap.
//file_url - patch files should ALL put here.
// This config entry will override the one in embed config.
// o HTTP:
// http://domain.com/dir/
// o FTP:
// ftp://domain.com/dir/
// o With <Username> [Password] [Port]
// ftp://username:
[email protected]:port/dir/
// o Note: username is required if want put password, otherwise everything is optional.
file_url=http://localhost/thor/data/ [color=#ff0000][b] <<< directory of data that u will patch[/b][/color]
[Patch]
//use CheckSum tool, hash for client & patcher
// used to make sure exe is up to date
// (leave empty to disable this feature)
ClientSum=EBABD390
PatcherSum=10E3BF93
//This is compressed file for patcher & client update
// To make these work, ClientSum and/or PatcherSum can't be empty
// Note: these files should put same place as patch file (file_url in internal config)
//Relative address, not FULL URL!
ClientPath=
PatcherPath=
// Patch list file
PatchList=plist.txt
[stars]
// Shining o.O (Anyways, its for start button clones)
// Since orignal client has check sum.. why not for clones? XD
//How many? (it should same as amount of start button clone, but of course it's your choice)
clients=0
// _sum - checksum, use CheckSum tool.
//client1_sum=
// _Name - Filename of exe
//client1_Name=
// _Path - Path for file [Compressed]
//client1_Path=
[Misc]
//Set a limit for fragment, when reach this limit, patcher will ask user to defrag
FragmentLimit=50
put .thor file to folder DATA
and
write ur data that u will patch to plis.tst
1 freshpatch.thor << u need to write the file extention (.thor)
2 warnabaju.thor
sry for my short guide,