Ltx файл как изменить

Формат файла LTX: описание расширения, где используется этот файл, как и чем его открыть. Программы для открытия формата LTX.

Файлы формата LTX открываются специальными программами. Существует 2 типа форматов LTX, каждый из которых открывается разными программами. Чтобы открыть нужный тип формата, изучите описания файлов и скачайте одну из предложенных программ.

Расширение LTX может быть двух основных исполнений:

  • формат LTX (полн. LaTeX Document) – текстовый документ, генерируемый при помощи специальной программной компоненты LaTeX. Такой тестовый редактор может поддерживать кодировку, представленную в виде тегов разметки и свойств, устанавливающих структуру конечного документа и его содержимое. LTX формат включает в себя либо непосредственно набор текстовых данных, либо ссылку на фрагмент теста из других файлов.

Основное практическое назначение формата – это представление информации о научно-исследовательских публикациях, научных статьях и журналах.

Генерация LaTeX расширения возможна с использованием самых разнообразных приложений, включая LaTeX Editor и TeXworks.

Аналогом формату LTX является расширение TEX.

  • LTX файл (полн. S.T.A.L.K.E.R. Properties File) представляет собой формат хранения и настройки данных, используемый в многопользовательской игровой программе S.T.A.L.K.E.R (игра-шутер). LTX файл – набор структурированных данных, содержащих принципиальные характеристики 3Д-модели (физического персонажа), видео, графические изображения, параметры стрелкового оружия. Все данные LTX представлены в виде текстовой информации и при необходимости могут редактироваться непосредственно игроками.

Благодаря удобному пользовательском интерфейсу, допускается внесение изменений в параметры настройки игры (используется интегрированная консоль S.T.A.L.K.E.R.). Как правило, все изменения, осуществляемые в процессе игры, фиксируются в файле User.ltx, который находится в установочном каталоге. SHOC – основной каталог, где может быть расположен LTX файл. Во избежание внесения непреднамеренных/необдуманных корректировок, рекомендуется создавать резервную копию данного файла.

Программы для открытия LTX файлов

Чтобы воспроизвести расширение LTX, необходимо учитывать его категорию и область практического применения. LTX формат может генерироваться и воспроизводиться следующими программными приложениями:

  • на базе ОС Windows используются программы LaTeX Editor, MiKTeX, proTeXt, TeXMaker, TeXnicCenter и TeXworks (LTX файл – текстовый документ, генерируемый при помощи специальной программной компоненты LaTeX). На платформе ОС Mac расширение может быть открыто с помощью тех же TeXworks/TeXMaker или LyX/Mac. Примечательно, что расширение LTX адаптировано и для работы на базе ОС Linux. Для его воспроизведения необходимо воспользоваться редактором TeXMaker или TeXworks;
  • NbuExplorer, Nokia PC Suite и Nokisoft Noki (LTX файл – резервная копия файла для мобильных устройств на базе операционной системы Symbian).
  • GSC Game World S.T.A.L.K.E.R.: Call of Pripyat/ Shadow of Chernobyl/Clear Sky (LTX файл – формат хранения и настройки данных, используемый в многопользовательской игровой программе Cталкер).

В случае если при воспроизведении формата возникает ошибка: либо поврежден или заражен исходный файл, либо осуществляется открытие LTX файла с применением некорректной программной утилиты.

Конвертация LTX в другие форматы

Структура и область применения LTX уникальны для каждого конкретного случая. Попытки конвертации расширения в другой формат могут не только не дать никаких практических результатов, но и повредить исходный файл. В этой связи трансляция данного формата практически не практикуется.

Исключение составляет, пожалуй, LTX файл, представляющий текстовый документ LaTeX.

С помощью интегрированного транслятора данных одного из текстовых редакторов (например, TeXnicCenter или LaTeX Editor), может б ыть выполнено преобразование LTX формата в файл с расширением TEX или TET. Для этого можно воспользоваться одним из многочисленных онлайн-конвертеров, например,  FreeFileConvert.

Почему именно LTX и в чем его достоинства?

LTX расширение представляет собой уникальный формат хранения и обработки данных и предназначено для применения в некоторых узкоспециализированных областях, в частности:

  • для представления текстовой информации при помощи специальной программной компоненты LaTeX;
  • для хранения и настройки данных, используемых в многопользовательской игровой программе S.T.A.L.K.E.R (игра-шутер).


9 из десяти из за того что поддерживает только тч хотелось бы видеть поддержку зп

  • пожаловаться
  • скопировать ссылку


качайте и редактируйте!

  • пожаловаться
  • скопировать ссылку


Следует указывать директорию с игрой, а не папку gamedata. Ты же указываешь директорию gamedata, которая находится внутри каталога с игрой, т.е. программа считает, что каталогом с игрой является gamedata и добавляет к нему gamedata ещё раз. Народ, прочитайте хоть раз ридми.тхт к проге, там же всё подробно расписано — куда, как и что распаковывать. Сколько раз можно повторять одно и то же. Я специально написал в readme инструкции, чтобы мне не задавали по 1000 раз одни и те же вопросы. Причём эти инструкции написаны даже на 2-х языках — русском и английском. Но видимо в России не умеют читать ни на одном из них. Для тех, кому лень даже прочитать ридми, привожу здесь пример из описания к программе: «Для работы утилиты требуется РАСПАКОВАННАЯ версия игры. Для распаковки ресурсов игры можно воспользоваться утилитой STALKER Data Unpacker, с помощью которой следует распаковать содержимое файлов gamedata в одноимённую директорию в каталоге с игрой. Например, если игра находится в директории C:GamesS.T.A.L.K.E.R, то содержимое файлов gamedata должно быть распаковано в директорию C:GamesS.T.A.L.K.E.Rgamedata. После этого необходимо запустить программу и указать директорию с игрой, в данном примере это C:GamesS.T.A.L.K.E.R»

  • пожаловаться
  • скопировать ссылку


Вот лучше бы выложили прогу чтоб текстуры редактировать а не значения!

  • пожаловаться
  • скопировать ссылку


представляете не х..я не скачивается

  • пожаловаться
  • скопировать ссылку


все он скачивается!вроде неплохо!

  • пожаловаться
  • скопировать ссылку



Человеки, можить Я тупой, но директории которую требует конфигуратор в игре не существует. Чё иму нах указывать? Подмогните ПЛЗ…

  • пожаловаться
  • скопировать ссылку


Мля!У меня тоже не может найти какуюта хрень!Может и в правду нету такого файла!!!Помогите очень прошу!!!!!

  • пожаловаться
  • скопировать ссылку


Народ! Если кто-нибудь выложит сюда инструкцию к этой сраной программе с которой я провозился больше 2-х часов — Я буду вам очень благодарен!!! Прога — судя по всему классная, но разработчики с растущими из жопы руками чё-то недоделали!!!

  • пожаловаться
  • скопировать ссылку


У вас ресурсы игры вообще распакованы? Распаковываете файлы gamedata.* в директорию с таким же именем (т.е. gamedata). А эту самую директорию следует создать в каталоге с игрой. Чтобы распаковать ресурсы игры, следует воспользоваться утилитой STALKER Data Unpacker. Читайте readme к проге, там всё написано.

  • пожаловаться
  • скопировать ссылку


Эта прога написана слегка по дебильному. Ей нужна не gamedata, а gamedata в gamedat’е. Т.е. вся эта срань будет работать если директория с распакованными файлами будет иметь путь: C:Program FilesGSC World PublishingS.T.A.L.K.E.Rgamedatagamedata Короче полная херня менять настройки нереальный гемор. Прога отстой.

  • пожаловаться
  • скопировать ссылку


А чё оружие нельзя редактировать?

  • пожаловаться
  • скопировать ссылку


фанат91, ну ты насмешил с оружием! Я лично давно потерял баланс в сталкере, у меня все с первого патрона подыхают!

  • пожаловаться
  • скопировать ссылку


Если у кого-то возникли проблемы с оружием, попробуйте установить СТАЛКЕР на другой логический диск или просто скопируйте на другой раздел всё содержимое игры. Скорее всего дело в том, что при попытке загрузки параметров оружия, неправильно определяются атрибуты ltx-файлов с оружием. Поскольку в программе при считывании файлов из директории gamedataconfigweapons осуществляется сравнение реальных атрибутов всех w_*.ltx файлов с типом атрибута, заданным в условии проверки, и если полученный атрибут файла не соответствует этому условию, то он отбрасывается и настойки из него не загружатся. При копировании на другой раздел создаются новые экземпляры файлов и заново устанавливаются их атрибуты, но уже как верные. Почему у некоторых пользователей эти атрибуты определяются неверно, я не знаю, поэтому не могу исправить данную ошибку.

  • пожаловаться
  • скопировать ссылку


Всё работает ,спасибо тебе Димон за прогу ,дай Бог тебе здоровья !

  • пожаловаться
  • скопировать ссылку


всё норм качается)))ща скажу насчёт проги)

  • пожаловаться
  • скопировать ссылку


А эта хрень на Чистое небо пойдет?

  • пожаловаться
  • скопировать ссылку


Зделайте такое на чн!

  • пожаловаться
  • скопировать ссылку


дерьмо! черт черт! сволоч ошибки выдает!

  • пожаловаться
  • скопировать ссылку


не качает! (503 Service Temporarily Unavailable)

  • пожаловаться
  • скопировать ссылку


Для ЧН версии утилиты не будет. К сожалению, у меня нету времени для дальнейшей работы над программой.

  • пожаловаться
  • скопировать ссылку


мля, а то уже хочетсо ЧН переделать (((

  • пожаловаться
  • скопировать ссылку


пользовался 1.02 круто а для чистого небе такая есть?

  • пожаловаться
  • скопировать ссылку


Так я всё понял но у мя сталкер в d диске и показал даже где ради этого удалял игру заново ставил вот и всё но не работает можь туда gamedaty вставить какую — нибудь

  • пожаловаться
  • скопировать ссылку


Извините за ложную тревогу у меня всё теперь идёт пасиб те большое Чилавег уничтоживший свой моск

  • пожаловаться
  • скопировать ссылку


Люди а так и должно быть чтоб-чтение параметров больше часа было я уже 2 час жду а он всё чтение параметров

  • пожаловаться
  • скопировать ссылку


Люди кто нибудь может скинуть gamedaty мне с файлами которые нужны такие есть в ABC-ЭЮЯ моде но он вылетает Прошу скиньте что-нибудь по типу мне безразлично с чем этот мод будет главное чтоб с нужными файлами для редактирования

  • пожаловаться
  • скопировать ссылку


Всем спасиб всё идёт теперь создал свой мод

  • пожаловаться
  • скопировать ссылку


ltx файлы можно с помощью блокнота открывать)

  • пожаловаться
  • скопировать ссылку


очень удобно +10

  • пожаловаться
  • скопировать ссылку


Вот это круто!!!+10

  • пожаловаться
  • скопировать ссылку


класс,спасибо +10

  • пожаловаться
  • скопировать ссылку


UnrealMan thank you!+10

  • пожаловаться
  • скопировать ссылку


+10! Огромное спасибо тебе, Дмитрий!

  • пожаловаться
  • скопировать ссылку


Неа…через программу неинтересно…Я уж сижу в блокнотиках и редактирую.

  • пожаловаться
  • скопировать ссылку


а продавцов можна както???????????????????????????????????

  • пожаловаться
  • скопировать ссылку


народ помогите у меня не пашет говарит что не распакован ресурс игры

  • пожаловаться
  • скопировать ссылку


Хорошая и нужная штука.+10

  • пожаловаться
  • скопировать ссылку


Друзья,тут ещё такое дело,возможно ещё кто заметил,но когда идёт распаковка gamedata,распаковывается папка configs,а прога просит путь через config,без зловещей S!!!!Удаляешь её и вуаля!!!!!!

  • пожаловаться
  • скопировать ссылку


аааа с*ка каково ето уж слишком ограничиная скорость!!!!2кб!аааааа!!мля

  • пожаловаться
  • скопировать ссылку



я все редактировал таперь у меня не сталкер ,А ВЫЛЕТАЛКЕР!!! >:(

  • пожаловаться
  • скопировать ссылку


я скчал и всё работает без всяких настроек

  • пожаловаться
  • скопировать ссылку


Мля, все норм пашет, но нихрена не катит русский. Пришлось весь русский текст впихивать в файл с английским, но зато теперь все по русски а программа оказалось обманутой!!!

  • пожаловаться
  • скопировать ссылку


Кто нибудь помогите у меня что то ни то, распаковал все gamedata через STALKER_Data_Unpacker. В корневой папке СТАЛКЕРА создал папку gamedata в неё переместил папку config. Запустил S.T.A.L.K.E.R. Ltx Editor в директории игры указал D:игрыSTALKER/ прога запустилась нашла параметры. Я их под корректировал: вес стволов, жилетов, патронов 0 кг., увеличил разновидность патронов для некоторых винтовок и т. д.. Сохранил, запустил игру будто и ни чего не делал как все было так все и осталось. Пробовал корректировать файл actor.ltx, тоже в игре ни каких изменений. Скажите пожалуйста что я делаю ни так?

  • пожаловаться
  • скопировать ссылку


парни…… зацените мою прогу http://webfile.ru/4723172

  • пожаловаться
  • скопировать ссылку


молодца sancho прога работает,только я непойму как ей пользоватся

  • пожаловаться
  • скопировать ссылку


хотя не уже понял

  • пожаловаться
  • скопировать ссылку


Это для тех, кто блокнотом не умеет

  • пожаловаться
  • скопировать ссылку


Yes!Good file+10!!!

  • пожаловаться
  • скопировать ссылку


Прога норм. Для быстрого редактирования оружия и брони удобно. Только вот с артами я непонял помоему там не всё для артов.

  • пожаловаться
  • скопировать ссылку


UnrealMan is UnrealMan! +10!!!

  • пожаловаться
  • скопировать ссылку


Выдаёт ошибку «a semi colon character was expected»

  • пожаловаться
  • скопировать ссылку


почему все разделы работаюта раздел оружия не какой фаил требуется для этого раздела ???

  • пожаловаться
  • скопировать ссылку


дайте файл weather_standart.ltx у кого он есть. только чистый

  • пожаловаться
  • скопировать ссылку


раздел оружия не робит чё делать?

  • пожаловаться
  • скопировать ссылку


При запуске эдитора. Как исправить?

  • пожаловаться
  • скопировать ссылку


Полезная бадяга

  • пожаловаться
  • скопировать ссылку


Вот только нипса не качается

  • пожаловаться
  • скопировать ссылку


хрень. блокнотом намного проще и удобней. не пробовали ?

  • пожаловаться
  • скопировать ссылку


DjivaLukash Не сказал бы что удобней, через прогу надежней например: поставь прицел допустим ПСО-1 на автомат sig550 да так что-б игра не вылетела, по моему через блокнот делать это тот еще гемарой…

  • пожаловаться
  • скопировать ссылку


Добрый день. Скачал, установил, но при запуске программы вот такой казус — Выскакивает окно » Файл не найден».И далее список какие файлы не найдены. Пробовал все варианты, толку нет! Игра распакована, как и в ридми указано, но ничего не получается!

  • пожаловаться
  • скопировать ссылку


  • пожаловаться
  • скопировать ссылку


На моде «эпилог» все работает и без распаковки просто сделал дубликат игры на всякий случай. На чистой версии и на модах «фотограф» и «альтернатива» даже с распакованной игрой не открывает говорит мол файлы не найдены… Зашел в папку с игрой проверил в ручную все файлы на месте… Вопрос почему не читаются файлы, может есть какие-нибудь хитрости ?

  • пожаловаться
  • скопировать ссылку


Как установить?

  • пожаловаться
  • скопировать ссылку


Ребят, такая хрень: Я сохраняю изменения, запускаю игру, и у меня вылетает. Что делать?

  • пожаловаться
  • скопировать ссылку


все работает жаль оружий нету(

  • пожаловаться
  • скопировать ссылку


Зов Припяти ни разу не хочет, а хотелось бы чтоб хотела. Реально такое раздобыть.

  • пожаловаться
  • скопировать ссылку


наврал скачиваеться

  • пожаловаться
  • скопировать ссылку

RRS feed

  • Remove From My Forums
  • Вопрос

  • Здравствуйте,подскажите пожалуйста как поменять расширение .txt (текстовый документ) на .ltx  в windows 7 .В windows xp менял без проблем а здесь никак не получается . Спасибо

Ответы

  • Сервис->Параметры папок->Вид снимите галочку с «Скрывать расширения для зарегистрированных типов файлов». Расширения будут явно указываться в имени файла.

    • Помечено в качестве ответа
      stalinsobaka
      12 июня 2010 г. 8:44

Все ответы

  • Какие именно проблемы возникают при изменении расширения?

  •  РАСШИРЕНИЕ НЕ ИЗМЕНЯЕТСЯ ! Делаю так правой кнопкой мыши создать > текстовый документ> переименовать> расширение не меняется остается .txt а мне надо переделать в .ltx

  • Сервис->Параметры папок->Вид снимите галочку с «Скрывать расширения для зарегистрированных типов файлов». Расширения будут явно указываться в имени файла.

    • Помечено в качестве ответа
      stalinsobaka
      12 июня 2010 г. 8:44

  • Сервис->Параметры папок->Вид снимите галочку с «Скрывать расширения для зарегистрированных типов файлов». Расширения будут явно указываться в имени файла.

    Подскажите где войти в Сервис ?

    • Помечено в качестве ответа
      stalinsobaka
      12 июня 2010 г. 8:44
    • Снята пометка об ответе
      stalinsobaka
      12 июня 2010 г. 8:44

  • Зайдите в Проводник (например откройте Компьютер или Документы), нажмите клавишу «Alt», появится скрытое меню.

  • Зайти в Проводник (например откройте Компьютер или Документы), нажмите клавишу «Alt», появится скрытое меню.

    Спасибо большое ! Вам добрый человек . Все получилось.

Файлы формата LTX открываются специальными программами. Существует 2 типа форматов LTX, каждый из которых открывается разными программами. Чтобы открыть нужный тип формата, изучите описания файлов и скачайте одну из предложенных программ.

Содержание

  1. Чем открыть файл в формате LTX
  2. Программы для открытия LTX файлов
  3. Конвертация LTX в другие форматы
  4. Почему именно LTX и в чем его достоинства?
  5. S.T.A.L.K.E.R. «Ltx Editor v1.05»
  6. Расширение файла LTX
  7. Оглавление
  8. ✅ Stalker Properties Data
  9. ✅ LaTeX Document
  10. Это возможно, что расширение имени файла указано неправильно?
  11. 🔴 Можно ли изменить расширение файлов?
  12. Подробный разбор файла actor.ltx
  13. Расширение файла LTX
  14. Что такое файл LTX?
  15. Программы, которые поддерживают LTX расширение файла
  16. Программы, обслуживающие файл LTX
  17. Как открыть файл LTX?
  18. Шаг 1. Скачайте и установите TeXworks
  19. Шаг 2. Убедитесь, что у вас установлена последняя версия TeXworks
  20. Шаг 3. Настройте приложение по умолчанию для открытия LTX файлов на TeXworks
  21. Шаг 4. Проверьте LTX на наличие ошибок

Чем открыть файл в формате LTX

Расширение LTX может быть двух основных исполнений:

Основное практическое назначение формата – это представление информации о научно-исследовательских публикациях, научных статьях и журналах.

Генерация LaTeX расширения возможна с использованием самых разнообразных приложений, включая LaTeX Editor и TeXworks.

Аналогом формату LTX является расширение TEX.

Благодаря удобному пользовательском интерфейсу, допускается внесение изменений в параметры настройки игры (используется интегрированная консоль S.T.A.L.K.E.R.). Как правило, все изменения, осуществляемые в процессе игры, фиксируются в файле User.ltx, который находится в установочном каталоге. SHOC – основной каталог, где может быть расположен LTX файл. Во избежание внесения непреднамеренных/необдуманных корректировок, рекомендуется создавать резервную копию данного файла.

Программы для открытия LTX файлов

Чтобы воспроизвести расширение LTX, необходимо учитывать его категорию и область практического применения. LTX формат может генерироваться и воспроизводиться следующими программными приложениями:

В случае если при воспроизведении формата возникает ошибка: либо поврежден или заражен исходный файл, либо осуществляется открытие LTX файла с применением некорректной программной утилиты.

Конвертация LTX в другие форматы

Структура и область применения LTX уникальны для каждого конкретного случая. Попытки конвертации расширения в другой формат могут не только не дать никаких практических результатов, но и повредить исходный файл. В этой связи трансляция данного формата практически не практикуется.

Исключение составляет, пожалуй, LTX файл, представляющий текстовый документ LaTeX.

С помощью интегрированного транслятора данных одного из текстовых редакторов (например, TeXnicCenter или LaTeX Editor), может б ыть выполнено преобразование LTX формата в файл с расширением TEX или TET. Для этого можно воспользоваться одним из многочисленных онлайн-конвертеров, например, FreeFileConvert.

Почему именно LTX и в чем его достоинства?

LTX расширение представляет собой уникальный формат хранения и обработки данных и предназначено для применения в некоторых узкоспециализированных областях, в частности:

Документ, создаваемый при помощи языка набора текста LaTeX. Содержи теги разметки LaTeX и свойства, определяющие структуру и содержимое документа. Может включать в себя сам текст документа или ссылку на текст из других файлов.

Документы LaTeX чаще всего используются в научной и исследовательской среде для публикации научных трудов и статей. Для создания документов LaTeX может использоваться множество приложений.

Чем открыть файл в формате LTX (LaTeX Document)

Источник

S.T.A.L.K.E.R. «Ltx Editor v1.05»

Изменения в версии 1.05 [20.04.2008]
Теперь по умолчанию используется английский язык интерфейса.
Исправлен баг с некорректным обновлением данных в табличном режиме.
Исправлены некоторые ошибки локализации.

6GVcY XY8ySL5wDmPdMVCA

h0w2h wED04xYB

7vUigfTdoHukDY9t3XmhMQ

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

качайте и редактируйте!

6GVcY XY8ySL5wDmPdMVCA

Эта прога написана слегка по дебильному. Ей нужна не gamedata, а gamedata в gamedat’е. Т.е. вся эта срань будет работать если директория с распакованными файлами будет иметь путь: C:Program FilesGSC World PublishingS.T.A.L.K.E.Rgamedatagamedata Короче полная херня менять настройки нереальный гемор. Прога отстой.

6GVcY XY8ySL5wDmPdMVCA

MNwOMEE

9 из десяти из за того что поддерживает только тч хотелось бы видеть поддержку зп

ATW4dzhA 5bKYi080R2ASA

Вот лучше бы выложили прогу чтоб текстуры редактировать а не значения!

6GVcY XY8ySL5wDmPdMVCA

представляете не х..я не скачивается

6GVcY XY8ySL5wDmPdMVCA

все он скачивается!вроде неплохо!

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

Человеки, можить Я тупой, но директории которую требует конфигуратор в игре не существует. Чё иму нах указывать? Подмогните ПЛЗ.

6GVcY XY8ySL5wDmPdMVCA

Мля!У меня тоже не может найти какуюта хрень!Может и в правду нету такого файла. Помогите очень прошу.

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

У вас ресурсы игры вообще распакованы? Распаковываете файлы gamedata.* в директорию с таким же именем (т.е. gamedata). А эту самую директорию следует создать в каталоге с игрой. Чтобы распаковать ресурсы игры, следует воспользоваться утилитой STALKER Data Unpacker. Читайте readme к проге, там всё написано.

n12BXBhOBXpJTjJ8dYGWQQ

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

всё норм качается)))ща скажу насчёт проги)

