Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 59

Thread: Your barbarian settlements lag too much

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Roma_Victrix View Post
    Why does everything have to be so difficult?
    This should be the motto for life.

  2. #2
    Seljuq Prince's Avatar Civis
    Join Date
    Feb 2014
    Location
    Trabzon/Turkey
    Posts
    166

    Default Re: Your barbarian settlements lag too much

    That memory fix should be sticky Worked very well

  3. #3
    CanOmer's Avatar Centenarius
    Join Date
    Jan 2008
    Location
    Pontos Parailos
    Posts
    863

    Default Re: Your barbarian settlements lag too much

    This settlement lags too much:
    (3-7 fps)


    Lag is CPU related. When I pause the game it turns back to normal. Also it didn't lag before fights begin.
    Last edited by CanOmer; July 10, 2016 at 09:40 AM.
    My Submods For Europa Barbarorum II Clean Campaign Mini Map for EB 2.3 ;

  4. #4

    Default Re: Your barbarian settlements lag too much

    Must be a pathfinding problem. Havent tested to see if lower unit numbers cause this too.

    Those battles lag for me even when i have few units. Maybe this settlement type should be temporarily replaced with the previous level until a fix is found.
    That hillfort is actually fun to attack.

  5. #5
    CanOmer's Avatar Centenarius
    Join Date
    Jan 2008
    Location
    Pontos Parailos
    Posts
    863

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by romanius24 View Post
    Must be a pathfinding problem. Havent tested to see if lower unit numbers cause this too.

    Those battles lag for me even when i have few units. Maybe this settlement type should be temporarily replaced with the previous level until a fix is found.
    That hillfort is actually fun to attack.
    Yes, I love these new settlement types but this one makes the battle unplayable. I have to do next battle auto-resolved on this type settlement.
    My Submods For Europa Barbarorum II Clean Campaign Mini Map for EB 2.3 ;

  6. #6
    Roma_Victrix's Avatar Call me Ishmael
    Join Date
    Sep 2010
    Location
    Virginia, USA
    Posts
    15,076

    Default Re: Your barbarian settlements lag too much

    Thank you for backing me up on this, CanOmer! I would rep you for your post, but apparently I can't rep you again for a while.

  7. #7

    Default Re: Your barbarian settlements lag too much

    Yeah this has been an issue for me as well. I have an overclocked GTX 980 Ti and still get lag in barbarian settlements (but not others as far as I've seen) so it's not something with my hardware.

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    I think it's a matter of reducing the resolution of the textures - the same issue came up when M2TW was released: siege battles lagged badly. Some of the textures in the data\blockset\textures folder may need to be resized.










  9. #9
    Campidoctor
    Join Date
    Jan 2005
    Location
    AEnima City, USA
    Posts
    1,645

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Hummer View Post
    Thats a weird UI, how'd you get that?
    If you mean the one from CanOmer's post, it's because he's playing with the option for "Minimal HUD". You can find it in the graphics options menu, or gameplay options, or somewhere around there. Can also make it so that they don't appear on screen unless you hover your mouse cursor to their position, then they slide out and become visible until you move cursor away. Or have them off completely. And can choose which of the elements to do any of these things with individually.

    Quote Originally Posted by Gigantus View Post
    I think it's a matter of reducing the resolution of the textures - the same issue came up when M2TW was released: siege battles lagged badly. Some of the textures in the data\blockset\textures folder may need to be resized.
    What about the fact that there isn't lag when paused, suggesting it's a pathfinding/AI/CPU issue rather than graphics/textures?

  10. #10
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Dooz View Post
    What about the fact that there isn't lag when paused, suggesting it's a pathfinding/AI/CPU issue rather than graphics/textures?
    Speculation doesn't help - testing it will. I am no expert with GPUs but I would assume that pausing the game will majorly reduce the GPU load.










  11. #11
    Campidoctor
    Join Date
    Jan 2005
    Location
    AEnima City, USA
    Posts
    1,645

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Gigantus View Post
    Speculation doesn't help - testing it will. I am no expert with GPUs but I would assume that pausing the game will majorly reduce the GPU load.
    Well let's not go speculating about that GPU load then.

    How might we test this? Less units vs. more in the same settlement? Is that something that can be done in custom battles, or do we have to get lucky during campaigns to run across the ideal testing scenarios, one with only say one or two units on each side, one with fuller stacks... what if even one unit is enough to cause stuttering because of the previously speculated AI related issues? How can this be definitively figured out, anyone know? Maybe people on the team are already on it...

    I gotta say, from personal anecdotal evidence, I've had a couple of battles in this settlement type during campaign. The one that had more enemy units lagged like crazy. The one that had fewer didn't lag at all or barely only at certain points. Take it for what it's worth.

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Seljuq Prince View Post
    That memory fix should be sticky Worked very well
    It won't be a sticky as the application modifies the EXE (check hash value and 'last modified' stamp) and hence violates the ToS.

    Quote Originally Posted by Dooz View Post
    Well let's not go speculating about that GPU load then.

    How might we test this? Less units vs. more in the same settlement? Is that something that can be done in custom battles, or do we have to get lucky during campaigns to run across the ideal testing scenarios, one with only say one or two units on each side, one with fuller stacks... what if even one unit is enough to cause stuttering because of the previously speculated AI related issues? How can this be definitively figured out, anyone know? Maybe people on the team are already on it...

    I gotta say, from personal anecdotal evidence, I've had a couple of battles in this settlement type during campaign. The one that had more enemy units lagged like crazy. The one that had fewer didn't lag at all or barely only at certain points. Take it for what it's worth.
    A simple way would be to resize the textures, found in the mods\EBII\data\blockset\textures folder, then repeat a previous siege battle. The files with 'barbarian' prefix woudl be a start - others would require knowledge of the actual model files and their referenced textures. Else one could resize every file above 5MB (which are a fair number).
    Texture size obviously applies to unit models as well, there are a good number of 5MB textures around. In this case the variety of units would be a multiplier, not the number of of the same unit.
    Last edited by Gigantus; July 14, 2016 at 02:45 AM.










  13. #13
    Biarchus
    Join Date
    Jun 2013
    Location
    BC, Canada
    Posts
    637

    Default Re: Your barbarian settlements lag too much

    Thats a weird UI, how'd you get that?

  14. #14
    Boogie Knight's Avatar Biarchus
    Join Date
    Jun 2014
    Location
    The Kingdom of Mercia
    Posts
    631

    Default Re: Your barbarian settlements lag too much

    Is the RAM fix not removing the issue entirely? I hate to be a negative Nancy but as I only have 2gbs of RAM I'm actually hoping that fix won't work because this way, the issue itself will actually be tackled and I'll be able to play those settlements myself.

  15. #15
    Roma_Victrix's Avatar Call me Ishmael
    Join Date
    Sep 2010
    Location
    Virginia, USA
    Posts
    15,076

    Default Re: Your barbarian settlements lag too much

    Thanks for explaining things, Gigantus! Unfortunately I don't think I'm savvy enough to resize texture files. Hopefully someone will come along and see this thread before doing just that. I'm also intrigued by the fact that the variety of units could cause the game to lag more than if you had the same amount of troops but with far less variety (i.e. most units are the same type). If only I could afford to bring fifteen thorakitai units in each and every army stack as Koinon Hellenon!

  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    The procedure to resize textures is time consuming, nothing else, did some for TATW a long time ago.

    The procedure for creating those reduced textures:


    • Create a folder to work in
    • Download this converter and unzip it into that folder
    • Make sure you have a Python version less then 2.7 installed, else install from the applicable download link


    • Copy large texture files from EBII's data\blockset\textures folders (one folder at a time) into your working folder
    • Run the 'convert_all_texture' file (you may have to associate the file with the python executable)
    • Open the DDS file without mip maps, reduce the size to 1024*1024
    • Save the DDS file in BC3\DTX5 format with mipmaps
    • Run the 'convert_all_dds' file (you may have to associate the file with the python executable)
    • Copy the new TEXTURE files back into their original folder
    • Delete TEXTURE and DDS files in your working folder
    • Rinse and repeat for subfolders


    Note: it is advisable to make a back up copy of the data\blockset\textures folder in case something doesn't work the way it should.
    Last edited by Gigantus; July 14, 2016 at 08:05 AM.










  17. #17
    Roma_Victrix's Avatar Call me Ishmael
    Join Date
    Sep 2010
    Location
    Virginia, USA
    Posts
    15,076

    Default Re: Your barbarian settlements lag too much

    You make it sound easy enough, but I'd probably just screw it up. Hopefully someone who's competent and knows what they're doing can handle it.

  18. #18
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    We are looking for someone in the team that knows how to create macros in PhotoShop to open, resize and save the DDS files - bulk resizing in JPEG format even I can do in PhotoShop










  19. #19
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Your barbarian settlements lag too much

    I found a way to bulk resize and convert the settlement textures. Please test and post your findings in that thread.
    Last edited by Gigantus; July 14, 2016 at 12:41 PM.










  20. #20
    Roma_Victrix's Avatar Call me Ishmael
    Join Date
    Sep 2010
    Location
    Virginia, USA
    Posts
    15,076

    Default Re: Your barbarian settlements lag too much

    Quote Originally Posted by Gigantus View Post
    I found a way to bulk resize and convert the settlement textures. Please test and post your findings in that thread.
    Thank you very much for putting in the effort and trying your best here, but sadly, for me at least, your fix does not work. I just started a random siege against a Greek city, not even a Barbarian one yet, and this is what the battle map looks like:



    Somehow the textures got horribly corrupted. I'm glad that I backed up my blockset files! I had to delete your folder and paste the old blockset folder back into the main data folder to fix this. Hopefully you can figure out what went wrong here, but until then I'd advise others not to use this!

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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