Maidens of the Kaleidoscope

~Hakurei Shrine~ => Help Me, Eirin! => Tech Support => Topic started by: 98digger on April 05, 2015, 07:42:50 AM

Title: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: 98digger on April 05, 2015, 07:42:50 AM
Hello,

I recently installed Perfect Cherry Blossom (off an official CD) under WINE and I have been experiencing issues with the controls. While the game itself appears to be running perfectly fine, the game does not respond to the keyboard at all. Also, the cursor on the menu is continuously moving upwards.

Operating system: Lubuntu 14.10 (x64)
WINE: 1.7 (WINE 1.6 did not work either)
Computer: HP 505B MT
Keyboard: IBM SK-8825

Is there a way I could possibly fix this issue? Or should I install PCB on a Windows-running computer and transfer the install to the Lubuntu computer?


Thanks,
-98digger
Title: Re: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: Agent of the BSoD on April 05, 2015, 07:35:33 PM
Yep, that's a known bug in PCB (happens in Windows too from time to time). Typically it's because the game is thinking there's a controller/joystick attached and processes whatever info it thinks is there as pressing up continuously. I just tested this under Wine 1.7.39 and yeah, it does the scrolling for me too. There's two ways to fix it. One is to open custom.exe and put a check next to the option that says DirectInput on the left (4th one down). Another option (the one I prefer, you don't need to put the check in there for this one) is to run the vsync patch instead, as it seems to also fix it (which will make the game run a little bit smoother too, as well as reducing input lag).
Title: Re: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: shockdude on April 06, 2015, 02:22:32 PM
Yep, that's a known bug in PCB (happens in Windows too from time to time). Typically it's because the game is thinking there's a controller/joystick attached and processes whatever info it thinks is there as pressing up continuously. I just tested this under Wine 1.7.39 and yeah, it does the scrolling for me too. There's two ways to fix it. One is to open custom.exe and put a check next to the option that says DirectInput on the left (4th one down). Another option (the one I prefer, you don't need to put the check in there for this one) is to run the vsync patch instead, as it seems to also fix it (which will make the game run a little bit smoother too, as well as reducing input lag).
The best solution is to do both the DirectInput setting and the VSync patch.
Title: Re: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: 98digger on April 07, 2015, 12:09:28 AM
Oh, hey it works now! Thanks guys! :)


The only thing is that the V-Sync patch is not installing properly under WINE.... I can't even get the .exe to open.... but it's not that big of an issue. At least the game itself is working :D

Btw does anyone know how to run the game without having to change Lubuntu's locale to Japanese?
Title: Re: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: Agent of the BSoD on April 07, 2015, 08:05:57 PM
For vsync patch, all you need to do is add three files into the folder the game resides in. For PCB, you need vpatch_th07.dll, vpatch.exe, and vpatch.ini, and run the game with vpatch.exe, and it should work. (also make sure the game's exe is named properly, "TH07.exe") You can rename the english patched one to this to run the english patch, just make sure it's not the same name as the original one (I just name my original one to "TH07 J.exe").

As for running without Japanese locale, I can only speak from a Mac's perspective on this, as that is what I use Wine on, and I lack any system that runs any form of Linux. What I do when I launch the game is this:

LANG="ja_JP.UTF-8" wine vpatch.exe

Not sure if that would be the same on Linux or not, however, but I assume it is. I also use this to launch up anything Japanese based and I've never had issues with doing so.
Title: Re: PCB: Keyboard problem with WINE (Ubuntu 14.10)
Post by: 98digger on April 16, 2015, 07:27:07 PM
For vsync patch, all you need to do is add three files into the folder the game resides in. For PCB, you need vpatch_th07.dll, vpatch.exe, and vpatch.ini, and run the game with vpatch.exe, and it should work. (also make sure the game's exe is named properly, "TH07.exe") You can rename the english patched one to this to run the english patch, just make sure it's not the same name as the original one (I just name my original one to "TH07 J.exe").

As for running without Japanese locale, I can only speak from a Mac's perspective on this, as that is what I use Wine on, and I lack any system that runs any form of Linux. What I do when I launch the game is this:

LANG="ja_JP.UTF-8" wine vpatch.exe

Not sure if that would be the same on Linux or not, however, but I assume it is. I also use this to launch up anything Japanese based and I've never had issues with doing so.

The VSync patch isn't working (even in WINE's Japanese locale), but everything else is fully functional. No input delay or anything seems to be effecting the game. Thanks for the help  :)