6GVcY XY8ySL5wDmPdMVCA

А эта хрень на Чистое небо пойдет?

6GVcY XY8ySL5wDmPdMVCA

Зделайте такое на чн!

6GVcY XY8ySL5wDmPdMVCA

дерьмо! черт черт! сволоч ошибки выдает!

6GVcY XY8ySL5wDmPdMVCA

не качает! (503 Service Temporarily Unavailable)

6GVcY XY8ySL5wDmPdMVCA

Для ЧН версии утилиты не будет. К сожалению, у меня нету времени для дальнейшей работы над программой.

DI9DH2Fei5mnMuB Pnv4EQ

мля, а то уже хочетсо ЧН переделать (((

6GVcY XY8ySL5wDmPdMVCA

пользовался 1.02 круто а для чистого небе такая есть?

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

Извините за ложную тревогу у меня всё теперь идёт пасиб те большое Чилавег уничтоживший свой моск

6GVcY XY8ySL5wDmPdMVCA

Люди а так и должно быть чтоб-чтение параметров больше часа было я уже 2 час жду а он всё чтение параметров

6GVcY XY8ySL5wDmPdMVCA

Люди кто нибудь может скинуть gamedaty мне с файлами которые нужны такие есть в ABC-ЭЮЯ моде но он вылетает Прошу скиньте что-нибудь по типу мне безразлично с чем этот мод будет главное чтоб с нужными файлами для редактирования

6GVcY XY8ySL5wDmPdMVCA

Всем спасиб всё идёт теперь создал свой мод

6GVcY XY8ySL5wDmPdMVCA

ltx файлы можно с помощью блокнота открывать)

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

6GVcY XY8ySL5wDmPdMVCA

UnrealMan thank you!+10

XGRdOEu5sSCcfT2XkUqUdA

+10! Огромное спасибо тебе, Дмитрий!

6GVcY XY8ySL5wDmPdMVCA

Неа. через программу неинтересно. Я уж сижу в блокнотиках и редактирую.

6GVcY XY8ySL5wDmPdMVCA

а продавцов можна както.

6GVcY XY8ySL5wDmPdMVCA

народ помогите у меня не пашет говарит что не распакован ресурс игры

Хорошая и нужная штука.+10

6GVcY XY8ySL5wDmPdMVCA

Друзья,тут ещё такое дело,возможно ещё кто заметил,но когда идёт распаковка gamedata,распаковывается папка configs,а прога просит путь через config,без зловещей S. Удаляешь её и вуаля.

6GVcY XY8ySL5wDmPdMVCA

аааа с*ка каково ето уж слишком ограничиная скорость. 2кб!аааааа!!мля

Источник

Расширение файла LTX

Оглавление

Мы надеемся, что вы найдете на этой странице полезный и ценный ресурс!

1 расширений и 1 псевдонимы, найденных в базе данных

✅ Stalker Properties Data

✅ LaTeX Document

Другие типы файлов могут также использовать расширение файла .ltx.

По данным Поиск на нашем сайте эти опечатки были наиболее распространенными в прошлом году:

Это возможно, что расширение имени файла указано неправильно?

Мы нашли следующие аналогичные расширений файлов в нашей базе данных:

Если дважды щелкнуть файл, чтобы открыть его, Windows проверяет расширение имени файла. Если Windows распознает расширение имени файла, файл открывается в программе, которая связана с этим расширением имени файла. Когда Windows не распознает расширение имени файла, появляется следующее сообщение:

Windows не удается открыть этот файл:

Чтобы открыть этот файл, Windows необходимо знать, какую программу вы хотите использовать для его открытия.

Если вы не знаете как настроить сопоставления файлов .ltx, проверьте FAQ.

🔴 Можно ли изменить расширение файлов?

Изменение имени файла расширение файла не является хорошей идеей. Когда вы меняете расширение файла, вы изменить способ программы на вашем компьютере чтения файла. Проблема заключается в том, что изменение расширения файла не изменяет формат файла.

Если у вас есть полезная информация о расширение файла .ltx, напишите нам!

Источник

Подробный разбор файла actor.ltx

Настройка актёра. Написано by Rekongstor.

И изменим весь блок десятью строчками ниже так:

max_item_mass = 999 ; Стоит указывать значения меньше параметра max_walk_weight (см.выше).
jump_speed = 60 ; Высота прыжка. Не указывайте астрономические значения. Гл. герой всё равно не улетит в космос ))
crouch_coef = 1 ; Скорость ползагия «очень сидя» (Ctrl + Shift по умолчанию)
climb_coef = 2 ; Вроде присев (Ctrl)
run_coef = 3 ; Обычный бег с параметром консоли «g_always_run» равным 1
sprint_koef = 4 ; спринт
run_back_coef = 3 ; бег назад
walk_back_coef = 2 ; ходьба назад с клавишей Shift
air_control_param = 1 ; контроль полёта. Выгоден при высоких значениях jump_speed, т.к. можно быстро перемещаться по карте
walk_accel = 17 ; неизвестный параметр
pickup_info_radius = 5 ;радиус, в котором над предметами выводятся их названия при нажатии клавиши «F».

Далее параметры 3d и т.п. смотрим поэтому дальше.

camera_height_factor = 0.85 ; определяет высоту взгляда. Увеличиваем и игрок станет зрительно выше

disp_base = 0 ;угол (в градусах) разлета пуль, когда актер стоит на месте
disp_aim = 0
disp_vel_factor = 0 ;на сколько увеличится дисперсия при скорости в 10 м/с (не обязательно при беге)
disp_accel_factor = 0 ;еще на сколько увеличится, если актер бежит (+ скорость)
disp_crouch_factor = 0 ;уменьшение если актер сидит
disp_crouch_no_acc_factor = 0 ;уменьшение если актер сидит + no acceleration

Чтобы уменьшить размер прицела можно сделать так.

Дальше увидим секцию [actor_immunities_gd_***] (вместо *** нужный ранг)

burn_immunity = 0.0
strike_immunity = 0.0
shock_immunity = 0.0
wound_immunity = 0.0
radiation_immunity = 0.0
telepatic_immunity = 0.0
chemical_burn_immunity = 0.0
explosion_immunity = 0.0
fire_wound_immunity = 0.0

Дальше видим [actor_condition]

И настройка в лучшую сторону будет таковой:

bleeding_v = 0 ;потеря крови при номинальной ране в секунду
wound_incarnation_v = 1 ;скорость заживления раны
min_wound_size = 0 ;минимальный размер раны, после которого она считается зажившей

min_wound_size,satiety_v,satiety_power,satiety_health,satiety_critical,alcohol_v можно было и не настраивать, если вам нужно бессмертие

Будем настраивать выносливость.

Назодим строку «jump_power»

Меняем так, чтобы игрок никогда не уставал, разве что если нацепит на себя 5 огненных шаров ))

jump_power = 0 ;умешьшение силы с прыжком без учета веса ноши
jump_weight_power = 0 ;умешьшение силы с прыжком с учетом веса ноши, для максимального допустимого веса
overweight_jump_k = 1 ;коэффициент влияние перегрузки прыжок с весом (умножается на jump_weight_power)

stand_power = 0
walk_power = 0 ;умешьшение силы за секнду во время ходьбы без учета веса ноши
walk_weight_power = 0 ;умешьшение силы за секнду во время ходьбы с учетом веса ноши, для максимального допустимого веса
overweight_walk_k = 1 ;коэффициент влияние перегрузки ноши (умножается на walk_weight_power)
accel_k = 1;коэффициент на бег (умножается walk_power, walk_weight_power)
sprint_k = 1 ;коэффициент на «sprint» бег (умножается walk_power, walk_weight_power)

Значения с комментом «коофициент» и значениями более 1 (необязательно) рекомендую менять на 1.

limping_health_begin = 0 ;порог здоровья меньше которого актер начинает хромать
limping_health_end = 0;порог здоровья больше которого актер перестает хромать
limping_power_begin = 0 ;порог силы меньше которого актер начинает хромать
limping_power_end = 0 ;порог силы больше которого актер перестает хромать

cant_walk_power_begin = 0 ;порог силы меньше которого актер не может двигаться
cant_walk_power_end = 0 ;порог силы больше которого актер сможет двигаться

cant_sprint_power_begin = 0 ;порог силы меньше которого актер не может бежать в спринте
cant_sprint_power_end = 0 ;порог силы больше которого актер сможет бежать в спринте

Дальше идут кости, работающие в 3d, и их тоже можно менять, чтобы уменьшить уязвимость, но пока их настройка не столь нужна. Я лишь скажу, что нужно настраивать 1 (первый) параметр. Чем меньше, тем лучше.

Источник

Расширение файла LTX

LaTeX Document

Что такое файл LTX?

Программы, которые поддерживают LTX расширение файла

Ниже вы найдете указатель программ, которые можно использовать для открытия файлов LTX, разделенных на категории 3 в соответствии с поддерживаемой системной платформой. Файлы с суффиксом LTX могут быть скопированы на любое мобильное устройство или системную платформу, но может быть невозможно открыть их должным образом в целевой системе.

Программы, обслуживающие файл LTX

Как открыть файл LTX?

Причин, по которым у вас возникают проблемы с открытием файлов LTX в данной системе, может быть несколько. К счастью, наиболее распространенные проблемы с файлами LTX могут быть решены без глубоких знаний в области ИТ, а главное, за считанные минуты. Мы подготовили список, который поможет вам решить ваши проблемы с файлами LTX.

Шаг 1. Скачайте и установите TeXworks

install softwareНаиболее распространенной причиной таких проблем является отсутствие соответствующих приложений, поддерживающих файлы LTX, установленные в системе. Этот легкий. Выберите TeXworks или одну из рекомендованных программ (например, proTeXt, LaTeX Editor, Texmaker) и загрузите ее из соответствующего источника и установите в своей системе. Выше вы найдете полный список программ, которые поддерживают LTX файлы, классифицированные в соответствии с системными платформами, для которых они доступны. Одним из наиболее безопасных способов загрузки программного обеспечения является использование ссылок официальных дистрибьюторов. Посетите сайт TeXworks и загрузите установщик.

Шаг 2. Убедитесь, что у вас установлена последняя версия TeXworks

update softwareЕсли у вас уже установлен TeXworks в ваших системах и файлы LTX по-прежнему не открываются должным образом, проверьте, установлена ли у вас последняя версия программного обеспечения. Разработчики программного обеспечения могут реализовать поддержку более современных форматов файлов в обновленных версиях своих продуктов. Это может быть одной из причин, по которой LTX файлы не совместимы с TeXworks. Все форматы файлов, которые прекрасно обрабатывались предыдущими версиями данной программы, также должны быть открыты с помощью TeXworks.

Шаг 3. Настройте приложение по умолчанию для открытия LTX файлов на TeXworks

Если у вас установлена последняя версия TeXworks и проблема сохраняется, выберите ее в качестве программы по умолчанию, которая будет использоваться для управления LTX на вашем устройстве. Процесс связывания форматов файлов с приложением по умолчанию может отличаться в деталях в зависимости от платформы, но основная процедура очень похожа.

associate software

Выбор приложения первого выбора в Windows

Выбор приложения первого выбора в Mac OS

Шаг 4. Проверьте LTX на наличие ошибок

