diff --git a/other/converter/TBDevYSE_pre6/ReadMe.txt b/other/converter/TBDevYSE_pre6/ReadMe.txt
new file mode 100644
index 000000000..e83df7cb7
--- /dev/null
+++ b/other/converter/TBDevYSE_pre6/ReadMe.txt
@@ -0,0 +1,21 @@
+TBDev Yuna Scatari Edition pre6 to TorrentPier 1.0.x converter.
+
+Quick guide:
+1. Install and configure TorrentPier 1.0.0 or higher.
+2. Import your TBDevYSE database into TorrentPier database (concretely 'comments', 'categories', 'torrents' and 'users' tables).
+3. Put the contents of folder 'root' into your TorrentPier root.
+4. Configure 'converter/settings.php' for optimal settings.
+5. Run convert.php.
+6. See 'converter/passwords.php' for new password to login under admin account.
+7. Resychronize statistics using admin panel.
+8. Make your new tracker popular!
+----
+9. If you need to notify users for new passwords (which are needed to login in TorrentPier) via TBDevYSE PM system,
+ copy two files: automatically generated 'converter/passwords.php' and 'for_tbdev/pass.php' to your TBDevYSE root and run pass.php
+ (Don't forget to remove these files after completion).
+ You allow to change message text, see $msg in pass.php for this.
+10. If you want to redirect peers from older announce to new announce everytime, replace original TBDev's announce.php with
+ 'for_tbdev/announce.php'
+
+Cheers, RoadTrain.
+http://torrentpier.info/
\ No newline at end of file
diff --git a/other/converter/TBDevYSE_pre6/for_tbdev/announce.php b/other/converter/TBDevYSE_pre6/for_tbdev/announce.php
new file mode 100644
index 000000000..284627d56
--- /dev/null
+++ b/other/converter/TBDevYSE_pre6/for_tbdev/announce.php
@@ -0,0 +1,64 @@
+
\ No newline at end of file
diff --git a/other/converter/TBDevYSE_pre6/for_tbdev/pass.php b/other/converter/TBDevYSE_pre6/for_tbdev/pass.php
new file mode 100644
index 000000000..3fb39b32a
--- /dev/null
+++ b/other/converter/TBDevYSE_pre6/for_tbdev/pass.php
@@ -0,0 +1,46 @@
+
+
+
+
+ ';
+}
+else
+{
+ if(!file_exists('passwords.php')) stderr($tracker_lang['error'], 'passwords.php not exists');
+
+ include('passwords.php');
+ stdhead();
+ foreach ($passwords as $user)
+ {
+ $msg_sql = sprintf($msg, $user['username'], $user['new_passwd']);
+ sql_query("INSERT INTO messages (receiver, added, subject, msg) VALUES({$user['tb_user_id']}, NOW(), ".sqlesc($subject).", ".sqlesc($msg_sql).")");
+ }
+ stdmsg('OK', 'Mass PM succesful');
+}
+
+stdfoot();
\ No newline at end of file
diff --git a/other/converter/TBDevYSE_pre6/root/convert.php b/other/converter/TBDevYSE_pre6/root/convert.php
new file mode 100644
index 000000000..b32deb8b4
--- /dev/null
+++ b/other/converter/TBDevYSE_pre6/root/convert.php
@@ -0,0 +1,265 @@
+session_start();
+
+//if (!IS_ADMIN) die("Restricted access");
+while (@ob_end_flush());
+ob_implicit_flush();
+
+error_reporting(E_ALL);
+@ini_set('display_errors', 1);
+
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ';
+
+ exit;
+}
+else
+{
+
+@ini_set('memory_limit', '512M');
+@ini_set('max_execution_time', @ini_get('max_execution_time') + 1200);
+
+// Step 1: Converting Users
+if (CONVERT_USERS)
+{
+ if (CLEAN)
+ {
+ tp_users_cleanup();
+ print_ok ("Users cleared");
+ }
+
+ $max_uid = (int) get_max_val(USERS_TABLE, 'user_id');
+ $max_uid = ($max_uid > 1) ? $max_uid : 1;
+
+ $users_count = (int) get_count(TB_USERS_TABLE, 'id');
+ $loops = (int) ceil($users_count / C_USERS_PER_ONCE);
+ $pass = array();
+
+ switch(TR_TYPE)
+ {
+ case 'yse':
+ $_sql = 'avatar, ';
+ break;
+
+ default:
+ $_sql = '';
+ break;
+ }
+
+ for ($i = 0; $i < $loops; $i++)
+ {
+ $start = $i * C_USERS_PER_ONCE;
+ $offset = C_USERS_PER_ONCE;
+
+ $sql = "
+ SELECT
+ id, username, email, status, UNIX_TIMESTAMP(added) AS added, UNIX_TIMESTAMP(last_access) AS last_access,
+ class, icq, msn, aim, yahoo, website, $_sql
+ uploaded, downloaded, enabled, language
+ FROM ". TB_USERS_TABLE ."
+ ORDER BY id
+ LIMIT $start, $offset";
+
+ $users = $db->fetch_rowset($sql);
+ $db->sql_freeresult();
+
+ foreach ($users as $user)
+ {
+ $user['id'] += $max_uid;
+ $user['password'] = make_rand_str(15);
+ convert_user($user);
+ $pass[] = array(
+ 'tb_user_id' => $user['id'] - $max_uid,
+ 'username' => $user['username'],
+ 'new_passwd' => $user['password'],
+ );
+ }
+ }
+ $passf = fopen('./converter/passwords.php', 'w');
+ $to_write = " $tr_cat_id,
+ "cat_title" => 'Tracker',
+ );
+ tp_add_category($tp_cat_data);
+ set_auto_increment(CATEGORIES_TABLE, 'cat_id');
+ unset($tp_cat_data);
+
+ $cats = $db->fetch_rowset("SELECT id, sort, name FROM ". TB_CATEGORIES_TABLE);
+ $db->sql_freeresult();
+
+ $max_forum_id = (int) get_max_val(FORUMS_TABLE, 'forum_id');
+
+ foreach ($cats as $cat)
+ {
+ $cat['id'] += $max_forum_id;
+ $cat['cat_id'] = $tr_cat_id;
+ convert_cat($cat);
+ }
+ set_auto_increment(FORUMS_TABLE, 'forum_id');
+ print_ok ("Categories from TBDev converted");
+ unset($cats);
+
+ // Start of torrents converting
+ switch(TR_TYPE)
+ {
+ case 'yse':
+ $_sql = 'image1, image2, ';
+ break;
+
+ case 'sky':
+ $_sql = 'poster, screenshot1, screenshot2, screenshot3, screenshot4, ';
+ break;
+
+ default:
+ $_sql = '';
+ break;
+ }
+
+ $max_topic_id = (int) get_max_val(TOPICS_TABLE, 'topic_id');
+ $max_post_id = (int) get_max_val(POSTS_TABLE, 'post_id');
+ $max_attach_id = (int) get_max_val(ATTACHMENTS_TABLE, 'attach_id');
+
+ $torrents_count = (int) get_count(TB_TORRENTS_TABLE, 'id');
+ $loops = (int) ceil($torrents_count / C_TORRENTS_PER_ONCE);
+
+ for ($i = 0; $i < $loops; $i++)
+ {
+ $start = $i * C_TORRENTS_PER_ONCE;
+ $offset = C_TORRENTS_PER_ONCE;
+ $sql = "
+ SELECT
+ id, info_hash, name, filename, search_text, descr, $_sql
+ category, UNIX_TIMESTAMP(added) AS added, size, views,
+ UNIX_TIMESTAMP(last_action) AS lastseed, times_completed, owner, sticky
+ FROM ". TB_TORRENTS_TABLE ."
+ ORDER BY id
+ LIMIT $start, $offset";
+
+ $torrents = $db->fetch_rowset($sql);
+ $db->sql_freeresult();
+
+ foreach ($torrents as $torrent)
+ {
+ $torrent['topic_id'] = $torrent['id'] + $max_topic_id;
+ $torrent['post_id'] = $torrent['id'] + $max_post_id;
+ $torrent['attach_id'] = $torrent['id'] + $max_attach_id;
+ $torrent['owner'] += $max_uid;
+ $torrent['descr'] = append_images($torrent);
+ convert_torrent($torrent);
+ //print_r($torrent);
+ }
+ }
+ set_auto_increment(TOPICS_TABLE, 'topic_id');
+ set_auto_increment(POSTS_TABLE, 'post_id');
+ print_ok ("Total $torrents_count torrents from TBDev converted");
+ unset($torrents);
+
+ if (CONVERT_COMMENTS)
+ {
+ $max_post_id = (int) get_max_val(POSTS_TABLE, 'post_id');
+ $max_topic_id = (int) get_max_val(TOPICS_TABLE, 'topic_id');
+ $max_attach_id = (int) get_max_val(ATTACHMENTS_TABLE, 'attach_id');
+
+ $comments_count = (int) get_count(TB_COMMENTS_TABLE, 'id');
+ $loops = (int) ceil($comments_count / C_COMMENTS_PER_ONCE);
+
+ for ($i = 0; $i < $loops; $i++)
+ {
+ $start = $i * C_COMMENTS_PER_ONCE;
+ $offset = C_COMMENTS_PER_ONCE;
+ $sql = "
+ SELECT
+ c.id, c.user, c.torrent, c.text, tor.category,
+ UNIX_TIMESTAMP(c.added) AS added, UNIX_TIMESTAMP(c.editedat) AS editedat, c.ip
+ FROM ". TB_COMMENTS_TABLE ." c
+ LEFT JOIN ". TB_TORRENTS_TABLE ." tor ON(tor.id = c.torrent)
+ WHERE c.torrent <> 0
+ ORDER BY c.id
+ LIMIT $start, $offset";
+
+ $comments = $db->fetch_rowset($sql);
+ $db->sql_freeresult();
+
+ foreach ($comments as $comment)
+ {
+ $comment['user'] += $max_uid;
+ $comment['id'] += $max_post_id;
+ convert_comment($comment);
+ }
+ }
+ unset($comments);
+ set_auto_increment(POSTS_TABLE, 'post_id');
+ print_ok ("Total $comments_count comments from TBDev converted");
+ }
+}
+
+if (CONVERT_MYBB_FORUMS)
+{
+
+}
+
+?>
+
+
+Converting completed.
+
+