Go Back   Silkroad Online Gaming Forums > SRA Community Forums > PK2 Modification Forum > PK2 Request Forum

Search Google
Custom Search


Closed Thread
 
Thread Tools Display Modes
Old 10-08-2008   #1 (permalink)
Domina et Dea
 
nightbloom's Avatar
 
Join Date: Jul 2007
Location: In Fly's lap
Posts: 2,642
My Mood:

Server: 


nightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of light
Send a message via MSN to nightbloom
Tools for PK2 Editing

Drew Benton's PK2 Extractor Program

Quote:
Originally Posted by Drew_Benton
2 weeks ago I posted this thread: [Only registered users can see links. ] It was a video showing the experimental use of a tool I had made to make a new Music.pk2 file. It turned out well as I had hoped, but my main goal was to make a tool that would make editing any pk2 easier. After spending some time on a new approach, I have finally accomplished all of my original goals on this topic. What I have to share now are two new tools, PK2Extractor and PK2Editor.

Sorry for the length of this post, but it's best to explain it so everyone understands what is here and does not get any wrong ideas. People go around to various forums and try to post my work or claim it's "me" and as a result sometimes people think it's me, but it's not. Then people get confused as to what I do in general and continue on with an inaccurate perspective. It happens all the time Anyways -

PK2 Extractor

This is a PK2 file extractor. It allows you to open up the PK2s and extract the files. Unlike the existing PK2 Extractor, this one has a few extra features. There are two modes: Explore mode and Search mode.

Explore mode allows you to navigate through the PK2 structure and selectively extract folders or files. A simple tree view control is used so when you click on entries you can see details on the file name, file path, and file size.

Search mode allows you to perform searches on the PK2 entries to find the files you wish to extract. You can search by a string found in the path or title of an entry, the file size, and entry type (file or folder). In addition to being able to just search, you can Filter results. This means you can search for all ".ddj" files of a size less than 1kb that have the phrase "skill" in them for example.

Explore Mode
Click the image to open in full size.

Search Mode
Click the image to open in full size.

PK2 Editor

This is a fully functional PK2 Editor. With this tool, you can import in modified PK2 files as well as import your own new files into the PK2 archive. The files you import can be larger or smaller than the original, the functions used will take care of everything. However, it is important to remember that the PK2s expect files in certain formats, so trying to import a dds in place of a ddj will result in a Silkroad crash.

The main functionally implemented for the PK2 editor is: automatic single file import, automatic multiple file import, and single file manual import. The automatic imports work by searching the PK2 for the file you are importing, if only one entry exists, it can update that entry. If more than one entry exists, it will fail and you will have to use the manual import.

Main GUI
Click the image to open in full size.

Download

URL: [Only registered users can see links. ] (uploaded here for a permanent link)
Scan: [Only registered users can see links. ]
MD5: d4a75703404458337898edf544216114

Source Code: [Only registered users can see links. ] (added 1/02/08 )

If you just want to look at the main tutorial: [Only registered users can see links. ]

Conclusion:

Included in the package are a few ReadMe's, so please take a look at those before getting too involved in using the tools. I tested them pretty well, but there may be bugs, so please report any errors and keep an eye out on the Status Log.

Addendum:
* Please BACKUP all your PK2 files before using the tools.
* Watch the Status Log for any errors.
* You cannot use both programs at the same time due to read / write conflicts.
* "New Search" will perform a new search and erase any previous searches.
* "Filter Results" will continue a search and uses the previous search results.
* "Extract" will extract the selected item in the current mode.
* "Extract All" will extract all listed items in the current mode.
* To search for file types, simply use ".ext" as the search string for Title only. (".ddj", ".ogg", etc...)
* You do not have to use "Select File" or "Select Folder", you can just paste in the path to the file.
* Read the document on how to perform a Manual Single File Import before you try it!

How to use with Guides

With the numerous guides on SRF, you can make the most use of these tools right away. What you'll do is for each guide:
- Extract the required files as stated in the guide
- Modify the files themselves, not the pk2 directly
- Use the modifier to import your modified files back into the PK2

* Please note my caution on file formats, if you want to edit something like the files in server_dep, do not resave the file in Excel, use a Hex Editor instead. Otherwise you will lose a lot of data and your game will crash. I have tested modifying those files and many more with out any issues.

* If you modify sound or texture files, you must keep the same format as well. If you get any Silkroad errors, you can count on a file being imported that is not in the right format.

If there are any avid PK2 editors here I'd love to hear your experience from you on using these tools. If you have any tips on making things easier to use or any other feedback, it'd be valuable for the future. Enjoy!
nightbloom is offline  
Old 10-08-2008   #2 (permalink)
Domina et Dea
 
nightbloom's Avatar
 
