Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 22:54

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

Advertisement



[Open-Source] DB2Media <-> Media2DB Converter

Discussion on [Open-Source] DB2Media <-> Media2DB Converter within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 348
[Open-Source] DB2Media <-> Media2DB Converter

Hi,
I know that this was already made before, however, many structures are missing nor doesn't work in some extreme cases, as always had to do things a wee bit different.

I thought about starting this open-source project that all of you can contribute and decipher the media-db relations. I think that this community lacks contribution. In the hope that it will include all of the tables-texts relations.
Source-code attached.

In a nutshell this is just your run of the mill DB2Media Converter.
  • Dynamically creates the correct division for Item/Character/Skill Data based on your server IDs range.
  • Supports local or remote mssql connection.
  • Every file on textdata folder path will be deleted upon startup. So i'd advise you not to keep anything important there.
  • The output folder will be focused on after completion.
  • Set your configuration on config.ini
  • Never bothered to include the full Media2DB project, you have the logic just reverse it. (Sorry, no leeching on other servers )
  • Credits goes to to SUPERKHUNG from gamevn for the skilldata encryption-decryption a while back.



Contribution:
  • Chardata issue caused by a typo in its query fixed, reported by @ - Source code in attachements has been updated to v1.1
Attached Files
File Type: rar SR_Converter by Isoline v1.1.rar (537.6 KB, 1609 views)
Isoline* is offline  
Thanks
22 Users
Old 07/07/2020, 10:53   #2
 
@Grayson's Avatar
 
elite*gold: 0
Join Date: Oct 2019
Posts: 71
Received Thanks: 16
good work
@Grayson is offline  
Old 07/07/2020, 12:03   #3
 
! Split's Avatar
 
elite*gold: 0
Join Date: Jun 2020
Posts: 104
Received Thanks: 44
g.j keep it up
! Split is offline  
Old 07/07/2020, 17:30   #4
 
Worshiper's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 1,087
Received Thanks: 226
Nice work
Worshiper is offline  
Old 07/07/2020, 19:48   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
Could you please add to your description what kind of pro and cons this tool offers compared to the "old one":

The source code is attached, flexible configuration added and it is still developed. It is quite pointless to contribute in two projects of the same topic.
guckguck is offline  
Old 07/07/2020, 20:24   #6
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 348
Quote:
Originally Posted by guckguck View Post
Could you please add to your description what kind of pro and cons this tool offers compared to the "old one":

The source code is attached, flexible configuration added and it is still developed. It is quite pointless to contribute in two projects of the same topic.
It supports more files than whats out there. It creates the files dynamically not constantly so even if you got your object IDs messed up like most server do, it will still support it and it's parent file.
It has the base for the opposite Media2DB route.
That about sums it up.
Isoline* is offline  
Old 07/07/2020, 20:42   #7


 
*Deadly's Avatar
 
elite*gold: 1
Join Date: Feb 2020
Posts: 423
Received Thanks: 203
Quick feedback, it adds those lines to any characterdataxxx supposed to be empty.


*Deadly is offline  
Old 07/07/2020, 21:13   #8
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
Quote:
Originally Posted by Isoline* View Post
It supports more files than whats out there. It creates the files dynamically not constantly so even if you got your object IDs messed up like most server do, it will still support it and it's parent file.
It has the base for the opposite Media2DB route.
That about sums it up.
I guess it will be better to spare some time fixing the database IDs instead.
If ppl are using IDs of e.g. 800k it is their own issue and it will support "copy paste" from other clients...
guckguck is offline  
Old 07/07/2020, 22:07   #9
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 348
Quote:
Originally Posted by *Deadly View Post
Quick feedback, it adds those lines to any characterdataxxx supposed to be empty.


Hiya, thanks for your feedback.
There was a typo in one of my queries. It's fixed now. I updated the source in the attachements.
Feel free to report / suggest anything else.

Quote:
Originally Posted by guckguck View Post
I guess it will be better to spare some time fixing the database IDs instead.
If ppl are using IDs of e.g. 800k it is their own issue and it will support "copy paste" from other clients...
I didn't say that pserver owners messing up their IDs is okay. However, you should always design your programs to handle exteme conditions. And making it constant like mentioned above is not that flexible imo and not an acceptable approach at least by me.
Isoline* is offline  
Thanks
2 Users
Old 07/07/2020, 22:28   #10
 
iNhaLaToR's Avatar
 
elite*gold: 20
Join Date: Jan 2013
Posts: 187
Received Thanks: 26
hmm, that link is dead.. archive is broken... or is it just me?
iNhaLaToR is offline  
Old 07/08/2020, 01:29   #11
 
elite*gold: 0
Join Date: Jun 2017
Posts: 80
Received Thanks: 37
good job
WhyKillMyFox is offline  
Old 07/09/2020, 02:12   #12
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 348
Quote:
Originally Posted by iNhaLaToR View Post
hmm, that link is dead.. archive is broken... or is it just me?
It's just you.
Quote:
Originally Posted by WhyKillMyFox View Post
good job
Thank you.


Really guys no contribution whatsoever ? kinda making me feel disappointed...
Isoline* is offline  
Old 07/09/2020, 03:56   #13
 
Skedaddle!'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 46
Received Thanks: 22
I've made the Media2DB as a SQL scripts long ago, it was a good idea tho.
Good Job, isoline!
Skedaddle! is offline  
Old 07/09/2020, 06:58   #14
 
Worshiper's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 1,087
Received Thanks: 226
Smile

Quote:
Originally Posted by Skedaddle! View Post
I've made the Media2DB as a SQL scripts long ago, it was a good idea tho.
Good Job, isoline!
Share this script
Worshiper is offline  
Old 07/09/2020, 08:51   #15
 
elite*gold: 0
Join Date: Jun 2020
Posts: 7
Received Thanks: 0
feedback:
have a default config.ini file in project that is copied on build
if textdata folder is not created unhandled exception, check directory exists / create it before opening it
sirs1ayer is offline  
Reply


Similar Threads Similar Threads
[Release] Customized DB2Media
09/28/2022 - SRO PServer Guides & Releases - 20 Replies
Hello e*pvperz, here I bring a customized DB2Media that may be useful for many of you. What's different in this tool than the DB2Media most dev already use? -This one allows you to split your SkillData, ItemData and CharacterData which will make updates to take lower as well as the client itself will open faster in low-end computers. -RefShopGroup was added -Auto encryption of skilldata is no longer optional, anyway it's working perfectly using any skill data split method.
[Update] Customized DB2Media
04/30/2020 - SRO PServer Guides & Releases - 17 Replies
Hello everyone, Recently I was searching for an automated textdata generator to use it with other tools. I saw that the “DB2Media” converter released by JustNrik seems to do a good job, but I found some issues while using it and created a more flexible version. Original Topic New features: - output filenames are configurable by XML (see files.xml) - option to close the window after completing automatically - option to use an absolute foldername, if you want to generate the files in...
Ao Video Converter - Video Converter
05/16/2013 - Coding Releases - 3 Replies
Neues Tool von mir und Winner = Aoc Video Converter. Jetzt mit einem neuem Design. Das Tool konvertiert Videodateien zu 3gp, Mp4, Mov, Fly Screenshot : http://bit.ly/ZqZJXS Virustotal :
[Converter] Free Music Converter
07/19/2010 - Music - 1 Replies
Moin, ich hab für euch mal einen kleinen Musik Converter gemacht! Mit dem Converter könnt ihr die standart files convetieren, wie *.mp3 , *.wav , *.wma und noch mehr! hier ein pic: http://i30.tinypic.com/dy9mqe.png



All times are GMT +1. The time now is 22:55.


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.