Jump to content
  • 0

Assistance for Thor Patches


VhayneRO

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  02/12/12
  • Last Seen:  

As the title says id like to seek assistance from you rathena pro's

id like to make a patch which is most likely on the data folder which in particular are the ff.

idnum2itemdesctable.txt

idnum2itemdisplaynametable.txt

idnum2itemresnametable.txt

i already have the thor patcher ready and working, the problem is i dont know how make use of patching files xD

i simply need to change the details so i need it to be patched instead of redownloading the whole client which will be annoying to my players.

hope you can walk me through thanks!

Cheers!

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

Setting Up Thor Patcher

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.yourdomain.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.yourdomai...hor/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=nro.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.yourdomain.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.yourdomain.com/thor/patch/

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 CuteFTP for easy upload of files, simple as drag and drop. You can download this cuteFTP 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.

Here's mine

53779thorpatcher1.JPG

7. Making a patch with grf

Its easy to make a patch, First create a folder name patch - grf inside your Thor Patcher folder. Go inside the patch - grf and create another folder again, in my own way of making a patch I have created many folders just to separate all this patches, that's why I have now patch - grf folder means all updates that is going to be extracted inside my main grf should go in the folder name patch - grf but for me not to get confuse I have created another folder inside the patch - grf folder and that folder name is the date of the patch. For example today is December 3, so I created dec3 folder (don't get confuse you can create your own folder name and way of creating patch) Now, inside the dec3 folder I created another folder name data! We all know that when you extracted a data.grf, sdata.grf or anyname.grf it will extract a folder name data! As you can see the earlier explanation, this is the directory for my patch Thor Patcher/patch - grf/dec3/ then the data folder.

Note: When making a patch you don't need to paste all of the files inside your data folder and patch it again, what you need is the files/folders that you have re-edited or files that you have added must all go inside the data folder. Extract my data.rar and see what's inside, notice that I have put only what I added and put inside what I have just re-edited.

To make a patch for thor, open the ThorMaker found inside your Thor Patcher/Tools/ThorMaker

45570thorpatcher2.JPG

#1

- This is the name of your patch just enter any name you want. In my case since, I use the date I will name the patch as c_updates_12032008 then click Save

40395thorpatcher3.JPG

By the way, create a folder inside your Thor Patcher and name it upload - grf you can make your own folder name, for this example I use the folder name upload - grf because this folder is the location of all the patches I have made.

#2

- make sure that you select RO - GRF

#3

- there are two options on how the patcher will extract your patch, the first one is Directory and the 2nd one is Single! In this guide we will use the Directory option by default. Click the Select button, If you stil remember I have created the folder name patch - grf, now go inside that folder and select your patch folder name, in my case I use the folder name dec3, that is the folder I need to select, take note that I have put the data folder inside the dec3 folder.

41008thorpatcher4.JPG

Take note that we use the Directory option, that's why I select dec3 folder, just click OK to select.

#4

- When your done just click the Generate and it will repack a file name c_updates_12032008.thor!

Note: Make sure that the folders/files inside the data folder that you will be patching is in Unicode (this is gibirish) not with boxes names!

Once the file is ready, copy the name and paste it inside the plist.txt found inside your Thor Patcher/Web/plist.txt

Here's mine

2765thorpatcher5.JPG

1 - is the number of the patch

c_updates_12032008.thor - is the name of the patch

On the next patch just add on the second line number 2 for the 2nd patch. for example

--------------------------------------------------(inside plist.txt)

1 c_updates_12032008.thor

2 c_updates_12042008.thor

------------------------------------------

When your done, upload and replace the file plist.txt inside your webhost also upload the c_updates_12032008.thor inside the patchs folder in your webhost! When you start your patcher it should be patching by now.

8. Making a patch with files, patcher hexed or hexed.exe