Если вы выполнили инструкции из предыдущих шагов, но проблема все еще не решена, вам следует проверить файл LTX, о котором идет речь. Вероятно, файл поврежден и, следовательно, недоступен.

check file

1. Убедитесь, что LTX не заражен компьютерным вирусом

Если LTX действительно заражен, возможно, вредоносное ПО блокирует его открытие. Сканируйте файл LTX и ваш компьютер на наличие вредоносных программ или вирусов. Если файл LTX действительно заражен, следуйте инструкциям ниже.

2. Убедитесь, что структура файла LTX не повреждена

Если вы получили проблемный файл LTX от третьего лица, попросите его предоставить вам еще одну копию. Возможно, файл был ошибочно скопирован, а данные потеряли целостность, что исключает доступ к файлу. При загрузке файла с расширением LTX из Интернета может произойти ошибка, приводящая к неполному файлу. Попробуйте загрузить файл еще раз.

3. Проверьте, есть ли у пользователя, вошедшего в систему, права администратора.

Некоторые файлы требуют повышенных прав доступа для их открытия. Переключитесь на учетную запись с необходимыми привилегиями и попробуйте снова открыть файл LaTeX Document.

4. Проверьте, может ли ваша система обрабатывать TeXworks

Если в системе недостаточно ресурсов для открытия файлов LTX, попробуйте закрыть все запущенные в данный момент приложения и повторите попытку.

5. Проверьте, есть ли у вас последние обновления операционной системы и драйверов

Последние версии программ и драйверов могут помочь вам решить проблемы с файлами LaTeX Document и обеспечить безопасность вашего устройства и операционной системы. Устаревшие драйверы или программное обеспечение могли привести к невозможности использования периферийного устройства, необходимого для обработки файлов LTX.

Вы хотите помочь?

Если у Вас есть дополнительная информация о расширение файла LTX мы будем признательны, если Вы поделитесь ею с пользователями нашего сайта. Воспользуйтесь формуляром, находящимся здесь и отправьте нам свою информацию о файле LTX.

Источник

Stalker-Anomaly-Ltx-Loader 0.3.0

A Lua based solution to change Stalker Anomaly LTX Files on the fly once the game starts.

This Library Collects changes from several 3rd party scriptfiles and applies them once on game start.

Note this is a Pre-Release Version, so things are subject to change until 1.0.0 is done and as such Semantic Versioning (important for Mod Developers only) does not apply yet — this Library is a proof of concept for now

If you have a problem, please copy the output of your Log and create an Issue

Table of Contents

  • Who is this for
    • Mod Users
    • Mod Developers
  • Savegame compatibility
  • Requirements
    • Mod Managers
    • No other mod should overwrite gamedataconfigsscript.ltx
    • LTX specific requirements
  • How to use
    • For Endusers
      • Install
      • Updating other Mods that don’t use the Library
      • Uninstall
        • JSGME or MO2
        • Manual Installation
      • Remove LTX Files
        • Mod Organizer
        • JSGME or Manual Installation
    • For Mod Developers
      • Modify system.ltx specific properties
      • Modify trader ltx specific properties
      • Returning multiple Changesets from a single Scriptfile
      • API Documentation
        • Change
        • Changeset
        • ChangesetCollection
      • Useful Side-Effect for Modders — Autoload Fix for certain Callbacks
  • Roadmap
  • Changelog
  • How it works
  • Donations

Who is this for

Mod Users

As an End-User you only need this Library if a Mod you downloaded actually requires you to install it.

If you have no such mod installed, this Library does nothing and you dont need it.

Mod Developers

Mod Developers who want to make changes to existing LTX files (vanilla or other mods) while being minimally invasive (so no more overwriting entire ltx files just to change a few properties) — thus improving mod cross-compatibility for mods that make use of this Library.

Currently works with LTX Files that are either registered through the system.ltx or on trader files

Mods that edit exactly the same properties of the same section still «conflict», albeit that here simply the last loaded mod wins (at least for now, see Roadmap )

But PLEASE do NOT use this Library to add new items (aka «sections» — for example weapons). Vanilla Anomaly already has this feature since at least 1.5.1 (at least for items)

The comment in vanilla file configsitemsitemsbase.ltx reads as follows:

;; NOTICE FOR MODDERS ;;
; unless you need to edit already existing items, do NOT edit the "items_*" files but make a new one that defines your new items
; eg. "items_mymod.ltx"
; it will be automatically included and won't cause conflict with other mods that add/edit items

Savegame compatibility

  • A new Savegame may be required when installing — depends on what the Mods that make use of this Library do — please consult the Readmes of those or ask the Modauthor
  • A new Savegame may be required when uninstalling — depends on what the Mods that make use of this Library do — please consult the Readmes of those or ask the Modauthor

This Library itself (without having any other Mods installed that make use of it) can be safely added / removed anytime (just follow the Uninstall instructions)

Requirements

In general, when I refer to something like «manual way» or «manual installation» I mean that you copied files manually into the Anomaly Directory without using JSGME or MO2.

Mod Managers

While you can generally use this Library with Manual Installations or JSGME, I do not recommend it due to the complex Uninstall or Troubleshooting process that it may require from you, the user.

Mod Organizer 2 (Version 2.4 and up) is currently the easiest way to handle this (given that you only install Mods via MO2 and not manually aswell)

No other Mod should overwrite gamedataconfigsscript.ltx

The ONLY vanilla file that is being shipped / overriden is gamedataconfigsscript.ltx — this simply has added ONE entry at the very beginning of class_registrators which is autoloader.register

To my knowledge there is no addon for anomaly out there that touches this file (and is rarely touched itself), and there really is no need for any mod to do so currently. As such it is compatible with any other mod currently out there and will not conflict.

LTX specific requirements

If you need to install, remove or update a mod that touches LTX files, you are required to do the following if you have started the Game with my Library and Mods that use my Library at least once

  • Stop the game
  • Follow Remove LTX Files for your use-case (MO2, JSGME or Manual Installation)
  • Install / Remove / Update your mods in question
  • Start the game again — the Library will now create *.backup and *.temp files based on your Installed / Removed / Updated LTX Files

This is required because my Library «copies» the vanilla / modded LTX in question on first startup to *.backup — this backup file will be used on subsequent starts as a baseline for the modifications.

The reason that the Library doesn’t copy the the vanilla / modded LTX each gamestart is that at when you quit the game it writes back the vanilla / modded LTX from *.backup. However the problem arises when the game crashes — now the vanilla / modded LTX is not the «original» anymore but the one modified by the Library, which is why *.backup is used as a basefile.

How to use

For Endusers

Install

Either use a Mod Manager like JSGME or MO2 or install into the Anomaly folder (where the «gamedata» folder resides) like any other addon.

Updating other Mods that don’t use the Library

If you have other Mods installed that do not make use of this Library, it is required that you follow LTX specific requirements when you update those.

This is to ensure that the Modifications this Library makes, is made on the correct ltx file.

Uninstall

JSGME or MO2

Deactivate the Library in your Mod Manager and then follow Remove LTX Files for your use-case

Manual Installation

If you installed mods the manual way, you need to either remove the following files or start with a fresh gamedata folder — whatever you feel more comfortable with.

  1. Remove
    • gamedataconfigsscript.ltx
    • gamedatascriptsconfigChange.lua
    • gamedatascriptsconfigChangeset.lua
    • gamedatascriptsconfigChangesetCollection.lua
    • gamedatascriptsconfigChangesetLoader.lua
    • gamedatascriptsconfigChangeWriter.lua
    • gamedatascriptsconfigFile.lua
    • gamedatascriptsconfigFileLoader.lua
    • gamedatascriptsconfigIni.lua
    • gamedatascriptsautoloader.script
    • gamedatascriptsltx_autoload.script
    • gamedatascriptstrader_autoload.script
  2. Follow the instructions for your case in Remove LTX Files

Remove LTX Files

Mod Organizer

The LTX files will be at the bottom of the load order as part of a mod called Overwrite.

In general among the vanilla file that was modified, there will be two more files with the following pattern (* would be the vanilla filename)

  • *.backup
  • *.temp

If you have not installed mods manually into the Anomaly directory

  • Simply delete the Overwrite mod.

If you have installed mods manually into the Anomaly directory

  • double-click Overwrite to bring up a filelist and manually delete all files with the pattern mentioned above
  • I also recomment deleting the vanilla files you modded in Overwrite and then reinstall the mods you installed manually afterwards

There may be a third file (a cachefile) in there if you use the Anomaly debug mode which can be safely deleted aswell.

JSGME or Manual Installation

You need to manually go to your gamedataconfigs directory and remove the files from there.

  • JSGME: Disable all Mods
  • Remove the files based on the following pattern from your gamedataconfigs directory and all available subdirectories
    1. *.backup
    2. *.temp
    3. Also delete the original file, e.g. if you delete system.backup and system.temp also delete system.ltx
  • JSGME: Re-Enable the Mods
  • Reinstall Mods you added manually to the Anomaly Directory

