Release TSTool to extract TS .e files (KR + TW)

Results 1 to 13 of 13
  1. #1
    Member weertoop is offline
    MemberRank
    Apr 2013 Join Date
    82Posts

    Release TSTool to extract TS .e files (KR + TW)

    so, this is the tool i modified to be able to decrypt and extract all .e files.
    in case you did not know, the .e files contain all information about the game events, trigger, quests, quest items, quest mobs info, etc...
    here is the tool:
    https://drive.google.com/file/d/1NA1...ew?usp=sharing

    https://www.virustotal.com/gui/file/5648873079d390550aebb0e21d90b355f0af5d7db575dff5024f65dad463c431/detection
    How to use:
    1. put the tool into your DBO game folder root (same place as dbo.exe)
    2. run the tool :)
    3. you will get an error, click "Ignore", its fine
    4. go to "Project" -> "Export TS Files (E)" (the last one)
    5. now you will get a new window with two buttons active, " Build KR " and "Build TW", each one will extract the files for the specific client.
    6. you will get 4 messages, just click "OK" to all of them
    7. now, the extraction should be done! you will find these 4 new folders in your game root:
    "00_evt_e"
    "00_objtrigger_e"
    "00_pctrigger_e"
    "00_quest_e"

    inside of them are the extracted files of each TS .e file.

    NOTE:
    the tool worked for one of the TW clients i have, but it did not work inside the DBOG files, to work around this, take the ts folder in the DBOG root and put it in another TW client root,
    then run the tool in the other TW root and do "Build TW"

    Special thanks to @SanGawku for providing the TW decryption key :)

    quick tip: how to get mob data for a quest from the files
    quest data is in "00_quest_e" folder, files are named according to the quest id (tid),

    for example, the second human quest (kill 3 squirrels) has tid = 2, so we open this file: "2.t" look for "CDboTSActSToCEvt",
    here you will find data related to the quest event, inside it, you will find "idx0 = 4911100;", this is the tblidx of the mob for this quest :), and below it is "cnt0 = 3;", the kill count required for the mob.


    i really hope the tool will work with everyone,
    i will try to solve any problem encountered by someone using the tool, so please feel free to post your problems here.

    please correct any wrong information i might have given.

    UPDATE:
    the tool can now encrypt (re-zip) the files extracted by the same tool.

    to use it, go to "Project" -> choose "Trigger Encryption KR" or "Trigger Encryption TW"
    when it finishes, you will find one of these two files:
    ts_KR or ts_TW
    (well you can get both, but only the correct one will work for your client)
    Last edited by weertoop; 05-07-19 at 03:03 PM.


  2. #2
    Apprentice tilamao is offline
    MemberRank
    Apr 2015 Join Date
    7Posts

    Re: Release TSTool to extract TS .e files

    Wow! You are great! I don't know C++, so it helps a lot. I will certainly try it when I back to home! I just can't wait, so I leave a message first :D


    I am developing a server based on TW version. Here is my progress: https://www.youtube.com/watch?v=g_7H...l_LRu7lE052iyY


    Hopefully your tool works on TW client too.


    Btw, would you mind tell us your progress of your development?


    Sorry for my poor English






    Update:
    It works for KR client, but it seems that it does not work for TW client.
    Last edited by tilamao; 02-07-19 at 03:39 PM.

  3. #3
    Member weertoop is offline
    MemberRank
    Apr 2013 Join Date
    82Posts

    Re: Release TSTool to extract TS .e files

    Quote Originally Posted by tilamao View Post
    Wow! You are great! I don't know C++, so it helps a lot. I will certainly try it when I back to home! I just can't wait, so I leave a message first :D


    I am developing a server based on TW version. Here is my progress: https://www.youtube.com/watch?v=g_7H...l_LRu7lE052iyY


    Hopefully your tool works on TW client too.


    Btw, would you mind tell us your progress of your development?


    Sorry for my poor English






    Update:
    It works for KR client, but it seems that it does not work for TW client.
    thank you, and im glad it worked for you.

    about the TW client, im sorry i forgot to mention this, but this tool was made for the KR beta client.

    and about my progress, well i can log in game server, skills are working just basically (not tested enough), spawns are working, quests and quest rewards are working (but quests are like 20% complete), and character fighting (but still a little sluggish and buggy).

    mobs still cant move or fight.

    regarding the TW client, it seems that the decryption key is different ... so i cant decrypt it, sorry.
    but if someone can send me the TW decryption key, i can copy and paste it in the code and make it work :3
    Last edited by weertoop; 02-07-19 at 09:12 PM.

  4. #4
    Connoisseur of Fine Code SanGawku is offline
    ModeratorRank
    Oct 2006 Join Date
    CyberSpanksLocation
    642Posts

    Re: Release TSTool to extract TS .e files (KR 0.50.9)

    @weertoop
    TW Decryption Key: dnfldbofmftkfkdgowntpdy
    Your welcome :)
    You should still come join us.

  5. #5
    Apprentice tilamao is offline
    MemberRank
    Apr 2015 Join Date
    7Posts

    Re: Release TSTool to extract TS .e files (KR 0.50.9)

    Wow! It's awesome that SanGawku discloses the key. Thank you so much. Hoping that weertoop would provide and share the revised TS Tool (TW version).

    Moreover, I would like to ask how to encrypt the files. I know I am too greedy XD

  6. #6
    Connoisseur of Fine Code SanGawku is offline
    ModeratorRank
    Oct 2006 Join Date
    CyberSpanksLocation
    642Posts

    Re: Release TSTool to extract TS .e files (KR 0.50.9)

    You do the opposite of this tool.
    You can see how to do it if you look at the client source and look at the TS tool.
    It gives you the code to repack the e files.

  7. #7
    Member weertoop is offline
    MemberRank
    Apr 2013 Join Date
    82Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    TW client has been included in the tool now :)

  8. #8
    Apprentice tilamao is offline
    MemberRank
    Apr 2015 Join Date
    7Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    It is great. I have tried and it works perfectly for TW client. Thank you so much.
    I found that there is "Trigger Encryption" in the menu. But I don't know how it works...
    It will be wonderful if you can also make the encrypter too. But it is already really great now, I can start programming about quest :D

    Update:
    I found that it is not a must to put the tool into the DBO folder. I put the tool in a new folder, copy the "ts" folder to the new folder, and copy fmodex.dll to the new folder. It works for KR, TW, and DBOG. It is interesting that the tool requires "fmodex.dll" to open...
    Last edited by tilamao; 03-07-19 at 05:06 PM.

  9. #9
    Connoisseur of Fine Code SanGawku is offline
    ModeratorRank
    Oct 2006 Join Date
    CyberSpanksLocation
    642Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    @tilamao
    Its part of the libraries consumed when building the tools. @weertoop
    Yeah could you possibly add the "encrypt to e" function to it. or at least describe how it works.
    Thanks.

  10. #10
    Member weertoop is offline
    MemberRank
    Apr 2013 Join Date
    82Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    Quote Originally Posted by SanGawku View Post
    @tilamao
    Its part of the libraries consumed when building the tools. @weertoop
    Yeah could you possibly add the "encrypt to e" function to it. or at least describe how it works.
    Thanks.
    sorry i was working on the server and forgot about this :P
    sure, i will do it later on and post the new tool.

  11. #11
    Connoisseur of Fine Code SanGawku is offline
    ModeratorRank
    Oct 2006 Join Date
    CyberSpanksLocation
    642Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    Should still come work with us. You are still free to release tools you made.

  12. #12
    Member weertoop is offline
    MemberRank
    Apr 2013 Join Date
    82Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    the tool is now updated with the encryption.

  13. #13
    Apprentice tilamao is offline
    MemberRank
    Apr 2015 Join Date
    7Posts

    Re: Release TSTool to extract TS .e files (KR + TW)

    weertoop and SanGawku, I love you
    The tool seems to work perfectly



Advertisement