Pk2 Question

Here you can post guides and tutorials you have written for Silkroad Online. If submitting a guide from another forum, please post credit to the author.
Post Reply
User avatar
Flara
Casual Member
Posts: 96
Joined: Sun Jun 17, 2007 9:43 am
Quick Reply: Yes
Location: behind you

Pk2 Question

Post by Flara »

I would like to ask you about GM armors..I am trying to do but when I change it, it closes the game..I was wondering if someone can help me about this..

User avatar
zelzin
Valued Member
Posts: 388
Joined: Sun Apr 09, 2006 6:38 pm

Post by zelzin »

I'm not a expert but make sure you aren't changing the size of media.pk2 when you edit it.

User avatar
Flara
Casual Member
Posts: 96
Joined: Sun Jun 17, 2007 9:43 am
Quick Reply: Yes
Location: behind you

Post by Flara »

I am sure about sizes. Size of Media.pk2 and size of itemdata.txt..But it still doesnt work..

cin

Post by cin »

wait for hyo, scarchon or cruor to get on ;)

User avatar
SCArchon
Regular Member
Posts: 233
Joined: Mon Apr 09, 2007 2:25 pm
Quick Reply: Yes
Location: Aege
Contact:

Post by SCArchon »

you could at least tell us what you did lol. that way, i could figure out what you COULD be doing wrong (have just started messing with items).
Image
PK2 lover
Thank you HyorunmarouZ for signature =)

User avatar
Flara
Casual Member
Posts: 96
Joined: Sun Jun 17, 2007 9:43 am
Quick Reply: Yes
Location: behind you

Post by Flara »

I opened itemdata.txt. Find GM armor codes. Copied them. Than looked for my 7 degree armors and change them to GM armors. And to save the size of txt I copeid cos/c_horse1.ddj(or something like that) to something which our server doesnt have (like pegasus.ddj etc.)..I made file size same as the normal than I put it in to Media.pk2..That is all I have done.. :banghead:

User avatar
SCArchon
Regular Member
Posts: 233
Joined: Mon Apr 09, 2007 2:25 pm
Quick Reply: Yes
Location: Aege
Contact:

Post by SCArchon »

Ah. so you changed "item\china\man_item\heavy_07_HA_super.bsr " for head into "item\china\man_item\heavy_07_ha.bsr" for head, etc for the rest? i think you just have to change the .bsr, not the entire line o.O
Image
PK2 lover
Thank you HyorunmarouZ for signature =)

User avatar
Flara
Casual Member
Posts: 96
Joined: Sun Jun 17, 2007 9:43 am
Quick Reply: Yes
Location: behind you

Post by Flara »

No I changed all line ..But game doesnt let me open..Whatever..If u know something about this can say how ?? Because I am going to eat my own head because of this I am trying for 7 hours and I am still on it..

User avatar
SCArchon
Regular Member
Posts: 233
Joined: Mon Apr 09, 2007 2:25 pm
Quick Reply: Yes
Location: Aege
Contact:

Post by SCArchon »

THen you should just change the .bsr codes.
how you "put" it in media.pk2?
Image
PK2 lover
Thank you HyorunmarouZ for signature =)

User avatar
Cruor
Loyal Member
Posts: 1999
Joined: Wed Apr 12, 2006 1:22 am
Quick Reply: Yes
Location: Off topic

Post by Cruor »

Okay, well here would be the exact process you should take:

1. Open itemdata.txt
2. Find your 7D armor
3. Copy the appropriate armor code over the BSR path for each piece.

Code: Select all

item\china\man_item\heavy_07_ha_super.bsr
item\china\man_item\heavy_07_sa_super.bsr
item\china\man_item\heavy_07_ba_super.bsr
item\china\man_item\heavy_07_la_super.bsr
item\china\man_item\heavy_07_aa_super.bsr
item\china\man_item\heavy_07_fa_super.bsr
(for girls, you should use "\woman_item\")
4. For adding extra space, I suggest you search for "worldcup". You will find the World Cup event items which are a pretty safe bet because I doubt they would ever reuse them for another event. Look for

Code: Select all

0   xxx   item\etc\drop_ch_eventbox.bsr   item\etc\e060607_worldcup_g.ddj   xxx
and replace it with

Code: Select all

0   xxx   xxx   xxx   xxx
(Note that for adding extra space you do not need to copy shorter resource names over the old ones like it sounds like you did. All you have to do is type an xxx over the old path and it will nullify it.)
5. Now save the file as "itemdata.mod" and open it up in your hex editor.
6. Right click -> Properties on itemdata.txt (the old file) and look at its file size in bytes. Now in your hex editor, look at how many bytes itemdata.mod is. With HexEdit it should be in the lower right of the frame. Subtract the file size in bytes of itemdata.mod from the file size in bytes of itemdata.txt to get how many bytes of null padding you need. Put your cursor at the end of the file and go Edit -> Fill. Then type in the number of bytes of null padding you need and hit okay. Finally save the file and inject it back in to Media.pk2.

This whole guide assumes you are of course working with an up to date itemdata.txt file. Re-extract it just to be sure.
Image

User avatar
Flara
Casual Member
Posts: 96
Joined: Sun Jun 17, 2007 9:43 am
Quick Reply: Yes
Location: behind you

Post by Flara »

Thanks for helping :)

User avatar
(LTF)GuyLafleur
Active Member
Posts: 801
Joined: Mon Feb 20, 2006 12:09 am
Quick Reply: Yes
Location: Aege

Post by (LTF)GuyLafleur »

Sorry if this is REALLY off topic,
but cruor man, i finally understood you're sig.
I feel ashamed, i've been wondering for like 2 months.

IT SAYS CRUOR !!!
IGN : BobyGontran

User avatar
SCArchon
Regular Member
Posts: 233
Joined: Mon Apr 09, 2007 2:25 pm
Quick Reply: Yes
Location: Aege
Contact:

Post by SCArchon »

^rofl i got it in 30 seconds, when i really looked at it. i remember holding alt+ (number) to get something. Then i saw F in cruror's sig, so i knew it was hex, so i thought if i converted Hex-> Decimals, then alt+ the deci number, i'll probably get cruror.
Image
PK2 lover
Thank you HyorunmarouZ for signature =)

User avatar
(LTF)GuyLafleur
Active Member
Posts: 801
Joined: Mon Feb 20, 2006 12:09 am
Quick Reply: Yes
Location: Aege

Post by (LTF)GuyLafleur »

SCArchon wrote:^rofl i got it in 30 seconds, when i really looked at it. i remember holding alt+ (number) to get something. Then i saw F in cruror's sig, so i knew it was hex, so i thought if i converted Hex-> Decimals, then alt+ the deci number, i'll probably get cruror.


i know, im retarded lol
too much weed...
IGN : BobyGontran

Post Reply

Return to “Guides and Tutorials”