How to Run UTAU in VirtualBox
Original Kasane Teto fanart by CAFFEIN |
Today I'm going to show you how to set up Ameya's UTAU program in VirtualBox, a popular Virtual Machine (VM) software by Oracle! 🖥️💻️✨️
Before we get started, you might be wondering why you might even want to use UTAU in a VM. Chances are your computer uses some version of Windows, and UTAU was even updated this year! It might all seem very unnecessary. But it could be useful if:
- You don't want to change your computer's locale language (or need to change it for something else)
- You want a VM for all your "old school" vocal synth software (VOCALOID 1, anybody? 😎️)
- You actually ARE using Linux (like me right now!) and don't want to use OpenUtau (or can't figure out for the life of you how in the world to use Wine 🙃️)
If you want to go the VM route, then get ready! I'll do my best to break everything down step by step. I will say there are a lot of steps, but don't worry! We're gonna take it one at a time.
First, let's talk about what you'll need to have:
- VirtualBox Installation file
- Bootable Disk Image (ISO file) of your desired operating system.
For this tutorial, I'll be using Windows XP Professional with Service Pack 3. Virtual Machines can take a lot of processing power, but even a cheap laptop like mine can run a Windows XP VM very nicely.
Now I'm going to take a quick time out for a second to talk about getting an ISO file. You should know that technically, the only legal way to get Windows XP these days is to buy it second-hand, as Microsoft has long stopped supporting it and distributing it. Purely hypothetically, if you did manage to find an ISO with a product key of it online somewhere and downloaded it instead of buying a CD of it with a key, Microsoft wouldn't lose any money from that. Nor would they gain any money from someone buying it from a vendor. Because it's second-hand.
Just something to think about. From a hypothetical standpoint, of course.
Now then! 👏️ I assume you have the ISO you need at this point. So lets talk about what we'll be doing:
- Install VirtualBox on your computer
- Create a new VM in the program for Windows XP
- Install Windows XP with Service Pack 3 with VirtualBox Guest Services (this is necessary for file sharing)
- Install necessary languages in your VM
- Change locale for your VM
- Create a shared folder
- Put the UTAU setup exe in your shared folder & install
It's a lot of steps, I know! But don't be afraid! I'll help you every step of the way!✨️
First, I'll show you how to download and install VirtualBox for Windows. I'll be doing this in Windows 10 Pro on a Virtual Machine. But the process should look very similar on an actual device running various versions of Windows 10. It should be similar to Windows 11 too, but if not, let me know in the comments!
Afterwards, I'll link to a couple external sites for guides on installing VirtualBox on Ubuntu and Linux Mint.
INSTALLING VIRTUALBOX ON WINDOWS
Step 1:
Go to the VirtualBox website here and click on the "Windows Hosts" link.
Highlighted link: "Windows Hosts" |
Step 2:
Once it's downloaded, go ahead and open the file. Click "Yes" when prompted by User Account Control.
Step 2a:
You might need to do the following additional steps if you run into this error:
If you don't see this error then skip to Step 3. Otherwise keep reading.
Step 2b:
Go to this website and download the correct executable for your PC. I'm running a x64 bit processor that isn't ARM, so I'm going to click on the bottom link.
Link 1: "ARM64: Permalink for latest supported ARM64 version"; Link 2: "x86: Permalink for latest x86 version"; Link 3: "x64: Permalink for latest supported x64 version." |
If you need to check which processor your PC has, you can do so by going to [Settings] > [System] > [About]. Look at the "System Type" text field and you'll see!
"System type: 64-bit operating system, x64-based processor" |
Step 2c:
Once you've downloaded the correct file, go ahead and open it. Check the box that says you agree to terms and conditions and click "Install". Click "Yes" on the prompt from User Account Control.
The whole thing should only take a few seconds. Once you see the "Setup Successful" message, you can go ahead and click the "close" button.
Reads: "Setup Successful"; "Close (button)" |
Step 2d:
Go ahead and reopen the VirtualBox executable file and click "Yes" when prompted by User Account Control.
Step 3:
You should now see this screen:
Congratulations! Now you can install! Go ahead and click "Next".
Step 4:
Your screen should look something like this:
For Windows, we'll need to change something before continuing. (Otherwise we might run into a "missing dependencies" error that might affect things.) Click on the icon next to "VirtualBox Python Support" and click "Entire feature will be unavailable" like this:
Step 5:
Okay! Now click on the text that says "VirtualBox Application" at the top so that it's highlighted, like this:
Buttons read: "Browse"; "Disk Usage"; "< Back"; "Next >"; "Cancel" |
If you want to change where VirtualBox is installed, click "Browse". Otherwise, just click "Next".
Step 6:
You'll probably see this screen:
You'll have to click "Yes" if you want to install Virtualbox. So go ahead and do that.
Step 7:
You should see this screen:
I leave everything as it is. But if you want to uncheck any boxes feel free to do so. When you're ready, click "Next".
Step 8:
After that, you'll see this:
When you're ready, click "Install".
Step 9:
It might take a few minutes. Once it's done, you'll see this screen:
You did it! You can uncheck the box if you want, then click "Finish".
INSTALLING VIRTUALBOX ON UBUNTU/LINUX MINT
Installing software on Linux can be a little... tricky. 😣️ This is the guide I used for my own Linux Mint laptop: https://linuxiac.com/install-virtualbox-7-on-linux-mint-21/
The author also has a guide for Ubuntu: https://linuxiac.com/how-to-install-virtualbox-on-ubuntu-22-04/
Once you've got it all set up, pat yourself on the back. We're so close to having Windows XP at our fingertips!
SETTING UP A VIRTUAL MACHINE FOR WINDOWS XP WITH GUEST ADDITIONS
Step 1:
Open VirtualBox. You'll see a screen that looks something like this:
For the remainder of the tutorial, I'll be using my Linux Mint laptop. But your Windows version of VirtualBox should look and behave very similarly.
Step 2:
Click on the icon that says "New" in the upper right of the window. You can also click on [Machine] > [New...] or press Ctrl+N.
Buttons read: "Preferences"; "Import"; "Export"; "New"; "Add" |
Step 3:
This is where the magic happens! Take a look:
You can see I've already typed "Windows XP" in the "Name" field. Virtualbox automatically changed what was in the "Version" field to match.
Step 4:
Have your Windows XP ISO file ready. Click on the "ISO image" dropdown menu and select "Other" (It has this icon next to the text: ). You'll notice I'll have some ISOs listed already (since I've used VirtualBox before) but you probably won't have any listed yet:
Step 5:
Navigate to wherever you've saved your ISO file and click "Open".
Your ISO file should be listed and your OS should be detected automatically. Go ahead and click "Next".
Step 6:
You should now see the "Unattended Guest OS Install Setup" screen. By default, your screen should look something like this:
A few things we need to do here:
- I would strongly recommend changing your password, because this is what you're going to use to sign in to Windows XP.
- I would enter your product key under "Additional Options".
- Your hostname is carried over from your Virtual Machine name. If your host name has any spaces or other unacceptable characters, you'll have to remove them.
- Make sure to check the "Guest Additions" box. Guest additions should be included with your version of VirtualBox and already listed.
Step 7:
This is what my screen looks like now that I've made those changes:
When you're ready, click "Next".
Step 8:
Now we're on the hardware page, which looks like this:
I've left everything as is. Click "Next".
Step 9:
Now we're on the Virtual Hard Disk page:
I've left everything as is, with "Create a Virtual Hard Disk Now" selected. If you want, you can change the size. When you're ready, click "Next".
Step 10:
Now we're on the Summary page:
When you're ready, click "Finish".
Now your VM is going to boot and run the Windows XP ISO. It's going to take a while and show several different screens doing different things. Just let it do its thing. When it's done, you'll be logged in to your Windows XP VM! Press Right Ctrl+F to enter/escape fullscreen mode.
All right!! 🙌️ Now we can get to the good stuff!! 👊️✨️
SETTING UP WINDOWS XP FOR UTAU
PART 1: ADDING JAPANESE LANGUAGE PACK
Step 1:
In Windows XP, click [Start] > [Control Panel]. You should be here:
Click on "Date, Time, Language, and Regional Options".
Step 2:
Click "Add other Languages".
Reads: "Pick a task... (header)"; "Change the date and time"; "Change the format of numbers, dates, and times"; "Add other languages (highlighted by mouse cursor)" |
Step 3:
A smaller window will pop up. Check the box that says "Install files for East Asian languages". Another window will pop up with a message. Click "OK" on that window.
After you click "OK", click "Apply" in the previous window for the files to install.
"Apply" |
Step 4:
Wait for it to install. Once it's done, click "Yes" to reboot.
Reads: "Change Regional Options"; "You must restart your computer before the new settings will take effect. Do you want to restart your computer now?" "Yes (button)"; "No (button)" |
PART 2: ADDING JAPANESE INPUT KEYBOARD
Step 1:
Once it reboots, navigate again to [Start] > [Control Panel] > [Date, Time, Language, and Regional Options] > [Add other Languages].
Near the top right of the Languages tab, click the "Details" button.
The "Install files for East Asian languages" box is now checked. |
Step 2:
It'll open the "Text Services and Input Languages" window. Click the "Add" button in the "Installed services" section:
Step 3:
You'll see a new window. Pick "Japanese" for the input language. Leave the bottom setting as is, and click "OK".
Once you're done, you can close the "Text Services and Input Languages" window.
PART 3: CHANGING SYSTEM LOCALE
Step 1:
Now we should be back to the "Regional and Language Options" window. Click on the "Advanced" tab.
"Advanced" |
Step 2:
Under the "Language for non-Unicode programs" header, change the language to Japanese. Click "Apply".
Step 3:
You'll probably see a dialog window come up. If your version of Windows XP had Service Pack 3 already on it, it should look something like this:
If you see this message, make things easy on yourself and click "Yes". If you click "No" or don't have Service Pack 3, you'll need to insert an ISO with Service Pack 3 on it into your Virtual CD Drive before it'll install.
Step 4:
You'll be prompted to reboot. Click "Yes".
Whew! Are you still with me? 😅️
There's just one more teensy thing we have to do, and then we can install UTAU in Windows XP!! 💜️🎶️
ADDING A SHARED FOLDER TO THE WINDOWS XP VIRTUAL MACHINE
Step 1:
We need to shut down the Windows XP VM for a second. Make sure you do that, like this:
[Start] > [Turn Off Computer] ("Provides options for turning off or restarting your computer, or for activating Stand By or Hibernate modes.") |
Options read: "Standby (greyed out)"; "Turn Off (highlighted by mouse cursor; 'Shuts down Windows so that you can safely turn off the computer.')"; "Restart" |
Step 2:
Go back to the VirtualBox window. Click on the "Settings" Icon.
Step 3:
When the Windows XP Settings window comes up, click the "Shared Folders" settings.
Step 4:
Now we are here:
Please note that if you see a label for "Transient Folders" underneath "Machine Folders" then your VM is still running. You don't want to put your shared folder there because it'll disappear when you close out! Take it from somebody who's learned the hard way. 🥲️
If you only have "Machine Folders" listed, then great! Click on this icon in the far right:
Step 5:
You should see another tiny window, labeled "Add Share":
On the folder path dropdown menu, click "Other" (it has this icon: )
Step 6:
You should now see a "Finding Directory" window. Mine looks like this:
If you're using Windows yours probably looks a bit different.
You can put your shared folder wherever you want. You can make new folders if you need to. Me personally, I like to start in my Documents folder and make a few sub folders after that. But put it somewhere that works best for you! 👍️ Once you've got your directory picked out, go ahead and click "Choose".
Step 7:
Now we're back at our previous window. Notice that the "Add Share" window title has changed to "Edit Share". You'll see it now lists the chosen folder and its directory. Make sure to check the box that says "Auto Mount":
When that's done, click "OK".
Step 8:
Now the Settings window should look something like this:
You're all set now! Go ahead and click "OK".
Step 9:
Reboot your Windows XP VM. Inside your VM, click [Start] > [My Computer]:
("Gives access to, and information about, the disk drives, cameras, scanners, and other hardware connected to your computer.") |
Check it out! At the bottom of the window, you should see your very own shared folder under "Network Drives":
Headers read: "Files stored on this computer"; "Hard disk drives"; "Devices with Removable Storage"; "Network Drives"; Under "Network Drives": "win_xp_shared_folder on 'VBoxSvr' (Z:)" |
You did it! You really did it! Now we can actually install UTAU! 🥳️🎉️
INSTALLING UTAU IN YOUR WINDOWS XP VM
The first thing we need to do is download the setup exe file. We're going to do this in our host machine and not in the Virtual Machine. You technically could do it in the VM if you wanted to, but it's probably safer for your VM if you don't surf the web on it—Windows XP has known security vulnerabilities and Internet Explorer is incredibly out of date.
Plus, if you've got a shared folder that's linked to your host machine, it could be dangerous for your actual computer if your VM gets some kind of virus or malware. So we're gonna play it safe!! 👏️
Step 1:
In your host machine, go to this link and download the latest version:
Highlighted link reads: "v0.4.19(c) インストーラー" under bullet point that reads: "2024/5/24 v0.4.19のインストーラー修正版" |
You might notice that UTAU was updated this year! Can you believe it? 😮️ It was patched to fix a security exploit, which is why all older links for UTAU have been removed. But don't worry—the most recent version will still run just fine on Windows XP.
Step 2:
Cut and paste the exe file into a nice place in your shared directory. Here you'll see I've made a subfolder for it, but you don't have to do that.
"utau419cInstaller.exe" |
Step 3:
Go back to your Windows XP VM window. If you're not still at "My Computer", head back by clicking [Start] > [My Computer]. Open your VirtualBox network drive and take a look:
Directory: "Z:\"; Folder listed: "utau" |
Look! There's my subfolder!! Open it and we'll see:
Directory: "Z:\utau\"; File listed: "utau419cInstaller" |
It's the UTAU executable file!!! Now we're really cooking!!! 🔥️
Step 4:
Double-click the file to run it. You should see this screen:
Click on the "次へ" ("Next") button.
Step 5:
Now you should be here:
You can leave everything as is and click the "次へ" ("Next") button again.
Step 6:
Now you should be here:
Reads: "インストールの確認 (header)"; "UTAU 歌声合成ツール をインストールする準備ができました。"; "[次へ]をクリックしてインストールを開始してください。"; Buttons read: "キャンセル"; "戻る(B)"; "次へ(N)" |
If you click "次へ" ("Next"), the installation will start. So go ahead and do that.
Step 7:
If you see this screen...
Reads: "インストールが完了しました。 (header)"; "UTAU 歌声合成ツール は正しくインストールされました。"; "終了するには、[閉じる]をクリックしてください。"; Buttons read: "キャンセル"; "戻る(B)"; "閉じる(C)" |
...then you're done! Click the "閉じる" ("Close") button.
Now you'll see a cool desktop icon in the corner:
And you're all done!! 🎊️ Now you can freely use UTAU in Windows XP. Let's go ahead and test it and see if we can put a WAV file in our shared folder.
TESTING THE PROGRAM
Step 1:
Open UTAU. You'll see a readme.txt file open and a "voice set report". The voice set report is just talking about the configuration settings for Defoko, the default UTAU voicebank. You can check the "Do not show" box if you want, but you don't have to. Click "close" and the UTAU window will open (you might want to fullscreen it).
Step 2:
Let's make a simple UST. Draw a couple of notes. Go crazy if you want to. Or just keep it simple. Whatever you want, as long as it can be played. Here's what I made:
♪ "|ど | れ | み | ふぁ | そ | ら | てぃ | ど|" ♪ |
Step 3:
We'll need to save the project as a UST file before we can export. So let's do that. Click [File(F)] > [Save as...]. You should see this screen:
Reads: "Save as..."; "Save in: My Documents (selected directory)"; "File name: New Project"; "Save as type: UTAU形式(*.ust)"; "Save (button)"; "Cancel (button)" |
Step 4:
Save the file wherever you want. If you want to put it somewhere in your shared folder you can. Personally I don't need to, so I'm just going to put it in my Documents folder in my VM (which is where it is by default). When you're ready, click "Save".
Step 5:
Now that our project is saved, we can export. In the menu bar click [Project(P)] > [Render wav File(R)...]. You should see something like this:
Reads: "Output File Name"; "Save in: My Documents (currently selected directory)"; "File name: (blank)"; "Save as type: wav file"; "Save (button)"; "Cancel (button)" |
This time I am going to save it in my shared folder. That way I don't have to move the file later. If you're not in your shared folder yet, go ahead and navigate there. Click on "My Computer" on the left, then your shared folder name. It should end with "on 'VBoxSvr' (Z:)".
Side panel options read (top to bottom): "My Recent Documents"; "Desktop"; "My Documents"; "My Computer (selected)"; "My Network Places" |
"Save in: win_xp_shared_folder on 'VBoxSvr' (Z:)" (selected directory)"; "File name: (blank)"; "Save as type: wav file"; "Save (button)"; "Cancel (button)" |
Step 6:
Type whatever you want as the name and click "Save". When you're done, you should see something like this:
Reads: "Created Z:\test.wav."; "OK (button)" |
Success! You can close out of UTAU now.
Step 7:
Let's check out our file in our VM. Click [Start] > [My Computer] > [{your shared folder's name} on 'VBoxSvr' (Z:)]. If you exported the file in a subfolder, keep going until you find it.
Directory: "Z:\"; Folder listed: "utau"; File listed: "test (highlighted by mouse cursor: 'Type: Wave Sound; Size: 349 KB; Date Modified: 7/26/2024 1:37 AM')" |
There's our file! Isn't that cool? 🤩️ Let's check it out on our host computer.
Step 8:
Open your computer's file explorer and navigate to where you created your shared folder. When you get there, you should see the file!
Directory: "[...]Documents/VM_assets/win_xp_shared_folder"; Folder listed: "utau"; File listed: "test.wav" |
There it is! The same file!! Now you can play it and bask in its magnificence. 😌️
From here you can move it, delete it, rename it, whatever. The changes will be reflected in your Virtual Machine as well. Likewise, you could delete it, rename it, whatever in your Virtual Machine. Then the changes would be reflected in your host machine. It's like they're connected or something!!! 😉️
Well, there you have it! It was a long road to get here, but now you have UTAU set up in a Windows XP Virtual Machine! How cool is that? 😎️✨️
I hope you found this useful! Let me know in the comments!
Until next time. 🫡
Comments
Post a Comment