OpenUtau icon indicating copy to clipboard operation
OpenUtau copied to clipboard

Support for install.txt and Plugin Installation

Open maiko3tattun opened this issue 3 months ago • 3 comments

Development Background

It is common practice to include an install.txt file (http://utau2008.blog47.fc2.com/blog-entry-379.html) in voice bank and plugin ZIP archives. By consulting install.txt, the installation process should branch based on whether the files should be installed as a voice bank or as a plugin.

Changes

  • Rename VoicebankInstaller.cs to ZipInstaller.cs
  • When install.txt contains type=editplugin, it installs as a plugin.
  • When install.txt contains folder=, sets the plugin installation folder to the specified folder name (voice banks not yet supported).
  • When install.txt contains contentsdir=, only the specified folder within the zip file is copied (voice banks not yet supported).
  • When install.txt contains description=, it is displayed during installation.
  • A dialog is displayed if the destination folder already exists.

Translation memo

ファイルの利用規約に同意する場合は次へを押してください。 "{0}" を{1}としてインストールします。 インストール先フォルダ "{0}" が既に存在します。既存のデータとインストールデータは統合されます。

maiko3tattun avatar Oct 05 '25 13:10 maiko3tattun

Please do not mix them up. If a component needs to be shared, it should be made a shared component.

stakira avatar Nov 06 '25 05:11 stakira

If a component needs to be shared, it should be made a shared component.

Sorry, could you explain this a bit more specifically? In the original UTAU, voicebanks and plugins are distributed using a common format. Should I prepare separate views for the voicebank and plugin, extract the zip file when it's dragged and dropped, and then determine which view to pop up?

maiko3tattun avatar Nov 06 '25 13:11 maiko3tattun

What should I do if a plugin zip is selected in the Singer installation dialog? Currently it is mistakenly identified as Singer and installed.

maiko3tattun avatar Nov 06 '25 13:11 maiko3tattun