Silkroad Online Forums

A community forum for the free online game Silkroad Online. Discuss Silkroad Online, read up on guides, and build your character and skills.

Faq Search Members Chat  Register Profile Login

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: PK2 Armour.^
PostPosted: Fri Sep 28, 2007 9:47 pm 
Valued Member
User avatar
Offline

Joined: Aug 2007
Posts: 449
Location:
Venus
i need help with my pk2
yes i did use search but i still have trouble.
i want to make (protector) = (armor) in Third Degree

because with my rogue i really don't like protect but i love armor...

so any help would be great.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 9:49 pm 
Senior Member
User avatar
Offline

Joined: May 2006
Posts: 4377
Location: De Dutch
http://www.silkroadforums.com/viewtopic.php?p=576500#576500

_________________
I cannot sing the blues...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 9:52 pm 
Valued Member
User avatar
Offline

Joined: Aug 2007
Posts: 449
Location:
Venus
i know how to do it its just tje file size in the end


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 9:54 pm 
Loyal Member
User avatar
Offline

Joined: Apr 2006
Posts: 1999
Location:
Off Topic
From an older post that no one ever read:

Cruor wrote:
1. Stop using XVI32.
2. Go to http://catch22.net/ and download Hexedit.
3. Stop using the "find/replace" method and learn the "extract/inject" method.

Unfortunately, I can't just say that because surprisingly no one's written a tutorial on using the extract/inject method for replacing equipment. The extract/inject method has pretty much completely replaced the find/replace method.

The basic steps are:
1. Extract itemdata.txt from Media.pk2 using PK2Extractor.
2. Find the equipment you want to change in itemdata.txt and change the degree number in the BSR reference string. As you scroll to the right you should see two or three long strings. The BSR reference string will either be the first one, or there will be an "xxx" in it's place because there is no BSR to reference.
3. Once you have made all of your changes, save the file as itemdata.mod.txt.
4. Open up Media.pk2 in HexEdit.
5. Do an ANSI search for "ITEM_ETC_GOLD".
6. In the hex column, you will see an "FF FE" somewhere before the "ITEM_ETC_GOLD". This is the file's header that marks it as a Unicode file. Put your cursor in front of the "FF".
7. Go Edit -> Paste From and select the itemdata.mod.txt file you saved earlier. Click okay.
8. You should see everything past your cursor turn to red. Now press CTRL+Z and then CTRL+Y. This will bring you to the end of what you pasted.
9. This is where it gets tricky. The way Joymax updates the files leaves parts of old files sitting around in the PK2 file. I have two copies of itemdata.txt in my Media.pk2 file and only one is valid. Anyway, the valid one in yours should be immediately followed by skilldata.txt. Look for "SKILL_PUNCH_01".
10. If you see it, then you can save your Media.pk2 file and test ingame. If you don't see it, hit CTRL+Z again to undo the Paste From. Then do an ANSI search for "ITEM_ETC_GOLD" again. You should hit the one you are right next to first because your cursor was before it. Hit Find again to find the next instance of the file. Once you find that do the Paste From again and check to see if it's immediately followed by "SKILL_PUNCH_01".

That was fairly basic, but I'm assuming others can hop in here and help with whatever I missed. As a side note, this is just the basic idea of the extract/inject method. You can take this idea and apply it to other files. In it's purest form, the extract/inject method is simply extracting the file you want, editing it and saving it as a .mod.* (making sure to preserve your original file size), opening up the PK2 file that contained it, searching for a unique string or sequence of bytes you found in the file, placing your cursor in front of the start of the file in the PK2 file, pasting from the file, then finally checking to see if you pasted in the right spot with CTRL+Z and CTRL+Y. Also, once you are done it is smart to write down the hexadecimal offset of where you found the file so that the next time you want to change it you only need to hit CTRL+G and enter in the offset.

I still have noobs ask me how to do find and replace.

Note that PK2 extractor doesn't work when you have Windows set to use the Korean locale, for those of you who play kSRO. Some other things from this might have changed.

cin, please add this link to the guide topic:
http://www.silkroadforums.com/viewtopic ... ht=#593315

bakman wrote:
i know how to do it its just tje file size in the end
If you added a lot of stuff, look for useless stuff like kSRO event items and change their BSR references to xxx. Then save the file as itemdata.mod.txt or whatever and open it up in HexEdit, figure out how many more bytes it needs to reach the original filesize, and add null bytes to the end of the file until it gets there.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:08 pm 
Valued Member
User avatar
Offline

Joined: Aug 2007
Posts: 449
Location:
Venus
thought there was a quicker easier way of making armour protector


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:14 pm 
Loyal Member
User avatar
Offline

Joined: Apr 2006
Posts: 1999
Location:
Off Topic
bakman wrote:
thought there was a quicker easier way of making armour protector
No, no there isn't. Well, there is but it will make you a noob. :roll:

It's not that hard to extract/inject anyway. It would take two minutes for me to do what you are asking.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:16 pm 
Valued Member
User avatar
Offline

Joined: Aug 2007
Posts: 449
Location:
Venus
ok ur the pk2 god
whatever you say


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:21 pm 
Loyal Member
User avatar
Offline

Joined: Apr 2006
Posts: 1999
Location:
Off Topic
bakman wrote:
ok ur the pk2 god
whatever you say
I discourage find/replace because it doesn't create PK2 editors. Instead, it creates zombies who can't think for themselves.

Also, it's a good way to break your PK2 file by replacing things you didn't want replaced.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:22 pm 
Common Member
Offline

Joined: Aug 2007
Posts: 124
bakman wrote:
ok ur the pk2 god
whatever you say


Please don't feed the ego.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 10:28 pm 
Loyal Member
User avatar
Offline

Joined: Apr 2006
Posts: 1999
Location:
Off Topic
organic wrote:
bakman wrote:
ok ur the pk2 god
whatever you say


Please don't feed the ego.
What ego buddy? I'm giving him an informed opinion. He can go search for find and replace tutorials if he wants. There's billions out there. That's what everyone else does.

I on the other hand would rather not loose potential talent to find and replace. It will do nothing for you past switching your equipment. I want to see more people do great edits that make you wonder how things were done. But no, everyone just finds and replaces and all I see on Youtube is 95% "OMG 10D PvP" crap and 5% interesting stuff from people who know what they are doing.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 28, 2007 11:23 pm 
Valued Member
User avatar
Offline

Joined: Aug 2007
Posts: 449
Location:
Venus
lil on the retarded side


Last edited by bakman on Sat Sep 29, 2007 12:24 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 29, 2007 12:16 am 
Active Member
User avatar
Offline

Joined: May 2007
Posts: 820
Location:
Olympus
bakman wrote:
pwned

No not pwned, just a lil on the retarded side ;)

_________________
Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group