Results 1 to 17 of 17

Thread: Borderless window resets

  1. #1

    Default Borderless window resets

    Whenever I put the two lines in the .cfg to make the game borderless window, they get erased after I close the game. They'll work for the first time I launch the game, but they'll be gone the next time I look at the config file. Any other changes I make to the file stay there, and the file isn't read-only.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    You have to do that in the cfg file that is in the EBII folder

    Resizing your in game resolution to the same size as your desktop resolution helps as well










  3. #3

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    You have to do that in the cfg file that is in the EBII folder

    Resizing your in game resolution to the same size as your desktop resolution helps as well
    Yeah, basically what I do with every mod I play. Unfortunately the mod doesn't comply and it still plays in fullscreen mode.


  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    any entry you do in the medieval.cfg file will be overwritten at game exit.
    custom changes need to be done in the mod's cfg file or (not recommended) make the medieval.cfg read-only










  5. #5

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    You have to do that in the cfg file that is in the EBII folder

    Resizing your in game resolution to the same size as your desktop resolution helps as well

    I am, though. And both resolutions are the same.

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    The EBII cfg file is already set to windowed and borderless, what exactly are you having problems with?
    Is the entry being overwritten in there?










  7. #7

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    The EBII cfg file is already set to windowed and borderless, what exactly are you having problems with?
    Is the entry being overwritten in there?
    Yes. According to my Notepad++ after I launch the game, it immideately tells me "This file has been modified by another program, would you like to reload it?" And yes it's the EBII.cfg

    And my windowed settings are removed after I reload it.


  8. #8

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    The EBII cfg file is already set to windowed and borderless, what exactly are you having problems with?
    Is the entry being overwritten in there?
    Yeah, I have the same problem as Aruthiel. I put the lines in, it works, but the lines are deleted, so the next time I launch the game, it's not in borderless window.

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    that will be the custom bat file then
    if you have any other mod installed then copy the bat file from there and edit the EBII specific path and cfg file name into it










  10. #10

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    that will be the custom bat file then
    if you have any other mod installed then copy the bat file from there and edit the EBII specific path and cfg file name into it
    Got it to work after a bit of text editing. Thanks Gig.


  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    what exactly did you edit? other then my suggestion that is










  12. #12

    Default Re: Borderless window resets

    Quote Originally Posted by Gigantus View Post
    what exactly did you edit? other then my suggestion that is
    Nothing really

    Took a BAT file from BellumCrucis6, edited it with Notepad++ to look like this:

    cd ..\..
    kingdoms.exe @mods\EBII\EBII.cfg

    Took the CFG file from BellumCrucis6 and edited it to start with:

    [features]
    mod = mods\EBII
    editor = 0

    And that did the trick.


  13. #13
    Petite Wolf's Avatar Semisalis
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    490

    Default Re: Borderless window resets

    I believe going in to "Properties" of the CFG file and ticking the "Read-only" box stops the file from clearing the things you entered. At least, that's how I stopped it from happening a year or two ago when I was having that issue.



  14. #14

    Default Re: Borderless window resets

    Quote Originally Posted by Petite Wolf View Post
    I believe going in to "Properties" of the CFG file and ticking the "Read-only" box stops the file from clearing the things you entered. At least, that's how I stopped it from happening a year or two ago when I was having that issue.
    I tried that, it does not.


  15. #15
    Petite Wolf's Avatar Semisalis
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    490

    Default Re: Borderless window resets

    Huh. Weird. It always has for me.



  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,129
    Blog Entries
    35

    Default Re: Borderless window resets

    great to see it helped then. should work the same way for steam as long as you change kingdoms to medieval2
    Quote Originally Posted by Aruthiel View Post
    Nothing really

    Took a BAT file from BellumCrucis6, edited it with Notepad++ to look like this:

    cd ..\..
    kingdoms.exe @mods\EBII\EBII.cfg

    Took the CFG file from BellumCrucis6 and edited it to start with:

    [features]
    mod = mods\EBII
    editor = 0

    And that did the trick.
    this only works for the medieval.cfg file - and it disables the saving of any changes that you make ingame in options
    Quote Originally Posted by Petite Wolf View Post
    I believe going in to "Properties" of the CFG file and ticking the "Read-only" box stops the file from clearing the things you entered. At least, that's how I stopped it from happening a year or two ago when I was having that issue.
    Last edited by Gigantus; August 26, 2014 at 04:57 AM.










  17. #17

    Default Re: Borderless window resets

    I had the same problem with windowed mode working at first after adding "windowed=1 and borderless_window=1" and then not working when I start up EB2 the second time. The way I fixed it is I added the two lines to the medieval.cfg and set it to read only, then I added the two lines again to the EB2.cfg and now it's always in windowed mode.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •