Skip to content

stuck in windowed mode?

LuitstraLuitstra Member Posts: 22
for some reason since last week whenever I open Baldur's gate EE or BGII SoA EE it goes to windowed mode and when I go to options and click fullscreen>done it just stays in windowed mode and if I go back to the graphics settings the box is unclicked like I never touched it

any idea what is causing this?
«1

Comments

  • elminsterelminster Member, Developer Posts: 16,317
    Not sure what operating system you are using. If you are using windows what happens when you use alt+enter ?
  • LuitstraLuitstra Member Posts: 22
    windows 10 and nothing happens at best the borders of windowed mode might flicker
  • LuitstraLuitstra Member Posts: 22
    Anyone? it's realy anoying the screen is to small to do anything in it...
  • mf2112mf2112 Member, Moderator Posts: 1,919
    If you doubleclick on the title bar does it change?
  • moody_magemoody_mage Member Posts: 2,054
    Can you save games? Have you recently upgraded to Windows 10? Is your documents folder set to Read Only (worth checking for this)?
  • LuitstraLuitstra Member Posts: 22
    mf2112 said:

    If you doubleclick on the title bar does it change?

    ok that at least makes the screen bigger but it's still stuck in windowed mode and if I try the full screen option it goes back to small
    decado said:

    Can you save games? Have you recently upgraded to Windows 10? Is your documents folder set to Read Only (worth checking for this)?

    yes I can save/load games

    I updated to windows 10 quite a while ago and both BGI and II worked fine before in windows 10

    yes it was set to read only wich I changed for BG EE and all subfolders(in programfiles>steam>steam apps>common>BG EE*

    * = the folder in wich i turned off readonly and all subfolders

    but it doesn't work
  • moody_magemoody_mage Member Posts: 2,054
    The reason I asked that is because Windows 10 can mess up your My Documents folder as it can confuse the permissions. So it marks the folder as read only and you have to jump through many hoops in order to actually be able to remove the read only flag.

    Hence why the first question I asked is if you could save games. If you couldn't then this would point the finger towards Windows 10.
  • Mr2150Mr2150 Member Posts: 1,170
    Have you edited the Baldur.lua file in your My Documents/Game/ folder?

    In full screen mode, mine has the following two lines (amongst others) - worth checking they are there for you:

    SetPrivateProfileString('Window','Maximized','0') SetPrivateProfileString('Window','Full Screen','1')
  • LuitstraLuitstra Member Posts: 22
    Mr2150 said:

    Have you edited the Baldur.lua file in your My Documents/Game/ folder?

    In full screen mode, mine has the following two lines (amongst others) - worth checking they are there for you:

    SetPrivateProfileString('Window','Maximized','0') SetPrivateProfileString('Window','Full Screen','1')

    I have but only for the being able to activate cheats will check for those lines
  • LuitstraLuitstra Member Posts: 22
    altough in different form yeah the lines and numbers are there...
  • Mr2150Mr2150 Member Posts: 1,170
    How do you mean in different form?
  • mf2112mf2112 Member, Moderator Posts: 1,919
    edited May 2016
    what happens if you click the maximize button?



    Also, do you have a baldur.ini file still in the \Documents\BG-game folder? If so then please check the settings above for "Maximize" and "Full Screen" in there. I believe you can safely rename it to baldur.ini.bak since the game uses the baldur.lua file now.
  • LuitstraLuitstra Member Posts: 22
    Mr2150 said:

    How do you mean in different form?

    mmmmhhh how should I explain.... in the textfile there is no enter behind each line and there is alot of spaces in between

    when I copy them here they show up as you'd normally expect

    CREATE TABLE options (
    section string,
    name string,
    value string
    );
    INSERT INTO options ROWS (
    'Fonts', 'ko_KR', 'UNBOM',
    'Fonts', 'zh_CN', 'SIMSUN',
    'Fonts', 'ja_JP', 'MSGOTHIC',
    'Fonts', 'ru_RU', 'PERMIAN',
    'Fonts', 'uk_UA', 'PERMIAN',
    'Window', 'Full Screen', '1',
    'Graphics', 'version', '4.5.13416 Compatibility Profile Context 15.300.1025.1001 - build XXXX',
    'Graphics', 'renderer', 'AMD Radeon HD 7900 Series',
    'Graphics', 'vendor', 'ATI Technologies Inc.',
    'MOVIES', 'LOGO', '1',
    'MOVIES', 'INTRO15F', '1',
    'Game Options', 'Footsteps', '1',
    'Game Options', 'Memory Level', '

    (just a random part)

    anyway this was always the case (even in windows 7 before the upgrade) and it always worked correctly till I started having this problem I tought it was becasue I downloaded it trough steam...
  • LuitstraLuitstra Member Posts: 22
    mf2112 said:

    what happens if you click the maximize button?



    Also, do you have a baldur.ini file still in the \Documents\BG-game folder? If so then please check the settings above for "Maximize" and "Full Screen" in there. I believe you can safely rename it to baldur.ini.bak since the game uses the baldur.lua file now.

    I can maximize just fine just when I click full screen it goes back to the small screen
  • elminsterelminster Member, Developer Posts: 16,317
    Luitstra said:


    when I copy them here they show up as you'd normally expect

    CREATE TABLE options (
    section string,
    name string,
    value string
    );
    INSERT INTO options ROWS (
    'Fonts', 'ko_KR', 'UNBOM',
    'Fonts', 'zh_CN', 'SIMSUN',
    'Fonts', 'ja_JP', 'MSGOTHIC',
    'Fonts', 'ru_RU', 'PERMIAN',
    'Fonts', 'uk_UA', 'PERMIAN',
    'Window', 'Full Screen', '1',
    'Graphics', 'version', '4.5.13416 Compatibility Profile Context 15.300.1025.1001 - build XXXX',
    'Graphics', 'renderer', 'AMD Radeon HD 7900 Series',
    'Graphics', 'vendor', 'ATI Technologies Inc.',
    'MOVIES', 'LOGO', '1',
    'MOVIES', 'INTRO15F', '1',
    'Game Options', 'Footsteps', '1',
    'Game Options', 'Memory Level', '

    My LUA file doesn't look like that at all (maybe you are looking at the ini file?). Try deleting your lua file in any case and starting the game.


  • mf2112mf2112 Member, Moderator Posts: 1,919
    Updated your graphics card driver recently? I have heard of issues with Windows 10 replacing the OEM drivers with Microsoft drivers causing strange issues. I generally prefer the OEM drivers. Also, maybe try going into the Options, Graphics menu and choosing the Alternate Renderer?
  • LuitstraLuitstra Member Posts: 22
    ok I feel real stupid now... I just reinstalled and now the fullscreen button DOES work.,..
  • mf2112mf2112 Member, Moderator Posts: 1,919
    edited May 2016
    Luitstra said:

    ok I feel real stupid now... I just reinstalled and now the fullscreen button DOES work.,..

    I literally cannot count the number of times I have seen similar things for various applications through every version of Windows since 3.1. :\ Well, maybe I could count it in hex. :)
  • moody_magemoody_mage Member Posts: 2,054
    At least it's fixed. Happy gaming.
  • LuitstraLuitstra Member Posts: 22
    alright the problem is back havn't played in a while and it started up again with the aditional bug that dispite my mouse cursor not leaving the window the sides won't move:-/

    Tried reinstalling... same problems persists
  • LuitstraLuitstra Member Posts: 22
    *bump*
  • Mr2150Mr2150 Member Posts: 1,170
    edited July 2016
    Sorry - I'm a bit confused. Are you expecting the game screen to scroll when your mouse reaches the edge of the screen in windowed mode?

    My understanding is that the screen doesn't scroll like that when in windowed mode. It only does it when in full screen mode. You can double-click to move the window, or use the arrow keys...
  • LuitstraLuitstra Member Posts: 22
    Mr2150 said:

    Sorry - I'm a bit confused. Are you expecting the game screen to scroll when your mouse reaches the edge of the screen in windowed mode?

    My understanding is that the screen doesn't scroll like that when in windowed mode. It only does it when in full screen mode. You can double-click to move the window, or use the arrow keys...

    yeah when in windowed mode my mouse cursor can't leave the window unless I alt-tab and the ingame screen doesn't move

    if what your saying is correct I need help with the orriginal problem I tried everything in this topic so far but to no avail...

    any other ideas I could try
  • Mr2150Mr2150 Member Posts: 1,170
    If you are using 2.0+ of the game, in baldur.lua which is found in your MY DOCUMENTS/*GAME* folder, there are five settings relating to the window mode/full screen mode:

    SetPrivateProfileString('Window','Maximized','1')
    SetPrivateProfileString('Window','w','1024')
    SetPrivateProfileString('Window','x','448')
    SetPrivateProfileString('Window','y','156')
    SetPrivateProfileString('Window','h','768')
    SetPrivateProfileString('Window','Full Screen','0')

    Your numbers may be different currently but the format should be the same.



    I'd suggest to:

    - Close the game, open baldur.lua and change the settings as follows:

    - Change the 'Full Screen' (this can be 0 or 1, this is OFF or ON respectively) to a 1 and change 'Maximised' to 0. These are the settings I have when in Full Screen mode. Then save the file. Close it. And then run the game. Any joy?

    - If not - reopen baldur.lua and check if the manual changes you made have not been altered somehow. If they have then something is altering them, somehow? Maybe a mod or something else. Is this the case?

    - Take a copy of your baldur.lua and save it to your desktop as a backup, then delete the file completely. This will reset all your settings. Now run the game, the game will be forced to generate a new baldur.lua file and should generate it in Full Screen mode.

    Let me know how you get on...
  • LuitstraLuitstra Member Posts: 22
    searched the document for window and only found 2 full screen and maximise window

    when doing a search for "SetPrivateProfileString" (directly copy/pasted from your post) and came up with nothing...

    if you don't mind could you do a copy/pasta of your .ini file? maybe if I just replace everything it works?

    as far as versions go im on
    Baldur's gate:EE 2.3.67.3
    Baldur's gate II SoA: EE 2.3.67.3
  • mf2112mf2112 Member, Moderator Posts: 1,919
    Luitstra said:

    searched the document for window and only found 2 full screen and maximise window

    when doing a search for "SetPrivateProfileString" (directly copy/pasted from your post) and came up with nothing...

    if you don't mind could you do a copy/pasta of your .ini file? maybe if I just replace everything it works?

    as far as versions go im on
    Baldur's gate:EE 2.3.67.3
    Baldur's gate II SoA: EE 2.3.67.3

    If you delete your baldur.lua and baldur.ini files, your local game will regenerate a new file. You only actually need the baldur.lua file now.
  • Mr2150Mr2150 Member Posts: 1,170
    edited August 2016
    Agree - delete both files, you shouldn't have an INI file. I'm not sure what have an INI file instead of a LUA file will do. You should only have a LUA file and that's the one that you can edit the settings in.

    Most of the settings in the baldur.lua file look like the ones I pasted...
  • LuitstraLuitstra Member Posts: 22
    how do I enable cheats with just the .lua
  • LuitstraLuitstra Member Posts: 22
    Mr2150 said:

    If you are using 2.0+ of the game, in baldur.lua which is found in your MY DOCUMENTS/*GAME* folder, there are five settings relating to the window mode/full screen mode:

    SetPrivateProfileString('Window','Maximized','1')
    SetPrivateProfileString('Window','w','1024')
    SetPrivateProfileString('Window','x','448')
    SetPrivateProfileString('Window','y','156')
    SetPrivateProfileString('Window','h','768')
    SetPrivateProfileString('Window','Full Screen','0')

    Your numbers may be different currently but the format should be the same.



    I'd suggest to:

    - Close the game, open baldur.lua and change the settings as follows:

    - Change the 'Full Screen' (this can be 0 or 1, this is OFF or ON respectively) to a 1 and change 'Maximised' to 0. These are the settings I have when in Full Screen mode. Then save the file. Close it. And then run the game. Any joy?

    - If not - reopen baldur.lua and check if the manual changes you made have not been altered somehow. If they have then something is altering them, somehow? Maybe a mod or something else. Is this the case?

    - Take a copy of your baldur.lua and save it to your desktop as a backup, then delete the file completely. This will reset all your settings. Now run the game, the game will be forced to generate a new baldur.lua file and should generate it in Full Screen mode.

    Let me know how you get on...

    just now seeing you are talking about the .lua instead of the .ini:-/ my bad
  • Mr2150Mr2150 Member Posts: 1,170
    edited August 2016
    Did deleting the files work?


    For cheats - add the following line:

    SetPrivateProfileString('Program Options','Debug Mode','1')

    Use Ctrl+Space to open the cheat menu - use C:xxxx instead of CLUAxxxx eg C:CreateItem('BAG31') to create a bag of holding.
Sign In or Register to comment.