Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Stuck at Top-Left Screen Corner
Som1Lse Offline
Member

Posts: 183
Threads: 9
Joined: Sep 2010
Reputation: 0
#11
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner

(05-19-2011, 07:59 PM)skypeskype Wrote: Hmmm... I cant see your avatar shapeshifting... Am I doing something wrong ? xD
Oh, we are off-topic.
Anyway try reloading the page a few times and look at it after each reload.
05-19-2011, 10:19 PM
Website Find
ZEPPELIN Offline
Junior Member

Posts: 3
Threads: 0
Joined: Sep 2011
Reputation: 0
#12
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

(05-19-2011, 09:22 PM)plutomaniac Wrote: Found the solution. The problem is located at the file SDL.dll which is common in OpenGL games.

Details: Amnesia uses a version of SDL.dll (1.2.14.0) with the function SDL_WM_GrabInput which means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a windows manager. That means that this file is not letting the mouse to get away from the game and so it is stuck at the left corner when minimizing the game.

Source: http://sdl.beuc.net/sdl.wiki/SDL_WM_GrabInput

Solution: In order to solve that I replaced the original Amnesia SDL.dll v1.2.14.0 with the previous SDL v1.2.13.0 which apparently doesn't use the SDL-WM_GrabInput function.

Troubleshooting: Sometimes when you try to maximize the game again it may freeze in a black screen if in game or in a stuck menu (if you are at the menu). The game is not really frozen or something. Just press Alt-Tab again to go to windows and then reenter the game. It will always work like a charm.

Update: After some research I found out that SDL.dll v1.2.13.0 also works perfectly so no need to used the older v1.2.4.0. Only the latest one v1.2.14.0 doesn't work. The attachment and the link are now updated.

Download: I have attached the file to this thread but you can also download it from here.



How do i install this? i removed the current SDl.dll and replaced it with the download then renamed it SDL.dll but now I can't launch the game.

09-23-2011, 01:04 AM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#13
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

you don't have to rename it or something. Just copy my SDL.dll to the redist folder and you should replace the previous one.
09-24-2011, 12:28 AM
Find
ZEPPELIN Offline
Junior Member

Posts: 3
Threads: 0
Joined: Sep 2011
Reputation: 0
#14
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

(09-24-2011, 12:28 AM)plutomaniac Wrote: you don't have to rename it or something. Just copy my SDL.dll to the redist folder and you should replace the previous one.

There's no folder named redist. Did you mean reslists? So far I've only put it where the previous SDL.dll is, in the main amnesia directory. It may be because I've only been playing the demo. It may only be in the full game, but there's no way I'm going to buy it until I play through the demo to make sure I like it first.
(This post was last modified: 09-29-2011, 01:00 AM by ZEPPELIN.)
09-29-2011, 12:59 AM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#15
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

All this sdl.dll thing is not a problem of the game. I published this solution just to make it easier for the full game players to alt-tab while in-game. It may not work with the demo, I have no idea. You don't need to replace this file to play the game though...
09-29-2011, 03:44 PM
Find
ZEPPELIN Offline
Junior Member

Posts: 3
Threads: 0
Joined: Sep 2011
Reputation: 0
#16
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

(09-29-2011, 03:44 PM)plutomaniac Wrote: All this sdl.dll thing is not a problem of the game. I published this solution just to make it easier for the full game players to alt-tab while in-game. It may not work with the demo, I have no idea. You don't need to replace this file to play the game though...

For me the mouse always gets stuck on the "enter name" screen so I can't play it. I thought the problem with it getting stuck when tabbing out may have something to do with it.
09-29-2011, 10:08 PM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#17
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

enter name?

btw open a new thread so that more people can see and help you there
09-29-2011, 10:35 PM
Find
xEDDZx Offline
Junior Member

Posts: 1
Threads: 0
Joined: Jan 2012
Reputation: 0
#18
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

(05-19-2011, 09:28 PM)plutomaniac Wrote:
(05-19-2011, 09:27 PM)laser50 Wrote: Instead of downloading, just use Ctrl+Alt+Delete.

It won't work. I know that 100%. As soon as you go to desktop the mouse will freeze again. Just download the file and you won't have any problems(except the small one I wrote above).
how do you replace it once downloaded
01-04-2012, 06:04 AM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#19
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

replace the old one at the Amnesia folder at Program Files
01-04-2012, 09:26 AM
Find
amitc1612 Offline
Junior Member

Posts: 14
Threads: 3
Joined: Feb 2012
Reputation: 0
#20
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Mouse Stuck at Top-Left Screen Corner - SOLVED

i had the same problem and it was realy annoying.
tnx for the solution!!!
03-12-2012, 05:37 PM
Find
Jump to the post that solved this thread.




Users browsing this thread: 1 Guest(s)