I tried to launch Harry Potter 2 Chambers of Secrets, but I have a very annoying issue that makes the game unplayable:
mouse keep stuck at the screen corners.
Could you reproduce this issue on your side?
Do you know a way to fix that?
Thank you for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll try ASAP, first on Windows and then, when possible, on Linux.
Sometimes problem like this depend on a problem in mouse relative mode handling. The problem could be fixed by setting "Input / Hook dinput + emulate mouse relative movement", provided that the game is using DirectInput.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for this quick answer but this options change nothing.
It will be not necessary to test on Linux, just on Windows.
If this issue is Linux only, I will open an issue at Winehq Bugzilla.
Last edit: Le Gluon du Net 2020-12-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to replicate problem on Win7 (on side note @Le Gluon du Net, you could have give just a little more info: Window or Fullscreen, DxWnd config). Details:
• I can't run the game with DxWnd at all, crashes after 2 logo screens yet process game.exe hangs in Task Manager
• This game is actually build on Unreal engine, famous for many reasons. Editing game_root\System\Default.ini can make it run in window or fullscreen at any resolution. Specifically with those lines among many other:
I could run the game at various settings and never had any cursor problem. Despite the game crushing with DxWnd I personally think Unreal based games shouldn't have much need for it, it's extremely flexible on it's own.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Though you think it'd be worthwhile? I mean you might read a bit about Unreal (1st edition, any later), I can almost assure you it comes with every possible user customization.
This might not always be reflected on build-in game settings but through game file configurations works foolproof. That's just an opinion though, so after you ; )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, the "worth" here could be the challenge in itself, otherwise I should ignore half of the crap proposed by MrPepka. But if you want to find a practical usage for DxWnd, you may consider time stretching that would allow to cheat and play the game in slow-mo.
Right now I'm just curious about this game termination that seems to happen with no errors (at least, no exceptions, OllyDBG didn't catch any, and DxWnd log tells anything suspicious too) only when running in window. Not enough to keep me awake during the night, in any case ... ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why using DxWnd for this game?
--> Alt+Tab use
--> native game resolution scaled to my screen with ratio respect
So Gho or his friend White, did you reproduce this mouse bug during your tests?
Gho there is a known workaround to launch this game without crash and I use it on Linux in DxWnD:
Well, at the moment I can't even run this game with DxWnd on Windows! The game terminates itself when in window mode as soon as I press a keyboard key to give any command (even an arrow key to move Harry). Sadly, the code architecture is not that simple to follow, so I couldn't track the reason for that yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With launch parameters I can now run the game, however I can't test cursor alone yet: game either hangs early on or displays black screen. I will try finding proper configuration, could be a difficult one.
(update)
Funny observation: after running the game my overall cursor pointer was adjusted in OS - the option "Enhance pointer precision" is checked, where I don't use it normally.
I double tested this, so definitely something wrong with cursor already (on Win7, just for reminder).
Last edit: White 2020-12-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I finally found another solution for this game and it runs now very well on Linux. A fan had even coded a new launcher, the old one supported only low resolution.
You could find the script installer for Linux users on Lutris site.
Thank you for help gho.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Windows you could always play it as it is on any resolution and window, it's on Unreal Engine... Sorry for stressing this again, I'm a kind of Unreal fanboy here and curious: what sort of problem you encountered?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Without DxWnd? That's unexpected. I'm not running Win10, sorry for bothering to begin with. Gho didn't write earlier whether he could run it alone, only that it doesn't work with DxWnd.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Interesting, the game works for me with DxWnd (Win7), I have no problem with crashes or with freezing or the mouse cursor. I saw some files related to the old protection on the CD so I used the nocd patch. The problem for me is alt + tab, after this switch the game flashes incredibly.
But compared to the problems described here, it is a more or less "ridiculous" problem.
My profile is attached, but Win10 is very different from Win7. Now I have the game set to 640x480 16bit D3D. So far, I haven't tried a higher resolution. The game no longer flashes at alt + tab switch with this profile, the screen is black, but is restored shortly.
I tried this, but with no good results on Win10.
Anyway, I noticed that the game executable in system\game.exe runs itself after, so the extended hook flags could be appropriate.
Now the game works up to the whole intro sequence (that uses the same 3D engine of the gameplay), despite some minor problems in transparencies, but then the game crashes when typing the enter key to start the game.
The very same thing happens with the d3d an sw renderers, so I start to think that the problem could be somewhere else ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No traces of recent incoming messages from you in my inbox. Was it a mail with huge attach?
In my last tests I used the CD game version (it installs with no problems) with your executable from ulozoto.net, the result doesn't change on Win10.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I tried to launch Harry Potter 2 Chambers of Secrets, but I have a very annoying issue that makes the game unplayable:
mouse keep stuck at the screen corners.
Could you reproduce this issue on your side?
Do you know a way to fix that?
Thank you for your help.
I'll try ASAP, first on Windows and then, when possible, on Linux.
Sometimes problem like this depend on a problem in mouse relative mode handling. The problem could be fixed by setting "Input / Hook dinput + emulate mouse relative movement", provided that the game is using DirectInput.
Thank you for this quick answer but this options change nothing.
It will be not necessary to test on Linux, just on Windows.
If this issue is Linux only, I will open an issue at Winehq Bugzilla.
Last edit: Le Gluon du Net 2020-12-09
I tried to replicate problem on Win7 (on side note @Le Gluon du Net, you could have give just a little more info: Window or Fullscreen, DxWnd config). Details:
• I can't run the game with DxWnd at all, crashes after 2 logo screens yet process game.exe hangs in Task Manager
• This game is actually build on Unreal engine, famous for many reasons. Editing game_root\System\Default.ini can make it run in window or fullscreen at any resolution. Specifically with those lines among many other:
[WinDrv.WindowsClient]
WindowedViewportX=640
WindowedViewportY=480
WindowedColorBits=16
FullscreenViewportX=640
FullscreenViewportY=480
FullscreenColorBits=16
Brightness=0.400000
MipFactor=1.000000
UseDirectDraw=True
UseJoystick=True
CaptureMouse=True
StartupFullscreen=False
I could run the game at various settings and never had any cursor problem. Despite the game crushing with DxWnd I personally think Unreal based games shouldn't have much need for it, it's extremely flexible on it's own.
Good news, I've got the same problem, crash after the 2 logo screens. That makes it easier for me to try to find a fix.
Though you think it'd be worthwhile? I mean you might read a bit about Unreal (1st edition, any later), I can almost assure you it comes with every possible user customization.
This might not always be reflected on build-in game settings but through game file configurations works foolproof. That's just an opinion though, so after you ; )
Well, the "worth" here could be the challenge in itself, otherwise I should ignore half of the crap proposed by MrPepka. But if you want to find a practical usage for DxWnd, you may consider time stretching that would allow to cheat and play the game in slow-mo.
Right now I'm just curious about this game termination that seems to happen with no errors (at least, no exceptions, OllyDBG didn't catch any, and DxWnd log tells anything suspicious too) only when running in window. Not enough to keep me awake during the night, in any case ... ;)
"..., you may consider time stretching"
Hold yourself tight, there's a built in command even for that. Out of memory I can't post it here straight away but it's there, you know.
Why using DxWnd for this game?
--> Alt+Tab use
--> native game resolution scaled to my screen with ratio respect
So Gho or his friend White, did you reproduce this mouse bug during your tests?
Gho there is a known workaround to launch this game without crash and I use it on Linux in DxWnD:
launchpath0=C:\HP2COS\system\Game.exe PrivetDr.unr -LOADGAME=0 -SAVESLOT=1
Last edit: Le Gluon du Net 2020-12-18
Well, at the moment I can't even run this game with DxWnd on Windows! The game terminates itself when in window mode as soon as I press a keyboard key to give any command (even an arrow key to move Harry). Sadly, the code architecture is not that simple to follow, so I couldn't track the reason for that yet.
With launch parameters I can now run the game, however I can't test cursor alone yet: game either hangs early on or displays black screen. I will try finding proper configuration, could be a difficult one.
(update)
Funny observation: after running the game my overall cursor pointer was adjusted in OS - the option "Enhance pointer precision" is checked, where I don't use it normally.
I double tested this, so definitely something wrong with cursor already (on Win7, just for reminder).
Last edit: White 2020-12-14
And of course it's important to note: this happens only after running with DxWnd. Not after running the game alone.
My computer must be cursed: the game runs until I touch the keyboard, then it crashes, with and without the trick posted above.
I finally found another solution for this game and it runs now very well on Linux. A fan had even coded a new launcher, the old one supported only low resolution.
You could find the script installer for Linux users on Lutris site.
Thank you for help gho.
Well.. I'm having problems with this game, too...
On Windows you could always play it as it is on any resolution and window, it's on Unreal Engine... Sorry for stressing this again, I'm a kind of Unreal fanboy here and curious: what sort of problem you encountered?
I cannot get the game launch on Win10
Without DxWnd? That's unexpected. I'm not running Win10, sorry for bothering to begin with. Gho didn't write earlier whether he could run it alone, only that it doesn't work with DxWnd.
Oh well that's bad news I guess, because, yes, I could not get it work without it, either.
Interesting, the game works for me with DxWnd (Win7), I have no problem with crashes or with freezing or the mouse cursor. I saw some files related to the old protection on the CD so I used the nocd patch. The problem for me is alt + tab, after this switch the game flashes incredibly.
But compared to the problems described here, it is a more or less "ridiculous" problem.
how did you obtain the game and the nocd patch? i am on win10 though
The patch is here:
https://ulozto.net/file/KmwjcUvcM4SN/game-7z#!ZGL0ZwR2Z2MwLwyzMzAxZmL5AGZ2BR5GAR13FyW5DHx3K2ZmBN==
My profile is attached, but Win10 is very different from Win7. Now I have the game set to 640x480 16bit D3D. So far, I haven't tried a higher resolution. The game no longer flashes at alt + tab switch with this profile, the screen is black, but is restored shortly.
Update:
I used the beta version of DxWnd dxwnd.2.05.69.julia5.rar from here
https://sourceforge.net/p/dxwnd/discussion/general/thread/900c826e74/?limit=25&page=5#e1d7/69b6/0e78/036b/e3ce
Last edit: huh 2021-04-24
I tried this, but with no good results on Win10.
Anyway, I noticed that the game executable in system\game.exe runs itself after, so the extended hook flags could be appropriate.
Now the game works up to the whole intro sequence (that uses the same 3D engine of the gameplay), despite some minor problems in transparencies, but then the game crashes when typing the enter key to start the game.
The very same thing happens with the d3d an sw renderers, so I start to think that the problem could be somewhere else ...
I sent you a PM.
I didn't receive an e-mail confirmation, if it doesn't come, I'll send PM again.
Last edit: huh 2021-04-25
No traces of recent incoming messages from you in my inbox. Was it a mail with huge attach?
In my last tests I used the CD game version (it installs with no problems) with your executable from ulozoto.net, the result doesn't change on Win10.