/......................',,;;;;,,',,',,,,,,,,,,,,,,,,;,,;;;;;;;;::;;,,,,,''..'',/
|..,cllllooooloooooooodddxxxxxxdddddddddddddoooollllllc::lllloooc;:ooccllllllc;|
|..cxdxkkkOOOOOO0000KKKKKKKKKKKKKKKK000000Okkxxdooollc,':docllol,'lkdlooooooo:,|
|.':c::ccccokOOO00kdookKKKKXKkdddddod0K000Okoclooolll:',ldlccll;',dxollllc:::;;|
|''........l00O00Oo,.,xXKKKKk;......;ddooool,.cxddddo;';doclllc,.:xollloc'.,;;;|
|',,,,,,,';k0OOOOxc,'l0KKKXX0kxxkkxxxdddoodc,ckkkxxdc,,lxollll;.'oxllloo:,;cccc|
|,;;;;;,,,oOOOO0ko;';kKKKXXNNWWWWWWNNNXXKX0c,d00OOOxc,:dxooool;'cxdllloc;;cllll|
|,,;;,,,':k0O0OOd:,,:ooodddxxxkkkkkXNNNNNNx,;OXK000d:codoodddo:;dxllloo:,;:cllc|
|........cOOOOOkl,.,ododdxl,......cKWNNNWKc.lKKK00Oxdkxdooooollldoloooc. ......|
|.......,dkxkkkd;..:OOOO0KOxdxxxxkKNNNNNNk',kX0000Okkxdlcclollooooolll;........|
|.......cxxxxkxl'.'dOOOOO00KXNNNNNNNXXXKkc.l0K0OOOkxo:,'..':lllllloooc'........|
|.'''..';::::c:,..,ccccclllllooooooooodl:,'colllcc:,...'''..',;;;::::,'........|
|.';:::;;;,,,;;;::;;;;;;;;;;;;;;,,,,,;::::::;;,,,,,;;;::;;;;;,,,',,,,,;,,,,,...|
|.;dxdooddddxkO0OxkOkxxdxkxxkkxxdxxxxxkOOkddkxdxdoddooollllc::clccll::cclooc...|
|'cxdl;:oc;c:cxdc:cxl::;:l:lkc;:;cc::,:ll:'cxl,:;':::,;:,,,.''';,;c;',;',cc,...|
|;dxxdloxlldodxoddodolldoclxxolllolllolcooloxo::l:;ll;::;:;;:;;;,;:;,;:;coc. . |
|,:;;;;;;;;::::::c::::::::::::::::::::::::;;;;;;;;;;;,,,,,,,,,,',,''''',,,'....|
|.................'''''''''''''................................................|

      		 TSW 5 - cookind and paking inside the editor v2.3
	 
        			  Author: pampaliny
         			web: www.trainsim.cz

--------------------------------------------------------------------------------

         Required:
         ---------
         TSW 5 official editor
 
--------------------------------------------------------------------------------

         Version history:
         -------
	 2.3 - added decooker module for decooking timetables
	 2.2 - added support for original DLLs, no more unblocking :)
	 2.1 - added option to distribute for TSW 5 and TSW 4
	     - added option to add 2 or more original plugins (before it support only one)
	       there is new tool for that in TSCZTools folder
	     - added AssetRegistry.bin with 0 size, cooking is detecting only if the
               file exist, you dont need to generate one
	 2.0 - recreated distribution button with more options
	     - added required DLCs for distribution
	     - generating .ugc files for TSW 5 (not sure if they work for TSW 4 too)
         1.4 - fixed asset discovery
	 1.3 - added paking utility like a Distribute button
	 1.2 - added standalone paking utility
	 1.1 - fixed create plugin
         1.0 - initial release - same version like in unofficial editor
               
--------------------------------------------------------------------------------

         Information:
         ------------
        Oh god how i missed that cooking from Unofficial Editor. I missed it 
	that much that i decided to start modding Official Editor (its easy to
	mod the TSW 5 now with official tools so its less challenging). My
	new challenge is making Official Editor better :) And this is the first
	step. This modification will mod Official Editor and adding that
	great cooking feature from Unofficial Editor. Now its much easier
	to cook your content!

	And because a lot of you struggle with before included EasyPaking utility
	and it was buggy too then i decided to add extra button into the
	editor for distribution. That will let you add your plugins and then
	it will pak them. The whole process is generating all needed files so
	when its done your .pak file is completely ready to be used with TSW 5.

	If you click in editor on that new distribute button then it will open
	window where you can add your plugins from dropdown menu (only proper
	cooked plugins are showed). If its your original plugin then you should
	type required DLCs (usually its the name after
	TS2Prototype-WindowsNoEditor-DLCName.pak
        So for example if your plugin is using something from Class 700 then
	required DLC will be BRClass700 because pak of that DLC looks like that:
	TS2Prototype-WindowsNoEditor-BRClass700.pak
	Remember, the game can read only one AssetRegistry.bin in one pak if its
	original plugin. That mean if you have 2 or more original plugins you 
	should create standalone paks for that (im looking for solution of that
	so you can add more original plugins like that).

	What is new there is i added extra button for decooking timetables. To 
	decook timetable you need to press the button and then select timetable
	which you want to decook. Then you in pop-up window you will see all
	timetables, once you click on one timetable it will decook, create
	same asset in same folder but with Decooked_ prefix. Because i this
	solution suppose to be only for preview how is the timetable looks like
	i removed layers so only default layer is decooking. This should be
	enought for you to see how is the timetable made. Its not suppose to be
	for taking others timetables and adding extra service there to make
	them like that you made the timetable. 

        Have fun and Enjoy!       

--------------------------------------------------------------------------------

         Install:
         --------
         Copy the files into your editor and overwrite existing files if needed.
         
     
        
--------------------------------------------------------------------------------
         
         Instructions:
         -------------
  	 - use included StartEditor.bat!!!
--------------------------------------------------------------------------------

         Known bugs:
         -----------
         - because StartEditor.bat is asking for Admin permission then droping
	   files from Explorer into the Content Explorer in editor is not 
	   working. But if you run your Explorer like a admin then dopping files
	   is working fine.
              
--------------------------------------------------------------------------------

          Downloaded from:  www.trainsim.cz. 
          Dont remove this .readme.
          Do not upload that mod on the other pages without permission.
          Do not sell the mod as i made it free.
          Do not modify the files - the mod will stop working or it will crash the game.

--------------------------------------------------------------------------------

"IMPORTANT NOTICE. This is user generated content designed for use with Dovetail Games
Software.
Dovetail Games does not approve or endorse this user generated content and does not accept any
liability or responsibility regarding it.
This user generated content has not been screened or tested by Dovetail Games. Accordingly, it
may adversely affect your use of Dovetail Games’ products. If you install this user generated
content and it infringes the rules regarding user-generated content, Dovetail Games may choose to
discontinue any support for that product which they may otherwise have provided.
The Dovetail Games EULA sets out in detail how user generated content may be used, which you
can review further here: https://live.dovetailgames.com/legal/terms-of-use. In particular, this user
generated content includes work which remains the intellectual property of Dovetail Games and
which may not be rented, leased, sub-licensed, modified, adapted, copied, reproduced or
redistributed without the permission of Dovetail Games."


                                                            www.trainsim.cz
                                                               (c) 2020