Setting Up Thor Patcher

You need to have a Thor patcher! Note that there are different version and features develop within thor if you don't have one I suggest to download this Thor Patcher [2008-08.05] because of this guide!
 
We wil begin in configuring your config.ini inside your Thor Patcher/Tools/config.ini
 
1. Open that file, and edit the following (I will list all necessary configuration needed for configuration)
 
Find this line:
 
base_url=http://domain.com/patch/
 
- This is your base URL where the patch is a folder under your web host and the patcher will access that folder and everything inside. In my case I will create new folder name thor folder to use in this guide.
 
below is my config and path for my patcher:
 
base_url=http://www.hostporing.com/thor/
 
2. The news/notice:
 
notice_file=notice.html
 
- you don't need to change this one, unless you want to use .php! Incase you did change your own news, you need to change that one too inside your configuration, In my case I will leave it as notice.html and upload it inside the thor folder under my webhost. As you can see when you combine the base_url and the notice.html it will look like this: 

http://www.hostporing.com/thor/notice.html
 
Just like I said earlier thor will find the file notice.html inside the folder name thor under my webhost.
 
3. The core file:
 
core_file=main.ini
 
- core_file is the main remote configuration that the patcher will access first inside your webhost or my thor folder.
 
4. Other important configs below:
 
[Local]
//status_file - [Relative Address]
//It used to store information such as last patch id etc,
status_file=server.dat
 
- the .dat file is the thor patcher logs everytime you create a new patch it will be listed inside that server.dat you can change this to your server name or any name you want, its useful so it won't mess with the other servers installer/files.
 
//grf_file - [Relative Address]
grf_file=Server.grf
 
- This is your primary or main grf
 
//client_file - [Relative Address]
//It's GAME EXE not patcher's
client_file=hostporingRO.exe
 
- This file is your hexed.exe that the thor will trigger after the player click the start game button in your patcher.
 
//client_parameter - [Self Explained]
client_parameter=-1sak1
 
- Self explain, or don't edit if you don't know what is this for...!
 
the rest of the configuration is done! Now if you want to do a modification its all up to you.
 
When your done editing... make sure to save the changes you made in your config.ini
 
We may now start combining the config.ini and embed it inside the Thor Patcher. Open the /Thor Patcher/Tools/Config_Packer
 
Click the Browse button, browse and open the Thor file located inside the Thor Patcher/Patcher/Thor then click Pack!
 
Alright its done with combining the config.ini with Thor file < your patcher. Next is
 
5. The main.ini file:
 
Open the main.ini file found inside your Thor Patcher/web/main.ini
 
Find this line:
 
file_url=http://domain.com/opatch/data/
 
- the file_url is for your patches that you have created same with hexed or patcher hexed that you would want to patch too. Change it too, In my case I have created a folder name thor with the path
http://www.hostporing.com/thor/
 
go inside your Thor Patcher/web/ folder you will see that I created the folder name patchs this is the folder where all patches you created will go inside under your webhost ofcourse.
 
in my own configuration I will put:
 
file_url=http://www.hostporing.com/thor/patchs/
 
when your done just save and exit.
 
6. We need to upload all files inside the Thor Patcher/Web folder, earlier I have created thor folder inside my webhost public_html, now I will upload all files inside Web folder into thor folder under my webhost.
 
I suggest using WinSCP for easy upload of files, simple as drag and drop. You can download this WinSCP by searching on the web.
 
When your done you may now test if your config is working simply by double click on the Thor found inside your Thor Patcher/Patcher/Thor.exe
 
Also you can put all necessary files(yourro.grf, thor.exe, hexed.exe etc...) for your installer inside the folder installer! To avoid messing up with other files.
 
7DONE.


Video Tutorial:





  • Thor Patcher, ThorPatcher, Thor, Patcher
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Making a patch in Thor Patcher with GRF

Making a patch in Thor Patcher with GRF:Its easy to make a patch, First create a folder name...

How to Add News

THOR PATCHER NEWS PREVIEW IMAGE:HOW TO ADD NEWS?(just follow the following image tutorials)

Powered by WHMCompleteSolution