Winmerge как установить плагин

Winmerge как установить плагин

WinMerge plugins are custom dlls or scriptlets, written in the COM API, that preprocess data before a comparison. For example, you can use a plugin to extract text data from MS Word files for WinMerge to compare.

A single dll or a scriptlet ( sct ) file

Installed in the MergePlugins subfolder. A number of plugins can be installed for you by WinMerge.

1. Plugin Types

Plugins are grouped into three main categories:

This type of plugin performs custom operations on selected text in the active editor (File pane) of the File Compare window.

Unpacker: transform a file to a text format

This type of plugin transforms a compressed file to a viewable format by decompressing it. The original file is not changed: a temporary transformed file is created and loaded in WinMerge.

Unpacker plugins operate on entire files, not to selected text or diffs within files. Therefore, they are available only when you launch file comparisons, from either the Folder Compare window or the Select Files or Folders dialog. Unpacker plugins are not available in the File Compare window.

Sometimes the unpacked file can be repacked (see the details in Available plugins to check whether a plugin supports repacking). Then, you can merge and save the transformed file. The packing is done automatically in this case. To be safe, we suggest that you rename the transformed file when you save it.

When you compare folders, WinMerge can give different results for compressed and uncompressed files. For example, files that are identical when uncompressed might be different if they include the creation date. WinMerge applies the unpacker in all situations, and you are sure to have the same result when you compare a folder, or when you merge two versions of a file.

Example plugin: CompareMSExcelFiles.sct Displays the text contents of a Microsoft ® Excel file.

Prediffer: preprocess files to hide some differences

This type of plugin does not operate on the source files displayed in the Compare window. It operates instead on temporary copies of the files, and the copies are then scanned to create the difference list.

Example plugin: IgnoreColumns.dll ignores the differences inside specified columns, while displaying the characters in these columns.

2. Suggested plugins and automatic modes

How is WinMerge able to apply the right plugin for a given file? Each plugin specifies a list of file extensions (also listed in each plugin’s Available plugins section, under File filter). The extensions are used to associate one or more file types with the plugin: when a compared file’s extension matches an extension in the plugin’s list, the plugin is considered to be a suggested plugin.

Читайте также:  Как установить мультисайт на wordpress

There are separate WinMerge options for the unpacking and prediffer types, described later in this topic, that enable you to apply the plugins either manually or automatically. There is no automatic mode for editor complement plugins.

When you apply plugins to a selected file using automatic mode, WinMerge searches its list of suggested plugins for that file type, and applies the first plugin whose name matches. The search is performed in alphabetical order, so if there are multiple suggested plugins for a file type, only the first one found is applied.

3. Applying plugins

The following subsections describe how to apply each type of plugin. The methods are different for each type of plugin, and also vary depending on whether you are comparing folders or files.

3.1. Applying editor complement plugins in the File Compare window

With your cursor in either File pane of the File Compare window, click Plugins → Scripts and choose one of these functions:

Источник

Если надо сравнить тексты или код, Winmerge то, что вам надо

WinMerge – утилита для операционных систем семейства Windows, предназначенная для сравнения и объединения файлов и папок. Эта утилита имеет встроенный текстовый редактор, поддерживающий различные языки программирования, а также имеющий возможность подсвечивать фрагменты кода и нумеровать его строки.

Что это за программа?

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

Окно режима сравнения показывает два выбранных файла в виде разделенного экрана (коммандера). Слева от открытых для сопоставления файлов имеется меню «Местоположения», в котором мы можем видеть «карту» просматриваемых файлов. Строки, имеющие различия, подсвечиваются желтым цветом.

Посмотреть все отличия файлов можно в меню «Отличия». Также имеется меню «Объединение», предлагающая различные опции слияния рассматриваемых файлов.

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

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

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

К минусам рассматриваемой программы можно отнести отсутствие режимов рассмотрения содержания трех и более файлов или папок одновременно.

Скачать и установить

Для скачивания доступна обычная версия на русском и portable.

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

Читайте также:  Как установить программу через терминал debian

Аналоги

Альтернативами WinMerge в области сравнения файлов и каталогов для Windows являются такие приложения как SmartSynchronize, Meld, Diffuse, Perforce P4 Merge.

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

Источник

Please log in or register

To enjoy the benefits of Nexus Mods, please log in or register a new account

WinMerge Plugins for TES-FO-TW3 Modders

File information

Last updated

Original upload

Created by

Uploaded by

Virus scan

Tags for this mod

About this mod

This is a compilation of WinMerger plugins that might be useful for TES/FO/TW3 modders.
Basically, this plugin converts some binary files into text so that they can be compared visually.
You can re-save WinMerge edits for some file formats.

Off-site requirements

Credits and distribution permission

Author notes

Plugin files (.sct) follow WinMerge GPL v2.0 license, but command line tools are excluded.
Plugin files (.sct) may be used freely within the scope of the GPL v2.0 license.
Do not upload command line tools (.exe and accompanying files) to other sites.

File credits

This author has not credited anyone else in this file

Donation Points system

This mod is opted-in to receive Donation Points

Version 1.5

Version 1.4

Version 1.3

Version 1.2

Version 1.0

Comments are not accepted on this page. Please comment on the Skyrim page : https://www.nexusmods.com/skyrim/mods/98565?tab=posts