Join Date: Jul 2007
Location: In Fly's lap
Posts: 2,642
My Mood:

Server: 


nightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of light
Send a message via MSN to nightbloom
Cruor's pick for hex editor - [Only registered users can see links. ]
nightbloom is offline  
Old 10-08-2008   #3 (permalink)
Donator
 
Cruor's Avatar
 
Join Date: Aug 2007
Posts: 479
My Mood:

Server: 


Cruor will become famous soon enough
Send a message via AIM to Cruor Send a message via MSN to Cruor Send a message via Skype™ to Cruor
BMS to OBJ batch converter:
[Only registered users can see links. ]
__________________
Cruor is offline  
Old 10-08-2008   #4 (permalink)
Member
 
Deacon's Avatar
 
Join Date: Oct 2007
Location: Netherlands
Posts: 97
My Mood:

Server: 


Deacon is on a distinguished road
I should get Drew here and say hi :P
__________________
Deacon is offline  
Old 10-08-2008   #5 (permalink)
Domina et Dea
 
nightbloom's Avatar
 
Join Date: Jul 2007
Location: In Fly's lap
Posts: 2,642
My Mood:

Server: 


nightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of light
Send a message via MSN to nightbloom
Drew has an account here, he signed up at the very beginning. lol He is way more than welcome to come say hi. I love that guy despite his associations.
nightbloom is offline  
Old 10-09-2008   #6 (permalink)
Member
 
Deacon's Avatar
 
Join Date: Oct 2007
Location: Netherlands
Posts: 97
My Mood:

Server: 


Deacon is on a distinguished road
I'll ask him ^^
__________________
Deacon is offline  
Old 10-09-2008   #7 (permalink)
Junior Member
 
Drew_Benton's Avatar
 
Join Date: Jul 2007
Posts: 24
My Mood:
Drew_Benton will become famous soon enough
EXP: 758, LVL: 15
EXP: 758, LVL: 15 EXP: 758, LVL: 15 EXP: 758, LVL: 15
LVL up: 16%, 42 EXP Left
LVL up: 16% LVL up: 16% LVL up: 16%
Activity: 1%
Activity: 1% Activity: 1% Activity: 1%
Quote:
Originally Posted by nightbloom View Post
Drew has an account here, he signed up at the very beginning. lol He is way more than welcome to come say hi. I love that guy despite his associations.
Hey sugar cookies I love you too

I've been on SRO dev break since August 08. I've been working on more regular programming stuff with networks rather than reverse engineering since. Not sure if I'll be doing more dev stuff for SRO but I'm tempted. I'm not liking any other games out there really. I officially quit SRO Sept. 07 and gave away all my stuff but my 1st sro account, so I hop on every now and then on alps to chat to people or test new designs for code. Silkroad still provdes the best framework for testing new ideas, so I still lurk around. Muah!
Drew_Benton is offline  
Old 10-10-2008   #8 (permalink)
Member
 
Deacon's Avatar
 
Join Date: Oct 2007
Location: Netherlands
Posts: 97
My Mood:

Server: 


Deacon is on a distinguished road
And he posted, the nub :P
__________________
Deacon is offline  
Old 10-10-2008   #9 (permalink)
Domina et Dea
 
nightbloom's Avatar
 
Join Date: Jul 2007
Location: In Fly's lap
Posts: 2,642
My Mood:

Server: 


nightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of lightnightbloom is a glorious beacon of light
Send a message via MSN to nightbloom
Quote:
Originally Posted by Drew_Benton View Post
Hey sugar cookies I love you too

I've been on SRO dev break since August 08. I've been working on more regular programming stuff with networks rather than reverse engineering since. Not sure if I'll be doing more dev stuff for SRO but I'm tempted. I'm not liking any other games out there really. I officially quit SRO Sept. 07 and gave away all my stuff but my 1st sro account, so I hop on every now and then on alps to chat to people or test new designs for code. Silkroad still provdes the best framework for testing new ideas, so I still lurk around. Muah!

^^ HA HA! I knew you couldnt leave SRO! Nice to see you around Drew. Dont be a stranger.
nightbloom is offline  
Old 11-06-2008   #10 (permalink)
Senior Member
 
zariq1's Avatar
 
Join Date: May 2008
Location: Malaysia
Posts: 423
My Mood:

Server: 


zariq1 will become famous soon enough
EXP: 2,773, LVL: 34
EXP: 2,773, LVL: 34 EXP: 2,773, LVL: 34 EXP: 2,773, LVL: 34
LVL up: 16%, 127 EXP Left
LVL up: 16% LVL up: 16% LVL up: 16%
Activity: 10%
Activity: 10% Activity: 10% Activity: 10%
Everyone addicted to SRO. 100% of players that leave sro completely, died after a week.
__________________
zariq1 is offline  
Old 02-21-2009   #11 (permalink)
Banned
 
