05-19-2011, 10:19 PM
(05-19-2011, 07:59 PM)skypeskype Wrote: [ -> ]Hmmm... I cant see your avatar shapeshifting... Am I doing something wrong ? xDOh, we are off-topic.
Anyway try reloading the page a few times and look at it after each reload.
(05-19-2011, 07:59 PM)skypeskype Wrote: [ -> ]Hmmm... I cant see your avatar shapeshifting... Am I doing something wrong ? xDOh, we are off-topic.
(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.
(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.
(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...
(05-19-2011, 09:28 PM)plutomaniac Wrote: [ -> ]how do you replace it once downloaded(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).