For Mod Developers

Install the Library like you would any other Mod (follow Install basically)

Notice the examples here are intentionally very verbose — you could just cram everything in the function into one line without using any variables, but that is not really good code (well at least if you try to make use of guidelines from e.g. «Clean Code: A Handbook of Agile Software Craftsmanship» to keep your code easy to read and maintain — hard to read / maintain code is not good code)

If you have problems, the first thing you can do is check the Console (or the logfile in the directory appdatalogs if you quit the game already) — the Library generates Messages that start with LTX-LIBRARY.

Modify system.ltx specific properties

  1. Create a .script file, for example authorname_modname_system_mod.script — the filename needs to end on _system_mod.script
    • you can create as many different files (e.g. for organizational purposes) as you want
  2. Import both Change.lua (see Change) and Changeset.lua (see Changeset) by using require inside the file you just created
local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
  1. Create a new function called registerSystemLtxModifications — this function has no parameters
  2. You now need to create the changes you want to apply, say for example we want to change the switch_distance property of the alife section to 20 and we want to change the property inv_weight of the section bolt to 1
    1. local switchDistance = Change("alife", "switch_distance", 20)
    2. local boltWeight = Change("bolt", "inv_weight", 1)
  3. Now that you created the Change «instances», you need to pass them to an instance of Changeset and return said instance
    1. return Changeset({switchDistance, boltWeight}, "My Unique Changeset Name")
  4. Thats it, the changes will now be applied when you start the game. If you want to check if this file has been loaded you can take a look at the console / logfile — the loaded files (and errors, if there are any) will be shown.

The complete example for authorname_modname_system_mod.script would look like this

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerSystemLtxModifications()
	local switchDistance = Change("alife", "switch_distance", 20)
	local boltWeight = Change("bolt", "inv_weight", 1)
	
	return Changeset({switchDistance, boltWeight}, "My Unique Changeset Name")
end

Modify trader ltx specific properties

  1. Create a .script file, for example authorname_modname_trader_mod.script — the filename needs to end on _trader_mod.script
    • you can create as many different files (e.g. for organizational purposes) as you want
  2. Import both Change.lua (see Change) and Changeset.lua (see Changeset) by using require inside the file you just created