This is a compilation of WinMerger plugins that might be useful for TES/FO/TW3 modders.
I’m using WinMerge every day (perhaps more than xEdit or CK), but very inconvenient that mods files were simply binary compared, so I made this.
Basically, this plugin converts some binary files into text so that they can be compared visually.
You can re-save WinMerge edits for some file formats.

For comparing Skyrim/Skyrim SE Papyrus script:
Champollion a PEX to Papyrus decompiler by li1nx

For comparing Fallout 4 Papyrus script:
Champollion a PEX to Papyrus decompiler by Orvid

For comparing The Witcher 3 strings:
w3strings encoder by rmemr

For comparing each file in BSA/BA2 archive:
BSArch by zilav

For comparing ENB/Bethesda games ini files:
Ini sort tool by icepanther, v1.1.1 or later

For comparing and editing Bethesda plugins (TES5/SSE) with XML format:
Bethesda Toolkit by ForsakenNomad, v0.6 or later

Copy the «MergePlugins» folder in the downloaded archive to the WinMerge installation folder.

*** Bml_BethBSAList.sct ***

Supported games : TES4, TES5, SSE, FO3, FNV, FO4, FO76 (Hopefully, not tested)

Listing the files and various information contained in TES/FO archives (.bsa/.ba2).
(v1.1) Now you can compare each file in BSA/BA2 archive. Check the new option in the plugin options dialog.

*** Bml_BethPapyrusDecomp.sct ***

Supported games : TES5, SSE, FO4, FO76 (Hopefully, not tested)

You can decompile and compare Papyrus scripts (.pex) with Champollion decompiler.
The Plugin determine the game version of Pex and call the appropriate decompiler automatically.
(v1.2) Now you can sort and organize decompiled source code, which will be useful for comparing source code by proper code order.

Required «Champollion a PEX to Papyrus decompiler». Set the tool path in the plugin options.
— For Skyrim/Skyrim SE : Champollion a PEX to Papyrus decompiler by li1nx
— For Fallout 4 : Champollion a PEX to Papyrus decompiler by Orvid

Читайте также:  Как установить ватсап на ipad без телефона

*** (v1.2) Bml_BethPapyrusSorter.sct ***

Supported games : TES5, SSE, FO4, FO76 (Hopefully, not tested)

You can sort and organize Papyrus source code (.psc), which will be useful for comparing source code by proper code order.

*** Bml_BethSEQ.sct ***

Supported games : TES5, SSE

You can decode TES5 SEQ files (.seq) to compare the content by text.
You can re-save the contents edited with WinMerge to SEQ files.

*** Bml_BethStrings.sct ***

Supported games : TES5, SSE, FO4, FO76 (Hopefully, not tested)

You can decode TES/FO strings files (.strings/.dlstrings/.ilstrings) to compare the content by text.
You can re-save the contents edited with WinMerge to strings files.
Supports multilingual strings. It automatically determines UTF-8, otherwise it determines the local code page from the language name in the file name. If it still can not be determined, the default code page of the plugin option will be assumed.

*** Bml_TW3Strings.sct ***

Supported games : TW3

You can decode The Witcher 3 strings files (.w3strings) to compare the content by text.
Required w3strings encoder by rmemr.
Set the tool path in the plugin options.

*** (v1.3) Bml_BethIniFile.sct ***

Supported games/programs : ENB, TES5, SSE, and hopefully TES3, TES4, FO3, FNV, FO4, FO76, TESConstuctionSet, GECK, CreationKit

You can removing comments and sort ini files, which will be useful for comparing ENB/Bethesda games ini files.
Required Ini sort tool by icepanther.
Set the tool path in the plugin options.

*** (v1.4) Bml_BethToolkit.sct ***

Supported games/programs : TES5, SSE

You can comparing and editing Bethesda plugins (TES5/SSE) with XML format.
Required Bethesda Toolkit by ForsakenNomad.
Set the tool path in the plugin options. And to compare non-English plugins, you need to set the code pages properly in the plugin options.
Please read the Bethesda Toolkit description carefully.

«BmlTools» folder contains command line tools that are called from the plugins. You can use these commands from a command prompt or batch file. Please refer to the text file contained there for usage.

(1) The implementation method is very poor. Since I couldn’t create a COM that can be recognized by WinMerge in C#, so I used a method to call a command line tool from VBScript. Because of this, the process of the command line tool may remain when WinMerge crashes.

(2) WinMerge sometimes crash for some reasons other than plugins, but I couldn’t identify the cause. Just restart WinMerge.

License:
— Plugin files (.sct) follow WinMerge GPL v2.0 license, but command line tools are excluded.
— Plugin files (.sct) may be used freely within the scope of the GPL v2.0 license.
— Do not upload command line tools (.exe and accompanying files) to other sites.

Development Tools:
— Microsoft Visual Studio 2015
— WinMerge
— GIMP 2

The following mods are used for the example of comparison of Bsa and Pex. Many thanks!
— Unofficial Skyrim Special Edition Patch by Arthmoor and Unofficial Patch Project Team
— Unofficial Fallout 4 Patch by Arthmoor and Unofficial Patch Project Team
— Sim Settlements by kinggath

Источник

Поделиться с друзьями
Adblock
detector