gemtwist's Avatar
 
Join Date: Aug 2008
Location: ohio
Posts: 126
My Mood:

Server: 


gemtwist is on a distinguished road
Send a message via AIM to gemtwist
I have all the PK kits yet i still dont know how it works it the numbers. When i open it
im not sure what to putin the boxes to change items with. Like if i wanted to have a monster for a pet? do i have to have apet first to change it? Im really lost on this. I would
like to understand this. Would anyone please help me. Thank you very much on this
somewhat sore Subject.
gemtwist is offline  
Old 07-02-2009   #12 (permalink)
ADDICTED!
 
Hardcoreme's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 1,249
My Mood:

Server: 


Hardcoreme will become famous soon enoughHardcoreme will become famous soon enough
EXP: 7,348, LVL: 59
EXP: 7,348, LVL: 59 EXP: 7,348, LVL: 59 EXP: 7,348, LVL: 59
LVL up: 99%, 2 EXP Left
LVL up: 99% LVL up: 99% LVL up: 99%
Activity: 43%
Activity: 43% Activity: 43% Activity: 43%
why aren't any of you guys using [ Link removed ]?
or do you guys want to [Only registered users can see links. ] first?
__________________
Hello, do you like this sig? PM me and I'll look if I have time to make one for you!
Server: swSRO
Character: RavenStylez
Build: Hybrid Bower
Level: 67

Click [Only registered users can see links. ] Help me earn money! THANKS!
Hardcoreme is offline  
The Following 2 Users Say Thank You to Hardcoreme For This Useful Post:
bigsmoke20 (07-19-2009), omardahy (07-26-2009)
Old 07-03-2009   #13 (permalink)
I'm not who U think I am
 
DeLiQuEnT's Avatar
 
Join Date: May 2008
Location: Paradise City, Neverland
Posts: 2,138
My Mood:

Server: 


DeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to beholdDeLiQuEnT is a splendid one to behold
EXP: 22,028, LVL: 100
EXP: 22,028, LVL: 100 EXP: 22,028, LVL: 100 EXP: 22,028, LVL: 100
LVL up: 0%, 0 EXP Left
LVL up: 0% LVL up: 0% LVL up: 0%
Activity: 29%
Activity: 29% Activity: 29% Activity: 29%
Quote:
Originally Posted by Hardcoreme View Post
why aren't any of you guys using [ Link removed ]?
or do you guys want to [Only registered users can see links. ] first?
How about you stop posting links to files that are hosted on random hosting sites... and you just start giving links only to google or official sites? You're not supposed to post files/give links to them until someone from the staff hasn't checked the source.
__________________

01000011 01101111 01101110 01100111 01110010
01100001 01110100 01110011 00100001 00100000
01001000 01100101 01110010 01100101 00101100

00100000 01101000 01100001 01110110 01100101
00100000 01100001 00100000 01100011 01101111
01101111 01101011 01101001 01100101 00101110

[Only registered users can see links. ]
DeLiQuEnT is offline  
The Following 6 Users Say Thank You to DeLiQuEnT For This Useful Post:
bigsmoke20 (07-19-2009), cemo36 (08-29-2009), eternalflame (07-03-2009), ghost 90 (08-02-2009), omardahy (07-26-2009), thegodmode (07-17-2009)
Old 07-06-2009   #14 (permalink)
Junior Member
 
hkervn2001's Avatar
 
Join Date: Jul 2009
Posts: 1
hkervn2001 is on a distinguished road
EXP: 104, LVL: 2
EXP: 104, LVL: 2 EXP: 104, LVL: 2 EXP: 104, LVL: 2
LVL up: 8%, 46 EXP Left
LVL up: 8% LVL up: 8% LVL up: 8%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Thanks for this tool.
Do you know the way to convert ddj file in PK2 files into some common type (JPEG )?
hkervn2001 is offline  
Closed Thread

Latex Maths & Physics Editor ...

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SRO PK2 Editing: Mounts nightbloom Video Library Comments 3 01-30-2010 11:48 AM
Skill Editing? AlbelNox Silkroad General Discussion 87 07-13-2008 03:51 PM
SRO FanKits/graphics/games/tools nightbloom Graphics, Art & Media 30 05-19-2008 10:23 AM
All kinds of tools for SRO ! Cheryl Silkroad General Discussion 3 01-29-2008 07:13 AM
By Far The Best Game Video Editing I have Seen Ruckus Off Topic 7 11-22-2007 07:38 AM


All times are GMT -5. The time now is 03:07 PM.

Contact Us - Silkroad Online Gaming Forum - Archive