local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
  1. Create a new function called registerTraderLtxModifications — this function has no parameters
  2. You now need to create the changes you want to apply, say for example we want to make Sidorovich sell the Version 2 and 3.1 PDA at the start of the game but not V1
    1. local pdaV1 = Change("supplies_1", "device_pda_1", nil)
    2. local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
    3. local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
  3. Now that you created the Change «instances», you need to pass them to an instance of Changeset with the optional last parameter pointing to the trader file and return said instance.
    1. return Changeset({pdaV1, pdaV2, pdaV3}, "My Unique Trader Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
  4. Thats it, the changes will now be applied when you start a new game (for existing games this only updates when the Trader restocks). If you want to check if this file has been loaded you can take a look at the console / logfile — the loaded files (and errors, if there are any) will be shown.

The complete example for authorname_modname_trader_mod.script would look like this

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerTraderLtxModifications()
	local pdaV1 = Change("supplies_1", "device_pda_1", nil)
	local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
	local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
	
	return Changeset({pdaV1, pdaV2, pdaV3}, "My Unique Trader Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
end

But what if you want to change a file under configsscripts instead? Well simple

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerTraderLtxModifications()
	local someChange = Change("logic@bar_barman", "trade", "items\trade\some_file.ltx") --  if you "trade" with barman he would have no items, because that trade file does not exist in this example
	
	return Changeset({someChange}, "My Unique Trader Changeset Name", "scripts\bar\bar_barman.ltx")
end

Returning multiple Changesets from a single Scriptfile

This can be done by using the ChangesetCollection

Example based on the Trader Files

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
local ChangesetCollection = require "gamedata\scripts\config\ChangesetCollection"

function registerTraderLtxModifications()
	local pdaV1 = Change("supplies_1", "device_pda_1", nil)
	local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
	local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
    
    local ChangesetA = Changeset({pdaV1}, "My Unique Sidorovich Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
    local ChangesetB = Changeset({pdaV2, pdaV3}, "My Unique Barman Changeset Name", "items\trade\bar_barman.ltx")
	
	return ChangesetCollection({ChangesetA, ChangesetB})
end

API Documentation

Change

This «class» takes three required parameters and one optional parameter

  1. section (type: string, required)
  2. property (type: string, required)
  3. value (type: any except function, required)
    • this means you cannot pass a function itself, but you can pass a string like some_scriptname.someScriptFunction (as used by vanilla anomaly in some instances, e.g. for custom item functors etc.)
    • if you pass nil then the property will be removed, pass an empty string if you want the property to be empty.
    • Handle removal with extra care, the inheriting behaviour of sections (e.g. [myitem]:parent) cannot be used at this point, because the system.ltx has already been processed, so if you remove a required property the game crashes even if the property is defined in the «parent» section
  4. optional (type: boolean, optional)
    • if not given, then the Changeset optional setting will override it
    • if true then the change will always be optional (even if the changeset is set to non optional explicitly)
    • if set to false then the change will always be non-optional (even if the changeset is set to optional explicitly)
Changeset

This «class» takes two required parameters and two optional parameters

  1. changes (type: table, required)
    • this should contain a table with one or more Change instances
  2. changesetName (type: string, required)
    • a name that describes the changeset — will currently only be used in logs, but is still required. Try to keep this unique (e.g. something like «Authorname — Modname — XYZ» or something like that)
  3. ltx (type: string, optional)
    • if not given then the changes will be done on the system.ltx (so if you want to make changes that are contained within the system.ltx then this can be kept empty)
    • if given, the changes will be done on the specified ltx file, example items\trade\trade_stalker_sidorovich.ltx
  4. optional (type: boolean, optional)
    • if not given, then the contained Changes will be handled as if they are non-optional (unless a Change specifies otherwise that is)
    • if true then the Changes will be optional by default (unless a Change is explicitly set to false)
    • if false then the Changes will be non-optional by default (unless a Change is explicitly set to true)
ChangesetCollection

This «class» takes one required parameter

  1. changesets (type: table, required)
    • this should be a table containing only Changeset Instances

Useful Side-Effect for Modders — Autoload Fix for certain Callbacks

As you may or may not know, Anomaly has a rudimentary way to «autoload» scriptfiles by adding a function called on_game_start to a custom script file and then using RegisterScriptCallback (see axr_main.script for available callbacks)

While this mostly works, it will NOT work for e.g. the main_menu_on_init callback.

Reason being that on_game_start does not get run when you startup the game itself, but when you start a new game OR load a saved game. At this point main_menu_on_init has already been fired and as such it is impossible to use this callback in the intended way in vanilla anomaly.

You can simply create a new file named something like authorname_mymod_autoload.script (the script just has to end on _autoload.script so you can name it however you want) and contain a function called register.

Inside the register function you can simply register the callback. For Example

authorname_mymod_autoload.script

function main_menu_on_init()
	printf("hello ui init") -- see console output
end

function register()
    RegisterScriptCallback("main_menu_on_init", main_menu_on_init)
end

The reason this works is because the autoloader.script included in gamedataconfigsscript.ltx is being executed on game startup (see How it works for details) and searches for scripts ending on _autoload.script to execute.

A proper fix to the callback System would need to be done in vanilla anomaly (that is not in the scope of this project), but at that point the way the callback system works should probably be refactored aswell.

What do I mean by refactoring? For example if two Authors want to create NEW Callbacks for their Mods (so 3rd parties can extend their mods through the use of callbacks) those two Authors currently have to MANUALLY edit axr_main.script thus having a hard conflict (one of the two mod authors needs to maintain compatibility patches for this file). This of course gets worse the more mod authors want to add their own callbacks.

Changelog

See Changelog here

Roadmap

See Roadmap

How it works

Due to the additional file being «registered» in gamedataconfigsscript.ltx the function register in scriptfile autoloader.script is executed on game start (when entering the main menu, so before loading or starting any game)

The autoloader.script then searches for scripts named *_autoload.script and executes the register function inside them. Currently there are two autoloaders

  • ltx_autoload.script
    • Autoloads all scriptfiles named *_system_mod.script and executes the function registerSystemLtxModifications inside them
    • Currently Ignores the 3rd parameter (which LTX to modify) of any Changeset
  • trader_autoload.script
    • Autoloads all scriptfiles named *_trader_mod.script and executes the function registerTraderLtxModifications inside them
    • Requires a Changeset with the third parameter being defined

Both functions that are called need to return a Changeset, which itself contains at least one or more «instances» of Change.

Basically:

  • Changeset would be similar to a Collection
  • Change would be an Item in a Collection

Both autoloaders ensure that LTX files which are modified will be backed up — said backup will be called *.backup.

When the autoloaders apply the changes, the Backup will be copied to a new file called *.temp — this is the file the changes will be applied to.
This file will be recreated everytime you start the game (to ensure the Changes are always written to the last «known good» vanilla / modded LTX that was backed up)

When the Changesets have been completely applied, the *.temp is saved and THEN will overwrite the original vanilla file.

Finally both autoloaders clear the ini cache and reload the system.ini

When you quit the game, the original LTX files will be restored from *.backup — the *.temp files remain as is (but get overwritten anyway on subsequent game starts)

Donations

Please check my Donations Repository for options to donate

Stalker-Anomaly-Ltx-Loader 0.3.0

A Lua based solution to change Stalker Anomaly LTX Files on the fly once the game starts.

This Library Collects changes from several 3rd party scriptfiles and applies them once on game start.

Note this is a Pre-Release Version, so things are subject to change until 1.0.0 is done and as such Semantic Versioning (important for Mod Developers only) does not apply yet — this Library is a proof of concept for now

If you have a problem, please copy the output of your Log and create an Issue

Table of Contents

  • Who is this for
    • Mod Users
    • Mod Developers
  • Savegame compatibility
  • Requirements
    • Mod Managers
    • No other mod should overwrite gamedataconfigsscript.ltx
    • LTX specific requirements
  • How to use
    • For Endusers
      • Install
      • Updating other Mods that don’t use the Library
      • Uninstall
        • JSGME or MO2
        • Manual Installation
      • Remove LTX Files
        • Mod Organizer
        • JSGME or Manual Installation
    • For Mod Developers
      • Modify system.ltx specific properties
      • Modify trader ltx specific properties
      • Returning multiple Changesets from a single Scriptfile
      • API Documentation
        • Change
        • Changeset
        • ChangesetCollection
      • Useful Side-Effect for Modders — Autoload Fix for certain Callbacks
  • Roadmap
  • Changelog
  • How it works
  • Donations

Who is this for

Mod Users

As an End-User you only need this Library if a Mod you downloaded actually requires you to install it.

If you have no such mod installed, this Library does nothing and you dont need it.

Mod Developers

Mod Developers who want to make changes to existing LTX files (vanilla or other mods) while being minimally invasive (so no more overwriting entire ltx files just to change a few properties) — thus improving mod cross-compatibility for mods that make use of this Library.

Currently works with LTX Files that are either registered through the system.ltx or on trader files

Mods that edit exactly the same properties of the same section still «conflict», albeit that here simply the last loaded mod wins (at least for now, see Roadmap )

But PLEASE do NOT use this Library to add new items (aka «sections» — for example weapons). Vanilla Anomaly already has this feature since at least 1.5.1 (at least for items)

The comment in vanilla file configsitemsitemsbase.ltx reads as follows:

;; NOTICE FOR MODDERS ;;
; unless you need to edit already existing items, do NOT edit the "items_*" files but make a new one that defines your new items
; eg. "items_mymod.ltx"
; it will be automatically included and won't cause conflict with other mods that add/edit items

Savegame compatibility

  • A new Savegame may be required when installing — depends on what the Mods that make use of this Library do — please consult the Readmes of those or ask the Modauthor
  • A new Savegame may be required when uninstalling — depends on what the Mods that make use of this Library do — please consult the Readmes of those or ask the Modauthor

This Library itself (without having any other Mods installed that make use of it) can be safely added / removed anytime (just follow the Uninstall instructions)

Requirements

In general, when I refer to something like «manual way» or «manual installation» I mean that you copied files manually into the Anomaly Directory without using JSGME or MO2.

Mod Managers

While you can generally use this Library with Manual Installations or JSGME, I do not recommend it due to the complex Uninstall or Troubleshooting process that it may require from you, the user.

Mod Organizer 2 (Version 2.4 and up) is currently the easiest way to handle this (given that you only install Mods via MO2 and not manually aswell)

No other Mod should overwrite gamedataconfigsscript.ltx

The ONLY vanilla file that is being shipped / overriden is gamedataconfigsscript.ltx — this simply has added ONE entry at the very beginning of class_registrators which is autoloader.register

To my knowledge there is no addon for anomaly out there that touches this file (and is rarely touched itself), and there really is no need for any mod to do so currently. As such it is compatible with any other mod currently out there and will not conflict.

LTX specific requirements

If you need to install, remove or update a mod that touches LTX files, you are required to do the following if you have started the Game with my Library and Mods that use my Library at least once

  • Stop the game
  • Follow Remove LTX Files for your use-case (MO2, JSGME or Manual Installation)
  • Install / Remove / Update your mods in question
  • Start the game again — the Library will now create *.backup and *.temp files based on your Installed / Removed / Updated LTX Files

This is required because my Library «copies» the vanilla / modded LTX in question on first startup to *.backup — this backup file will be used on subsequent starts as a baseline for the modifications.

The reason that the Library doesn’t copy the the vanilla / modded LTX each gamestart is that at when you quit the game it writes back the vanilla / modded LTX from *.backup. However the problem arises when the game crashes — now the vanilla / modded LTX is not the «original» anymore but the one modified by the Library, which is why *.backup is used as a basefile.

How to use

For Endusers

Install

Either use a Mod Manager like JSGME or MO2 or install into the Anomaly folder (where the «gamedata» folder resides) like any other addon.

Updating other Mods that don’t use the Library

If you have other Mods installed that do not make use of this Library, it is required that you follow LTX specific requirements when you update those.

This is to ensure that the Modifications this Library makes, is made on the correct ltx file.

Uninstall

JSGME or MO2

Deactivate the Library in your Mod Manager and then follow Remove LTX Files for your use-case

Manual Installation

If you installed mods the manual way, you need to either remove the following files or start with a fresh gamedata folder — whatever you feel more comfortable with.

  1. Remove
    • gamedataconfigsscript.ltx
    • gamedatascriptsconfigChange.lua
    • gamedatascriptsconfigChangeset.lua
    • gamedatascriptsconfigChangesetCollection.lua
    • gamedatascriptsconfigChangesetLoader.lua
    • gamedatascriptsconfigChangeWriter.lua
    • gamedatascriptsconfigFile.lua
    • gamedatascriptsconfigFileLoader.lua
    • gamedatascriptsconfigIni.lua
    • gamedatascriptsautoloader.script
    • gamedatascriptsltx_autoload.script
    • gamedatascriptstrader_autoload.script
  2. Follow the instructions for your case in Remove LTX Files

Remove LTX Files

Mod Organizer

The LTX files will be at the bottom of the load order as part of a mod called Overwrite.

In general among the vanilla file that was modified, there will be two more files with the following pattern (* would be the vanilla filename)

  • *.backup
  • *.temp

If you have not installed mods manually into the Anomaly directory

  • Simply delete the Overwrite mod.

If you have installed mods manually into the Anomaly directory

  • double-click Overwrite to bring up a filelist and manually delete all files with the pattern mentioned above
  • I also recomment deleting the vanilla files you modded in Overwrite and then reinstall the mods you installed manually afterwards

There may be a third file (a cachefile) in there if you use the Anomaly debug mode which can be safely deleted aswell.

JSGME or Manual Installation

You need to manually go to your gamedataconfigs directory and remove the files from there.

  • JSGME: Disable all Mods
  • Remove the files based on the following pattern from your gamedataconfigs directory and all available subdirectories
    1. *.backup
    2. *.temp
    3. Also delete the original file, e.g. if you delete system.backup and system.temp also delete system.ltx
  • JSGME: Re-Enable the Mods
  • Reinstall Mods you added manually to the Anomaly Directory

For Mod Developers

Install the Library like you would any other Mod (follow Install basically)

Notice the examples here are intentionally very verbose — you could just cram everything in the function into one line without using any variables, but that is not really good code (well at least if you try to make use of guidelines from e.g. «Clean Code: A Handbook of Agile Software Craftsmanship» to keep your code easy to read and maintain — hard to read / maintain code is not good code)

If you have problems, the first thing you can do is check the Console (or the logfile in the directory appdatalogs if you quit the game already) — the Library generates Messages that start with LTX-LIBRARY.

Modify system.ltx specific properties

  1. Create a .script file, for example authorname_modname_system_mod.script — the filename needs to end on _system_mod.script
    • you can create as many different files (e.g. for organizational purposes) as you want
  2. Import both Change.lua (see Change) and Changeset.lua (see Changeset) by using require inside the file you just created
local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
  1. Create a new function called registerSystemLtxModifications — this function has no parameters
  2. You now need to create the changes you want to apply, say for example we want to change the switch_distance property of the alife section to 20 and we want to change the property inv_weight of the section bolt to 1
    1. local switchDistance = Change("alife", "switch_distance", 20)
    2. local boltWeight = Change("bolt", "inv_weight", 1)
  3. Now that you created the Change «instances», you need to pass them to an instance of Changeset and return said instance
    1. return Changeset({switchDistance, boltWeight}, "My Unique Changeset Name")
  4. Thats it, the changes will now be applied when you start the game. If you want to check if this file has been loaded you can take a look at the console / logfile — the loaded files (and errors, if there are any) will be shown.

The complete example for authorname_modname_system_mod.script would look like this

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerSystemLtxModifications()
	local switchDistance = Change("alife", "switch_distance", 20)
	local boltWeight = Change("bolt", "inv_weight", 1)
	
	return Changeset({switchDistance, boltWeight}, "My Unique Changeset Name")
end

Modify trader ltx specific properties

  1. Create a .script file, for example authorname_modname_trader_mod.script — the filename needs to end on _trader_mod.script
    • you can create as many different files (e.g. for organizational purposes) as you want
  2. Import both Change.lua (see Change) and Changeset.lua (see Changeset) by using require inside the file you just created
local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
  1. Create a new function called registerTraderLtxModifications — this function has no parameters
  2. You now need to create the changes you want to apply, say for example we want to make Sidorovich sell the Version 2 and 3.1 PDA at the start of the game but not V1
    1. local pdaV1 = Change("supplies_1", "device_pda_1", nil)
    2. local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
    3. local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
  3. Now that you created the Change «instances», you need to pass them to an instance of Changeset with the optional last parameter pointing to the trader file and return said instance.
    1. return Changeset({pdaV1, pdaV2, pdaV3}, "My Unique Trader Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
  4. Thats it, the changes will now be applied when you start a new game (for existing games this only updates when the Trader restocks). If you want to check if this file has been loaded you can take a look at the console / logfile — the loaded files (and errors, if there are any) will be shown.

The complete example for authorname_modname_trader_mod.script would look like this

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerTraderLtxModifications()
	local pdaV1 = Change("supplies_1", "device_pda_1", nil)
	local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
	local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
	
	return Changeset({pdaV1, pdaV2, pdaV3}, "My Unique Trader Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
end

But what if you want to change a file under configsscripts instead? Well simple

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"

function registerTraderLtxModifications()
	local someChange = Change("logic@bar_barman", "trade", "items\trade\some_file.ltx") --  if you "trade" with barman he would have no items, because that trade file does not exist in this example
	
	return Changeset({someChange}, "My Unique Trader Changeset Name", "scripts\bar\bar_barman.ltx")
end

Returning multiple Changesets from a single Scriptfile

This can be done by using the ChangesetCollection

Example based on the Trader Files

local Change = require "gamedata\scripts\config\Change"
local Changeset = require "gamedata\scripts\config\Changeset"
local ChangesetCollection = require "gamedata\scripts\config\ChangesetCollection"

function registerTraderLtxModifications()
	local pdaV1 = Change("supplies_1", "device_pda_1", nil)
	local pdaV2 = Change("supplies_1", "device_pda_2", "1, 1")
	local pdaV3 = Change("supplies_1", "device_pda_3", "1, 1")
    
    local ChangesetA = Changeset({pdaV1}, "My Unique Sidorovich Changeset Name", "items\trade\trade_stalker_sidorovich.ltx")
    local ChangesetB = Changeset({pdaV2, pdaV3}, "My Unique Barman Changeset Name", "items\trade\bar_barman.ltx")
	
	return ChangesetCollection({ChangesetA, ChangesetB})
end

API Documentation

Change

This «class» takes three required parameters and one optional parameter

  1. section (type: string, required)
  2. property (type: string, required)
  3. value (type: any except function, required)
    • this means you cannot pass a function itself, but you can pass a string like some_scriptname.someScriptFunction (as used by vanilla anomaly in some instances, e.g. for custom item functors etc.)
    • if you pass nil then the property will be removed, pass an empty string if you want the property to be empty.
    • Handle removal with extra care, the inheriting behaviour of sections (e.g. [myitem]:parent) cannot be used at this point, because the system.ltx has already been processed, so if you remove a required property the game crashes even if the property is defined in the «parent» section
  4. optional (type: boolean, optional)
    • if not given, then the Changeset optional setting will override it
    • if true then the change will always be optional (even if the changeset is set to non optional explicitly)
    • if set to false then the change will always be non-optional (even if the changeset is set to optional explicitly)
Changeset

This «class» takes two required parameters and two optional parameters

  1. changes (type: table, required)
    • this should contain a table with one or more Change instances
  2. changesetName (type: string, required)
    • a name that describes the changeset — will currently only be used in logs, but is still required. Try to keep this unique (e.g. something like «Authorname — Modname — XYZ» or something like that)
  3. ltx (type: string, optional)
    • if not given then the changes will be done on the system.ltx (so if you want to make changes that are contained within the system.ltx then this can be kept empty)
    • if given, the changes will be done on the specified ltx file, example items\trade\trade_stalker_sidorovich.ltx
  4. optional (type: boolean, optional)
    • if not given, then the contained Changes will be handled as if they are non-optional (unless a Change specifies otherwise that is)
    • if true then the Changes will be optional by default (unless a Change is explicitly set to false)
    • if false then the Changes will be non-optional by default (unless a Change is explicitly set to true)
ChangesetCollection

This «class» takes one required parameter

  1. changesets (type: table, required)
    • this should be a table containing only Changeset Instances

Useful Side-Effect for Modders — Autoload Fix for certain Callbacks

As you may or may not know, Anomaly has a rudimentary way to «autoload» scriptfiles by adding a function called on_game_start to a custom script file and then using RegisterScriptCallback (see axr_main.script for available callbacks)

While this mostly works, it will NOT work for e.g. the main_menu_on_init callback.

Reason being that on_game_start does not get run when you startup the game itself, but when you start a new game OR load a saved game. At this point main_menu_on_init has already been fired and as such it is impossible to use this callback in the intended way in vanilla anomaly.

You can simply create a new file named something like authorname_mymod_autoload.script (the script just has to end on _autoload.script so you can name it however you want) and contain a function called register.

Inside the register function you can simply register the callback. For Example

authorname_mymod_autoload.script

function main_menu_on_init()
	printf("hello ui init") -- see console output
end

function register()
    RegisterScriptCallback("main_menu_on_init", main_menu_on_init)
end

The reason this works is because the autoloader.script included in gamedataconfigsscript.ltx is being executed on game startup (see How it works for details) and searches for scripts ending on _autoload.script to execute.

A proper fix to the callback System would need to be done in vanilla anomaly (that is not in the scope of this project), but at that point the way the callback system works should probably be refactored aswell.

What do I mean by refactoring? For example if two Authors want to create NEW Callbacks for their Mods (so 3rd parties can extend their mods through the use of callbacks) those two Authors currently have to MANUALLY edit axr_main.script thus having a hard conflict (one of the two mod authors needs to maintain compatibility patches for this file). This of course gets worse the more mod authors want to add their own callbacks.

Changelog

See Changelog here

Roadmap

See Roadmap

How it works

Due to the additional file being «registered» in gamedataconfigsscript.ltx the function register in scriptfile autoloader.script is executed on game start (when entering the main menu, so before loading or starting any game)

The autoloader.script then searches for scripts named *_autoload.script and executes the register function inside them. Currently there are two autoloaders

  • ltx_autoload.script
    • Autoloads all scriptfiles named *_system_mod.script and executes the function registerSystemLtxModifications inside them
    • Currently Ignores the 3rd parameter (which LTX to modify) of any Changeset
  • trader_autoload.script
    • Autoloads all scriptfiles named *_trader_mod.script and executes the function registerTraderLtxModifications inside them
    • Requires a Changeset with the third parameter being defined

Both functions that are called need to return a Changeset, which itself contains at least one or more «instances» of Change.

Basically:

  • Changeset would be similar to a Collection
  • Change would be an Item in a Collection

Both autoloaders ensure that LTX files which are modified will be backed up — said backup will be called *.backup.

When the autoloaders apply the changes, the Backup will be copied to a new file called *.temp — this is the file the changes will be applied to.
This file will be recreated everytime you start the game (to ensure the Changes are always written to the last «known good» vanilla / modded LTX that was backed up)

When the Changesets have been completely applied, the *.temp is saved and THEN will overwrite the original vanilla file.

Finally both autoloaders clear the ini cache and reload the system.ini

When you quit the game, the original LTX files will be restored from *.backup — the *.temp files remain as is (but get overwritten anyway on subsequent game starts)

Donations

Please check my Donations Repository for options to donate

Понравилась статья? Поделить с друзьями:
  • Mafss initialization error роял квест
  • Ltvse ошибка получения плейлиста что делать
  • Mafia2 exe application error
  • Ltf 11m121 ошибка 15
  • Mafia the city of lost heaven error 4214 unsupported