Installing UTAU on Windows 7 With AppLocale

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Hey~! This page is informative~! The content of this page may be of interest to readers, contributors and visitors.

The goal of this article is to describe how to install UTAU on a non-japanese Windows Seven computer, and also without changing the locale to Japanese, using Microsoft's AppLocale. As this is a bit tricky, I thought I could share my experience.

Contents

Installing Without AppLocale (windows 7 & 8)

Get Utau from here, http://utau2008.xrea.jp/, and before you run the installation open start menu, go to the Control panel, look for 'Region and Language' and double click on it. Then go to the 'Administrative' tab, next click on 'Change system locale' and choose Japanese. Lastly restart your laptop and or computer and install Utau. Note- this will not change the system language but enable you to run japanese programs now with no trouble, and without AppLocale, although unless you can read Japanese you arent done, you should scroll down this page and read how to change it's gui into english.

Installing AppLocale

First, install AppLocale: it can be found on http://www.microsoft.com/downloads/en/default.aspx. On this page, search for AppLocale.Select the most recent version: you get a 1,391,104 bytes file named "apploc.msi".Installing it on Windows 7 is tricky and produces an error like this:

In the list, right click the "cmd" icon, and select "run as administrator"

In the DOS command, copy the apploc.msi file into c:\, e.g. with "copy f:\program\apploc.msi c:\"

In the DOS command, type "cd" then "c:\"

In the DOS command, enter "appLoc.msi" to run the AppLocale installer.

Once this is done you may delete the "appLoc.msi" file in c:\, because it is no longer needed: "del appLoc.msi"

That's it, you may now close the DOS command window.

Installing AppLocale (Windows 8)

The overall proccess is the smae of the Windows 7, however, trying to run "cmd" will not allow you to copy the file, saying the "file is not found". However there is an alternative (and easier) way to make it run in Windows 8. First download the "apploc.msi" file, then go to where it is located (e.g "Downloads") and "right click on the file>properties>compatibility>run solution problems of compatiblity". A new window will pop-up, looking like the one to solve Wi-Fi signal problems. Windows will detect the problem. After a few minutes (or seconds), Windows will say "Compatiblity mode: Ignore version verification". Then click on test program and it will pop-up the AppLocale installation screen. Now, just install it normally.

NOTE: My PC is set to Brazilian Portuguese, so some of the commands I stated may be different in english, but with similar names to these ones. A review is needed.

Installing UTAU

Now, get UTAU from http://utau2008.xrea.jp/.If you never installed UTAU, get the Installer version "v0.2.76 インストーラ", because it will also install the VisualBasic 6 runtime on your computer. For an update, you may get the ZIP version "v0.2.76 zipアーカイブ" instead. In our case, i.e. installing UTAU on a Windows 7 computer without changing its locale to Japanese, we will need both these files.You get two files, utau0276inst.exe (3,106,816 bytes) and utau0276.zip (1,074,635 bytes).

As it is not a Unicode program, we will launch the UTAU installer through AppLocale:

It is better to install Utau outside of "Program Files", because this directory is protected by Windows, and this somewhat conflicts with Utau wanting to put its own configuration files. Use e.g. "c:\Tools\Utau" instead.

Select "All users" like in the image below, or "Just me" in the radio button selection at the bottom of the screen.

Click "次へ" = "Next".

The panel says "Installer will now install UTAU on your computer"...

Click "次へ" = "Next".

A screen is displayed with a progress bar. When done, there is a new shortcut on the desktop.

There could be a Windows 7 warning: "This program could require administrator privileges". Select "This program is working". We are now done with the installation.

First-time running UTAU

Launch the new UTAU desktop shortcut: it doesn't work and displays gibberish.

Note how the menu entries are badly displayed. In fact, we need to launch UTAU through AppLocale:

Decompress this file somewhere: you get a "res" directory containing a dozen or so of TXT files with strange filenames.

Copy or move this "res" directory just under UTAU's installation directory, where this directory does not exist yet, e.g. in "C:\Tools\Utau\res", like this:

Reopen UTAU through its desktop icon. If everything is OK, you now have english menus:

These translation TXT files are in Unicode; you may edit them with a Unicode-compatible editor like e.g. Notepad++ (http://notepad-plus-plus.org/) if you want.

Fixing Defoko

Let's take care now of the error message that appears when launching UTAU.Open the "UTAU\voice\uta" directory: here are a lot of WAV files, and we can see that their filename has been botched during the installation.

Remove all the *.wav files, because they are useless, but KEEP the *_wav.frq files also located in thesame directory.

Decompress utau0276.zip somewhere.

From the decompressed "voice\uta" directory, copy mkdefo.exe and aquestalk.dll into "UTAU\voice\uta".

Launch mkdefo.exe with AppLocale.

This time AppLocale doesn't find the locale to use: force it to be Japanese (日本語).

Also, there is no need to create a shortcut this time.

When this is done, we now have *.WAV files with proper (japanese) filenames.

Can't play UST file yet

However, when you load a UST file, no sound can be heard: a DOS box appears for a brief time, and we can glimpse "File load error" displayed in it. We can also see (if we are fast enough) that it executes in "C:\Users\<user name>\AppData\Local\Temp\utau1".

Keep UTAU opened, and let's have a look at this directory. (If UTAU is closed, this temp directory is emptied).

We can see in the "call %helper%" line, and the line just before, that we are trying to use an invalid WAV filename: although UTAU runs in Japanese through AppLocale, this is not true for this helper BAT file it uses when creating the sound files. Thus, the BAT files try to use japanese filenames while they are running in the current, non-japanese, locale.

To get rid of this problem, open UTAU, then "Tools" -> "Options" -> "General" tab.In it, select "use resampler.dll for rendering".

With this, UTAU doesn't use BAT files any more, but a DLL instead: as it it executed within the context of the UTAU application, it inherits its japanese locale and can properly manage japanese files: you can see the generated temporary WAV files in "C:\Users\<user name>\AppData\Local\Temp\utau1\temp.cache".

That's it, you can now play a UST file.

Additional step for non-English Windows Users

HOWEVER !!!! If, like mine, your computer does not run an English version of Windows, UTAU may still be unable to play at this point. If this is the case for you, there is still another step to do.

Carefully examine the "call %helper%" line: the floating-point values "120.00" "0,0" "0,0" are written here with a comma "120,00" instead of a dot. This is because my (non-english) locale uses a comma "," as a floating-point separator instead of a dot ".". Due to this, the program fails to properly parse its command line arguments, and the generated WAV file is incorrect.