Check your Thor Patcher folder you will see the patch - file and upload - file folders that I have created, its obvious that you will paste all files inside that patch - file folder and the generated .thor will be put inside the upload - file folder.

When making a patcher hexed or hexed.exe patchs its same what you did before the only difference is that you will not use the plist.txt but you will need the main.ini when patching patcher hexed or hexed.exe!

Example below

Lets say you have now have a ready patcher hexed, just paste it inside your patch - file folder.

Note: Make sure the name of your Patcher hexed is same with the name of your patcher hexed before. For example you use Thor.exe while with your new patcher hexed that you will be patching must also name as Thor.exe too!

45570thorpatcher2.JPG

#1

- same with the Guide #7, enter the name of the patch and click save, in my case I will use the name p_updates_12032008! also you can put the patch to any folder you want but in my case I will save my patch inside the upload - file folder, you can do the same, whatever you want.

#2

- Make sure to select File

#3

- click select button, find and select the folder patch - file because earlier I told you to paste your patcher hexed inside the patch - file folder!

80373thorpatcher6.JPG

#4

- Click Generate to make the p_updates_12032008.thor file! Make sure to select Root option(see image above). When your done you need to edit the main.ini in this lines

Example:

-----------------------------------------------------------------------------------------

[Patch]

//use CheckSum tool, hash for client & patcher

// used to make sure exe is up to date

// (leave empty to disable this feature)

ClientSum=

PatcherSum=CD83831A

//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=p_updates_12032008.thor

-----------------------------------------------------------------------------------------

Oh I forgot, you need to use the CheckSum found inside your Thor Patcher/Tools/CheckSum, you will need this to know the value of the patcher hexed that you will be patching, let say that this is the version of your patcher hexed. Just drag drop the patcher hexed in the checksum to see the value and put that value as you see in above example!

When your done, save and exit. Don't forget to upload that main.ini in base_url and the p_updates_12032008.thor inside the patchs folder in your web host.

With hexed.exe you do the same.

All done.

Not by me.

Credits: Axwebs.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  02/12/12
  • Last Seen:  

i feel so dumb >.>

thanks to you sir

but can anybody with a good heart teach me step by step how to do the one's i posted above

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

Instead of choosing "[root]", select "/data"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  02/12/12
  • Last Seen:  

i just tried it right now but i get this error ****ro.grf unsupported version what should i do help please T_T

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

You dont make a GRF for this you need to make a .thor patch for anything going to "/data" or "[root]".

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

your grf version must be 0x200. try making a new grf. use GRF factory.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  02/12/12
  • Last Seen:  

thats why actualy did, since im only patching a txt file

here are my steps

1>select output folder

2>file typ ro-grf/file = ro-grf

3>the file input Dir/single file =single file

4>comp lvl high

5>unicode

6>generate

updated plist.txt and patchs folder

@quesop i just used gf tool as u said, its version is 0x103 do i actually need to make a new grf? the reason why i use patcher is coz i dun wanna annoy players to download again :#

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

Yes, you need to make a new one.

there is no way you can patch with thor or any other patcher(correct me if im wrong) if you don't want to change it to 0x200.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  02/12/12
  • Last Seen:  

currently repacking to another versiion, ill reply here asap when done repackng

btw what compression lvl should i choose on making grf on gf tool?

low med high

yep it worked :3 geez you saved my life,

thanks again quesoph >:D but sad to say, my players need to download again T_T

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   11
  • Joined:  05/31/12
  • Last Seen:  

ME TOO I NEED AN ASSISTANCE ABOUT THAT SOMETHING RECEIVE LIKE THIS YOURGRF.GRF UNSUPPORTED VERSION

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   30
  • Joined:  11/11/11
  • Last Seen:  

ME TOO I NEED AN ASSISTANCE ABOUT THAT SOMETHING RECEIVE LIKE THIS YOURGRF.GRF UNSUPPORTED VERSION

your grf version must be 0x200. try making a new grf. use GRF factory.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...