Перейти к содержимому
Zone of Games Forum

Yuris_Y

Новички
  • Публикации

    2
  • Зарегистрирован

  • Посещение

Репутация

0 Нейтральная

О Yuris_Y

  • Звание
    Новичок
  1. Русификация Star Wars: The Old Republic

    Так, структура нашлась на забугорном форуме. Вот здесь народ вскрывает ресурсы SW ToR: http://forum.xentax.com/viewtopic.php?p=87785#p87785 Структура нужного нам формата: String buckets specification (.stb file format) 01 00 00: header bytes uint32: number of strings FOR EACH (string) { --- uint64: string id --- byte: type1 --- byte: type2 --- float: unknown, always 00 00 80 3F = 1.0, possibly related to how quickly the text is read --- uint32: string length --- uint32: string offset --- uint32: repetition of string length } END FOR To get a specific string, go to the given offset and read the given number of bytes. Then convert these bytes into a string. Type1 can be: - 65 = 0x41 : main string - 70 = 0x46: alternate female string (e.g. huntress instead of hunter). Only used by German and French strings, where it is more common that male and female professions are named differently. - 80 = 0x50 : for conversations, the main summary when you can choose one of the three responses - 81 = 0x51: for conversations, the alternate female summary Type2 seems to be related to localization. If type2==0, then the string should not be translated, e.g. because it is just a placeholder and may be changed later when the content goes live.
  2. Русификация Star Wars: The Old Republic

    Поднимая тему перевода. Текст хранится в файлах с расширением tor в папке игры Assets. Это особый архив игровых ресурсов: MYP Archives from EA Mythic. Его можно открыть (и модифицировать) программой EasyMyp. Файлам tor нужно на время сменить расширение на myp, что бы можно было с ними работать. Открываем в указанной мной программе и можем извлекать текст (и другие ресурсы). В извлечённых файлах в самом начале, помимо текста, идут какие-то параметры. Возможно это что-то типа ссылок на фразы и их длину? В общем, я думаю, на это тоже нужно обратить внимание. Вот пример одного маленького файла: 0 yY A Ђ?O з O yY P Ђ? 6 zY A Ђ? 6 zY P Ђ? S {Y A Ђ? _ {Y P Ђ? _ |Y A Ђ?; v; |Y P Ђ? ± }Y A Ђ? ± }Y P Ђ? ± ~Y A Ђ?4 ± 4 ~Y P Ђ? е Y A Ђ?, ь , Y P Ђ? ( ЂY A Ђ? ( ЂY P Ђ? ( ЃY A Ђ?2 ( 2 ЃY P Ђ? Z ‚Y A Ђ? Z ‚Y P Ђ? Z ѓY A Ђ?L Z L ѓY P Ђ? ¦ „Y A Ђ? ¦ „Y P Ђ? ¦ …Y A Ђ?H ¦ H …Y P Ђ? о †Y A Ђ? о †Y P Ђ? о ‡Y A Ђ?y о y ‡Y P Ђ? g €Y A Ђ?U g U €Y P Ђ? ј ‰Y A Ђ? Р ‰Y P Ђ? Р ЉY A Ђ? а ЉY P Ђ? ф ‹Y A Ђ? ф ‹Y P Ђ? ф ЊY A Ђ?I ф I ЊY P Ђ? = ЌY A Ђ? G ЌY P Ђ? a ЋY A Ђ? a ЋY P Ђ? a ЏY A Ђ?* a * ЏY P Ђ? ‹ ’Y A Ђ? ‹ ’Y P Ђ? ‹ Name: Marcovic. Rank: Lieutenant. That's all you're getting from me, Jedi scum.I'm not here for you, anyway.Fair enough.Spare me the tough act.You may as well kill me now. You'll never hold me prisoner.If you won't be useful, why should I keep you alive?Don't make me kill you.Get spaced. I'm proud to die for the Empire.Hey, what's that droid doing? Get away from there!Hyperspace data transceiver = operational // T7 = scanning transmission logsT7 = found Planet Prison designs + Tarnis communications to Darth AngralT7 = located design files code-named "Desolator" // Darth Angral = creating world-killer weapon using Republic technologyCopy every file you can, Teeseven. We need to know what this Desolator weapon can do.Download everything.That's not good.T7 = bad feeling tooTarnis's talk on Coruscant about creating "non-lethal" weapons was a lie.I knew it.Republic = in great dangerYou won't live long enough to tell anyone. Сам файл: https://yadi.sk/d/OqDh6moamTrEf
Zone of Games © 2003–2025 | Реклама на сайте.

×