Register for your free account! | Forgot your password?

You last visited: Today at 13:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



shay data edit (0-1b)

Discussion on shay data edit (0-1b) within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
ZeroSignal's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 69
Received Thanks: 578
shay data edit (0-1b)

Released under GNU GENERAL PUBLIC LICENSE Version 3
DOWNLOAD:
- (Latest)
- (Old)

REQUIREMENTS:
Tested on Python 2.6 ()
Windows Platform (Not sure if dependent)

SDATA EDITING:
SData editing is straight-forward. Place the unencrypted SData file in
".\Input\SData\*.SData"

Click on the corresponding batch command from the programs root folder matching
to the file you want to create.

The extract files will be contained in
".\Output\SData\*"

Example:
To make Cash.SData into a comma seperated file run "Cash_csv.bat".
Edit the "*.csv" with a CSV Editor (I used OpenOffice Calc).
To create it back into a SData file run "Cash_sdata.bat".


MAP EDITING:
Map extracting and combining requires you use the batch commands from command
prompt. This is because it accepts 1 parameter that is the map number.

Place the SVMAP file in
".\Input\Map\*.svmap"

Open command prompt and navigate to the programs root folder, then enter the
command along with the Map index you want to extract.

It will extract the file into several files located in
".\Output\Map\[Map_number]\*"

Example:
To extract 0.svmap into its respective CSV files in command prompt enter:
"Map_csv 0"
To re-combine it back into svmap type:
"Map_svmap 0"


MLT EDITING:
MLT extracting and combining requires you use the batch commands from command prompt.
This is because it accepts 1 parameter that is the MLT file name.

Place the MLT file in
".\Input\MLT\*.mlt"

Open command prompt and navigate to the programs root folder, then enter the
command along with the filename you want to extract.

Example:
To extract vimm_hair.MLT into its respective CSV files in command prompt enter:
"mlt_csv vimm_hair"
To re-combine it back into svmap type:
"mlt_mlt vimm_hair"


ITM EDITING:
ITM extracting and combining requires you use the batch commands from command prompt.
This is because it accepts 1 parameter that is the ITM file name.

Place the MLT file in
".\Input\ITM\*.itm"

Open command prompt and navigate to the programs root folder, then enter the
command along with the filename you want to extract.

Example:
To extract 02.ITM into its respective CSV files in command prompt enter:
"itm_csv 02"
To re-combine it back into svmap type:
"itm_itm 02"


CHANGELOG:
Code:
2010-10-31 ZeroSignal v0-1c
	* Added support for ITM File Extraction.
	* Added much better Error Handling.
	* Added some Util functions pack_field, unpack_field.
Please report all bugs, for general support ask someone else or learn the source code

Credits:
EarthCrush - Making an alpha ITM file.
All other Contributors.
ZeroSignal is offline  
Thanks
118 Users
Old 07/23/2010, 06:21   #2
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
you should be more specific with instruction... i installed python and i know when i click the batch file it didnt just start up
shinru2004 is offline  
Thanks
2 Users
Old 07/23/2010, 18:11   #3
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
in the batch files change the command from python to C:\Python2x\Python.exe and then run from cmd line works fine then... otherwise you get "python is not recognized as an internal or external command"... and i have python set as a system variable sooo..
shinru2004 is offline  
Thanks
3 Users
Old 07/24/2010, 05:17   #4
 
elite*gold: 0
Join Date: Apr 2010
Posts: 99
Received Thanks: 31
What this f0r
ShaiyaEternity is offline  
Old 07/25/2010, 00:28   #5
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
it extracts the decrypted files and the maps so you can edit them in csv format
shinru2004 is offline  
Old 07/25/2010, 18:31   #6
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
ZeroSignal ... please PM me. I am curious as to what kind of problems you are having with ReqStr - Reqluc fields. I might be able to assist.
ProfNerwosol is offline  
Old 07/29/2010, 03:50   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 4
I have a problem when running it. Please see below:

Creating ./Output/SData/Skill.complete.csv
Traceback <most recent call last>:
File "scr\SData.py", line 113, in <module>
main<sys.argv[1:]>
File "scr\SData.py", line 102, in main
result = SDataItems[SdataName]<outFmt>
File "c:\Python27\scr\Skill.py", line 123, in MainSkill
return ExtractSkill<"Skill", outFmt>
File "c:\Python27\scr\Skill.py", line 191, in ExtractSkill
rec = unpack_fields<input, skill_types, {}>
File "c:\Python27\scr\Utils.py", line 49, in unpack_fields
rec[ field[0]] = input.read<len>
MemoryError
Press any key to continue ...


Please tell me how to fix it.
mabuan is offline  
Old 07/29/2010, 18:26   #8
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
is the Skill.sdata decrypted? if not it wont work
shinru2004 is offline  
Thanks
1 User
Old 07/30/2010, 03:13   #9
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 4
Quote:
Originally Posted by shinru2004 View Post
is the Skill.sdata decrypted? if not it wont work
Yes! I put Skill.SData into Input\SData folder and run file Skill_csv.bat then I saw it.
mabuan is offline  
Old 07/30/2010, 04:14   #10
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
you have to us command prompt... run CMD type CD C:\where ever this folder is then hit enter then type Item_csv and it will work.
shinru2004 is offline  
Old 07/30/2010, 05:22   #11
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 4
Quote:
Originally Posted by shinru2004 View Post
you have to us command prompt... run CMD type CD C:\where ever this folder is then hit enter then type Item_csv and it will work.
I've extracted file shay_data_edit_0-1b.zip into C:\Python27 and I run in CMD as you said. I've used file Skill.SData by using Shaiya Data file Tool (Lilprohacker) to extract from Data.sah. When I ran in CMD, it didn't work. But in the same way, I used the Item.SData in the Decrypted pack that Lilprohacker shared, then it worked.

