home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 7309 / 010EditorTemplates.7z / ChoL-DLC2-localisation-language-template.bt < prev    next >
Encoding:
Text File  |  2014-05-08  |  1.5 KB  |  34 lines

  1. //--------------------------------------
  2. //--- CHILD OF LIGHT DLC2 localization file
  3. //
  4. // File: DLC2 localization_*language*.isg.ckd
  5. // Author: tomsolo
  6. // Revision: 0.00001
  7. // Purpose: Life is Running
  8. //--------------------------------------
  9. BigEndian();
  10. byte    header[20]                  <hidden=true>;                                      //  Set any field to true, if dont need.
  11.  
  12. struct  LOCALIZATION (int i){
  13.     local  int count                <hidden=false>;                                     //  Set Show local variables if need this.
  14.     count = i+1;
  15.     int64   hash                    <hidden=true, /*bgcolor=0xFFBF00,*/format=hex>;     //  Yeah, this is not hash :)
  16.     int     stringLength            <hidden=false, bgcolor=0x00FF7F, name="Length">;    //  Length of the localised string. 
  17.     char    content[stringLength]   <bgcolor=0x7280FA, name="String">;                  //! Non-ascii chars need two bytes ! 
  18.     //!  UTF8 editing! 
  19.     //1. Please set Tools -> Options -> Files Interfaces -> Hex editor -> Charachter Set to UTF8!
  20.     //2. Before Editing add exact byte length of your localized text and cut(DEL) or add extra bytes! (CTRL+SHIFT+I)
  21. };
  22.  
  23. struct EXTRAPAD{
  24.     char    pad[24]                 <hidden=true>;                                      //SOMETHING EXTRAS
  25. };
  26.  
  27. local  int i                        <hidden= true>;
  28.  
  29. for( i = 0; i < 7; i++ )
  30.     {
  31.             LOCALIZATION loc(i)     <open=true, name="LOCALIZATION">;             
  32. }
  33. //EOF-----------------------------------
  34.