|Latest Wine Version Tested:||1.3.6|
Maintainers: About Maintainership
No maintainers. Volunteer today!
Install of the game was pretty straight, game works but have rendering issues.
What does not
What was not tested
All was tested
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Current||Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)||Nov 27 2010||1.3.6||Yes||Yes||Bronze||Cerberus|
|Bug #||Description||Status||Resolution||Other apps affected|
|6955||Multiple games need software vertex blending implementation (NOLF2, Divinity 2, Dark Age of Camelot, Warhammer Online, PSU:AOTI)||CLOSED||FIXED||View|
|18245||Polygon Love 2 - model shows up but doesn't have any animation||CLOSED||DUPLICATE||View|
In order to run Polygon Love 2 almost flawlessly you will need to build a custom version of wine. In a terminal with Ubuntu first step is:
sudo apt-get build-dep wine
Note: if you need help doing that in other distribution or extra aid please ask in your distribution forums/chat as I will no have the time to answer how is done.
Then do the following steps:
mkdir custombuild && cd custombuild
wget http://bugs.winehq.org/attachment.cgi?id=28205 -O vertex_blend_sw-1.1.44.diff
tar -xvjf wine-1.2.tar.bz2
patch -p1 < ../vertex_blend_sw-1.1.44.diff
And you are ready right now to build the custom version of wine, building can last from 15 to 40 minutes so better enjoy a coffee after you write this and press enter:
If build suceeds last line of your terminal will be: Wine build complete.
If it wasn't seek for aid in your distro or wine help channel.
Last step of building will be installing the custom wine version
sudo make install
Â From this you can run your Polygon Love 2 game via
Â or if you installed in a different prefix, do like the following example
env WINEPREFIX=$HOME/.wine-polygonlove2 ~/wine-vertexfixed/bin/wine 'C:\Program Files\polygonlove2\PL2.exe'
ENSURE THAT YOU ARE RUNNING POLYGON LOVE 2 INSIDE OF POLYGONLOVE2 FOLDER OR ELSE THE GAME WILL LIKELY FAIL TO START.
Japanese applications in general have certain Japanese words that will not display properly out of the box with Wine. In order to be able to view the Japanese characters that don't work, you must have Wine call out the Japanese locales on your computer. Go to a terminal and type in "LC_ALL=ja_JP wine" and then the path to your program. That is usually all it takes to make the Japanese characters work properly.
with this method, the program may not still display the words
correctly. That means that your computer probably does not have the
proper locales enabled, so the result will be the same. Here are
instructions on how to fix that.
In Ubuntu / Ubuntu-based Distribution:
Go to a terminal and type in "sudo nano (or your preferred text editor) /var/lib/locales/supported.d/ja". It should be a new file since there isn't a file called "ja" yet. Type in the following entries:
Please make sure to press the Enter key after typing this in to start a new line. Thanks to Jordan M. for pointing this out.
Save the file, and type in this command:
sudo dpkg-reconfigure locales
In Arch Linux:
Go to your perferred terminal and login as root:
su - (enter your password when it tells you to)
Use your text editor to edit the following file:
nano (or your preferred text editor) /etc/locale.gen
Look for these two entries and uncomment them:
Save the text file, exit the editor, and then type in locale-gen in the terminal.
Try using the "LC_ALL=ja_JP wine" method. It should work this time. If it still doesn't work, you may not have the fonts that Wine needs to correctly display the Japanese characters.
Please note that this HOWTO is designed for Ubuntu, Ubuntu-based distributions, and Arch Linux. Other distribution may have slightly different methods.
NOTE - For new versions of Wine, all that you need to do to get the other Japanese characters to work is to store the Japanese fonts in your ~/.wine/drive_c/windows/Fonts directory. Use the "LC_ALL=ja_JP wine" command to run Japanese games or applications.
This HOWTO is still here for those who still can't get the characters to display properly.
If you've followed the first part of the HOWTO, you are already set to use Japanese programs that display the words properly. However, there are some applications that still have problems displaying them properly. These usually occur in a right-click menu, or when certain messages pop-up in a window. The reason for this is because some fonts need to be replaced with vaild japanese fonts in order for situations like this to work.
Here is how to fix this problem:
First, open up a text editor and save it as "ja_JP.reg". We will be creating a registry that Wine can use to determine which fonts to use when Japanese words do not work.
Next, copy and paste the following to the file:
"System"="MS Shell Dlg"
"Arial"="MS UI Gothic"
"MS Gothic"="MS Gothic"
"MS Mincho"="MS Mincho"
"MS PGothic"="MS Gothic"
"MS PMincho"="MS Mincho"
"MS Sans Serif"="MS Gothic"
"MS Shell Dlg"="MS Gothic"
"MS Shell Dlg 2"="MS Gothic"
"MS UI Gothic"="MS UI Gothic"
"Tahoma"="MS UI Gothic"
As you can see from the entry, MS Gothic, MS UI Gothic, and MS Mincho are used. Make sure that these fonts are placed in your ~/.wine/drive_c/windows/Fonts directory. If you don't have these fonts, you can use different Japanese fonts in place of these and put them in your /windows/fonts directory.
Save the file, and enter this command in the terminal:
This will put all the entries in the Wine registry. Use the "LC_ALL=ja_JP wine" command to run the Japanese program in question. I have a provided a screenshot of Planetarian that has the right-click menu displayed properly. You can view it in the screenshot gallery.