Sorry for my bad English!
mabuan is offline  
Old 07/30/2010, 15:21   #12
 
lilprohacker's Avatar
 
elite*gold: 20
Join Date: Jun 2009
Posts: 790
Received Thanks: 2,729
open the sdata file in a hex editor and look at the first few bytes. if it begins with "000" then it is encrypted which means that this program wont work on it.
lilprohacker is offline  
Thanks
1 User
Old 07/31/2010, 03:20   #13
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 4
Quote:
Originally Posted by lilprohacker View Post
open the sdata file in a hex editor and look at the first few bytes. if it begins with "000" then it is encrypted which means that this program wont work on it.
Yes, it is encrypted. I'm not developer, so I'm waiting for your share or shinru2004's share.
mabuan is offline  
Old 08/27/2010, 14:01   #14
 
elite*gold: 0
Join Date: May 2009
Posts: 118
Received Thanks: 77
Thanks ZeroSignal... its awesome and thank you very much. As always your contribution to the community is very much appreciated.

Just wanting to ask, I managed to get all the sdata files output, all except one "NpcQuest.SData". According to the program, it have been successfully extracted out but when i checked on the output folder, the files arent there. Anything that i did wrong? I check all folder but couldnt find the files. Any idea why?

Quote:
Originally Posted by ZeroSignal View Post
Released under GNU GENERAL PUBLIC LICENSE Version 3
DOWNLOAD:


REQUIREMENTS:
Tested on Python 2.6 ()
Windows Platform (Not sure if dependent)

SDATA EDITING:
SData editing is straight-forward. Place the unencrypted SData file in
".\Input\SData\*.SData"

Click on the corresponding batch command from the programs root folder matching
to the file you want to create.

The extract files will be contained in
".\Output\SData\*"

Example:
To make Cash.SData into a comma seperated file run "Cash_csv.bat".
Edit the "*.csv" with a CSV Editor (I used OpenOffice Calc).
To create it back into a SData file run "Cash_sdata.bat".


MAP EDITING:
Map extracting and combining requires you use the batch commands from command
prompt. This is because it accepts 1 parameter that is the map number.

Place the SVMAP file in
".\Input\Map\*.svmap"

Open command prompt and navigate to the programs root folder, then enter the
command along with the Map index you want to extract.

It will extract the file into several files located in
".\Output\Map\[Map_number]\*"

Example:
To extract 0.svmap into its respective CSV files in command prompt enter:
"Map_csv 0"
To re-combine it back into svmap type:
"Map_svmap 0"


MLT EDITING:
Map extracting and combining requires you use the batch commands from command prompt.
This is because it accepts 1 parameter that is the MLT file name.

Place the MLT file in
".\Input\MLT\*.mlt"

Open command prompt and navigate to the programs root folder, then enter the
command along with the filename you want to extract.

Example:
To extract vimm_hair.MLT into its respective CSV files in command prompt enter:
"mlt_csv vimm_hair"
To re-combine it back into svmap type:
"mlt_mlt vimm_hair"


Please report all bugs, for general support ask someone else or learn the source code
jamessimpler is offline  
Old 08/27/2010, 18:47   #15
 
shinru2004's Avatar
 
elite*gold: 260
Join Date: Oct 2009
Posts: 258
Received Thanks: 267
that script doesnt work obviously and dont expect Zerosignal to help.. he hasnt contributed since ep3
shinru2004 is offline  
Reply

Tags
data edit, mlt, sdata, shaiya, svmap


Similar Threads Similar Threads
[PK2] Skill edit data.pk2
11/15/2012 - Silkroad Online - 2 Replies
looking for a professional who knows how to edit/add skills in the data.pk2 (.ban files) if you can help me please write here or pm me. thanks!!
how do i edit data.pk2 skills
02/08/2010 - Silkroad Online - 1 Replies
Hey guys im wondering how i pk2 edit my skills in silkroad. i have the pk2 codes but i dont get how to change it.. it always says string not found. can anyone help me plz?
[PK]All Servers+Data.pk2 Edit.
11/17/2009 - SRO PServer Guides & Releases - 12 Replies
This is my new edit :)Thx for all will using player Log-in screen Edit 140lw Skill Edit 140lw Skill İcon Edit 9D items changed to 10D items 85Lw Weapons changed SUN. Loading Screen Edit Launcher Edit Horse edit
How to edit Data.pk2?
04/06/2009 - Silkroad Online - 14 Replies
Could anyone tell whats the best program to do it? I want to edit Data.pk2, not Media.pk2 Thnx :)
Is it possible to edit data for Dekaron ?
01/28/2008 - Dekaron - 0 Replies
I've tried editing with winhex, but not working. = ( Any idea anyone ?



All times are GMT +1. The time now is 13:39.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.